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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[2026-7-26. : 11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Roy