Staredit Network

Staredit Network -> Modding Assistance -> Mods randomly crash
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-08-04 at 10:16:03
This is going to sound like an extremely n00bish question, I know, but bear with me: My mods crash and I don't know why. I can't give you more details because there aren't really any more. I'll be playing along and suddenly it will crash when in fact I did nothing special. This is happening in a current mod I'm making, and it happened in one I made much earlier. In the current one, I've edited almost everything except the graphics, so I expect some crashes; I just don't expect them when I only tell an SCV to move somewhere. In the earlier one, I edited only .dat and .tbls to any notable degree. (Yes, the iscript was changed very slightly, but not enough to cause crashes.) It's like a file is becoming corrupt, and it seems like it can only be the .dats. Does anyone else either have this problem or have an explanation? If I get it again I'll post the memory address, in case that does any good.

EDIT: I was testing this some more. A few seconds into the game, it crashed without me doing anything except having a unit move. The error message says that the instruction at 0x01a65b66 referenced memory at 0x02c00494. Do those numbers mean anything specific(other than strings of hex) to anyone?

EDIT: Here's the Sempq of the earlier one. [attachmentid=20486]It doesn't usually crash when you're Terran and only crashes the first time you run it in a boot session, i.e. if you restart the mod, it works fine; if you restart your computer, it'll probably crash again. It usually crashes near the neginning of a game. Everything in units.dat is edited, pretty much. I didn't change any sight ranges or give units weapons without iscripts, though. Note: I'm posting this one 'cause the one that's crashing now is my modding contest entry wink.gif

YET ANOTHER EDIT: The instruction and memory addresses of the error with the current mod are: instruction at 0x01ac5b66 and memory at 0x02c70494.
Something's up with this one area in memory. The addresses for instruction and memory are almost identical (instructions at 0x01a65b66 and 0x01ac5b66, memory at 0x02c00494 and 0x02c70494.) Anyone know the memory structure?
Report, edit, etc...Posted by DiscipleOfAdun on 2006-08-04 at 12:00:46
I believe the problem is isolated to Zerg computers. Would you test that out for me?
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-08-04 at 12:05:00
I'm pretty sure you're right. I think something about the Zerg's doing it. In the one posted here, it's Zerg all right, but I can't tell with my contest one--sorry about that. I don't know about the computer part, since I've never played these multiplayer.
Report, edit, etc...Posted by DiscipleOfAdun on 2006-08-04 at 12:11:05
I believe this is the problem: Overlords, supply depots, and pylons are expected to have supply. I think if you put 0 supply provided, it causes this crash.
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-08-04 at 12:15:09
THAT MUST BE IT! It only started on my contest one when I set Pylons to have 0 supply. So when you set the supply on one of them to 0, it crashes. And that also explains why Zerg worked fine on the contest one--'cause I haven't gotten around to editing them yet. Let me try changing that, and I'll get back to you...

EDIT: Yep, you're right. When I set the Pylon's Supply Provided to 1, it runs perfectly. Many thanks. And this is definitely something for Firegraft to "fix!"

Problem solved.
Next Page (1)