Closed Cael817 closed 10 years ago
Yeah, I noticed that "High tripod" variants of static guns have one backpack that actually ends with support_high_F
, so the exclusion should be changed to !"(weapon|support)_(high_)?F"
should it be
!"(weapon|support)_(high_)_F"
instead of
!"(weapon|support)_(high_)?F"
Sorry for asking but i dont se anything else using the questionmark? and i dont really understand this filtering stuff Hmm, the underscores are removed, i see them when editing but i dont get how the markdown works here... i give up.
Those are regular expressions, the question mark means the part that precedes it is optional. The parentheses are used to denote group of characters, because most regex operators only apply to the character preceding it, so using parentheses makes it apply to the whole thing.
You can use Debuggex to see a visual representation of regular expressions, just take the part of the filter that is between quotes and paste it in the first box, it will give you something like this:
In short, BattlEye tries every branch combination in order to find a match.
To keep the raw format for a piece of text, you have to wrap it around grave accents ( ` )
haha, got it with the ( ` ), well i tried it and your solution worked fine but i only tested it on one high tripod so far. had to shut down stuff because of a thunderstorm.
Ill close this i a couple of days if someone wants to read it.
Thanks.
1 "B_HMG_01_support_high_F"
Players get that when packing a static HMG, going test thru all of the statick guns and see if i find more.
this is the filter i use. (maybe its already fixed)
// A3Wasteland - createVehicle.txt BattlEye filters by AgentRev, JoSchaap, and k4n30
// Vehicles
5 "(APC|Boat|Hatchback|Heli|MBT|MRAP|Offroad|Plane|Quadbike|SDV|SUV|Truck|UGV|Van)" 5 "_(HMG|GMG|Mortar|static_AA|staticAT)" !"_(weapon|support)F" 5 "(Lifeboat|Rubberboat)" 5 "UAV" !"UAV(AI|01_)"
// Ammo boxes
5 "^Box_" 5 "supplyCrate"
// Civilian & guerilla units
5 "^C_" 5 "^[BOI]G"
// Buildings & objects
5 "^Land" !"Land(Money|Basket|CanisterPlastic|Suitcase|CanisterFuel|CanisterOil|CashDesk|Can_V3|TentDome|BottlePlastic_V2|BakedBeans|Rope)_F"