Staredit Network

Staredit Network -> UMS Assistance -> Run-time Error '9'
Report, edit, etc...Posted by Lexmarkz32 on 2004-08-09 at 13:44:39
Im pretty sure i've seen this b4 but i can't find it through search or anything. Every time i open this map and modify this trigger in SF i get Run-time Error '9'.

Is there a way to fix this?
Report, edit, etc...Posted by DT_Battlekruser on 2004-08-09 at 13:52:09
QUOTE
Im pretty sure i've seen this b4 but i can't find it through search or anything. Every time i open this map and modify this trigger in SF i get Run-time Error '9'.


Which trigger is "this trigger"? What type of trigger is it? Are you using starforge 2.1?
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-09 at 15:08:39
i hate it OVERFLOW!!! it makes me madd
Report, edit, etc...Posted by Lexmarkz32 on 2004-08-09 at 15:51:04
Im using Sf 2.0, I have windows XP, and the trigger is when i try to change

-Player Kills so and so units
-Player get 1 civil
-Comment so and so kills

*so and so = 7,14,21,28,36...etc

And it happens all the time
Report, edit, etc...Posted by DT_Battlekruser on 2004-08-09 at 16:13:49
Which trigger gives you the overflow? It is probabally a trigger with some large number.
Report, edit, etc...Posted by Lexmarkz32 on 2004-08-09 at 17:27:03
This is the EXACT trigger;

-Kills(CurrentPlayer, AtLeast, 21, AnyUnit);

-CreateUnit(1, $1 Civilian, Civilian Spawn, CurrentPlayer);
-DisplayText("Earned $1 Civilian", 4);
-MinimapPing(Civilian Spawn);
-Comment("21 kills");

But if i try to modify any of the numbers e.g. 21 , it says run-time error. Btw, im doing this for a counting system up to 1000 in multiples of 7.
Report, edit, etc...Posted by Vindexus on 2004-08-09 at 18:11:48
Should MinimapPing have "" around the locations?
Report, edit, etc...Posted by Lexmarkz32 on 2004-08-10 at 10:22:47
Im pretty sure it doesn't otherwise SF would have said something like "incorrect parameters" or something.

Can anyone help?
Report, edit, etc...Posted by Burbble on 2004-08-10 at 16:47:51
Common problem with StarForge, happens when you start using a lot of strings in the map. I don't think the program is handling strings correctly. Seems like a wrong data type or something... If I had the source code handy, I'd fix it myself. ermm.gif

A runtime error '5', invalid procedure call or argument, is another common one when editing triggers with StarForge. ranting.gif

Open the map in SCXE if you can, and edit the trigger there.
Next Page (1)