Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Why does it crash? (1.16.1)
Why does it crash? (1.16.1)
Sep 20 2009, 12:25 am
By: Heinermann
Pages: < 1 « 5 6 7 8 9 >
 

May 30 2012, 11:10 am NudeRaider Post #121

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Last Active: May 27 2012, 1:27 am
He's our resident StarCraft code guru and the one who can tell you the crash reason. Unfortunately he's not too active anymore so you'll have to wait until he gets back. The good news is that afaik he's processed all requests in this topic so far eventually.




Jun 1 2012, 8:16 am wenzer Post #122



Found what the problem was guys. In the triggers section:
  • Player 6 was creating units for Player8. It also had AI SCRIPT 'SEND ALL UNITS AT RANDOM SUICIDE MISSIONS'. This was being effected for Player 6 (which has no units!). Thats what was causing the crash! I changed Trigger and made it application to Player 8 and so far no more crashes guys!
  • Another Place, I was creating units, which happened to be over a POWER GENERATOR (I mean, the location was the size of the generator and covering it exactly). This was causing a crash for unkown resons! When I moved the location, it works fine!

Still testing the map. If I don't post back, then the above reasons were to blame!

Take care guys.
And thanks, once again.



None.

Jun 1 2012, 4:49 pm Heinermann Post #123

SDE, BWAPI owner, hacker.

The second point should not cause a crash. I am not sure what the cause for the first point is.

In your crash log, it appears to have something to do with the AI mobilizing an attack force (AI coding mostly unknown).
The internal information which may or may not be meaningful can be broken down here:

The crash occurs because the AI Controller that was just retrieved does not link back to a unit. It attempts to "unlink" them, but they are already unlinked.
The AI Controller class control type is 1, which thanks to this log, has linked it to an existing structure that I labelled "tacker", so control type 1 is "tracker (military/standard)".
The center of the region that the AI captain class is in is at (2352,2448).
Looking for Zerg Scourges (Primary) and Infested Terrans (secondary). The first "check" failed, but the second succeeded?

Could probably get more data out of it but I have no solution for you, sorry.




Jun 4 2012, 9:55 am wenzer Post #124



Ok. Now, most of the crashes have been fixed. There is only one random crash now. Like I mentioned earlier, the crash was being caused because a Computer Player was executing script 'SEND UNITS TO RANDOM SUICDE MISSION' and it had no units at that time. And the location you sent me tallies with by theory! Now, there is only one random crash, and it is this one. Thanks again man. If you could just tell me the location where it is occuring, that will be more than appreciated man!

.ERR


And by the way, how are you decyphering the crash log? Are you using SoftICE or soemthing?

Post has been edited 2 time(s), last time on Jun 4 2012, 10:02 am by wenzer.



None.

Jun 4 2012, 11:50 pm Heinermann Post #125

SDE, BWAPI owner, hacker.

I am using IDA Pro and just reading the values from the log directly.

That crash is the same address as the one before, but the call tree is different.
Location (112,1680).
Looks for Zerg Defiler and Protoss Corsair.




Jun 8 2012, 7:10 pm wenzer Post #126



Thanks again. I think I have IDA Pro lying around somewhere. I will look into it. In the meanwhile, I have almost all the bugs worked out. Can you please let me know the address of this crash.

.ERR


Thanks again!



None.

Jun 8 2012, 8:55 pm Heinermann Post #127

SDE, BWAPI owner, hacker.

It is in the function that checks if a unit is allowed in the unit tech tree. Apparently the unit pointer is NULL.

The crash occurred when you had a unit (probably SCV) selected and were placing a Terran Missile Turret when the unit suddenly died (the order that would have been executed is (30) SCV/Terran build). The unit ID of the SCV is 957. You were player 3.

Did something happen to the SCV just beforehand?




Jun 9 2012, 3:58 am wenzer Post #128



Really? That is just odd. Because there was another player in the game, and his SC crashed as well. Last thing I remember is that my SCV was repairing a missle turrnet, and my base was under atttack. There were SCVs dying all over the place. SO I cant be sure whether one was building a turrent or not. But the funny thing is, there were only 2 palyers left in the game, and both of us got dropped because of SC crash! I will try to get some more test games and work out this bug.



None.

Jun 9 2012, 7:53 am Heinermann Post #129

SDE, BWAPI owner, hacker.

If random start location is checked then you can be player 3 even if there are only 2 players (or if one player is in the third slot).




Jul 1 2012, 10:08 am wenzer Post #130



Hi guys, sorry I was busy a few weeks or so with some stuff......Hence, discontinued work on the map....Anyways, I fixed most of the bugs now, there is only one. And if U could tell me where in the dump, it mentions the location at which the crash occurred, that would be great. All the bugs are out, this one is the one I haven't fixed up on yet. Thanks in advance.

