-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error spotted: TypeError: Cannot read property 'event' of null #13
Comments
Hello, which game server version do you use, HLDS or ReHLDS or something else? I will take a look into this later. |
Hi Kalle, I'm using hlds with these parameters: -game jumbot -console +map crossfire +maxplayers 16 just wanted to thank you for developing this, it's a massive help |
Hello, I debugged this and found out that your arriving string is malformed. Examples:
Obviously, there is a difference, so that's why it fails. Try with the cstrike game parameter and give us the results. |
Hi Kalle, I tested it out with the parameter you asked for and here are the results: 'say' works in this case, along with almost every other log, The only error I found was on 'Dropped_The_Bomb'
|
I think I've found what's causing the errors. It's in the name
In instances where it's a free for all, or if there is a player-caused log entry that is missing a part, it throws an error, for example, lines like these:
|
Yup, I see where the problem lies. This was tested cstrike only game mode so it fails on other game modes which have their own custom log messages. |
I'm getting an error when attempting to log 'say', 'say_team' and 'kill' signals.
am I doing something wrong? I've included my code at the end.
The text was updated successfully, but these errors were encountered: