Anti-Camper Mod

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
kaeza31
Private
Posts: 5
Joined: Tue Aug 20, 2013 4:03 am

Anti-Camper Mod

Post by kaeza31 »

Hello everyone, and thank you in advance for the help you bring me!
I want to install a mod anti-camp on my server mohaa. However, I'd like this one burned people who camped til it moves without killing the course!

if it moves the fire stops burning them in fact!

I send you the script thank you kindly help me file!
because when I configure it and I put it on my server after 15 seconds it is kick the server instead of burning a small fire!


//to edit the settings edit the 3rd part of the line that is usualy anumber between "".
// example of changing camper_type "bomb" to fire would be camper-type "fire"
//setcvar "camper_type" "fire".
//
//www.mods-r-us.net
//
//this is a setup file for anti_camper mod version 6.
//

//camper settings
setcvar "camper_type" "bomb" //bomb,fire,light, bleed , giant, takeall
setcvar "camper_time" "30"
setcvar "camper_inform" "1" //1- ON, 0 - OFF
setcvar "camper_message" "You Were Camping"
setcvar "camper" "1" //1- ON, 0 - OFF
setcvar "camper_help" "0" //1- ON, 0 - OFF
setcvar "camper_alwaysdie" "0" //1- ON, 0 - OFF

setcvar "camper_weaponscheck" "0" //1- ON, 0 - OFF

//weapon immune settings
setcvar "camper_snipertime" "30" //set to 0 for immune
setcvar "camper_rifletime" "30" //set to 0 for immune


setcvar "camper_saysound" "1" //1- ON, 0 - OFF

//bomb settings
setcvar "camper_silent" "0" //1- ON, 0 - OFF
setcvar "camper_ticktime" "10"

//fire settings
setcvar "camper_firehurt" "5"

//light settings
setcvar "camper_lightcolour" "blue" //red, blue, green

//bleed settings
setcvar "camper_bleed" "5"

// giant settings
setcvar "camper_giantsize" "3"


//MAPS

local.maplist = makeArray
//dm maps
"dm/mohdm1"
"dm/mohdm2"
"dm/mohdm3"
"dm/mohdm4"
"dm/mohdm5"
"dm/mohdm6"
"dm/mohdm7"
//objective maps
"obj/obj_team1"
"obj/obj_team2"
"obj/obj_team3"
"obj/obj_team4"
//custom maps

endArray

end local.maplist



/*
---------------------------------------------------------------
What the settings do






//camper settings
"camper_type" "bomb" //bomb,fire,light, bleed , giant, This sets the type of camper mod it is.

bomb = blows up
fire - set on fire
light - turn into a light
bleed - start bleeding.
giant - make a biigger size.
takeall - takes all the campers weapons away



"camper_time" "30" - This is the time they are still for before they become a camper.

setcvar "camper_inform" "1" - message the camper with the camper message.

setcvar "camper_message" "You Were Camping" - set the message to be sent if inform is on (1).

setcvar "camper" "1" - 1- on, 0- off. turn mod on or off.

setcvar "camper_help" "0" - type into console camper_help 1 and get help.

setcvar "camper_alwaysdie" "1" - set this to one and the player will remain on fire or bleed until they die.

setcvar "camper_weaponscheck" "1"

//weapon immune settings
setcvar "camper_snipertime" "0" //set to 0 for immune
setcvar "camper_rifletime" "0" //set to 0 for immune


setcvar "camper_saysound" "1" //say the cool sound (if you stay still you are a dead man"


//bomb settings
setcvar "camper_silent" "0" //set this to 1 and the tick is not heard

setcvar "camper_ticktime" "10" - set this for the time the mod ticks down from.



//fire settings
setcvar "camper_firehurt" "5" - ammount of life the fire hurts each time.


//light settings
setcvar "camper_lightcolour" "blue" //red, blue, green - light colour

//bleed settings
setcvar "camper_bleed" "5" - ammount of life bleed takes off

// giant settings
setcvar "camper_giantsize" "3" - size the giant becomes.



-------------------------------------------------------------------------------------------------
*/










