-
Notifications
You must be signed in to change notification settings - Fork 4
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
Some error in td_gunmod.amxx #23
Comments
Hi @talibanaa, Unfurtunly I'm unable to check this issue at runtime right now, but if you look at source code Tower-Defense/addons/amxmodx/scripting/td_gunmod.sma Lines 296 to 301 in 87f5f79
We can assume that the issue is because this method: is invoked by this line of code
You see that magic And it looks like target player just disconnected in that 0.5s. To fix that we could add a validation to method which throws error Tower-Defense/addons/amxmodx/scripting/td_gunmod.sma Lines 502 to 510 in 87f5f79
There's missing if (!is_user_connected(id)) {
return;
} This error is not affecting a game - low priority bug. Server crashes - yeah, are caused by this mod but after some investigations year or two ago I'm 100% sure it's because this mod is maintaining high amount of entities and even on ReHLDS old GoldSrc engine can't stand that so it restarts. Maybe you can try to change monsters count on wave to 10-15 max. I don't think there would be version 2.0. I was 16-18 with my twin brother when we created this mod. Nowadays we're professional programmers, oldest, and I don't think we have time to play games :D Maybe in future :) Thanks for playing this mod. |
L 10/18/2021 - 21:17:46: Player 1 is not in game.
L 10/18/2021 - 21:17:46: [AMXX] Displaying debug trace (plugin "td_gunmod.amxx", version "1.1")
L 10/18/2021 - 21:17:46: [AMXX] Run time error 10: native error (native "menu_display")
L 10/18/2021 - 21:17:46: [AMXX] [0] td_gunmod.sma::showWeaponMenu (line 541)
L 10/18/2021 - 21:17:46: [AMXX] [1] td_gunmod.sma::playerSpawned (line 298)
And im use the last rehlds amxx regame and server crash sometimes ? When will be see version 2.0 ot that mod! Thanks
The text was updated successfully, but these errors were encountered: