HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

This trigger crash the game(fatal error)

08-06-2004, 04:33 PM#1
Arohk
its a start minigame trigger on my minigame map im working on, the weird problem is it ONLY crash the game in B.NET whit fatal error not when i test it in single player o_O

check :(
Code:
.
.
.

        Wait 4.00 seconds
        Sound - Play TickTack <gen>
        Spiel - Display to (All players) the text: |cff00ff003!|r
        Wait 2.00 seconds
        Sound - Play TickTack <gen>
        Spiel - Display to (All players) the text: |cffffff002!|r
        Wait 2.00 seconds
        Sound - Play TickTack <gen>
        Spiel - Display to (All players) the text: |cffff00001!|r
        Wait 2.00 seconds ---[color=Red]IT CRASH EXACTLY HERE[/color]---
        Einheitengruppe - Pick every unit in (Units in game22region <gen>) and do (Einheit - Pause aus (Picked unit))
        Einheit - Order Spießrutenwagen (assault) 0188 <gen> to Patrouillieren nach (Center of game22tank1 <gen>)
        Einheit - Order Spießrutenwagen (assault) 0190 <gen> to Patrouillieren nach (Center of game22tank2 <gen>)
        Einheit - Order Spießrutenwagen (assault) 0189 <gen> to Patrouillieren nach (Center of game22tank3 <gen>)
        Multiboard - Create a multiboard with 2 columns and 8 rows, titled Points of 75:
        Set MultiBoard = (Last created multiboard)
        Multiboard - Set the text for MultiBoard item in column 1, row 1 to (Name of Spieler 1 (Rot))
        Multiboard - Set the text for MultiBoard item in column 1, row 2 to (Name of Spieler 2 (Blau))
        Multiboard - Set the text for MultiBoard item in column 1, row 3 to (Name of Spieler 3 (Blaugrau))
        Multiboard - Set the text for MultiBoard item in column 1, row 4 to (Name of Spieler 4 (Lila))
        Multiboard - Set the text for MultiBoard item in column 1, row 5 to (Name of Spieler 5 (Gelb))
        Multiboard - Set the text for MultiBoard item in column 1, row 6 to (Name of Spieler 6 (Orange))
        Multiboard - Set the text for MultiBoard item in column 1, row 7 to (Name of Spieler 7 (Grün))
        Multiboard - Set the text for MultiBoard item in column 1, row 8 to (Name of Spieler 8 (Rosa))
        Multiboard - Set the text for MultiBoard item in column 2, row 1 to (String((Spieler 1 (Rot) Aktuelles Gold)))
        Multiboard - Set the text for MultiBoard item in column 2, row 2 to (String((Spieler 2 (Blau) Aktuelles Gold)))
        Multiboard - Set the text for MultiBoard item in column 2, row 3 to (String((Spieler 3 (Blaugrau) Aktuelles Gold)))
        Multiboard - Set the text for MultiBoard item in column 2, row 4 to (String((Spieler 4 (Lila) Aktuelles Gold)))
        Multiboard - Set the text for MultiBoard item in column 2, row 5 to (String((Spieler 5 (Gelb) Aktuelles Gold)))
        Multiboard - Set the text for MultiBoard item in column 2, row 6 to (String((Spieler 6 (Orange) Aktuelles Gold)))
        Multiboard - Set the text for MultiBoard item in column 2, row 7 to (String((Spieler 7 (Grün) Aktuelles Gold)))
        Multiboard - Set the text for MultiBoard item in column 2, row 8 to (String((Spieler 8 (Rosa) Aktuelles Gold)))
        Multiboard - Set the width for MultiBoard item in column 1, row 1 to 10.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 1, row 2 to 10.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 1, row 3 to 10.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 1, row 4 to 10.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 1, row 5 to 10.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 1, row 6 to 10.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 1, row 7 to 10.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 1, row 8 to 10.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 2, row 1 to 7.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 2, row 2 to 7.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 2, row 3 to 7.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 2, row 4 to 7.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 2, row 5 to 7.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 2, row 6 to 7.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 2, row 7 to 7.00% of the total screen width
        Multiboard - Set the width for MultiBoard item in column 2, row 8 to 7.00% of the total screen width
        For each (Integer A) from 1 to 8, do (Multiboard - Set the icon for MultiBoard item in column 1, row (Integer A) to ReplaceableTextures\CommandButtons\BTNPeasant.blp)
        For each (Integer A) from 1 to 8, do (Multiboard - Set the icon for MultiBoard item in column 2, row (Integer A) to war3mapImported\geschenkblau.tga)
        Auslöser - Run Minigame22Run <gen> (checking conditions)
.
.
.
08-06-2004, 05:38 PM#2
RebelDris
It probably lags up the game's trigger que scince you are doing so much at once so scine it is bnet you are running on a connection so it probably goes slower or something i dont know but try adding some wait variables in there or make 2 triggers or make less triggers im not sure but try that.

Good Luck!
08-06-2004, 08:22 PM#3
Anitarf
This is not your problem, just a general triggering guideline:

Code:
Nicht gut:
        Multiboard - Set the text for MultiBoard item in column 1, row 1 to (Name of Spieler 1 (Rot))
        Multiboard - Set the text for MultiBoard item in column 1, row 2 to (Name of Spieler 2 (Blau))
        Multiboard - Set the text for MultiBoard item in column 1, row 3 to (Name of Spieler 3 (Blaugrau))
        Multiboard - Set the text for MultiBoard item in column 1, row 4 to (Name of Spieler 4 (Lila))
        Multiboard - Set the text for MultiBoard item in column 1, row 5 to (Name of Spieler 5 (Gelb))
        Multiboard - Set the text for MultiBoard item in column 1, row 6 to (Name of Spieler 6 (Orange))
        Multiboard - Set the text for MultiBoard item in column 1, row 7 to (Name of Spieler 7 (Grün))
        Multiboard - Set the text for MultiBoard item in column 1, row 8 to (Name of Spieler 8 (Rosa))
Code:
Sehr gut:
        For each (Integer A) from 1 to 8, do (Multiboard - Set the text for MultiBoard item in column 1, row (Integer A) to (Name of Spieler (conversion - convert player index to player (Integer A) ) ))
As for the actual reason why things crash, I have no idea.
08-06-2004, 10:44 PM#4
Vexorian
probably you are ordering paused units to patrol, that isn't known as a cause of crash, but that's the only thing I can see from here, also the line you added is worthless, cause the crash could be caused by anthing after that line actually
08-06-2004, 11:07 PM#5
Arohk
Quote:
Originally Posted by Lord Vexorian
probably you are ordering paused units to patrol, that isn't known as a cause of crash, but that's the only thing I can see from here, also the line you added is worthless, cause the crash could be caused by anthing after that line actually

anitarf, i tried whit integer A already, if it would work i wouldnt use so many multiboard actions :\

Lord Vexorian, the units i order to patrol are not in the region i pick the units for pause off
well, may i just need to add some wait conditions but i have the multiboard in 2 other games too and it works fine there.
08-06-2004, 11:21 PM#6
Vexorian
Quote:
Originally Posted by Arohk
anitarf, i tried whit integer A already, if it would work i wouldnt use so many multiboard actions :\

Vexorian, the units i order to patrol are not in the region i pick the units for pause off
well, may i just need to add some wait conditions but i have the multiboard in 2 other games too and it works fine there.
try adding a wait of 0 seconds and a different message between every of the lines involved, the function called after the last message you see in game could be the cause of the crash
08-07-2004, 09:18 AM#7
Anitarf
Quote:
Originally Posted by Arohk
anitarf, i tried whit integer A already, if it would work i wouldnt use so many multiboard actions :\
Yeah, I saw you had some A loops already, I see you know how to use them, that's why I was surprised you didn't use them here. Well, you say you did, but they didn't work :/ here's a copy&paste from my arena map triggers that works 100%:

Code:
Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to (      + (Name of (Player((Integer A)))))
08-09-2004, 08:51 AM#8
4zEn-Shadow
Here is your problem, Not enough ram, the amount of actions on that triggor are overloading your computer, therefore giving you an error simaler to

FATAL ERROR

referenced memory at 0000000x0000 and 0000000x0000 YATA YATA YATA.

- that problem comes from either not enough ram or a ram formation error (ram fragmentaions cloging up the game)

i hope this helps you, try google searching for a fram defragmentor
08-09-2004, 04:14 PM#9
Vexorian
Actually, war3 can also give that error for trigger actions not used correctly.
08-09-2004, 04:50 PM#10
Anitarf
The problem may not neccesarily even be in this trigger. At the end of the trigger, you directly run another one (Auslöser - Run Minigame22Run <gen> (checking conditions)), so the problem may occur there.
08-09-2004, 04:59 PM#11
Vexorian
Quote:
Originally Posted by Anitarf
The problem may not neccesarily even be in this trigger. At the end of the trigger, you directly run another one (Auslöser - Run Minigame22Run <gen> (checking conditions)), so the problem may occur there.
didn't note it , you are right, there are many chances the problem is in that trigger