Best CT & T of the round. [BAD LOAD], help.
Can anyone tell me why is this not running. Appears "bad load" in amx_plugins.
Thanks. Code: PHP Code:
|
Re: Best CT & T of the round. [BAD LOAD], help.
You can tell us, not we. Only "bad load" isn't enough information. A full error will show in the console when you start up the server - find it.
|
Re: Best CT & T of the round. [BAD LOAD], help.
Probably because it's using reapi and you're not using regamedll + reamxmodx
|
Re: Best CT & T of the round. [BAD LOAD], help.
That's possible...
L 11/08/2019 - 14:56:54: [AMXX] Plugin file open error (plugin "best_players.amxx") only this showing in console |
Re: Best CT & T of the round. [BAD LOAD], help.
By the way what do I add instead of "get_member_game". So I can remove reapi?
I mean this plugin is possible even without reapi. Can I replace "get_member_game" with another function similar to it? |
Re: Best CT & T of the round. [BAD LOAD], help.
Looks like get_maxplayers()
|
Re: Best CT & T of the round. [BAD LOAD], help.
The error definitely shows up when you start the server, you probably missed it. But yes, if you don't have ReAPI, of course you can't run plugins that use ReAPI functions.
And yes, replacing it with get_maxplayers() will work. Or better use get_players and eliminate the is_user_connected() check. |
Re: Best CT & T of the round. [BAD LOAD], help.
Thank u both. Solved.
|
Re: Best CT & T of the round. [BAD LOAD], help.
But there comes another small problem.
Any player who made the most damage is shown as best in both CT and T same player (even if he is CT he is shown also in T as best player). Look at the show_hudmessage line. What could I be mistaken on |
Re: Best CT & T of the round. [BAD LOAD], help.
Well first of all there's this in the damage event:
Code:
So the plugin will only work if you damage your teammates. :| Next, we have this genius thing that adds the damage to both teams without checking who is T and who CT: Code:
Then, we have the "Get_Best_CT" and "Get_Best_T" functions that both loop all players, again without checking their team. Code:
So, basically, the author of this plugin had no idea what he is doing and the entire code is garbage. |
| All times are GMT -4. The time now is 02:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.