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
Infinite loop error in script????
Moderator: Moderators
I am still learning about scripts
so maybe I'm off base here but this line
thread global/obj_ravir_point_relay.scr::point_relay_start
is calling obj_ravir_point_relay.scr
maybe the error is there not in this scr
I looked and this doesnt seem to be a stock scr
so I take it that it is a custom scr
so maybe I'm off base here but this line
thread global/obj_ravir_point_relay.scr::point_relay_start
is calling obj_ravir_point_relay.scr
maybe the error is there not in this scr
I looked and this doesnt seem to be a stock scr
so I take it that it is a custom scr
Creater of MOHpile
Play With Honor
Play With Honor
thats the CTF scr.
As far as i know mine only references that one but in console that ravir.scr never loads.
kdja
*tip
to test OBJ maps without a 2nd person get the dedicated server launcher pak3 your map and load it ,the dedicated console will tell you if your OBJ script have loaded.
I have yet to my OBJ loading and them not work ,so a handy way to test SCR files.
I have no freinds
As far as i know mine only references that one but in console that ravir.scr never loads.
kdja
*tip
to test OBJ maps without a 2nd person get the dedicated server launcher pak3 your map and load it ,the dedicated console will tell you if your OBJ script have loaded.
I have yet to my OBJ loading and them not work ,so a handy way to test SCR files.
I have no freinds
kinda fixed it wasnt calling the ravir scr as it was in the wrong line.
Now it is and i ahve 2 trigger_use2 in the script so the game keeps crashing next compile i will fix that.
Still ahve the leak and high vis
is there any way to edit a compiled map to change trigger_use 2 to 3 without opening in mohradient and recompiling????
kdja
Now it is and i ahve 2 trigger_use2 in the script so the game keeps crashing next compile i will fix that.
Still ahve the leak and high vis
is there any way to edit a compiled map to change trigger_use 2 to 3 without opening in mohradient and recompiling????
kdja