Raised This Month: $ Target: $400
 0% 

[Report]AmxModX 183git4410 menu override crash.


Post New Thread Reply   
 
Thread Tools Display Modes
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 10-10-2014 , 14:18   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #11

Quote:
Originally Posted by Arkshine View Post
You said "new round", does it mean I have to add at least one bot or it's fine alone?
You can test alone, no need to add bots. Just slay yourself and the round will be end.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-10-2014 , 14:43   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #12

Be happy, I get the error \o/.

It seems to happen because you first open an 'old' menu and after a 'new' menu (not sure why both are mixed). So, if you reopen the main 'old' menu while the 'new' menu was still opened ; you get an overflow. I have to check more now, but backtrace shows me at some point UTIL_ShowMenu (called from show_menu) is called with an empty string (if I read it properly). Not sure why. Also this is weirs it doesn't happen under windows.
__________________

Last edited by Arkshine; 10-10-2014 at 14:43.
Arkshine is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 10-10-2014 , 14:49   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #13

mayby its offset problem because windows and linux offset are different.





edit1:
in the code he is setting a linux offset would it be wrong ?
__________________

Last edited by JusTGo; 10-10-2014 at 14:51.
JusTGo is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 10-10-2014 , 14:55   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #14

Quote:
Originally Posted by Arkshine View Post
Be happy, I get the error \o/.

It seems to happen because you first open an 'old' menu and after a 'new' menu (not sure why both are mixed). So, if you reopen the main 'old' menu while the 'new' menu was still opened ; you get an overflow. I have to check more now, but backtrace shows me at some point UTIL_ShowMenu (called from show_menu) is called with an empty string (if I read it properly). Not sure why. Also this is weirs it doesn't happen under windows.
Finally you found the cause, it doesn't happen on Windows because
Spoiler


So i need to wait for a new update. Thanks.

Quote:
Originally Posted by JusTGo View Post
mayby its offset problem because windows and linux offset are different.





edit1:
in the code he is setting a linux offset would it be wrong ?
I don't think so, because i use older zp without the menu offset is hang too. So with or without offset both = HANG.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019

Last edited by yokomo; 10-10-2014 at 14:56.
yokomo is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 10-10-2014 , 15:11   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #15

https://forums.alliedmods.net/showthread.php?p=2167834


PHP Code:
// Linux diff's
const OFFSET_LINUX // offsets 5 higher in Linux builds

...
set_pdata_int(idOFFSET_CSMENUCODE0OFFSET_LINUX
edit:
nvm offset doesn t exist in zp5 only i thought you use zp5...
i will post in zp508a thread
edit2:
werid zp4.3 and zp5.0.8a doesn't use linux offset what version of zp you use ?
__________________

Last edited by JusTGo; 10-10-2014 at 15:28.
JusTGo is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 10-10-2014 , 16:36   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #16

Quote:
Originally Posted by JusTGo View Post
https://forums.alliedmods.net/showthread.php?p=2167834


PHP Code:
// Linux diff's
const OFFSET_LINUX // offsets 5 higher in Linux builds

...
set_pdata_int(idOFFSET_CSMENUCODE0OFFSET_LINUX
edit:
nvm offset doesn t exist in zp5 only i thought you use zp5...
i will post in zp508a thread
edit2:
werid zp4.3 and zp5.0.8a doesn't use linux offset what version of zp you use ?
ZP4.3Fix5a, this is not an offset issue, tested both with or without offset all hang.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 10-10-2014 , 17:46   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #17

The source of this issue has been identified and a fix will soon land in a dev build near you.
__________________
In Flames we trust!
Nextra is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-10-2014 , 18:00   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #18

^
His fault.



Joke apart, it's [again] related to a buffer issue, which is a side-effect of a fix applied around new menu.
It's really a good thing that some people use the dev build!
__________________

Last edited by Arkshine; 10-10-2014 at 18:01.
Arkshine is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 10-10-2014 , 19:03   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #19

Quote:
Originally Posted by Arkshine View Post
It's really a good thing that some people use the dev build!
Maybe you could take a look here?
https://forums.alliedmods.net/showthread.php?t=249549

After discussing this with Nextra we didn't come up with the cause, not to mention the fix.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 10-10-2014 , 20:35   Re: [Report]AmxModX 183git4410 menu override crash.
Reply With Quote #20

Quote:
Originally Posted by GuskiS View Post
Maybe you could take a look here?
https://forums.alliedmods.net/showthread.php?t=249549

After discussing this with Nextra we didn't come up with the cause, not to mention the fix.
As long as you can't give us a simple and clean repro it is highly unlikely we can do anything about that. It is completely nonsensical that "too many" RegisterHam calls would crash a server, so that is not a problem description we can go after.
__________________
In Flames we trust!
Nextra is offline
Reply



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 03:25.


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