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

Production menu problem


Post New Thread Reply   
 
Thread Tools Display Modes
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 02-10-2014 , 00:33   Re: Production menu problem
Reply With Quote #11

Quote:
Originally Posted by sb123 View Post
fysiks Do you mean to say that the maximum can not exceed 512?
Yes, 512 is the limit of chars. But I'd suggest to always leave the last char empty for safety, so 511.

Also good job using old menu system. I've found the new one problematic (pressing any number may also perform an action from default in-game menus - team change, radio commands, buy weapons, etc). The worst part is I cannot report it, cause I am not sure how reproduce it, or even why that bug happens (but my guess is, it's cause of menu-id's which are used, which are the same id's as in-game default menus).
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 02-10-2014 , 00:45   Re: Production menu problem
Reply With Quote #12

Quote:
Originally Posted by MPNumB View Post
(but my guess is, it's cause of menu-id's which are used, which are the same id's as in-game default menus).
It's memory leaks - Menu created && displayed -> Opening radio menu -> Our menu was never destroyed -> MEMORY LEAK!
__________________
simanovich is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-10-2014 , 00:57   Re: Production menu problem
Reply With Quote #13

Quote:
Originally Posted by MPNumB View Post
Yes, 512 is the limit of chars. But I'd suggest to always leave the last char empty for safety, so 511.

Also good job using old menu system. I've found the new one problematic (pressing any number may also perform an action from default in-game menus - team change, radio commands, buy weapons, etc). The worst part is I cannot report it, cause I am not sure how reproduce it, or even why that bug happens (but my guess is, it's cause of menu-id's which are used, which are the same id's as in-game default menus).
Has been fixed in amxx1.8.3
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-10-2014 , 04:33   Re: Production menu problem
Reply With Quote #14

Quote:
Originally Posted by sb123 View Post
fysiks Do you mean to say that the maximum can not exceed 512?
Did you read my post? I already answered this question.

Quote:
Originally Posted by MPNumB View Post
Yes, 512 is the limit of chars. But I'd suggest to always leave the last char empty for safety, so 511.
No. The character limit is 511 (based on my test, not 512) meaning that the array must be declared with 512 (for terminating the string).

Quote:
Originally Posted by ConnorMcLeod View Post
Has been fixed in amxx1.8.3
What has been fixed? The limit or the bug/memory leak?
__________________
fysiks is offline
sb123
Senior Member
Join Date: Jan 2007
Old 02-10-2014 , 05:04   Re: Production menu problem
Reply With Quote #15

Is there a way to fix this problem size limit
__________________
sb123 is offline
Send a message via ICQ to sb123 Send a message via MSN to sb123 Send a message via Yahoo to sb123
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 04:25.


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