Infinite loop error in script????
Posted: Sat Jul 13, 2002 10:58 pm
Hey
i ahve made my maps 3 styles of play DM/OBJ and CTF and combined them into one pak3 (9steal my idea and i hunt you down LOL)
But Dm is fine /OBJ is fine (round never finishes but thats a different matter)
But on CTF i get this error when one player joins another team
"infinite loop error" and the server crashes.
here is the script (cos im only testing out CTF i used a basic scr file)
//
// FLAG TEST
main:
setcvar "g_obj_alliedtext1" "Capture the"
setcvar "g_obj_alliedtext2" "Axis flag"
setcvar "g_obj_axistext1" "Capture the"
setcvar "g_obj_axistext2" "Allied flag"
level waittill prespawn
exec global/DMprecache.scr
level.script = maps/obj/dieppeCTF.scr
level waittill spawn
level.dmrespawning = 1 // 1 or 0
level.dmroundlimit = 10 // round time limit in minutes
level.clockside = draw // set to axis, allies, kills, or draw
level waittill roundstart
thread global/obj_ravir_point_relay.scr::point_relay_start
end
Thats it nothing else.
now i ahve the random explosions and the the 3 OBJ still inthe map but without an SCR i assume dthey wouldnt laod and would not cause any problem.
Anyone know how to resolve the error???
thx
kdja
i ahve made my maps 3 styles of play DM/OBJ and CTF and combined them into one pak3 (9steal my idea and i hunt you down LOL)
But Dm is fine /OBJ is fine (round never finishes but thats a different matter)
But on CTF i get this error when one player joins another team
"infinite loop error" and the server crashes.
here is the script (cos im only testing out CTF i used a basic scr file)
//
// FLAG TEST
main:
setcvar "g_obj_alliedtext1" "Capture the"
setcvar "g_obj_alliedtext2" "Axis flag"
setcvar "g_obj_axistext1" "Capture the"
setcvar "g_obj_axistext2" "Allied flag"
level waittill prespawn
exec global/DMprecache.scr
level.script = maps/obj/dieppeCTF.scr
level waittill spawn
level.dmrespawning = 1 // 1 or 0
level.dmroundlimit = 10 // round time limit in minutes
level.clockside = draw // set to axis, allies, kills, or draw
level waittill roundstart
thread global/obj_ravir_point_relay.scr::point_relay_start
end
Thats it nothing else.
now i ahve the random explosions and the the 3 OBJ still inthe map but without an SCR i assume dthey wouldnt laod and would not cause any problem.
Anyone know how to resolve the error???
thx
kdja