hi all
there is any idea about to make an ip redirected to another one. we changed our server to another dedi box so ip changed so when some one go to our old ip we need him to be redirected to the new ip.
hi all
there is any idea about to make an ip redirected to another one. we changed our server to another dedi box so ip changed so when some one go to our old ip we need him to be redirected to the new ip.
The only way that would be possible would be for the host to map the old IP / port to the new one on their network router. So if the dedi is with the same host it is possible but I would expect most host's not to do this as it starts to get messy with the network config setup and can cause problems - It would be better to advertise the server IP change on console prior to move - Keep the same server name and this will help players find in the likes of Xfire and in game browser
Sure it's possible.
Make a connection handler. Then forward them when they connect.
in dmprecache.scr
Code:local.result = registerev "connected" global/connectedhandler.scr
global/connectedhandler.scr
I would also change the sv_hostname of the old server to show that you have a new server.PHP Code:
main local.player:
if(local.player)
{
local.player iprint "WE APOLOGIZE - BUT WE HAVE A NEW IP. PLEASE WAIT WHILE WE FORWARD YOU TO THE NEW SERVER."
local.seconds = 5
wait 2
//Count down from 5 to 1 before forwarding...
while(local.seconds > 0)
{
local.player iprint local.seconds
local.seconds--
wait 1
}
local.player iprint "NOW FORWARDING YOU TO THE NEW IP"
wait 1
while(local.player)
{
local.player stufftext "connect xxx.xxx.xxx.xxx:xxxxx" //EDIT THE IP ADRESS HERE
wait 2
}
}
end
Last edited by armageddon; August 8th, 2012 at 01:31 PM.
make a .scr file with that text and exec local.result = registerev "connected" global/connectedhandler.scr in dmprecache?
and they will redirected to new server?
my server crashes when i add this.. logfile
Code:Cvar_Set2: chat 0 Cvar_Set2: sv_chatter 0 Cvar_Set2: g_logstats 0 Cvar_Set2: g_log qconsole.log Cvar_Set2: g_gametype 3 Cvar_Set2: sv_fps 20 ------ Server Initialization ------ Server: dm/mohdm6 Warning: cvar "sv_maxclients" given initial values: "1" and "32" Cvar_Set2: sv_running 1 ------ Unloading fgameded.so ------ ------- Attempting to load /home/1506031/start/mohaa-12121/fgameded.so ------- LoadLibrary (fgameded.so) ------------------ MoH:AA 1.12 Reborn Patch InitGame ------------------ Initializing SignalHandlers. Done! Warning: cvar "sv_zombietime" given initial values: "2" and "1" Warning: cvar "sv_timeout" given initial values: "120" and "10" Initializing CVARS. Done! --> Next update check will be performed after 11 hours (0 day/s)! Initializing Chat Filter. Done! Initializing Banned Names List. Done! Initializing Banned IPs List. Done! Initializing Allowed Votes List. Done! Initializing Allowed Maps List. Done! Initializing Admins List. Done! Initializing Protected Names List. Done! Reborn.map mapped into address space. Shared settings initialized! LocalizationError fix Address: 0x080ADE9E LocalizationError removal fix applied. BulletAttack Address: 0xf44cf990 GetMuzzlePosition Address: 0xf44c0be0 GetEntityTag Address: 0xf4402990 Player::Respawn Address: 0xf444ecb0 Player::Killed Address: 0xf444ee60 Entity::Damage Address: 0xf43ffaf0 Player::JumpXY Address: 0xf44536d0 BulletAttack: Hooked correctly. Anti Wallhack/Visuals Protection applied Black Window Patch Address: 0xf44d015a Shoot through Black Window/Furniture/Light Bulbs Hack Protection applied RConFlood Patch Address: 0x808ce4f RConFlood Crash Protection applied InfoBoom Patch Address: 0x807930b & 0x8079296 InfoBoom Crash Protection applied SV_UpdateUserinfo_f Address: 0x8087c00 UserInfo Buffer overflow protection applied (512 chars limit) ScriptedEvents System Initialized Kick/Ban Announcements Initialized Internal Packet Flood Protection Initialized Allowed remote tool IP: 127.0.0.1 (7f000001) ---------------- MoH:AA 1.12 Reborn Patch InitFinished ---------------- ==== InitGame ==== Warning: cvar "dedicated" given initial values: "1" and "0" Warning: cvar "cheats" given initial values: "1" and "0" Cvar_Set2: deathmatch 1 Cvar_Set2: g_gametypestring Round-Based-Match Cvar_Set2: g_tempaxisscore 0 Cvar_Set2: g_tempaxiswinsinrow 0 Cvar_Set2: g_tempalliesscore 0 Cvar_Set2: g_tempallieswinsinrow 0 Cvar_Set2: g_tempmaptime 0 Cvar_Set2: g_scoreboardpicover sizeof(Actor) == 2960 Magic sizeof actor numer: 2896 ------------------ Event system initialized: 154 classes 1348 events 830368 total memory in response list ==== CleanupGame ==== Cvar_Set2: session 3 Cvar_Set2: g_scoreboardpicover Cvar_Set2: bosshealth 0 CM_LoadMap( maps/dm/mohdm6.bsp, 0 ) ^~^~^ Can't find textures/general_structure/jh_conc2.tga ^~^~^ Can't find textures/interior/hotelwthr_trim.tga ^~^~^ Can't find textures/general_industrial/deckgrate_set1b.tga ^~^~^ Can't find textures/interior/whitewoodbm.tga Cvar_Set2: sv_mapChecksum 1974169620 Cvar_Set2: mapname dm/mohdm6 Cvar_Set2: sv_serverid 1147 Adding script: 'dm/mohdm6_precache.scr' ^~^~^ Can't find models/player/axis_mog_camo_waffenss_shutze.tik Tiki:LoadFile Couldn't load models/player/axis_mog_camo_waffenss_shutze.tik ^~^~^ Can't find models/player/german_afrika_grenadier.tik Tiki:LoadFile Couldn't load models/player/german_afrika_grenadier.tik ^~^~^ Can't find models/player/german_recoil_3rd_fallschirmjager.tik Tiki:LoadFile Couldn't load models/player/german_recoil_3rd_fallschirmjager.tik ^~^~^ Can't find models/player/allied_mog_camo_ranger.tik Tiki:LoadFile Couldn't load models/player/allied_mog_camo_ranger.tik ^~^~^ Can't find models/player/allied_17thairb_medic.tik Tiki:LoadFile Couldn't load models/player/allied_17thairb_medic.tik ^~^~^ Can't find models/player/axis_mog_camo_afrika_private.tik Tiki:LoadFile Couldn't load models/player/axis_mog_camo_afrika_private.tik ^~^~^ Can't find models/player/german_8thcamo44-facewrap.tik Tiki:LoadFile Couldn't load models/player/german_8thcamo44-facewrap.tik ^~^~^ Can't find models/player/allied_101st-screaming-eagle-3.tik Tiki:LoadFile Couldn't load models/player/allied_101st-screaming-eagle-3.tik ^~^~^ Can't find models/player/german_waffenss_nco.tik Tiki:LoadFile Couldn't load models/player/german_waffenss_nco.tik ^~^~^ Can't find models/player/allied_british_can3rd-sergeant.tik Tiki:LoadFile Couldn't load models/player/allied_british_can3rd-sergeant.tik ^~^~^ Can't find models/player/german_wac_nazi_medic.tik Tiki:LoadFile Couldn't load models/player/german_wac_nazi_medic.tik ^~^~^ Can't find models/player/allied_airborne_101e_col_sink.tik Tiki:LoadFile Couldn't load models/player/allied_airborne_101e_col_sink.tik ^~^~^ Can't find models/player/allied_mr_bean.tik Tiki:LoadFile Couldn't load models/player/allied_mr_bean.tik ^~^~^ Can't find models/player/allied_101st-screaming-eagle-1.tik Tiki:LoadFile Couldn't load models/player/allied_101st-screaming-eagle-1.tik ^~^~^ Can't find models/player/allied_1st_airborne_helmet.tik Tiki:LoadFile Couldn't load models/player/allied_1st_airborne_helmet.tik ^~^~^ Can't find models/player/allied_506easycapt.tik Tiki:LoadFile Couldn't load models/player/allied_506easycapt.tik ^~^~^ Can't find models/player/allied_506easyplatoonsarg.tik Tiki:LoadFile Couldn't load models/player/allied_506easyplatoonsarg.tik ^~^~^ Can't find models/player/allied_airborne_101e_corp_liebgott.tik Tiki:LoadFile Couldn't load models/player/allied_airborne_101e_corp_liebgott.tik ^~^~^ Can't find models/player/allied_airborne_101e_lt_speirs.tik Tiki:LoadFile Couldn't load models/player/allied_airborne_101e_lt_speirs.tik ^~^~^ Can't find models/player/allied_bandit.tik Tiki:LoadFile Couldn't load models/player/allied_bandit.tik ^~^~^ Can't find models/player/allied_belgian_army.tik Tiki:LoadFile Couldn't load models/player/allied_belgian_army.tik ^~^~^ Can't find models/player/allied_breach&clear.tik Tiki:LoadFile Couldn't load models/player/allied_breach&clear.tik ^~^~^ Can't find models/player/allied_crazyhorse-1.tik Tiki:LoadFile Couldn't load models/player/allied_crazyhorse-1.tik ^~^~^ Can't find models/player/allied_desertcamo.tik Tiki:LoadFile Couldn't load models/player/allied_desertcamo.tik ^~^~^ Can't find models/player/allied_guar_modernarmy.tik Tiki:LoadFile Couldn't load models/player/allied_guar_modernarmy.tik ^~^~^ Can't find models/player/allied_halo_master_chief_v2.tik Tiki:LoadFile Couldn't load models/player/allied_halo_master_chief_v2.tik ^~^~^ Can't find models/player/allied_hoss.tik Tiki:LoadFile Couldn't load models/player/allied_hoss.tik ^~^~^ Can't find models/player/allied_iwo-jima_veteran.tik Tiki:LoadFile Couldn't load models/player/allied_iwo-jima_veteran.tik ^~^~^ Can't find models/player/allied_minister.tik Tiki:LoadFile Couldn't load models/player/allied_minister.tik ^~^~^ Box data is corrupted for 'models/human/allied_pilot/allied_pilot.skd' ^~^~^ Morph targets data is corrupted for 'models/human/allied_pilot/allied_pilot.skd' ^~^~^ Can't find models/player/allied_recoil_ateam2.tik Tiki:LoadFile Couldn't load models/player/allied_recoil_ateam2.tik ^~^~^ Can't find models/player/axis_gbt_machinegunner.tik Tiki:LoadFile Couldn't load models/player/axis_gbt_machinegunner.tik ^~^~^ Can't find models/player/axis_hauptmann.tik Tiki:LoadFile Couldn't load models/player/axis_hauptmann.tik ^~^~^ Can't find models/player/axis_mog_camo_panzer_shutze.tik Tiki:LoadFile Couldn't load models/player/axis_mog_camo_panzer_shutze.tik ^~^~^ Can't find models/player/german_352nd_jaeger-leutnant.tik Tiki:LoadFile Couldn't load models/player/german_352nd_jaeger-leutnant.tik ^~^~^ Can't find models/player/german_8thfieldgrey.tik Tiki:LoadFile Couldn't load models/player/german_8thfieldgrey.tik ^~^~^ Can't find models/player/german_black_assassinx.tik Tiki:LoadFile Couldn't load models/player/german_black_assassinx.tik ^~^~^ Can't find models/player/german_fitz_urban_tiger.tik Tiki:LoadFile Couldn't load models/player/german_fitz_urban_tiger.tik ^~^~^ Can't find models/player/german_germanspecops.tik Tiki:LoadFile Couldn't load models/player/german_germanspecops.tik ^~^~^ Can't find models/player/german_luftwaffe_falschirmjager.tik Tiki:LoadFile Couldn't load models/player/german_luftwaffe_falschirmjager.tik ^~^~^ Can't find models/player/german_luftwaffe_falschirmjager_gasmask.tik Tiki:LoadFile Couldn't load models/player/german_luftwaffe_falschirmjager_gasmask.tik ^~^~^ Can't find models/player/german_luftwaffe_field.tik Tiki:LoadFile Couldn't load models/player/german_luftwaffe_field.tik Channel named Bip01 L Clavicle pos not added. (Bone will not work without it) Channel named Bip01 R Clavicle pos not added. (Bone will not work without it) ^~^~^ Can't find models/player/german_proto_tek.tik Tiki:LoadFile Couldn't load models/player/german_proto_tek.tik ^~^~^ Can't find models/player/german_terrorist.tik Tiki:LoadFile Couldn't load models/player/german_terrorist.tik ^~^~^ Can't find models/player/german_wehrmacht_nco.tik Tiki:LoadFile Couldn't load models/player/german_wehrmacht_nco.tik TIKI_InitTiki: could not find surface 'origin' in 'models/projectiles/steilhandgranate_primary.tik' (check referenced skb/skd files). TIKI_InitTiki: could not find surface 'tag_barrel' in 'models/projectiles/steilhandgranate_primary.tik' (check referenced skb/skd files). WARNING- DOWNGRADING TO OLD ANIMATION FORMAT FOR FILE: models/static/flags/naziflag1.skc TIKI_InitTiki: could not find surface 'panzerschreck2' in 'models/weapons/panzerschreck.tik' (check referenced skb/skd files). TIKI_InitTiki: could not find surface 'origin' in 'models/projectiles/steilhandgranate.tik' (check referenced skb/skd files). TIKI_InitTiki: could not find surface 'tag_barrel' in 'models/projectiles/steilhandgranate.tik' (check referenced skb/skd files). -------------------- Spawning Entities ----------------------- Cvar_Set2: skill 0 soundtrack switched to . Cvar_Set2: sv_gravity 800 Cvar_Set2: sv_cinematic 0 -------------------- Actual Spawning Entities ----------------------- -------------------- Actual Spawning Entities Done ------------------ 1 ms 0 teams with 0 entities Adding script: 'dm/mohdm6.scr' Cvar_Set2: g_obj_alliedtext1 Stalingrad Cvar_Set2: g_obj_alliedtext2 Cvar_Set2: g_obj_alliedtext3 Cvar_Set2: g_obj_axistext1 Cvar_Set2: g_obj_axistext2 Cvar_Set2: g_obj_axistext3 Cvar_Set2: g_scoreboardpic mohdm6 Cvar_Set2: FST_playerNames Cvar_Set2: g_mef_version 1.2.2 Cvar_Set2: g_mef_lastmap -1 0 dm/mohdm6 Cvar_Set2: g_gametypestring =|LuV|= Freeze-Tag Melt Points Cvar_Set2: g_gametype 3 Cvar_Set2: session 3 Cvar_Set2: g_mef_lastspawnconfig 1 Cvar_Set2: g_tempaxisscore 0 Cvar_Set2: g_tempaxiswinsinrow 0 Cvar_Set2: g_tempalliesscore 0 Cvar_Set2: g_tempallieswinsinrow 0 Cvar_Set2: g_tempmaptime 0 Cvar_Set2: g_mef_currentsettings suddendeath: 1 logevents: 0 melttime: 1 meltradius: 100 meltgun: on meltvis scanvis frozenmsg: loc name bodycodes meltmsg: loc name observe: bodies mapfix: 1 Cvar_Set2: g_obj_alliedtext1 =|LuV|= Freeze-Tag Server Cvar_Set2: g_obj_alliedtext2 Check the website Cvar_Set2: g_obj_alliedtext3 www.luvclan.eu Cvar_Set2: g_obj_axistext1 Enjoy the game Cvar_Set2: g_obj_axistext2 Play with LuV Cvar_Set2: g_obj_axistext3 IP: 188.165.205.204:12203 39 entities spawned 115 simple entities spawned 0 entities inhibited -------------------- Spawning Entities Done ------------------ 37 ms Cvar_Set2: sv_paks Cvar_Set2: sv_referencedPaks Cvar_Set2: sv_referencedPakNames -----------PARSING UBERSOUND (SERVER)------------ Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that tiki on this level. CG_Command_ProcessFile: ubersound/ubersound.scr Parse/Load time: 0.015000 seconds. -------------UBERSOUND DONE (SERVER)--------------- -----------PARSING UBERDIALOG (SERVER)------------ Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that tiki on this level. CG_Command_ProcessFile: ubersound/uberdialog.scr Parse/Load time: 0.077000 seconds. -------------UBERDIALOG DONE (SERVER)--------------- ------ Server Initialization Complete ------ 0.82 seconds Mapinfo mod is called. Calling AntinameChange Cvar_Set2: g_gametype 1 g_gametype will be changed upon restarting. Cvar_Set2: g_gametype 1 Cvar_Set2: r_instructions_next 0 Cvar_Set2: r_instructions_waited 0 Cvar_Set2: g_playermodel american_army Cvar_Set2: sv_fps 20 ------ Server Initialization ------ Server: dm/mohdm1 ------------------ MoH:AA 1.12 Reborn Patch Shutdown ------------------ Shared settings memory deinitialized correctly. LocalizationError removal fix shutdown. BulletAttack: Unhooked correctly. Anti Wallhack/Visuals protection shutdown UserInfo Buffer overflow protection shutdown Kick/Ban Announcements Deinitialized ScriptedEvents System Deinitialized Internal Packet Flood Protection Deinitialized SignalHandlers Deinitialized ----------------- MoH:AA 1.12 Reborn Patch ShutdownEnd ---------------- ==== ShutdownGame ==== Cvar_Set2: session 1 Cvar_Set2: g_scoreboardpicover Cvar_Set2: bosshealth 0 ------ Unloading fgameded.so ------ Cvar_Set2: g_scoreboardpicover ------- Attempting to load /home/1506031/start/mohaa-12121/fgameded.so ------- LoadLibrary (fgameded.so) ------------------ MoH:AA 1.12 Reborn Patch InitGame ------------------ Initializing SignalHandlers. Done! Warning: cvar "sv_zombietime" given initial values: "2" and "1" Warning: cvar "sv_timeout" given initial values: "120" and "10" Initializing CVARS. Done! --> Next update check will be performed after 12 hours (0 day/s)! Initializing Chat Filter. Done! Initializing Banned Names List. Done! Initializing Banned IPs List. Done! Initializing Allowed Votes List. Done! Initializing Allowed Maps List. Done! Initializing Admins List. Done! Initializing Protected Names List. Done! Reborn.map mapped into address space. Shared settings initialized! LocalizationError fix Address: 0x080ADE9E LocalizationError removal fix applied. BulletAttack Address: 0xf44cf990 GetMuzzlePosition Address: 0xf44c0be0 GetEntityTag Address: 0xf4402990 Player::Respawn Address: 0xf444ecb0 Player::Killed Address: 0xf444ee60 Entity::Damage Address: 0xf43ffaf0 Player::JumpXY Address: 0xf44536d0 BulletAttack: Hooked correctly. Anti Wallhack/Visuals Protection applied Black Window Patch Address: 0xf44d015a Shoot through Black Window/Furniture/Light Bulbs Hack Protection applied RConFlood Patch Address: 0x808ce4f RConFlood Crash Protection applied InfoBoom Patch Address: 0x807930b & 0x8079296 InfoBoom Crash Protection applied SV_UpdateUserinfo_f Address: 0x8087c00 UserInfo Buffer overflow protection applied (512 chars limit) ScriptedEvents System Initialized Kick/Ban Announcements Initialized Internal Packet Flood Protection Initialized Allowed remote tool IP: 127.0.0.1 (7f000001) ---------------- MoH:AA 1.12 Reborn Patch InitFinished ---------------- ==== InitGame ==== Warning: cvar "dedicated" given initial values: "1" and "0" Warning: cvar "cheats" given initial values: "1" and "0" Cvar_Set2: deathmatch 1 Cvar_Set2: g_gametypestring Free-For-All sizeof(Actor) == 2960 Magic sizeof actor numer: 2896 ------------------ Event system initialized: 154 classes 1348 events 830368 total memory in response list ==== CleanupGame ==== Cvar_Set2: session 1 Cvar_Set2: g_scoreboardpicover Cvar_Set2: bosshealth 0 CM_LoadMap( maps/dm/mohdm1.bsp, 0 ) ^~^~^ Can't find textures/general_industrial/deckgrate_set1b.tga Cvar_Set2: sv_mapChecksum 558032789 Cvar_Set2: mapname dm/mohdm1 Cvar_Set2: sv_serverid 1147 Adding script: 'dm/mohdm1_precache.scr' ^~^~^ Can't find models/player/axis_mog_camo_waffenss_shutze.tik Tiki:LoadFile Couldn't load models/player/axis_mog_camo_waffenss_shutze.tik ^~^~^ Can't find models/player/german_afrika_grenadier.tik Tiki:LoadFile Couldn't load models/player/german_afrika_grenadier.tik ^~^~^ Can't find models/player/german_recoil_3rd_fallschirmjager.tik Tiki:LoadFile Couldn't load models/player/german_recoil_3rd_fallschirmjager.tik ^~^~^ Can't find models/player/allied_mog_camo_ranger.tik Tiki:LoadFile Couldn't load models/player/allied_mog_camo_ranger.tik ^~^~^ Can't find models/player/allied_17thairb_medic.tik Tiki:LoadFile Couldn't load models/player/allied_17thairb_medic.tik ^~^~^ Can't find models/player/axis_mog_camo_afrika_private.tik Tiki:LoadFile Couldn't load models/player/axis_mog_camo_afrika_private.tik ^~^~^ Can't find models/player/german_8thcamo44-facewrap.tik Tiki:LoadFile Couldn't load models/player/german_8thcamo44-facewrap.tik ^~^~^ Can't find models/player/allied_101st-screaming-eagle-3.tik Tiki:LoadFile Couldn't load models/player/allied_101st-screaming-eagle-3.tik ^~^~^ Can't find models/player/german_waffenss_nco.tik Tiki:LoadFile Couldn't load models/player/german_waffenss_nco.tik ^~^~^ Can't find models/player/allied_british_can3rd-sergeant.tik Tiki:LoadFile Couldn't load models/player/allied_british_can3rd-sergeant.tik ^~^~^ Can't find models/player/german_wac_nazi_medic.tik Tiki:LoadFile Couldn't load models/player/german_wac_nazi_medic.tik ^~^~^ Can't find models/player/allied_airborne_101e_col_sink.tik Tiki:LoadFile Couldn't load models/player/allied_airborne_101e_col_sink.tik ^~^~^ Can't find models/player/allied_mr_bean.tik Tiki:LoadFile Couldn't load models/player/allied_mr_bean.tik ^~^~^ Can't find models/player/allied_101st-screaming-eagle-1.tik Tiki:LoadFile Couldn't load models/player/allied_101st-screaming-eagle-1.tik ^~^~^ Can't find models/player/allied_1st_airborne_helmet.tik Tiki:LoadFile Couldn't load models/player/allied_1st_airborne_helmet.tik ^~^~^ Can't find models/player/allied_506easycapt.tik Tiki:LoadFile Couldn't load models/player/allied_506easycapt.tik ^~^~^ Can't find models/player/allied_506easyplatoonsarg.tik Tiki:LoadFile Couldn't load models/player/allied_506easyplatoonsarg.tik ^~^~^ Can't find models/player/allied_airborne_101e_corp_liebgott.tik Tiki:LoadFile Couldn't load models/player/allied_airborne_101e_corp_liebgott.tik ^~^~^ Can't find models/player/allied_airborne_101e_lt_speirs.tik Tiki:LoadFile Couldn't load models/player/allied_airborne_101e_lt_speirs.tik ^~^~^ Can't find models/player/allied_bandit.tik Tiki:LoadFile Couldn't load models/player/allied_bandit.tik ^~^~^ Can't find models/player/allied_belgian_army.tik Tiki:LoadFile Couldn't load models/player/allied_belgian_army.tik ^~^~^ Can't find models/player/allied_breach&clear.tik Tiki:LoadFile Couldn't load models/player/allied_breach&clear.tik ^~^~^ Can't find models/player/allied_crazyhorse-1.tik Tiki:LoadFile Couldn't load models/player/allied_crazyhorse-1.tik ^~^~^ Can't find models/player/allied_desertcamo.tik Tiki:LoadFile Couldn't load models/player/allied_desertcamo.tik ^~^~^ Can't find models/player/allied_guar_modernarmy.tik Tiki:LoadFile Couldn't load models/player/allied_guar_modernarmy.tik ^~^~^ Can't find models/player/allied_halo_master_chief_v2.tik Tiki:LoadFile Couldn't load models/player/allied_halo_master_chief_v2.tik ^~^~^ Can't find models/player/allied_hoss.tik Tiki:LoadFile Couldn't load models/player/allied_hoss.tik ^~^~^ Can't find models/player/allied_iwo-jima_veteran.tik Tiki:LoadFile Couldn't load models/player/allied_iwo-jima_veteran.tik ^~^~^ Can't find models/player/allied_minister.tik Tiki:LoadFile Couldn't load models/player/allied_minister.tik ^~^~^ Box data is corrupted for 'models/human/allied_pilot/allied_pilot.skd' ^~^~^ Morph targets data is corrupted for 'models/human/allied_pilot/allied_pilot.skd' ^~^~^ Can't find models/player/allied_recoil_ateam2.tik Tiki:LoadFile Couldn't load models/player/allied_recoil_ateam2.tik ^~^~^ Can't find models/player/axis_gbt_machinegunner.tik Tiki:LoadFile Couldn't load models/player/axis_gbt_machinegunner.tik ^~^~^ Can't find models/player/axis_hauptmann.tik Tiki:LoadFile Couldn't load models/player/axis_hauptmann.tik ^~^~^ Can't find models/player/axis_mog_camo_panzer_shutze.tik Tiki:LoadFile Couldn't load models/player/axis_mog_camo_panzer_shutze.tik ^~^~^ Can't find models/player/german_352nd_jaeger-leutnant.tik Tiki:LoadFile Couldn't load models/player/german_352nd_jaeger-leutnant.tik ^~^~^ Can't find models/player/german_8thfieldgrey.tik Tiki:LoadFile Couldn't load models/player/german_8thfieldgrey.tik ^~^~^ Can't find models/player/german_black_assassinx.tik Tiki:LoadFile Couldn't load models/player/german_black_assassinx.tik ^~^~^ Can't find models/player/german_fitz_urban_tiger.tik Tiki:LoadFile Couldn't load models/player/german_fitz_urban_tiger.tik ^~^~^ Can't find models/player/german_germanspecops.tik Tiki:LoadFile Couldn't load models/player/german_germanspecops.tik ^~^~^ Can't find models/player/german_luftwaffe_falschirmjager.tik Tiki:LoadFile Couldn't load models/player/german_luftwaffe_falschirmjager.tik ^~^~^ Can't find models/player/german_luftwaffe_falschirmjager_gasmask.tik Tiki:LoadFile Couldn't load models/player/german_luftwaffe_falschirmjager_gasmask.tik ^~^~^ Can't find models/player/german_luftwaffe_field.tik Tiki:LoadFile Couldn't load models/player/german_luftwaffe_field.tik Channel named Bip01 L Clavicle pos not added. (Bone will not work without it) Channel named Bip01 R Clavicle pos not added. (Bone will not work without it) ^~^~^ Can't find models/player/german_proto_tek.tik Tiki:LoadFile Couldn't load models/player/german_proto_tek.tik ^~^~^ Can't find models/player/german_terrorist.tik Tiki:LoadFile Couldn't load models/player/german_terrorist.tik ^~^~^ Can't find models/player/german_wehrmacht_nco.tik Tiki:LoadFile Couldn't load models/player/german_wehrmacht_nco.tik TIKI_InitTiki: could not find surface 'origin' in 'models/projectiles/steilhandgranate_primary.tik' (check referenced skb/skd files). TIKI_InitTiki: could not find surface 'tag_barrel' in 'models/projectiles/steilhandgranate_primary.tik' (check referenced skb/skd files). TIKI_InitTiki: could not find surface 'panzerschreck2' in 'models/weapons/panzerschreck.tik' (check referenced skb/skd files). TIKI_InitTiki: could not find surface 'origin' in 'models/projectiles/steilhandgranate.tik' (check referenced skb/skd files). TIKI_InitTiki: could not find surface 'tag_barrel' in 'models/projectiles/steilhandgranate.tik' (check referenced skb/skd files). -------------------- Spawning Entities ----------------------- Cvar_Set2: skill 0 soundtrack switched to . Cvar_Set2: sv_gravity 800 Cvar_Set2: sv_cinematic 0 ^~^~^ Event 'sunflare' does not exist. ^~^~^ Failed execution of event for class 'World' -------------------- Actual Spawning Entities ----------------------- ^~^~^ Add the following line to the *_precache.scr map script: cache models/miscobj/book_closed_thin_green.tik ^~^~^ Add the following line to the *_precache.scr map script: cache models/miscobj/drinkglass.tik ^~^~^ Add the following line to the *_precache.scr map script: cache models/miscobj/book_closed_thin_blue.tik ^~^~^ Add the following line to the *_precache.scr map script: cache models/miscobj/book_closed_thick_lavender.tik -------------------- Actual Spawning Entities Done ------------------ 2 ms 0 teams with 0 entities Adding script: 'dm/mohdm1.scr' Cvar_Set2: g_obj_alliedtext1 Southern France Cvar_Set2: g_obj_alliedtext2 Cvar_Set2: g_obj_alliedtext3 Cvar_Set2: g_obj_axistext1 Cvar_Set2: g_obj_axistext2 Cvar_Set2: g_obj_axistext3 Cvar_Set2: g_scoreboardpic mohdm1 Cvar_Set2: FST_playerNames Cvar_Set2: g_mef_version 1.2.2 Cvar_Set2: g_mef_lastmap -1 0 dm/mohdm1 Cvar_Set2: g_gametypestring =|LuV|= Freeze-Tag Melt Points Cvar_Set2: g_gametype 3 Cvar_Set2: session 3 Cvar_Set2: g_mef_lastspawnconfig 0 Cvar_Set2: g_tempaxisscore 0 Cvar_Set2: g_tempaxiswinsinrow 0 Cvar_Set2: g_tempalliesscore 0 Cvar_Set2: g_tempallieswinsinrow 0 Cvar_Set2: g_tempmaptime 0 Cvar_Set2: g_mef_currentsettings suddendeath: 1 logevents: 0 melttime: 1 meltradius: 100 meltgun: on meltvis scanvis frozenmsg: loc name bodycodes meltmsg: loc name observe: bodies mapfix: 1 Cvar_Set2: g_obj_alliedtext1 =|LuV|= Freeze-Tag Server Cvar_Set2: g_obj_alliedtext2 Check the website Cvar_Set2: g_obj_alliedtext3 www.luvclan.eu Cvar_Set2: g_obj_axistext1 Enjoy the game Cvar_Set2: g_obj_axistext2 Play with LuV Cvar_Set2: g_obj_axistext3 IP: 188.165.205.204:12203 33 entities spawned 94 simple entities spawned 0 entities inhibited -------------------- Spawning Entities Done ------------------ 34 ms Cvar_Set2: sv_paks Cvar_Set2: sv_referencedPaks Cvar_Set2: sv_referencedPakNames -----------PARSING UBERSOUND (SERVER)------------ Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that tiki on this level. CG_Command_ProcessFile: ubersound/ubersound.scr Parse/Load time: 0.014000 seconds. -------------UBERSOUND DONE (SERVER)--------------- -----------PARSING UBERDIALOG (SERVER)------------ Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that tiki on this level. CG_Command_ProcessFile: ubersound/uberdialog.scr Parse/Load time: 0.079000 seconds. -------------UBERDIALOG DONE (SERVER)--------------- ------ Server Initialization Complete ------ 0.41 seconds Mapinfo mod is called. Calling AntinameChange Cvar_Set2: r_instructions_next Cvar_Set2: r_instructions_waited Cvar_Set2: sv_maxclients 32 Cvar_Set2: ui_maxclients 32 Hitch warning: 1278 msec frame time Reborn WARNING: Couldn't resolve reborn master server address Cvar_Set2: sv_rebornmaster SV packet 195.240.179.107:-14857 : getstatus SV packet 195.240.179.107:12203 : getchallenge SV packet 195.240.179.107:12203 : connect SVC_DirectConnect () >>>\challenge\1915582691\qport\50138\protocol\8\name\=|LuV|= Slimbips |CL|\rate\30000\dm_playermodel\allied_british_1_snow_helmet1\dm_playergermanmodel\german_winter_1\snaps\20<<< version 8 connecting to 8 Client 0 connecting with 3050 challenge ping IP: 195.240.179.107:12203 =|LuV|= Slimbips |CL| is preparing for deployment Going from CS_FREE to CS_CONNECTED for =|LuV|= Slimbips |CL| =|LuV|= Slimbips |CL| : dropped gamestate, resending SV_SendClientGameState() for =|LuV|= Slimbips |CL| Going from CS_CONNECTED to CS_PRIMED for =|LuV|= Slimbips |CL| Going from CS_PRIMED to CS_ACTIVE for =|LuV|= Slimbips |CL| Warning: cvar "g_maxplayerhealth" given initial values: "1500" and "250" ^~^~^ Can't find models/player/allied_british_1_snow_helmet1.tik Tiki:LoadFile Couldn't load models/player/allied_british_1_snow_helmet1.tik ^~^~^ Bad model name 'models/player/allied_british_1_snow_helmet1.tik' =|LuV|= Slimbips |CL| has entered the battle Got signal 6 - Aborted Execution path: --> [0xf772f430] --> /lib32/libc.so.6(abort+0x182) [0xf750ce92] --> /usr/lib32/libstdc++.so.5(+0x91c37) [0xf76fcc37] --> /usr/lib32/libstdc++.so.5(+0x91c74) [0xf76fcc74] --> /usr/lib32/libstdc++.so.5(+0x91de6) [0xf76fcde6] --> ./fgamededmohaa.so(_ZN12ScriptMaster21GetGameScriptInternalERK3str+0x2fc) [0xf4359d9c] --> ./fgamededmohaa.so(_ZN12ScriptMaster13GetGameScriptE9const_str+0xd8) [0xf4359fd8] --> ./fgamededmohaa.so(_ZN8Listener20CreateScriptInternalERK14ScriptVariable+0x2db) [0xf44314bb] --> ./fgamededmohaa.so(_ZN8Listener21ExecuteScriptInternalEP13Event_GAMEDLLR14ScriptVariable+0x28) [0xf442abb8] --> ./fgamededmohaa.so(_ZN8Listener13ExecuteScriptEP13Event_GAMEDLL+0x29) [0xf442aa19] --> /home/1506031/start/mohaa-12121/fgameded.so(ExecuteScript+0x2e) [0xf470032b] --> /home/1506031/start/mohaa-12121/fgameded.so(G_ClientBegin+0x23c) [0xf4703ead] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x80880dd] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x808787a] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x806676b] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x8067425] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x809726e] --> /lib32/libc.so.6(__libc_start_main+0xe6) [0xf74f5ca6] --> /home/1506031/start/mohaa-12121/mohaa_lnxded(_Znwj+0x71) [0x8049c41]
The only way reborn would crash with that script is if the registered callback could not be found which, going by the stack trace, seems to be what has happened. It's in descending order so GetGameScriptInternal is where it crashed.
Are you sure the script you're registering has the right name?Code:Execution path: --> [0xf772f430] --> /lib32/libc.so.6(abort+0x182) [0xf750ce92] --> /usr/lib32/libstdc++.so.5(+0x91c37) [0xf76fcc37] --> /usr/lib32/libstdc++.so.5(+0x91c74) [0xf76fcc74] --> /usr/lib32/libstdc++.so.5(+0x91de6) [0xf76fcde6] --> ./fgamededmohaa.so(_ZN12ScriptMaster21GetGameScriptInternalERK3str+0x2fc) [0xf4359d9c] --> ./fgamededmohaa.so(_ZN12ScriptMaster13GetGameScriptE9const_str+0xd8) [0xf4359fd8] --> ./fgamededmohaa.so(_ZN8Listener20CreateScriptInternalERK14ScriptVariable+0x2db) [0xf44314bb] --> ./fgamededmohaa.so(_ZN8Listener21ExecuteScriptInternalEP13Event_GAMEDLLR14ScriptVariable+0x28) [0xf442abb8] --> ./fgamededmohaa.so(_ZN8Listener13ExecuteScriptEP13Event_GAMEDLL+0x29) [0xf442aa19] --> /home/1506031/start/mohaa-12121/fgameded.so(ExecuteScript+0x2e) [0xf470032b] --> /home/1506031/start/mohaa-12121/fgameded.so(G_ClientBegin+0x23c) [0xf4703ead] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x80880dd] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x808787a] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x806676b] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x8067425] --> /home/1506031/start/mohaa-12121/mohaa_lnxded() [0x809726e] --> /lib32/libc.so.6(__libc_start_main+0xe6) [0xf74f5ca6] --> /home/1506031/start/mohaa-12121/mohaa_lnxded(_Znwj+0x71) [0x8049c41]
Morpheus Script (MoH) => You try to shoot yourself in the foot only to discover that MorpheusScript already shot your foot for you.
dmprecache
and in the global folder i have connecthandler.scr with the codeCode:main: if(level.preloaded==1) end level.preloaded = 1 thread cache //REBORN EVENT REGISTERING local.result = registerev "connected" global/connectedhandler.scr end cache: cache models/statweapons/flak88turret.tik cache models/animate/allied_airborne_soldier_dead.tik cache models/animate/papers2_sas.tik cache models/animate/pulse_radiobomb_pickup.tik cache models/emitters/fancyfire.tik cache models/emitters/fireandsmoke.tik cache models/emitters/inferno.tik cache models/emitters/lightswarmers_small.tik cache models/fx/bazookaexplosion_dm.tik cache models/fx/corona_red.tik cache models/fx/dummy.tik cache models/fx/fx_tank_explosion.tik cache models/human/german_afrika_grenadier.tik cache models/items/binoculars.tik cache models/items/dm_50_healthbox.tik cache models/items/item_50_healthbox.tik cache models/items/papers.tik cache models/miscobj/bottle_wine.tik cache models/miscobj/sledgehammer.tik cache models/human/german_afrika_grenadier.tik cache models/animate/pulse_radiobomb_pickup.tik cache models/fx/fx_tank_explosion.tik cache models/animate/papers2_sas.tik cache models/animate/allied_airborne_soldier_dead.tik cache models/static/indycrate.tik cache models/player/axis_mog_camo_waffenss_shutze.tik cache models/animate/fx_mortar_water.tik cache models/player/german_afrika_grenadier.tik cache models/player/german_recoil_3rd_fallschirmjager.tik cache models/player/allied_mog_camo_ranger.tik cache models/player/allied_17thairb_medic.tik cache models/player/axis_mog_camo_afrika_private.tik cache models/player/german_8thcamo44-facewrap.tik cache models/player/allied_101st-screaming-eagle-3.tik cache models/player/german_waffenss_nco.tik cache models/player/allied_british_can3rd-sergeant.tik cache models/player/german_wac_nazi_medic.tik cache models/player/allied_airborne_101e_col_sink.tik cache models/player/allied_mr_bean.tik cache models/player/allied_101st-screaming-eagle-1.tik cache models/player/allied_1st_airborne_helmet.tik cache models/player/allied_506easycapt.tik cache models/player/allied_506easyplatoonsarg.tik cache models/player/allied_airborne.tik cache models/player/allied_airborne_101e_corp_liebgott.tik cache models/player/allied_airborne_101e_lt_speirs.tik cache models/player/allied_bandit.tik cache models/player/allied_belgian_army.tik cache models/player/allied_breach&clear.tik cache models/player/allied_crazyhorse-1.tik cache models/player/allied_desertcamo.tik cache models/player/allied_guar_modernarmy.tik cache models/player/allied_halo_master_chief_v2.tik cache models/player/allied_hoss.tik cache models/player/allied_iwo-jima_veteran.tik cache models/player/allied_manon.tik cache models/player/allied_minister.tik cache models/player/allied_pilot.tik cache models/player/allied_recoil_ateam2.tik cache models/player/allied_sas.tik cache models/player/american_army.tik cache models/player/american_ranger.tik cache models/player/axis_gbt_machinegunner.tik cache models/player/axis_hauptmann.tik cache models/player/axis_mog_camo_panzer_shutze.tik cache models/player/german_352nd_jaeger-leutnant.tik cache models/player/german_8thfieldgrey.tik cache models/player/german_afrika_officer.tik cache models/player/german_afrika_private.tik cache models/player/german_black_assassinx.tik cache models/player/german_elite_officer.tik cache models/player/german_elite_sentry.tik cache models/player/german_fitz_urban_tiger.tik cache models/player/german_germanspecops.tik cache models/player/german_kradshutzen.tik cache models/player/german_luftwaffe_falschirmjager.tik cache models/player/german_luftwaffe_falschirmjager_gasmask.tik cache models/player/german_luftwaffe_field.tik cache models/player/german_panzer_grenadier.tik cache models/player/german_panzer_obershutze.tik cache models/player/german_panzer_shutze.tik cache models/player/german_panzer_tankcommander.tik cache models/player/german_proto_tek.tik cache models/player/german_scientist.tik cache models/player/german_terrorist.tik cache models/player/german_waffenss_officer.tik cache models/player/german_waffenss_shutze.tik cache models/player/german_wehrmacht_nco.tik cache models/player/german_wehrmacht_officer.tik cache models/player/german_wehrmacht_soldier.tik cache models/player/german_winter_1.tik cache models/player/german_winter_2.tik cache models/player/german_worker.tik cache models/projectiles/steilhandgranate_primary.tik cache models/static/45cal_crate.tik cache models/static/50cal_crate.tik cache models/static/barbwire_two_post.tik cache models/static/bshelf-tall-thin.tik cache models/static/corona_orange.tik cache models/static/corona_reg.tik cache models/static/cratelid1.tik cache models/static/cratelid2.tik cache models/static/indycrate.tik cache models/static/locker.tik cache models/static/nazi_crate.tik cache models/static/oldladypainting.tik cache models/static/piano.tik cache models/static/planningtable.tik cache models/static/sandbag_link_leftbend.tik cache models/static/sandbag_link_main.tik cache models/static/sandbag_link_rightbend.tik cache models/static/sandbag_link_topcap.tik cache models/static/single_bed.tik cache models/static/smallfilecabinet.tik cache models/static/static_cablespool_full.tik cache models/static/static_nazibanner.tik cache models/static/static_naziflag2.tik cache models/statweapons/mg42_bipod_nonstatic.tik cache models/statweapons/mg42_gun.tik cache models/statweapons/mg42_gun_viewmodel.tik cache models/vehicles/panzer_iv.tik cache models/vehicles/shermantank.tik cache models/weapons/bar.tik cache models/weapons/bazooka.tik cache models/weapons/colt45.tik cache models/weapons/kar98.tik cache models/weapons/kar98sniper.tik cache models/weapons/m1_garand.tik cache models/weapons/m2frag_grenade.tik cache models/weapons/m2frag_grenade_sp.tik cache models/weapons/mp40.tik cache models/weapons/mp44.tik cache models/weapons/p38.tik cache models/weapons/panzerschreck.tik cache models/weapons/shotgun.tik cache models/weapons/springfield.tik cache models/weapons/steilhandgranate.tik cache models/weapons/thompsonsmg.tik level waittill spawn exec custom/mapinfo/mapinfo.scr exec global/consolemessage.scr exec global/antinamechange.scr end // // Done ///////////////////////////////////////////////////////////////////////////////
and changed the ip where ot direct to ofcCode:main local.player: if(local.player) { local.player iprint "WE APOLOGIZE - BUT WE HAVE A NEW IP. PLEASE WAIT WHILE WE FORWARD YOU TO THE NEW SERVER." local.seconds = 5 wait 2 //Count down from 5 to 1 before forwarding... while(local.seconds > 0) { local.player iprint local.seconds local.seconds-- wait 1 } local.player iprint "NOW FORWARDING YOU TO THE NEW IP" wait 1 while(local.player) { local.player stufftext "connect xxx.xxx.xxx.xxx:xxxxx" //EDIT THE IP ADRESS HERE wait 2 } } end
i also tried it with only that and no mods etc... when i want to eneter server i see loading screen but on +- 80% it crashes my game and server crashes.
local.result = registerev "connected" global/connectedhandler.scr
and in the global folder i have connecthandler.scr with the code
1 + 1 equals ...
Morpheus Script (MoH) => You try to shoot yourself in the foot only to discover that MorpheusScript already shot your foot for you.
lol blind me lets test that lol