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.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: ZOVBOT, Dem0n