Jump to content
venthos

HOWTO: Use publicvariableval.txt to auto-kick players with hacked weapons

Recommended Posts

This are other links i found buried in this thread somewhere for BAF classnames.. i.e

http://bafdom.myfree..._o_t__t_39.html

As for what is allowing in DayZ, extract the pbo's and use an app called unrap on the config.bins

Then look in the dayz code using search & find to see what is allowed ingame....

The links are for info...

U then compare to dayz code and make up a list

This is my current list for lingor

i.e http://code.google.c...variableval.txt

Got most of it done atm, still got some crap to get blacklisted....

All i did was point to some info, what u do with the info is up to u

edit:- Anyway it only takes 1 person with some freetime to make up the a complete list

Edited by Torndeco

Share this post


Link to post
Share on other sites

I'm familiar with looking through the spawn lists in config.bin. That's how I made my whitelist in the first place. I agree that an exhaustive list is a good idea, and you're welcome to undertake that task; I just don't know of any easy way to do it (all I said), so I'm not personally doing it.

Share this post


Link to post
Share on other sites

Vehicles Legal in DayZ

Land:

M1030 (Motorcycle)

Ikarus (Bus)

SkodaBlue

hilux1_civil_3_open (White Offroad Truck)

car_hatchback

V3S_Civ

car_sedan

Tractor

ATV_US_EP1

UAZ_Unarmed_TK_EP1

S1203_TK_CIV_EP1

Ural_TK_CIV_EP1

Old_bike_TK_INS_EP1

UH1H_DZ

Water:

PBX

Fishing_Boat

Smallboat_1

Smallboat_2

Vehicles Illegal (But Spawnable) in DayZ:

UAZ_CDF

Ural_CDF

UAZ_RU

TT650_Ins

Ural_INS

UralOpen_INS

TT650_Gue

SkodaGreen

SkodaRed

Skoda

VWGolf (Hatchback)

TT650_Civ

hilux1_civil_2_covered

hilux1_civil_1_open

datsun1_civil_1_open

datsun1_civil_2_covered

datsun1_civil_3_open

UralCivil

UralCivil2

Lada_base

LadaLM

Lada2

Lada1

ATV_CZ_EP1

LandRover_CZ_EP1 (Might be in game)

UAZ_Unarmed_UN_EP1

Lada1_TK_CIV_EP1

Lada2_TK_CIV_EP1

LandRover_TK_CIV_EP1

TT650_TK_CIV_EP1

Old_bike_TK_CIV_EP1

Old_moto_TK_CIV_EP1

hilux1_civil_3_open_EP1

SUV_TK_CIV_EP1

UAZ_Unarmed_TK_CIV_EP1

Volha_1_TK_CIV_EP1

Volha_2_TK_CIV_EP1

VolhaLimo_TK_CIV_EP1

Weapons/Ammo In DayZ (Legal):

AK_74

AK_47_M...........................30Rnd_762x39_AK47

AK_47_S............................30Rnd_762x39_AK47

AKS_74_Kobra.....................30Rnd_545x39_AK, 30Rnd_545x39_AKSD

bizon_silenced.....................64Rnd_9x19_SD_Bizon

M1014...............................8Rnd_B_Beneli_74Slug

M16A2...............................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M16A2GL............................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD, 1Rnd_HE_M203

M16A4_ACOG......................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M4A1................................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M4A1_HWS_GL...................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD, 1Rnd_HE_M203

M4A1_Aim.........................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M4A1_AIM_SD_camo...........30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

MP5A5..............................30Rnd_9x19_MP5, 30Rnd_9x19_MP5SD

MP5SD.............................30Rnd_9x19_MP5SD

M240...............................100Rnd_762x51_M240

M249...............................200Rnd_556x45_M249

Huntingrifle.......................5x_22_LR_17_HMR

DMR................................20Rnd_762x51_DMR

M24................................5Rnd_762x51_M24

SVD_CAMO.......................10Rnd_762x54_SVD

Colt1911..........................7Rnd_45ACP_1911

