Author Topic: Is there any way to get around the "kicked for cheating"  (Read 1692 times)

0 Members and 1 Guest are viewing this topic.

Offline 51st_Sam

  • First Sergeant
  • *
  • Posts: 90
    • View Profile
  • Side: Neutral
Is there any way to get around the "kicked for cheating"
« on: February 24, 2016, 02:12:10 am »
When client/server files differ for troop equipment, the game tries to kick you for cheating, any way of getting around this, without having to distribute a new troops.txt? Thanks in advance

Offline cihan

  • Volunteer
  • *
  • Posts: 3
    • View Profile
Re: Is there any way to get around the "kicked for cheating"
« Reply #1 on: March 29, 2016, 05:30:30 pm »
When client/server files differ for troop equipment, the game tries to kick you for cheating, any way of getting around this, without having to distribute a new troops.txt? Thanks in advance


haha, right, lets explain what it is

the kick for cheating is a server side check that you are not naked

the only exceptions in the standard nw are sailors, they are allowed

otherwise it hits kick for cheating

now --- if you are running the server you can do it by changing the kick to cheating from 1 to 0

ill paste it here

there are ways of getting around this on other servers that you arent running and bypassing the check ie naked sapper and all that shizzle but i wont divulge that on here

however if you are running the server, look for this in scripts and change as pasted below



   
       (try_begin), #If player has no uniform, kick him
         (store_sub, ":item_slot", ":i_item", slot_player_cur_selected_item_indices_begin),
         (this_or_next|eq,":item_slot",ek_body),
         (this_or_next|eq,":item_slot",ek_head),
         (eq,":item_slot",ek_foot),
         (le, ":item_id", 0),
         
         (assign,":must_kick",0),
         
         (this_or_next|eq,":troop","trp_british_ship"),
         (this_or_next|eq,":troop","trp_french_ship"),
         (this_or_next|eq,":troop","trp_british_ship_cannon"),
         (eq,":troop","trp_french_ship_cannon"),
         
         (eq,":item_slot",ek_body),
         
        (assign,":must_kick",0),
       (try_end),
     (try_end),
     
     (try_begin),
       (eq,":must_kick",1),
       (str_store_player_username, s2, ":player_no"),
       (str_store_string, s4, "str_player_kicked_cheating_s2"),
           
       (call_script, "script_multiplayer_broadcast_message"), # Broadcast kicked message
       
       (kick_player, ":player_no"),
     (try_end),
   
     

   ]),