/*

I want to:


1. i want snipers immune but all other weapons not!

then set
setcvar "camper_weaponscheck" "1" //must be on to check for weapon
setcvar "camper_snipertime" "0" //set to 0 for immune

2. i want it to be a fire type and not bomb.

then set
setcvar "camper_type" "fire" //bomb,fire,light, bleed , giant

3. i want help!

e-mail me or ask in the forums at www.mods-r-us.net
elgan.sayer@gmail.com

4. i want to add a custom map to the map list.

This is the map list. if you remove or comment out any of the lines they will not run the camper mod.
if you wish to have a map that runs the mod add it to the list.


local.maplist = makeArray
//dm maps
"dm/mohdm1"
"dm/mohdm2"
"dm/mohdm3"
"dm/mohdm4"
"dm/mohdm5"
"dm/mohdm6"
"dm/mohdm7"
//objective maps
"obj/obj_team1"
"obj/obj_team2"
"obj/obj_team3"
"obj/obj_team4"
//custom maps

endArray

Lets say you had a map with a console name of "dm/mymap" then you would add it in like so..

local.maplist = makeArray
//dm maps
"dm/mohdm1"
"dm/mohdm2"
"dm/mohdm3"
"dm/mohdm4"
"dm/mohdm5"
"dm/mohdm6"
"dm/mohdm7"
//objective maps
"obj/obj_team1"
"obj/obj_team2"
"obj/obj_team3"
"obj/obj_team4"
//custom maps
"dm/mymap"
endArray

you must put ""'s arround the name.

5. i want to comment something out, how do i do this?

adding "//" in front of any line will comment it out. eg

adding // to this line will make it not read by mohaa.

this line is read by mohaa

//this line is not


*/
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: Anti-Camper Mod

Post by BatteryAziz »

^ that is only the settings file, not the script. a few things:

1. are you running mohaa, spearhead or breakthrough?
2. have you tried other anti-camp mods? (maybe this one is broken)
3. are you running any other mods that could interfere with this one?
4. can you post the .pk3 so we can take a look at it

5. and just to be sure i understand: you want an anti-camp mod, but this one is not working. This one only KICKS the player? what about without the mod?
kaeza31
Private
Posts: 5
Joined: Tue Aug 20, 2013 4:03 am

Re: Anti-Camper Mod

Post by kaeza31 »

Ok im running a spearhead server.
I want to have an anti camper mod who burn the camper without killing them just to make them move.
i tryed 3 anti camper like this but it doesnt burn he kick people from my server.

here a link of one of them http://axel68.fr/Mods.htm .

you will see a man burning .
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: Anti-Camper Mod

Post by BatteryAziz »

that's maybe the server having problem reading the settings correctly so it kicks the player to stop the erroring. there's nothing in the script about kicking, anyway.

try this https://dl.dropboxusercontent.com/u/419 ... 6_edit.zip

remove your camper.txt from main, ONLY install the pk3. (there is already a truncated camper.txt in this pk3 which will be read just fine). hope this works.
kaeza31
Private
Posts: 5
Joined: Tue Aug 20, 2013 4:03 am

Re: Anti-Camper Mod

Post by kaeza31 »

not this still does not work.
I would love this mod burn people camped but instead, it will kick ALL players from this server
I'm looking for an anti-camp mod that burns little by little the players who plays til it moves :(
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: Anti-Camper Mod

Post by BatteryAziz »

again, the mod doesn't kick the players, the server does because there seems to be some conflict. add seta logfile "1" to your server.cfg and restart the server. it will create a text file "gsconsole.log" in the main folder of all console messages. after the players are kicked, download it from your server and post it here.
kaeza31
Private
Posts: 5
Joined: Tue Aug 20, 2013 4:03 am

Re: Anti-Camper Mod

Post by kaeza31 »

my Gsconsole.log

