Anti Camper Problems

Started by falc97, June 03, 2005, 07:23:07 PM

Previous topic - Next topic

falc97

Hello Elgan,

   

   I'm having problems with your anticamp mod. I'm running a spearhead server. When I put the mod in the server crashes and I get this error.

   

   ERROR: ::LoadFile : Couldn't load NIL_Legs.st

   

   I have found that if I go into the mike_legs.st file and remove the exec global/anti_camper.scr line from the "state STAND" section then the server wont crash. I have made sure that I am using the mike_legs.st file from spearhead and not allied assault. I have no idea how to fix this. Have you ever heard of this problem before? Can you help me out?

   

   Thanks,

   Falc

Elgan {sfx}

please tell me what the cvar

   

   "version" shows.

   

   do u have the latest patch for SH?

   

   i need to check that version.

   

   it's in the thread that checks the game its not detecting it properly. Not sure why?

falc97

I do have the latest patch for SH. Not sure what you mean for the version but I am running anticamp SFX version 0.00 if thats what your are asking.

Elgan {sfx}

type in your SH console

   

   "version"

   

   and tell em what it says

   

   but thinkiun about it ..that might be fine.

   

   

   WHat could be wrong is...

   

   Do u have the camper.txt inside your mainta folder?

   

   without that file it will not find what to assign and crash resilting in NIL.

falc97

OK that was dumb of me. I didnt have the camper.txt in because it wasnt working right for me before. I put it in and the server doesnt crash now. However, In the camper.txt I have "camper" set to "1", which should turn the mod on right? When I go into server it says "camper mod off". I am testing this on my local machine. Would this be the cause?

Elgan {sfx}

maybe the map list is wrong?:S

   

   try this one.

   

   maplist:

      //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"

         //sh maps

         "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_malta`_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"

         "OBJ/mp_bizertefort_obj"

         //BT only /LIB

         "LIB/mp_tunisia_lib"

         "LIB/mp_bizerteharbor_lib"

         "LIB/mp_anzio_lib"

         "LIB/mp_ship_lib"

         //custom maps   

      endArray

   

   end local.maplist

   

   

   

   however its case sensitiv:(

   

   i didnt notice for (sfx) 0.00 the 1.00 beta is not case sensitive however its a beta and im still working on it. its camper section is functionala nd pretty damn stable though. ITs nearly compleate just a lil rough round the edges.

falc97

Well if I type camper 1 in my qconsole then it actvates the mod. Any ideas?

Elgan {sfx}

its prob the maps

   

   try setting camper_reset "1"

falc97

Did that too. I'm going to try it on my regular server instead of local machine. Don't see how it would make a difference but I have seen that happen before. I'll get back to you tommorrow. Thanks for your help.

Elgan {sfx}

yw

   

   but if nothing why not try the beta:D?

falc97

Ok Elgan, I got the mod working for the most part. I want all rifles and sniper rifles to be immune from the camping mod. I have set them to 0 instead of 30 with does make them immune. However, If I switch from a sniper rifle back to a machine gun I still am immune. It seems like the mod only checks for your weapon one time. Am I doing something wrong?

Elgan {sfx}

it should check time. setting 0 makes u immune.

   

   Wich version u using ? 0.00?

   

   the point in wich u start to camp it checks what weapon ur using.

falc97

I am using version 0.00. If you have spearhead would you mind going to my server so I may demonstrate what I mean. My server ip is 64.37.120.136. I will wait for your response before going on the server.

Elgan {sfx}

dman time differences.

   

   I will happily come check things. Ill cya tomorrow i guess.

falc97

i appreciate it. i have the mod running on there now. If you go on pick whatever team and choose a rifle. Once you spawn switch to a mg or something other than a rifle. After you respawn you can camp as much as you like without the mod kicking in. Also, I cant get the G43 to be immune. I have it set to 0 and I dont see any problems with your files. Anyway, Thanks again for being such a help and thanks being so generous with your work. If I don't catch up to you on my server jsut respond here. I'll check it tommorrow. Thanks again!!!

   

   P.S. I tried to download the flyable planes mod from the modfiles section and it said the file was corrupted.