| 09-04-2008, 12:59 AM | #1 |
Ok, I'm encountering a crash I've never had before. Normally when I do something stupid with the initilization triggers wc3 crashes about 3/4 through loading. Now its crashing even before you get to the loading screen. I know its the triggers because when I delete them the problem goes away! If anyone knows what causes these kind of symptoms please tell me. (Jass file attached) |
| 09-04-2008, 03:42 AM | #2 |
post map. no one will check entire jass code. |
| 09-04-2008, 04:00 AM | #3 |
Triggers are the only problem, I don't see how posting it like this or like that makes a difference. My main guess is that there is some obvious error I made that the syntax checker isn't catching. If you do think it will make a difference (to you personally, not to others) then I will post the map with the triggers only. |
| 09-04-2008, 04:36 AM | #4 |
It does make a difference for everybody, which is, comfort. Reading pure jass code without seeing the map or anything is dead boring and hard work, with the map itself you can atleast test you ideas, have a better overview over the triggers, etc.. So please attach the map :) |
| 09-04-2008, 06:29 AM | #5 |
Just wait for some crazy jasser who will check 22k lines of pure shit (yes yes code is complete shit mix of "InitAdvancedTriggers" with vJass. |
| 09-04-2008, 10:08 PM | #6 |
grimoire baby ©PipeDream in fact it's the BEST solution. enable the bytecode tracer in war3err.lua -> bytecodetrace = true |
| 09-04-2008, 10:21 PM | #7 | |
Maybe you noticed that grimorie doesn't work anymore? I don't have the old version of wc3. Quote:
Edit: Woops clicked new post instead of edit, just merged posts. Edit: Yea! I managed to get a hold of an old copy of wc3. Ok tested with bytecodetrace = true. I get the following output <init> :: 0 0 8:boolean 0x7:constant 150:FALSE <init> :: 0 8:boolean 1 0xc:literal 0 <init> :: 0 0 1 0x11:set 150:FALSE I don't really understand? I know there is probably something important there, but I'm totally missing it. If this doesn't work, I'll try to narrow the problem down a bit then I'll post the map. Thanks for all the replies. |
| 09-04-2008, 10:45 PM | #8 |
<init> :: 0 8:boolean 1 0xc:literal 0 sound lol cause literal == string =) idk i need to know the code... by i don't care T_T (xD) sry |
| 09-04-2008, 11:55 PM | #9 |
So its an evil string variable of doom? I'll look for a global string that might be causing the problem. |
| 09-05-2008, 05:14 AM | #10 |
Looks like you hit the op-limit. Try initializing all your triggers in own threads (using scopes). |
| 09-05-2008, 07:23 AM | #11 |
op limit do not crush... |
| 09-05-2008, 08:46 AM | #12 |
oops, sorry. |