[OVERLORD] DEBUG AppDir: /usr/local/games/sh/1060694/216.155.140.35:12203
[OVERLORD] DEBUG Executable: ./spearhead_lnxded
[OVERLORD] DEBUG Parameters: +set net_ip 216.155.140.35 +set sv_maxclients 30 +set net_port 12203 +set fs_outputpath /usr/local/games/sh/1060694/216.155.140.35:12203 +set fs_userpath /usr/local/games/sh/1060694/216.155.140.35:12203 +exec server.cfg
[OVERLORD] INFO Starting server
--- Common Initialization ---
Medal of Honor Spearhead 2.15 linux-i386 Aug 29 2004
----- FS_Startup -----
Current search path:
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzzzzz-Throw-Ruckus.pk3 (31 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzzzzUser-rockets_useless.pk3 (4 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzzzuser_Locc_Aidpack.pk3 (16 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzMustardGas_BT.pk3 (6 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzZz_silenced_pistol_fix.pk3 (4 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzz_blackbetty.pk3 (17 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzz bigbubba weaponfixwithtracer.pk3 (285 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzz-Ezs-FixedWindows.pk3 (37 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzz_anti_camperv6.pk3 (4 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzz-RDQC-Sc4Tman.pk3 (39 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/User_wigster_rangers_1.1.pk3 (56 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/user-SgtKIAs_Winterwar_skins.pk3 (95 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/user-mefy-extgametypes-1_2_2-STOCKMAPS.pk3 (60 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/pak5.pk3 (9 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/pak3.pk3 (311 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/pak2.pk3 (767 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/pak1.pk3 (6969 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak6.pk3 (104 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak5.pk3 (259 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak4.pk3 (593 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak3.pk3 (669 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak2.pk3 (4722 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak1.pk3 (772 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak0.pk3 (11175 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main

----------------------
27004 files in pk3 files
execing default.cfg
execing buildver.cfg
execing menu.cfg
couldn't exec newconfig.cfg
execing localize.cfg
Config: unnamedsoldier.cfg
execing configs/unnamedsoldier.cfg
couldn't exec localized.cfg
execing autoexec.cfg
couldn't exec custom.cfg
You are now setup for medium mode.
Opening IP socket: 216.155.140.35:12203
--- Common Initialization Complete --- 475 ms
Loading Localization File global/localization.txt
execing server.cfg
usage: sets <variable> <value>
cheats will be changed upon restarting.
g_gametype will be changed upon restarting.
g_gametype will be changed upon restarting.
------ Server Initialization ------
Server: dm/mohdm1
------ Unloading fgameded.so ------
------- Attempting to load ./mainta/fgameded.so -------
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss.skc' or 'models/player/allied_oss.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss_fps.skc' or 'models/player/allied_oss_fps.skc'
^~^~^ 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'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo.skc' or 'models/player/german_elite_gestapo.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo_fps.skc' or 'models/player/german_elite_gestapo_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1.skc' or 'models/player/german_winter1.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1_fps.skc' or 'models/player/german_winter1_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2.skc' or 'models/player/german_winter2.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2_fps.skc' or 'models/player/german_winter2_fps.skc'
^~^~^ 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
^~^~^ Add the following line to the *_precache.scr map script:
cache models/fx/dummy.tik
^~^~^ Add the following line to the *_precache.scr map script:
cache models/static/static_nazibanner.tik
^~^~^ Add the following line to the *_precache.scr map script:
cache models/static/barbwire.tik
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss.skc' or 'models/player/allied_oss.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss_fps.skc' or 'models/player/allied_oss_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo.skc' or 'models/player/german_elite_gestapo.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo_fps.skc' or 'models/player/german_elite_gestapo_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1.skc' or 'models/player/german_winter1.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1_fps.skc' or 'models/player/german_winter1_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2.skc' or 'models/player/german_winter2.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2_fps.skc' or 'models/player/german_winter2_fps.skc'
idle is not a valid channel on bazooka_fly alias.
------ Server Initialization Complete ------ 2.19 seconds
^~^~^ Add the following line to the *_precache.scr map script:
cache models/items/item_50_healthbox.tik
couldn't exec foresight.cfg
Hitch warning: 2188 msec frame time
Client 0 connecting with 0 challenge ping
^~^~^ Add the following line to the *_precache.scr map script:
cache models/player/allied_blackbetty.tik
class is not a valid channel on bombtick1 alias.
ERROR: Expecting streamed or loaded in ubersound and got 'ScriptThread' on alias bombtick1
Unknown parameter for bombtick1 alias
class is not a valid channel on final_countdown alias.
ERROR: Expecting streamed or loaded in ubersound and got 'ScriptThread' on alias final_countdown
Unknown parameter for final_countdown alias
Unknown parameter for streamed_dfr_scripted_m3l1_016a alias
Unknown parameter for streamed_dfr_scripted_m3l1_016a alias
Unknown parameter for streamed_dfr_scripted_m3l1_016a alias
Unknown parameter for streamed_dfr_scripted_m3l1_016a alias
Unknown parameter for streamed_dfr_scripted_m3l1_016a alias
Unknown parameter for streamed_dfr_scripted_m3l1_016a alias
Unknown parameter for streamed_dfr_scripted_m3l1_016a alias
Unknown parameter for streamed_dfr_scripted_m3l1_016a alias
^~^~^ Add the following line to the *_precache.scr map script:
cache models/player/axis_blackbetty.tik
^~^~^ Add the following line to the *_precache.scr map script:
cache models/weapons/throwing_knife.tik
^~^~^ Add the following line to the *_precache.scr map script:
cache models/items/binoculars.tik
^~^~^ Add the following line to the *_precache.scr map script:
cache models/items/explosive.tik



Program received signal 11



Stack dump:
# 1 ./spearhead_lnxded() [0x80b0318]
# 2 [0xf7754400]
# 3 ./mainta/fgameded.so(ProcessSoundEvent__6EntityP13Event_GAMEDLLi+0x2cb) [0xf4e8766f]
# 4 ./mainta/fgameded.so(Sound__6EntityP13Event_GAMEDLL+0xe3) [0xf4e878af]
# 5 ./mainta/fgameded.so(Execute__8ScriptVMP14ScriptVariablei9const_str+0x123a) [0xf4dfcdb2]
# 6 ./mainta/fgameded.so(ExecuteRunning__12ScriptMaster+0x233) [0xf4de3997]
# 7 ./mainta/fgameded.so(Unpause__12ScriptMaster+0x22) [0xf4de5592]
# 8 ./mainta/fgameded.so(G_RunFrame+0x26b) [0xf4e9b033]
# 9 ./spearhead_lnxded() [0x80a2063]
# 10 ./spearhead_lnxded() [0x8077b18]
# 11 ./spearhead_lnxded() [0x80b07a4]
# 12 /lib/libc.so.6(__libc_start_main+0xe6) [0xf757ece6]
# 13 ./spearhead_lnxded(log+0x85) [0x804be41]
[OVERLORD] ERROR Server has died, return code 0
[OVERLORD] INFO Starting server
--- Common Initialization ---
Medal of Honor Spearhead 2.15 linux-i386 Aug 29 2004
----- FS_Startup -----
Current search path:
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzzzzz-Throw-Ruckus.pk3 (31 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzzzzUser-rockets_useless.pk3 (4 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzzzuser_Locc_Aidpack.pk3 (16 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzMustardGas_BT.pk3 (6 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzZz_silenced_pistol_fix.pk3 (4 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzz_blackbetty.pk3 (17 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzz bigbubba weaponfixwithtracer.pk3 (285 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzz-Ezs-FixedWindows.pk3 (37 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzz_anti_camperv6.pk3 (4 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzz-RDQC-Sc4Tman.pk3 (39 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/User_wigster_rangers_1.1.pk3 (56 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/user-SgtKIAs_Winterwar_skins.pk3 (95 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/user-mefy-extgametypes-1_2_2-STOCKMAPS.pk3 (60 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/pak5.pk3 (9 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/pak3.pk3 (311 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/pak2.pk3 (767 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/pak1.pk3 (6969 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak6.pk3 (104 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak5.pk3 (259 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak4.pk3 (593 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak3.pk3 (669 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak2.pk3 (4722 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak1.pk3 (772 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main/pak0.pk3 (11175 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/main

----------------------
27004 files in pk3 files
execing default.cfg
execing buildver.cfg
execing menu.cfg
couldn't exec newconfig.cfg
execing localize.cfg
Config: unnamedsoldier.cfg
execing configs/unnamedsoldier.cfg
couldn't exec localized.cfg
execing autoexec.cfg
couldn't exec custom.cfg
You are now setup for medium mode.
Opening IP socket: 216.155.140.35:12203
--- Common Initialization Complete --- 466 ms
Loading Localization File global/localization.txt
execing server.cfg
usage: sets <variable> <value>
cheats will be changed upon restarting.
g_gametype will be changed upon restarting.
g_gametype will be changed upon restarting.
------ Server Initialization ------
Server: dm/mohdm1
------ Unloading fgameded.so ------
------- Attempting to load ./mainta/fgameded.so -------
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss.skc' or 'models/player/allied_oss.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss_fps.skc' or 'models/player/allied_oss_fps.skc'
^~^~^ 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'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo.skc' or 'models/player/german_elite_gestapo.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo_fps.skc' or 'models/player/german_elite_gestapo_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1.skc' or 'models/player/german_winter1.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1_fps.skc' or 'models/player/german_winter1_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2.skc' or 'models/player/german_winter2.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2_fps.skc' or 'models/player/german_winter2_fps.skc'
^~^~^ 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
^~^~^ Add the following line to the *_precache.scr map script:
cache models/fx/dummy.tik
^~^~^ Add the following line to the *_precache.scr map script:
cache models/static/static_nazibanner.tik
^~^~^ Add the following line to the *_precache.scr map script:
cache models/static/barbwire.tik
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss.skc' or 'models/player/allied_oss.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/allied_oss_fps.skc' or 'models/player/allied_oss_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo.skc' or 'models/player/german_elite_gestapo.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_elite_gestapo_fps.skc' or 'models/player/german_elite_gestapo_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1.skc' or 'models/player/german_winter1.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter1_fps.skc' or 'models/player/german_winter1_fps.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2.skc' or 'models/player/german_winter2.skc'
SkeletorCacheFileCallback: Could not open binary file 'newanim/models/player/german_winter2_fps.skc' or 'models/player/german_winter2_fps.skc'
idle is not a valid channel on bazooka_fly alias.
------ Server Initialization Complete ------ 2.19 seconds
^~^~^ Add the following line to the *_precache.scr map script:
cache models/items/item_50_healthbox.tik
couldn't exec foresight.cfg
Hitch warning: 2186 msec frame time
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: Anti-Camper Mod

Post by BatteryAziz »

see that's clearly the server crashing & restarting, not the players being kicked.
secondly, i asked you before if you were running anything that could interfere with the anti-camp mod. clearly that could be the case with any one of these.

Code: Select all

/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzzzzz-Throw-Ruckus.pk3 (31 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzzzzUser-rockets_useless.pk3 (4 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzzzuser_Locc_Aidpack.pk3 (16 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzzzzzzMustardGas_BT.pk3 (6 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzzzzzzzzzzZz_silenced_pistol_fix.pk3 (4 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzzzzz_blackbetty.pk3 (17 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzzz bigbubba weaponfixwithtracer.pk3 (285 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzzz-Ezs-FixedWindows.pk3 (37 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/zzz-RDQC-Sc4Tman.pk3 (39 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/User_wigster_rangers_1.1.pk3 (56 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/user-SgtKIAs_Winterwar_skins.pk3 (95 files)
/usr/local/games/sh/1060694/216.155.140.35:12203/mainta/user-mefy-extgametypes-1_2_2-STOCKMAPS.pk3 (60 files)
remove all of them, then check if the anti camp mod works. if so, start adding the other pk3's one by one (remember to restart the server each time) and find the pk3 that causes the crash.

good luck
kaeza31
Private
Posts: 5
Joined: Tue Aug 20, 2013 4:03 am

Re: Anti-Camper Mod

Post by kaeza31 »

No Not working again :(
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: Anti-Camper Mod

Post by BatteryAziz »

hmm too bad. :( Did you try everything? Included all your extra maps to the maplist?

I went through the script once more, and I gotta say this mod is poorly scripted, very illogical, much unnecessary code. I fixed some typos/errors, and it works fine on LAN server for mohaa and spearhead. try this https://dl.dropboxusercontent.com/u/419 ... 130827.pk3

If this one still crashes your server, i suggest reinstalling it, because it doesn't crash mine. If all else fails I could write one for you with just the basics. Shouldn't be too hard i think :/
GR3KO
Lance Corporal
Posts: 22
Joined: Fri Aug 16, 2013 1:59 pm

Re: Anti-Camper Mod

Post by GR3KO »

hello , kaeza is my wife so i will post a reply for her . :D

we tryed it and it still crash.
Post Reply