.ERR




None.

Jul 4 2013, 5:21 am Dem0n Post #131

ᕕ( ᐛ )ᕗ

Collapsable Box


wat D:

happens when trying to play a 256x256 desert map.




Jul 4 2013, 6:45 am NudeRaider Post #132

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

I'm gonna ask a dumb question, but is your harddrive full? And can sc write in the installation folder?

Try and copy it to another drive or at least a custom folder (e.g. D:\sc or C:\games\starcraft) and run it from there.
And yes, sc still runs if you just copy it to another folder.




Jul 4 2013, 2:52 pm Dem0n Post #133

ᕕ( ᐛ )ᕗ

Yes, there's enough space, and no, copying it another location does not fix it.




Aug 3 2013, 3:43 pm Zacharee Post #134



there should be a topic like this for the modding section too =/

dunno if anyone who can help will see this here but i'll post my error anyways.

i was trying to give the high templar a psionic storm attack (as in he actually attacks with psionic storm, and yes temps have an unused attack animation) with the unused psi assault attack. it works perfectly on ground units, but when i try to attack air units with it the game freezes.

Collapse Box




None.

Aug 3 2013, 5:48 pm NudeRaider Post #135

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

I have neither insight into the code nor am I a modder but to me it sounds like you need to alter the iscript (or whatever needs to be altered to cover it) because by default templars can't attack air so there is no animation for it.




Aug 3 2013, 7:13 pm Pr0nogo Post #136



Edit your iscript.bin with IceCC or PyICE.




Aug 4 2013, 6:33 pm Zacharee Post #137



Quote from Pr0nogo
Edit your iscript.bin with IceCC or PyICE.

what are the differences between those? i have yet to get into messing with iscript



None.

Aug 4 2013, 6:37 pm Dem0n Post #138

ᕕ( ᐛ )ᕗ

