azalty / sm-ct-bans

My attempt at fixing the important bugs of the CT Bans plugin from databomb
https://forums.alliedmods.net/showthread.php?t=166080
GNU General Public License v3.0
1 stars 0 forks source link

Can this web panel still be used? #2

Closed strteamservidores closed 1 year ago

strteamservidores commented 1 year ago

https://github.com/1DreaM1/ctbans-new

strteamservidores commented 1 year ago

and the plugin compile is fine but have some warnings.

include\colors.inc(843) : warning 204: symbol is assigned a value that is never used: "replyto"
sm_ctban.sp(854) : warning 242: function "Timer_DelayEnforcement" should return an explicit value
sm_ctban.sp(920) : warning 242: function "Timer_OnAuthCheckDatabase" should return an explicit value
sm_ctban.sp(1003) : warning 209: function has explicit 'int' tag but does not return a value
sm_ctban.sp(1580) : warning 242: function "Timer_CheckTimedCTBans" should return an explicit value
sm_ctban.sp(2041) : warning 209: function has explicit 'int' tag but does not return a value
sm_ctban.sp(2070) : warning 209: function has explicit 'int' tag but does not return a value
sm_ctban.sp(2098) : warning 209: function has explicit 'int' tag but does not return a value
sm_ctban.sp(2126) : warning 209: function has explicit 'int' tag but does not return a value
sm_ctban.sp(2326) : warning 209: function has explicit 'int' tag but does not return a value
sm_ctban.sp(2366) : warning 209: function has explicit 'int' tag but does not return a value
sm_ctban.sp(2405) : warning 209: function has explicit 'int' tag but does not return a value
sm_ctban.sp(2530) : warning 242: function "Timer_CheckBanCookies" should return an explicit value
Code size:         81756 bytes
Data size:         19396 bytes
Stack/heap size:      17692 bytes
Total requirements:  118844 bytes

13 Warnings.

Compilation Time: 0,94 sec
 ----------------------------------------

Press enter to exit ...
azalty commented 1 year ago

Hi, I believe you can use https://forums.alliedmods.net/showthread.php?t=305253 although I've not tried.

As for the warnings, yea, I compiled this plugin in SM 1.10, and I believe you're in 1.11 which is the reason for all those warnings.

They're pretty easy to fix but they're definitely not important as they're just warnings and don't actually break anything.\ I'll fix those if and when I want to, in the meantime you can just ignore them. Thanks for notifying me though!

If you do end up trying the web panel, please comment on this issue whether it worked or not, so that other people can know.

Click here to see all the changes I've made compared to the default plugin.