AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   hlstats.pl bug (https://forums.alliedmods.net/showthread.php?t=294726)

Dtor 03-06-2017 03:15

hlstats.pl bug
 
Code:

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^weapon { <-- HERE  steam_id: 'STEAM_\d+:(.+?)', weapon_id: (\d+), class: \d+, team: \d+, shots: \((\d+),(\d+)\), hits: \((\d+),(\d+)\), damage: \((\d+),(\d+)\), headshots: \((\d+),(\d+)\), kills: \(\d+,\d+\) }$/ at ./hlstats.pl line 3330.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(?:join|change)_class { <-- HERE  steam_id: 'STEAM_\d+:(.+?)', .* (?:new_|)class: (\d+), .* }$/ at ./hlstats.pl line 3364.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^objective { <-- HERE  steam_id: 'STEAM_\d+:(.+?)', class: \d+, team: \d+, objective: '(.+?)', time: \d+ }$/ at ./hlstats.pl line 3383.

Anyone know how to fix this ? thanks :)

Grainz 03-06-2017 12:41

Re: hlstats.pl bug
 
Add a backslash in front of the brace.

Example: \{


All times are GMT -4. The time now is 03:36.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.