PyICE is basically IceCC, but it's included in a bundle of different modding programs, and all the programs' names begin with "Py" (the guy who made the bundle was named Py-something.. I can't remember what his actual name was).




Aug 6 2013, 8:57 am Pr0nogo Post #139



You're thinking of poiuy_qwert. PyICE fixes several crashes and corruptions that IceCC had, but people still use IceCC for some reason.




Aug 6 2015, 3:11 am outlawpoet2 Post #140



Diagnosing a crash - on Fish Server, pardon the korean.

PROGRAM VERSION: 1.16.1.1
COMPUTER NAME: HOME-PC
USER NAME: HOME
TIME: 08/06/15 12:04:55. 68
INFO:
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 004A4855 01:000A3855 C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
Registers:
EAX:00000064
EBX:00000000
ECX:00131001
EDX:00000000
ESI:0060CED8
EDI:000000F5
CS:EIP:0023:004A4855
SS:ESP:002B:0018FD78 EBP:0018FD88
DS:002B ES:002B FS:0053 GS:002B
Flags:00210246
Call stack:
Address Frame Logical addr Module
004A4855 0018FD88 0001:000A3855 C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
004A4B23 0018FDA0 0001:000A3B23 C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
004A4FB2 0018FDD0 0001:000A3FB2 C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
004D1D23 0018FE0C 0001:000D0D23 C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
004D9883 0018FE24 0001:000D8883 C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
004D9A6F 0018FE34 0001:000D8A6F C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
004E07FA 0018FE54 0001:000DF7FA C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
004E0B20 0018FE60 0001:000DFB20 C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
00404DA5 0018FF88 0001:00003DA5 C:\Users\HOME\Desktop\BWRip1161\starcraft.exe
7703337A 0018FF94 0001:0000337A C:\Windows\syswow64\kernel32.dll
77B192E2 0018FFD4 0001:000292E2 C:\Windows\SysWOW64\ntdll.dll
77B192B5 0018FFEC 0001:000292B5 C:\Windows\SysWOW64\ntdll.dll
Stack bytes:
0x0018fd78: 02 00 00 00 00 00 00 00 04 00 00 00 04 00 00 9c ................
0x0018fd88: a0 fd 18 00 23 4b 4a 00 64 00 00 00 88 03 aa 05 ....#KJ.d.......
0x0018fd98: e8 02 aa 05 00 00 00 00 d0 fd 18 00 b2 4f 4a 00 .............OJ.
0x0018fda8: 2d 5e 41 00 02 00 00 00 f0 00 00 00 00 00 00 00 -^A.............
0x0018fdb8: 08 00 00 00 0c 00 00 00 64 00 00 00 0e 00 44 01 ........d.....D.
0x0018fdc8: 53 01 79 00 f8 67 79 00 0c fe 18 00 23 1d 4d 00 S.y..gy.....#.M.
0x0018fdd8: 40 01 00 00 72 09 04 00 00 02 00 00 02 00 00 00 @...r...........
0x0018fde8: 44 01 53 01 e8 67 79 00 44 01 00 00 53 01 00 00 D.S..gy.D...S...
0x0018fdf8: 37 cb 41 00 be 06 fb 0a 80 02 00 00 0d 00 44 01 7.A...........D.
0x0018fe08: 53 01 00 00 24 fe 18 00 83 98 4d 00 03 00 00 00 S...$.....M.....
0x0018fe18: e8 67 79 00 34 fe 18 00 00 00 00 00 34 fe 18 00 .gy.4.......4...
0x0018fe28: 6f 9a 4d 00 0a 00 00 00 01 00 00 00 54 fe 18 00 o.M.........T...
0x0018fe38: fa 07 4e 00 04 00 00 00 ac 09 4e 00 45 12 03 77 ..N.......N.E..w
0x0018fe48: 00 00 40 00 00 e0 fd 7e 7c 00 78 03 60 fe 18 00 ..@....~|.x.`...
0x0018fe58: 20 0b 4e 00 00 00 00 00 88 ff 18 00 a5 4d 40 00 .N..........M@.
0x0018fe68: 00 00 40 00 00 00 00 00 6f 2f 7b 00 0a 00 00 00 ..@.....o/{.....
0x0018fe78: 94 00 00 00 06 00 00 00 01 00 00 00 b1 1d 00 00 ................
0x0018fe88: 02 00 00 00 53 65 72 76 69 63 65 20 50 61 63 6b ....Service Pack
0x0018fe98: 20 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1..............
0x0018fea8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018feb8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fec8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fed8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fee8: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fef8: 00 00 00 00 96 00 b0 77 96 00 b0 77 bc ee b1 75 .......w...w...u
0x0018ff08: 39 4c 40 00 00 00 00 00 00 00 00 00 00 e0 fd 7e 9L@............~
0x0018ff18: 44 00 00 00 e8 0d 7f 00 58 41 7f 00 50 40 7f 00 D.......XA..P@..
0x0018ff28: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018ff38: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018ff48: 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ................
0x0018ff58: ff ff ff ff c8 79 03 77 00 00 00 00 05 00 00 c0 .....y.w........
0x0018ff68: 6f 2f 7b 00 00 00 00 00 78 fe 18 00 d0 f7 18 00 o/{.....x.......
0x0018ff78: c4 ff 18 00 7c 5d 40 00 f0 e5 4f 00 00 00 00 00 ....|]@...O.....
0x0018ff88: 94 ff 18 00 7a 33 03 77 00 e0 fd 7e d4 ff 18 00 ....z3.w...~....
0x0018ff98: e2 92 b1 77 00 e0 fd 7e b5 56 d7 77 00 00 00 00 ...w...~.V.w....
0x0018ffa8: 00 00 00 00 00 e0 fd 7e 00 00 00 00 00 00 00 00 .......~........
0x0018ffb8: 00 00 00 00 a0 ff 18 00 00 00 00 00 ff ff ff ff ................
0x0018ffc8: 05 1a b5 77 f1 6c 7f 00 00 00 00 00 ec ff 18 00 ...w.l..........
0x0018ffd8: b5 92 b1 77 21 4c 40 00 00 e0 fd 7e 00 00 00 00 ...w!L@....~....
0x0018ffe8: 00 00 00 00 00 00 00 00 00 00 00 00 21 4c 40 00 ............!L@.
0x0018fff8: 00 e0 fd 7e 00 00 00 00 41 63 74 78 20 00 00 00 ...~....Actx ...
0x00190008: 01 00 00 00 0c 33 00 00 dc 00 00 00 00 00 00 00 .....3..........
0x00190018: 20 00 00 00 00 00 00 00 14 00 00 00 01 00 00 00 ...............
0x00190028: 07 00 00 00 34 00 00 00 7c 01 00 00 01 00 00 00 ....4...|.......
0x00190038: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x00190048: 00 00 00 00 02 00 00 00 4e ef 26 1a 98 02 00 00 ........N.&.....
0x00190058: 44 00 00 00 e0 02 00 00 60 02 00 00 00 00 00 00 D.......`.......
0x00190068: ba 71 32 f3 40 05 00 00 4a 00 00 00 8c 05 00 00 .q2.@...J.......
Code bytes:
0x004a4855: 0f b6 42 0c 74 06 23 86 e4 00 00 00 33 f8 83 fb ..B.t.#.....3...
[출처] error log (Fish 6.25 Community Cafe) |작성자 꼬마



None.

Options
Pages: < 1 « 5 6 7 8 9 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
Please log in to shout.


Members Online: Ultraviolet, Roy