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.
[05:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[05:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[05:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[03:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[12:51 am]
Oh_Man -- definitely EUD
[09:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[09:35 pm]
Vrael -- that is insane
[09:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: lil-Inferno