Anti Camper {sfx} not working on server

Started by kermitthefrog, March 27, 2005, 07:10:02 AM

Previous topic - Next topic

JoeyC

Hi

   I put the camper mod on my server today and it doesnt work at all. I might have missed something in the txt but not sure or maybe another mod is conflicting with it. What other mods I have on the server are

   foresight anticheat

   counter intelligence

   landshark fix from mods r us

   nade fix for crashing server

   

   

   here is the camper txt

   

   // Console variable/Commands. You can enter these straight into the console.

   

      local.campersettings = makearray

         //cvar             //setting          //help

         "camper"          "1"              " Turns camper on and off 1=On, 0 = OFF"

         "camper_help"          "1"                " typing camper_help 1 wil display a list of commands and cvars. typing camper_help cmd/cvar will display help for that"

         "camper_weaponscheck"      "1"              " Check for weapons and use their specified time."

         "camper_reset"         "0"              " Reset all the settings in anti camper when map changes. 1 - on, Setting this to reset throguh cosnole will reset the mod instantly."

      endarray

   

   

   end local.campersettings

   

   

   

   

   // These are commands and settings. Use camper_cmd to set new settings. Use camper_help to view them.

   // When viewing help you will see what is set in the help section.

   

   commands:

      // Commands and Settings

      local.campersettings = makearray

         //command         //setting         //help                                                                                         //Extra info

         "type"            "fire"            " type - sets whats to do to campers"   

         "time"           "20"            " Amount of time before they become a camper"            

         "message"         "You Were camping"      " Sets the message to send to campers when they camp. If no message is set nothing will be displayed"

         "saysound"             "1"             " saysound - Plays the stay still and die sound, 0 - off, 1 - on"

         "radius"              "250"             " radius - Sets the radius size of the camping spot"

         "debug"            "0"             " debug - Shows a light to indicate radius. iprintln's time"

         "hurt"            "5"              " hurt - ammount of health to take away"   

         //bomb setting commands            

         "silent"          "0"            " ticktime - set 1 to make the tick not run, 0 makes it run"

         "ticktime"             "10"             " ticktime - how long the bomb ticks for before bang"

         //light settings

         "lightcolour"         "0 0 1 100"          " lightcolour - RGB radius"

         // giant settings

         "scalesize"          "3"            " scaletsize - sets size of player when camping in scale mode"

         "to_death"         "1"            " if this is set 0 off. Types will end when players leave the camping radius. If on 1. the types will run until they die"

         "hurt_delay"         "1"            " Time between damage is applied to campers in damagable types.Fire for example. time in seconds"

         "maxcamps"         "0"            " Sets max camp times. If exceeded camper is kicked (this is set by the punishment script in ac)."            global/ac/punishment.scr   

         "adverts"         "1"            " turns the green adverts on or off. 1= on, 0 = off"            

      endarray

   

   end local.campersettings

   

   

   

   

   

   // Types are what u can do to the player when cmaping or when forcing from the console. You can add as many as you wish.

   

   types:

      // types

      local.campersettings = makearray

         //type            //thread or file      //help

         "bomb"            global/ac/types.scr::bomb    " Spawns a bomb that ticks down to explode on the camper"

         "fire"             global/ac/types.scr::fire   " set's the camper on fire"

         "light"            global/ac/types.scr::light    " turn camper into a light"

         "bleed"          global/ac/types.scr::bleed   " start bleeding."

         "scale"          global/ac/types.scr::scale   " make the camper a giant/midget."

         "takeall"          global/ac/types.scr::takeall   " takes all the campers weapons away"

         "viewtwist"         global/ac/types.scr::viewtwist  " should be called dizzy"

         "tent"            global/ac/types.scr::tent     " turns the camper into a tent"

      endarray

   

      /// When adding types do not put " "'s around the thread/script

   

   end local.campersettings

   

   

   

   

   

   

   // This is the map list. The camper mod  checks this list for maps. if the map is not found the mod turns itself off.

   // You can add maps and take maps form the list. for more info see the instructions.

   

   maplist:

      //MAPS

      //AA

      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"

         "DM/MP_Bahnhof_DM"

         "DM/MP_Bazaar_DM"

         "DM/MP_Brest_DM"

         "DM/MP_Gewitter_DM"

         "DM/MP_Holland_DM"      

         "DM/MP_Stadt_DM"

         "DM/MP_Unterseite_DM"

         "DM/MP_Verschneit_DM"

         //BT only / DM/

         "DM/MP_Palermo_DM"

         "DM/mp_malta_dm"

         //SH + BT /OBJ

         "OBJ/MP_Ardennes_TOW"

         "OBJ/MP_Berlin_TOW"

         "OBJ/MP_Flughafen_TOW"

         "OBJ/MP_Druckkammern_TOW"

         //BT only /OBJ

         "OBJ/MP_Palermo_OBJ"

         "OBJ/MP_MonteCassino_TOW"

         "OBJ/MP_MonteBattaglia_TOW"

         "OBJ/MP_Kasserine_TOW"

         "OBJ/mp_castello_obj"

         "OBJ/MP_Bologna_OBJ"

         //BT only /LIB

         "LIB/mp_tunisia_lib"

         "LIB/mp_bizerteharbor_lib"

         "LIB/mp_anzio_lib"

         "LIB/mp_ship_lib"

         //custom maps

                    m1l1

                    m1l2a

                    m1l2b

                    m1l3b

                    m2l1

                    m4l2

                    m3l3

                    m4l3

                    m5l1b

                    m5l3

                    m6l2a

                    obj/bob_carentan

                    obj/mnlitradov

                    obj/obj_desertbase_final

                    obj/obj_maromg

                    Obj/objlolv2_14

                    Obj/dasboot

                    Objwarehouse

                    Obj/navarone

                    Obj/stlo

                    Obj/the_lost_village

                    Obj/schplatzburg_obj

                    Obj/renan

                    Obj/nightraidobj

                    Obj/obj_teamzero

                    Obj/obj_zeronight    

      endArray

   

   

   end local.maplist

   

   

   

   

   //setting ALLIED ASSAULT weapon times to 0 make them immune to camping

   

   weaponsaa:

      local.weapons =  makearray

         //weapon cvar         //weapon time         //help

         "camper_bar"             "20"         " Sets the camping time for this weapon. 0 = immune to camping"         

         "camper_bazooka"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_colt45"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_kar98"             "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_KAR98sniper"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m1_garand"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_m2frag_grenade"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mp40"             "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_mp44"             "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_p38"             "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_panzerschreck"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_shotgun"         "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_silencedpistol"       "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_springfield"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_static_KAR98"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_steilhandgranate"       "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_thompsonsmg"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

         "camper_unarmed"          "20"         " Sets the camping time for this weapon. 0 = immune to camping"

      endarray

   end local.weapons

   

   

   

   Also is there a way to make the player action do fire/tent at same time lol. Thanks for looking.

