Staredit Network > Forums > Modding Assistance > Topic: Random crashes.... Out of NOWHERE...
Random crashes.... Out of NOWHERE...
Oct 30 2008, 1:19 am
By: Angle Lock  

Oct 30 2008, 1:19 am Angle Lock Post #1



Ok this is the problem... I was playing my 1/3 way done mod and was enjoying the new features of civilian attack and viking (the flying tank i posted about before)

the civilian has an attack... like i was saying, and the iscript looks like this....

Nukegssault:
playsndbtwn 276 277 # Terran\MARINE\TMaDth00.WAV, Terran\MARINE\TMaDth01.WAV
wait 1
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
attackwith 1
gotorepeatattk
goto CivilianLocal00

its a suicidal (well not acutally, the unit doesn't die upon attacking) attack with EMP effect like 5 times...

now the tank, here is the sieging part:
SiegeTank_Siege_BaseInit:
imgul 255 0 0 # SiegeTankSiegeShad (terran\tstShad.grp)
wait 1
setflspeed 0
playsnd 317 # Terran\TANK\TTaDth00.WAV
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
imgol 555 0 0 # EMP
wait 1
imgol 556 0 0 # EMP
playsnd 319 # Terran\TANK\TTaTra01.WAV
playfram 0
wait 5
playfram 1
wait 5
playfram 2
wait 5
playfram 3
wait 5
playfram 4
wait 5
playfram 5
wait 38
sigorder 1
goto SiegeTank_Siege_BaseLocal00
as u can see, the tank also have a EMP effect....

i am about 60% sure that the problem resides in IceCC...

any ideas?



None.

Oct 30 2008, 2:49 am Sand Wraith Post #2

she/her

I'm very sure you should have a "wait" line before "gotorepeatattk"; for first problem.

Second: try a "wait" after "sigorder".




Oct 30 2008, 6:47 am IskatuMesk Post #3

Lord of the Locker Room

Messing with the siege mode sequences is a good way to make the game crash, as they have a lot of hardcode mingled with them, especially if you mess with the timings.



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

Oct 30 2008, 11:50 am Angle Lock Post #4



well, both of these scripts works, i sieged and unsieged multiple times... and i attacked using civilian multiple times....

but just suddenly, out of nowhere, boom...

i tried to play the same map a second time, everything works well, and suddenly... boom...



None.

Oct 31 2008, 12:58 am Sand Wraith Post #5

she/her

Isolate the problem by using the Civilian script itself in its own little test mod. Do the same with the Siege Mode script.

Most likely, you'll only have problems when you use the Siege Mode script by itself.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:16 am]
NimoStar -- ever wanted to play melee in installation tileset? Now you can https://staredit.net/topic/18929/
[02:29 am]
Symmetry -- TFW you google a problem and find the answer in a post you made yourself
[01:46 am]
Oh_Man -- How can i change my name here to put [TFE] on the end will thr website let me
[2026-9-10. : 6:02 pm]
Zoan -- of course it isn't full understanding. You could ask "is the mechanism by which this counterexample blows up the ONLY mechanism possible for an initial configuration to blow up?"
[2026-9-10. : 5:48 pm]
Zoan -- ppl do it all the time in PDEs
[2026-9-10. : 5:47 pm]
Zoan -- Heinermann
Heinermann shouted: it also didn't solve that problem but hey as long as the investors are pleased
Constructing a counterexample is answering the question: "Is Navier Stokes well posed?" in the negative
[2026-9-10. : 5:44 pm]
NudeRaider -- I only heard about it, didn't any news article, so what did it do then?
[2026-9-10. : 5:43 pm]
Heinermann -- it also didn't solve that problem but hey as long as the investors are pleased
[2026-9-10. : 5:39 pm]
NudeRaider -- I have no idea tbh. All I know no human was ever able to solve it, but there's at least a few that beat portal ;)
[2026-9-10. : 5:32 pm]
Zoan -- Navier Stokes is not that esoteric I thought
Please log in to shout.


Members Online: Wing Zero, Zoan