M9.................................15Rnd_9x19_M9, 15Rnd_9x19_M9SD

M9SD..............................15Rnd_9x19_M9SD

Makarov...........................8Rnd_9x18_Makarov

LeeEnfield.........................10x_303

M14_EP1..........................20Rnd_762x51_DMR

M4A3_CCO_EP1................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

m107..............................10Rnd_127x99_m107

glock17_ep1....................17Rnd_9x19_glock17, 15Rnd_9x19_M9, 15Rnd_9x19_M9SD

revolver_EP1....................6Rnd_45ACP

UZI_EP1..........................30Rnd_9x19_UZI

FN_FAL_ANPVS4...............20Rnd_762x51_FNFAL

BAF_L85A2_RIS_CWS.........30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

BAF_AS50_scoped............5Rnd_127x99_as50

Mk_48.......................100Rnd_762x51_M240

M136.............................M136

Weapons in DayZ (Illegal):

AK_107_kobra.......................30Rnd_545x39_AK, 30Rnd_545x39_AKSD

AK_107_GL_kobra..................30Rnd_545x39_AK, 30Rnd_545x39_AKSD

AK_107_GL_pso....................30Rnd_545x39_AK, 30Rnd_545x39_AKSD

AK_107_pso.........................30Rnd_545x39_AK, 30Rnd_545x39_AKSD

AK_74_GL............................30Rnd_545x39_AK, 30Rnd_545x39_AKSD

AKS_74_pso.........................30Rnd_545x39_AK, 30Rnd_545x39_AKSD

AKS_74_U...........................30Rnd_545x39_AK, 30Rnd_545x39_AKSD

AKS_74_UN_kobra.................30Rnd_545x39_AK, 30Rnd_545x39_AKSD

Bizon..................................64Rnd_9x19_Bizon, 64Rnd_9x19_SD_Bizon

G36a..................................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD, 30Rnd_556x45_G36, 30Rnd_556x45_G36SD

G36C.................................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD, 30Rnd_556x45_G36, 30Rnd_556x45_G36SD

G36_c_SD_eotech................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD, 30Rnd_556x45_G36, 30Rnd_556x45_G36SD

G36_camo...........................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD, 30Rnd_556x45_G36, 30Rnd_556x45_G36SD

G36K..................................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD, 30Rnd_556x45_G36, 30Rnd_556x45_G36SD

M16A4................................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M16A4_GL...........................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M16A4_ACG_GL....................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M4A1_HWS_GL_camo............30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M4A1_HWS_GL_SD_camo.......30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M4A1_RCO_GL......................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

M4A1_Aim_camo..................30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD

Saiga12K.............................8Rnd_B_Saiga12_74Slug, 8Rnd_B_Saiga12_Pellets

Pecheneg...........................100Rnd_762x54_PK

PK.....................................100Rnd_762x54_PK

RPK_74...............................30Rnd_545x39_AK, 30Rnd_545x39_AKSD, 75Rnd_545x39_RPK

KSVK..................................5Rnd_127x108_KSVK

M40A3................................5Rnd_762x51_M24

M4SPR................................30Rnd_556x45_StanagSD

SVD...................................10Rnd_762x54_SVD

BAF_AS50_TWS...................5Rnd_127x99_as50

MakarovSD..........................8Rnd_9x18_MakarovSD

M4A3_RCO_GL_EP1...............30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD,

m240_scoped_EP1................100Rnd_762x51_M240

M249_EP1...........................200Rnd_556x45_M249

M249_m145_EP1..................200Rnd_556x45_M249

M60A4_EP1.........................100Rnd_762x51_M240

Mk_48_DES_EP1..................100Rnd_762x51_M240

M24_des_EP1......................5Rnd_762x51_M24

SVD_des_EP1......................10Rnd_762x54_SVD

SVD..................................10Rnd_762x54_SVD

SVD_NSPU_EP1...................10Rnd_762x54_SVD

revolver_gold_EP1................6Rnd_45ACP

Sa61_EP1...........................10Rnd_B_765x17_Ball, 20Rnd_B_765x17_Ball