Elgan {sfx}

the following tamper with it

   

   

   foresight anticheat
   landshark fix from mods r us
   maybe the nade dropo fix also depending on if its mine.
   

   

   

   the next version will have the best landshark with it.

   

   foresight never gave me any support or feedback so i guess it will always conflict.

   

   remove4 foresight and the landshark fix.hehe

   

   the next version will have a landshark fix, teams wap fix, mg42 fix, nade drop fix and probably more. i cant rememebr.hehe

   

   so yes your mods are conflicting. the choice is yours.  foresight anti cheat pk3 btw is just for the extra's. the cheat detection is in the program. You would loose err the punishment thing. u can punish in my anti camp but not as many stupid things avialable.

JoeyC

Ok I will try remove the foresight and see what happens. Crap I like that program too lol. But I want to check your mod out. :) Anyway did I have the settings right??? I use foresight for the anticheat not punishment stuff. My admins use the punishment stuff. lol. Oh let me get the nade fix scr.

   

   

   }

      client

      {

      }

   }

   

   animations

   {

      raise grenade.skc

      {

         // if we're pulling out grenades, we've definatly got 'em

         server

         {

            enter surface grenade -nodraw

            first notdroppable

         }

      }

      idle grenade.skc

      {

         server

         {

            enter surface grenade -nodraw

            first notdroppable

         }

      }

   

      // this should make sure that it doesn't look like there's a grenade in hand when you don't have one

      idle_empty grenade.skc

      {

         server

         {

            enter surface grenade +nodraw

            first notdroppable

         }

      }

   

      charge grenade.skc

      {

         client

         {

            enter sound m2frag_snd_grenade_pull weapon

         }

      }

      secondarycharge grenade.skc

      {

         client

         {

            enter sound m2frag_snd_grenade_pull weapon

         }

      }

      

   //   fire grenade_fire.skc

      fire grenade.skc

      {

         server

         {

            first shoot

            first surface grenade +nodraw

   //         15 surface grenade -nodraw

            first notdroppable

         }

         client

         {

            first sound m2frag_snd_grenade_throw weapon

         }

      }

      secondaryfire grenade.skc

      {

         server

         {

            first shoot secondary

            first surface grenade +nodraw

   //         15 surface grenade -nodraw

            first notdroppable

         }

         client

         {

            first sound m2frag_snd_grenade_throw weapon

         }

      }

   

      reload grenade.skc

      {

         server

         {

            first surface grenade -nodraw

            first notdroppable

         }

      }

   }

   

   Thats what I am using Cobra passed that to me I just added it to a weapons on back mod. Can you also do settings like fire/tent at same time???. I will go check it now.

   

   

   edit:

   I hosted a server off my comp and remove the landshrk mod I had in there. No other mods and got this error:

   Event; exec, object player script global/anti camper scr was not loaded properly.

   

   Here is what I got from my main server:

   

   ^~^~^ Script file compile error:  Couldn't compile 'global/anti_camper.scr'

   ScriptMaster::GetScript: Script 'global//anti_camper.scr' was not properly loaded

Elgan {sfx}

did u edit it at all?

   

   it should load?

   

   the nade fix sud be fine. any mnod that uses state files also will be the only ones to conflict. like foresight uses state files for its weapons limiter and things.

   

   i cnat tell form the settigns but they prob right. try with default.

   

   and u didnt edit the camp.scr right?

JoeyC

I only edited the camper txt file nothing else. I removed the foresight,landshark mods off the server so I do not get what went wrong. I didnt mess with the scr file at all. I do not know what to change in there so I left that alone.

Elgan {sfx}

did. ddid u open it. maybe u changed it by accident?

   

   try donwloading it again.

JoeyC

nope never opened it. I will d/l it again and see what happens