Raised This Month: $51 Target: $400
 12% 

MPROP_NOCOLORS not work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 08-13-2015 , 01:09   MPROP_NOCOLORS not work
Reply With Quote #1

Trying last amxx dev build:
Quote:
] amx_showrcon amxx version
AMX Mod X 1.8.3-dev+4861 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Aug 10 2015 06:29:52
Built from: https://github.com/alliedmodders/amxmodx/commit/2020129
Build ID: 4861:2020129
Core mode: JIT+ASM32
Can't disable auto colors in menu with:
Code:
menu_setprop(menu,MPROP_NOCOLORS,true)
Maybe its cause because of hardcoded ColoredMenus function ?
__________________
The functional way is the right way

Last edited by GordonFreeman (RU); 08-13-2015 at 01:10.
GordonFreeman (RU) is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-13-2015 , 05:50   Re: MPROP_NOCOLORS not work
Reply With Quote #2

Congrats, you just found a bug since the creation of newmenu API (2006)...! \o/

Code:
pMenu->m_AutoColors = *get_amxaddr(amx, params[3]) ? true : false;
Logic issue, true/false are reversed.

EDIT: Fixed (#283)
__________________

Last edited by Arkshine; 08-13-2015 at 06:16.
Arkshine is offline
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 08-13-2015 , 09:00   Re: MPROP_NOCOLORS not work
Reply With Quote #3

Wow. Now it works.
Where can i report bug or suggest something for amxx ?
I want amx_menu_nocolors cvar for globally disable colors in new menus.
__________________
The functional way is the right way
GordonFreeman (RU) is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-13-2015 , 09:16   Re: MPROP_NOCOLORS not work
Reply With Quote #4

By filing a bug report, you have a link "Bug Reports" above.

Why do you need to disable color? You are probably the first asking that.
__________________
Arkshine is offline
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 08-13-2015 , 09:29   Re: MPROP_NOCOLORS not work
Reply With Quote #5

Its for half-life. I know colors are enabled for half-life because of steampipe update, but much hl players are using custom client dlls without colors in menu.
__________________
The functional way is the right way
GordonFreeman (RU) 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 16:47.


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