UZI_SD_EP1.......................30Rnd_9x19_UZI_SD

M107................................10Rnd_127x99_m107

BAF_L110A1_Aim.................200Rnd_556x45_L110A1, 200Rnd_556x45_M249

BAF_L7A2_GPMG.................100Rnd_762x51_M240

BAF_L85A2_RIS_ACOG..........30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD,

BAF_L85A2_RIS_Holo...........30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD,

BAF_L85A2_RIS_SUSAT........30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD,

BAF_L85A2_UGL_ACOG.........30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD,

BAF_L85A2_UGL_Holo...........30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD,

BAF_L85A2_UGL_SUSAT.......30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD,

BAF_L86A2_ACOG...............30Rnd_556x45_Stanag, 30Rnd_556x45_StanagSD,

BAF_LRR_scoped................. 5Rnd_86x70_L115A1

BAF_LRR_scoped_W.............5Rnd_86x70_L115A1

Items:

FoodSteakRaw

FoodSteakCooked

FoodCanBakedBeans

FoodCanSardines

FoodCanPasta

ItemSodaCoke

ItemSodaPepsi

ItemWaterbottle

HandRoadFlare

HandChemGreen

HandChemBlue

HandChemRed

ItemSandbag

ItemTankTrap

ItemWire

ItemBandage

ItemPainkiller

ItemMorphine

ItemEpinephrine

ItemAntibiotic

Bloodbag

ItemHeatPack

PartWoodPile

PartWheel

PartFueltank

PartGlass

PartEngine

PartGeneric

PartVRotor

ItemJerrycan

ItemTent

TrapBear

Backpacks:

DZ_Patrol_Pack_EP1

DZ_Assault_Pack_EP1

DZ_CivilBackpack_EP1

DZ_ALICE_Pack_EP1

DZ_Backpack_EP1

Equipment in DayZ:

ItemHatchet

ItemKnife

ItemMatchbox

ItemFlashlight

ItemFlashlightRed

ItemEtool

ItemToolbox

NVGoggles

ItemCompass

ItemGPS

ItemMap

ItemWatch

binocular_vector

binocular

Item_Radio

Skins:

Survivor2_DZ

Camo1_DZ

Sniper1_DZ

Soldier1_DZ

Animal Codes:

Cow01

Cow02

Cow03

Cow04

Fin (Another Dog)

Goat

Hen

Pastor (Dog that will be added in 1.7.3)

Rabbit

Sheep

WildBoard

Hopefully thing helps,

Allan

Share this post


Link to post
Share on other sites

What you guys have shown so far is an incomplete whitelist and a far from complete blacklist. Also, if you're just copying and pasting from stuff you found in Google (like http://www.cheatz.cc...ayz-classnames/ , cheat forum :)), it might be nice to mention that. EDIT: Parts of that data are incorrect as well. For example, M4A1_HWS_GL is illegal, but it's in the list of valid weapons.

If all you needed was a whitelist, here's the one from my script I use to make the blacklist (based on my script which banned for hacked weapons):

Moved to Google Code project.

I originally made it from perusing the unbinned config.bin, and then I added other stuff as it showed up (like when people logged in with "crowbar_swing", which is crowbar ammo).

In reality, though, you'll need a bit more than a whitelist.

Edited by Mister_Magotchi

Share this post


Link to post
Share on other sites

I updated my blacklist.

Added:

FlareWhite_GP25

FlareRed_GP25

FlareLauncher

FlareGreen_GP25

EvDogTags

BAF_L85A2_UGL_SUSAT

ARTY_30Rnd_105mmHE_M119

AK_47_S

500Rnd_TwinVickers

Edited by Mister_Magotchi

Share this post


Link to post
Share on other sites

Any chance you could create a google code repo or any static web location for that matter and keep your list updated there? IT would be much appreciated and allow people an opportunity to automatically update their publicvariable-local.txt automatically the same way they do their DCBL files.

Edited by Hohlraum

Share this post


Link to post
Share on other sites

