Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Brood War Application Error on Map
Brood War Application Error on Map
Jun 29 2013, 3:57 am
By: Juular  

Jun 29 2013, 3:57 am Juular Post #1



Hello, I'm new here.

Just recently I decided to get back into Brood War (about a few months ago) and also decided to fire up the old SCM Draft to fool around. I decided to start making unit names and unit stats for a game. So, my method was to uncheck the Use Default boxes on every single unit, replace all their stat values with 0, go to the string editor, and write their names from there (because it gives me more room to use color codes than the name box in the unit editor.)

So all goes smoothly when I finish the names for Terran. I open the map in Brood War, start the game, and I see the units there with 0/1 HP and the correct unit names. Satisfied, I do the same thing with the Protoss units. I set all their stats to 0 and rename them all, open the map on Brood War, play it, and observe the results. Nothing bad happens.

So I decide to finish it up by doing the same thing to Zerg. That's where everything goes to hell. Once done with the stats and names, I attempt to play the map on Brood War. The game, however, crashes after the mission briefings, giving me an Application Error. It read:

"The excetion Integer division by zero.
(0xc0000094) occurred in the application at location 0x004e60cb.
Click on OK to terminate the program."
[attach=9205]

I assumed that it was probably because the Zerg units' HP was 0, and it couldn't regenerate HP so it probably created some sort of complication in the game. Thus, I changed all Zerg units' HP to 1, and the problem still persisted. I thought maybe it was because the damage was 0 too, so I set a zergling's damage to 0 in a separate map but was able to play the map without problems.

Can anybody shed some light on this?

Attachments:
BroodWarError.png
Hits: 0 Size: 5.66kb



None.

Jun 29 2013, 4:22 am jjf28 Post #2

Cartography Artisan

Heinermann has a crash list, linked to in this thread, it gives the following information for crashes at 0x004E60CB


Code
   Caused by: Building fire/blood overlay graphic when building HP is 0.
   Crashes when: Divided by 0.
   Fix: Create a case for when the denominator value is 0.


Meaning that one of the units on the map with 0 hp is not stable, and thus should not be set to 0 hp, you'll have to isolate and change HP for that unit.

Also, welcome to SEN! If you wish you can make a thread here so we can gather your personal information say hello ;)

Post has been edited 1 time(s), last time on Jun 29 2013, 4:28 am by jjf28.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jun 29 2013, 4:30 am Juular Post #3



Ah, sorry I didn't look for it.

However, I edited every unit to have at least 1 HP.

It worked, I no longer get the error. Thanks a lot c:



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
Please log in to shout.


Members Online: Prankenstein