Page 1 of 1

Server crashes when loading custom map

Posted: Sat Jan 24, 2004 9:49 pm
by [K.S.K] Dragon
hi,
i have made a simple map and uploaded it to my server.
when i connect to the server and loading the map the server crashes :cry:
but when i'am allrready in the server with map stalingrad(or another stock map) and then load my custom map he will load succesful :?

maybe there is something wrong with my scr's? or pk3?

my pk3 is so:

Code: Select all

Maps
   dm
       rush.bak
       rush.bsp
       rush.min
       rush.prt
       rush.vis
       rush.scr
the .scr file is looking like this:

Code: Select all

// rush
// ARCHITECTURE: Dragon
// SCRIPTING: Dragon

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" ""
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "none" // your score board picture

level waittill prespawn

exec global/DMprecache.scr

exec global/ambient.scr rush
// may want to make your own ambient sounds, read the tut
level.script = "maps/dm/rush.scr" 
// remember to put in your map name

level waittill spawn
//add more codes here after you add more features to your maps

end
is this wrong? or do i have to have more files in my pk3?
i have allready made an rush_precache.scr:

Code: Select all

cache models/items/item_25_healthbox.tik

cache models/items/item_mg_ammobox.tik

cache models/weapons/steilhandgranate.tik

cache models/weapons/mp40.tik

cache models/weapons/mp44.tik

cache models/items/item_smg_ammobox.tik

cache models/weapons/m2frag_grenade.tik

cache models/weapons/thompsonsmg.tik

cache models/weapons/bar.tik
and still the map i hanging when loading and he server crashes :cry:

can somebody help me?

Posted: Sat Jan 24, 2004 9:56 pm
by Bjarne BZR
You have a 'l' character, right here:

Code: Select all

exec global/ambient.scr rush
// may want to make your own ambient sounds, read the tut
l
evel.script = "maps/dm/rush.scr"
// remember to put in your map name

Posted: Sat Jan 24, 2004 10:01 pm
by [K.S.K] Dragon
oh srry, the l has te be with evel so its level.
it was an typing error :oops:
but its weird becouse i can load the map when i am allready in the server.
maybe stock levels are loading files that i need with my level

Posted: Sat Jan 24, 2004 10:10 pm
by Bjarne BZR
So... if the server crashes... does it generate a logfile? ( qconsole.log )