Any one know how this stuff could be expanded to the createvehicle.txt? I believe createvehicle.txt can include non-standard items to kick players when they try to spawn them. I think publicvariableval.txt is mainly for player saves in dayz right?

Share this post


Link to post
Share on other sites

The DCBL createvehicle.txt logs everything except a specific whitelist and kicks for some specific things already. DayZ Anti-Hax can then ban for specific things in its blacklist if they show up in createvehicle.log.

You could of course just add your own custom entries into createvehicle.txt with a 5 before them to auto-kick for them. I prefer to add nasty items to the DAH blacklist and have them be auto-banned for, though, personally.

Share this post


Link to post
Share on other sites

fyi, if you want to auto-ban for these items and you run dayz anti-hax you can remove the 5<space> & \" leaving a single surrounding " and add them to your variables.lst file.

Share this post


Link to post
Share on other sites

Quick question regarding this and private hives (sorry of this has been answered before), but does this kick before the item is saved to the hive, or after it has saved?

Reason I ask is because of the fact that it is a private hive, hackers cannot go to another server to drop the item, meaning that if a hacker spawns in an item and it saves to the hive, he will be kicked every time he tries to join because he cannot get rid of the item he spawned for himself.

So, is this how it works? Would be awesome if it does because then it basically becomes an auto-ban for the hacker the moment he spawns himself an illegal weapon.

Share this post


Link to post
Share on other sites

It's hit and miss. It really only kicks them periodically during discovery and saves. DAH "should" allow you to do as I stated in previous post (variables.lst) but it doesn't work as it should.

Oh and the other issue is that some of these hackers are preventing updates of their inventory back to the server. If you are running bliss you can remove all hacked items (doesn't work with ammo properly though) from player inventories during a restart.

Edited by Hohlraum

Share this post


Link to post
Share on other sites

It often takes a few minutes for a player with a hacked item to be kicked. Sometimes it's faster. It just depends on if they do certain things that trigger the dayzPlayerSave event.

Share this post


Link to post
Share on other sites

Updated my supplemental filter at its Google Code project.

Added:

2B14

300Rnd_25mm_GAU12

G36K

Laserdesignator_mounted

M252

MLRS

Remington870

SmokeLauncher

Edited by Mister_Magotchi

Share this post


Link to post
Share on other sites

Updated my filter.

Added:

75Rnd_545x39_RPK

FlareYellow_GP25

RPK_74

Edited by Mister_Magotchi

Share this post


Link to post
Share on other sites

if it show

#14 "dayzPlayerSave" = [<NULL-object>,[],false]

this can 't kick player on save

but kick player on logout like this

#71 "dayzCharDisco" = ["1",[278,[13547,4539.67,0.00129652]],[["ItemMap","ItemCompass","ItemMatchbox","ItemKnife","UZI_SD_EP1"],["ItemTent","ItemBandage","ItemBandage"]]

16:54:02 Player John kicked off by BattlEye: PublicVariable Value Restriction #71

please how can i do ?

Share this post


Link to post
Share on other sites

How do I combine these lists with Dwarden's? Just copy and paste at the bottom?

Share this post


Link to post
Share on other sites

Updated my filter.

Added:

BAF_L85A2_RIS_CWS

Cow03

Dog1

Hen

The detection counts include all L85 detections, legal or not. My script that does the counts would need some tweaking to make it not count the old, legal detections, so I haven't done that yet.

If anyone knows of any other inventory item classnames that were added or removed with the new update, please let me know. As far as I could tell, only the BAF_L85A2_RIS_CWS was removed, and nothing was added.

Edited by Mister_Magotchi

Share this post


Link to post
Share on other sites

Updated my filter again. I just wanted to re-do it but with a more accurate count for the L85. Now they're only counted starting the day after they were removed from the game.

Added:

20Rnd_B_AA12_HE

Cow04

IR_Strobe_Marker

Rabbit

Share this post


Link to post
Share on other sites

Hey man. You should expand this for addmagazinecargo.txt and addbackpackcargo.txt Pretty much works the same as what you are doing already but the hackers will get kicked as soon as they try to put stuff into a vehicle, medical box etc.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×