Raised This Month: $ Target: $400
 0% 

Solved Error in restmenu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ssproxima
Senior Member
Join Date: Jan 2015
Old 06-18-2021 , 00:15   Re: Error in restmenu
Reply With Quote #1

Sorry about not attaching the required files. Here are the log files.
Attached Files
File Type: log error_20210615.log (10.7 KB, 17 views)
File Type: log error_20210616.log (5.5 KB, 20 views)

Last edited by ssproxima; 06-18-2021 at 00:16.
ssproxima is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-18-2021 , 01:16   Re: Error in restmenu
Reply With Quote #2

I think I found the source of the error. It occurs when there are 32 players and you use the amx_restrict command (as far as I can tell). I belive I've fixed this issue in this new debug version. When you have 32 players on the server, use the amx_restrict command (excluding the "list" subcommand) and we'll see if there is another error. Though it sounds like you probably use this enough to trigger testing of the fix.

Basically, if you see "32/32" in the debug log but do not have a corresponding error at that same time in the error log then it's fixed in this version.

Once you confirm that it fixes it, I'll create a pull request on GitHub to fix it.
Attached Files
File Type: sma Get Plugin or Get Source (restmenu.sma - 18 views - 17.6 KB)
__________________

Last edited by fysiks; 06-18-2021 at 01:40.
fysiks is offline
ssproxima
Senior Member
Join Date: Jan 2015
Old 06-19-2021 , 12:42   Re: Error in restmenu
Reply With Quote #3

I think its fixed now no error log now, attaching the debug file. Please check the same. Thanks
Attached Files
File Type: txt restmenu_debug.txt (123.6 KB, 25 views)

Last edited by ssproxima; 06-19-2021 at 12:42.
ssproxima is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode