Raised This Month: $32 Target: $400
 8% 

AMXX menu bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-01-2021 , 10:49   AMXX menu bug
Reply With Quote #1

So basically when a user has a newmenu opened and override the menu with an old menu the newmenu doesn't call MENU_EXIT on override therefore the newmenu doesn't get destroyed making alot of errors latter....

happens with the radio commands menus...
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-01-2021 at 10:50.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 08-01-2021 , 10:54   Re: AMXX menu bug
Reply With Quote #2

There's a github to post these things.
Also, I'm sure someone brought it up in github as well.

https://github.com/alliedmodders/amxmodx
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 08-01-2021 , 12:54   Re: AMXX menu bug
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
So basically when a user has a newmenu opened and override the menu with an old menu the newmenu doesn't call MENU_EXIT on override therefore the newmenu doesn't get destroyed making alot of errors latter....

happens with the radio commands menus...
Set pdata to destroy the previous menu:
PHP Code:
// XO_PLAYER = 5; - PLAYER OFFSET
// 205 = m_iMenu - Menu Offset
set_pdata_int(id2050XO_PLAYER); 
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 08-01-2021 at 12:54.
Shadows Adi is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-01-2021 , 13:05   Re: AMXX menu bug
Reply With Quote #4

Quote:
Originally Posted by Shadows Adi View Post
Set pdata to destroy the previous menu:
PHP Code:
// XO_PLAYER = 5; - PLAYER OFFSET
// 205 = m_iMenu - Menu Offset
set_pdata_int(id2050XO_PLAYER); 
No this won't free/destroy the menu data but rather reset the player offset for menuid pointer

Quote:
Originally Posted by DruGzOG View Post
There's a github to post these things.
Also, I'm sure someone brought it up in github as well.

https://github.com/alliedmodders/amxmodx
If there are someone already mentioned the problem in GitHub i don't see a problem
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-01-2021 at 13:07.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 08-01-2021 , 14:22   Re: AMXX menu bug
Reply With Quote #5

Show the problematic code
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 08-02-2021 , 19:17   Re: AMXX menu bug
Reply With Quote #6

Quote:
Originally Posted by Natsheh View Post
No this won't free/destroy the menu data but rather reset the player offset for menuid pointer



If there are someone already mentioned the problem in GitHub i don't see a problem
You'd get more attention on that. There's a lot of PR requests that are being implemented and more insight on the problem helps solve problems
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
daisymorris01
New Member
Join Date: Aug 2021
Location: Warszaw
Old 08-11-2021 , 01:57   Re: AMXX menu bug
Reply With Quote #7

daisymorris01 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 06:00.


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