-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 7/8 Migration Bugs - some Hlstats Funktions not working eg Latency, Suicides #19
Comments
This code got this working for me: DNA-styx@4282b04 |
thank you, i will try to implement that soon for testing, edit : nah wont work for me ;( wich php version did u use to test ? im using a source sdk multiplayer 2013 mod maybe the bug is in the function itselfs becouse that following thing wont be written in the log : im only see the message, when i use php 5.6 with 1.6.19 but cracy thing is, with php5.6 and HLstats 1.6.19, ping and suicide works XD |
I applied this one and I'm seeing them getting logged
I'm running 8.3. |
ok both work now, thanks :=) |
Hello,
When you want to add Actions and save them, it doesn't work due to a MySQL error. The error indicates "not allowed commun ''," in the hlstats_actions row for reward_teams. This happens because 0 is not a valid number; it means nothing, but it must be a number. This function has changed in PHP 7. Latency and Suicides won't work. I tested it with PHP 5.6 and the old version of HLstats (1.6.19), where it works, but not with 1.7 or any other forks.
I'm not very skilled in PHP, but I think there might be two reasons for this issue:
It would be great if you could look into this because I'm not good enough to do it without causing 100 PHP errors. I tried to fix it by using serverpm hlstatspl and playerpm from version 1.6.19, but that caused too many errors because it's written in PHP 5.6.
Thanks!
The text was updated successfully, but these errors were encountered: