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

Simple Menu Builder


Post New Thread Reply   
 
Thread Tools Display Modes
Enrory
Senior Member
Join Date: Nov 2016
Location: Austria
Old 02-04-2017 , 12:21   Re: Simple Menu Builder
Reply With Quote #51

Quote:
Originally Posted by addons_zz View Post
This is the problem?
YEAH that is.
__________________
Enrory is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 02-04-2017 , 13:10   Re: Simple Menu Builder
Reply With Quote #52

Quote:
Originally Posted by Enrory View Post
YEAH that is.
I added a few debug statements on the this plugin version I am attaching. Can you run it on your server?
Can you install this version and the default menu on your server, and try to open the menu and choose some option?

It will create a log file called `_simple_menu_log.txt` on `addons/amxmodx/logs`, after it post your log here.
I tested it here on my computer with Counter-Strike, and it is working fine. This was my log:
Code:
L 02/04/2017 - 16:04:34: {11.256 15880 1233077 1233077} Entering on menuMain(3)
L 02/04/2017 - 16:04:34: {11.256 15876 1233082    5} ( menuMain ) id:      1
L 02/04/2017 - 16:04:34: {11.256 15876 1233086    4} ( menuMain ) iMenuId: 0
L 02/04/2017 - 16:04:34: {11.256 15876 1233100   14} ( menuMain ) iPage:   0
L 02/04/2017 - 16:04:34: {11.256 14364 1233103    3} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 16:04:36: {12.755 16292 1234590 1487} Entering on handlerMain(3)
L 02/04/2017 - 16:04:36: {12.755 16288 1234605   15} ( handlerMain ) id:    1
L 02/04/2017 - 16:04:36: {12.755 16288 1234608    3} ( handlerMain ) iMenu: 5
L 02/04/2017 - 16:04:36: {12.755 16288 1234614    6} ( handlerMain ) iItem: 0
L 02/04/2017 - 16:04:36: {12.755 16144 1234617    3} ( handlerMain ) szMenuId: 0
L 02/04/2017 - 16:04:36: {12.755 16144 1234638   21} ( handlerMain ) szKey:    0
L 02/04/2017 - 16:04:36: {12.755 16144 1234644    6} ( handlerMain ) szUserId:
L 02/04/2017 - 16:04:36: {12.755 16144 1234650    6} ( handlerMain ) iMenuId:
L 02/04/2017 - 16:04:36: {12.755 16144 1234654    4} ( handlerMain ) iKey:
L 02/04/2017 - 16:04:36: {12.755 16144 1234679   25} ( handlerMain ) iUserId:
L 02/04/2017 - 16:04:36: {12.755 16140 1234682    3} ( handlerMain ) get_alive_access: 1
L 02/04/2017 - 16:04:36: {12.755 16132 1234690    8} ( handlerMain ) g_eSettings[0][387]: 1
L 02/04/2017 - 16:04:36: {12.755 16116 1234697    7} Entering on menuMain(3)
L 02/04/2017 - 16:04:36: {12.755 16112 1234705    8} ( menuMain ) id:      1
L 02/04/2017 - 16:04:36: {12.755 16112 1234707    2} ( menuMain ) iMenuId: 0
L 02/04/2017 - 16:04:36: {12.755 16112 1234723   16} ( menuMain ) iPage:   0
L 02/04/2017 - 16:04:36: {12.755 14600 1234728    5} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 16:04:36: {12.755 16140 1234738   10} ( handlerMain ) 1. Returning PLUGIN_HANDLED.
L 02/04/2017 - 16:04:42: {18.315 16292 1240136 5398} Entering on handlerMain(3)
L 02/04/2017 - 16:04:42: {18.315 16288 1240141    5} ( handlerMain ) id:    1
L 02/04/2017 - 16:04:42: {18.315 16288 1240145    4} ( handlerMain ) iMenu: 5
L 02/04/2017 - 16:04:42: {18.315 16288 1240149    4} ( handlerMain ) iItem: -3
L 02/04/2017 - 16:04:42: {18.315 16292 1240155    6} ( handlerMain ) Going to @DESTROY
L 02/04/2017 - 16:04:42: {18.315 16148 1240167   12} ( handlerMain ) 2. Returning PLUGIN_HANDLED.
Attached Files
File Type: ini SimpleMenu.ini (1.1 KB, 152 views)
File Type: sma Get Plugin or Get Source (crx_simplemenu.sma - 465 views - 27.2 KB)
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 02-04-2017 at 13:14.
addons_zz is offline
Enrory
Senior Member
Join Date: Nov 2016
Location: Austria
Old 02-04-2017 , 15:34   Re: Simple Menu Builder
Reply With Quote #53

Hey thanks addons zz for your help! Test it on my Sven coop Server [CostumMaps]

I have override the amxx and SimpleMenu.ini.
It show me the menus and Item Names with numbers.
So i have the plugin with /hats command on my server but no work.
The menu short dont show (1sec) and come back so i press the number but do nothing.
Dont show the hats menu.
I try the Leave the Server (disconnect) that works.
So it is the same problem.
__________________
Enrory is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-04-2017 , 15:53   Re: Simple Menu Builder
Reply With Quote #54

He wanted the debug log. The version was not supposed to fix anything, but to help fixing the issue.
__________________
HamletEagle is offline
Enrory
Senior Member
Join Date: Nov 2016
Location: Austria
Old 02-04-2017 , 16:32   Re: Simple Menu Builder
Reply With Quote #55

Quote:
Originally Posted by HamletEagle View Post
He wanted the debug log. The version was not supposed to fix anything, but to help fixing the issue.
oh

PHP Code:
L 02/04/2017 22:37:01Log file started (file "svencoop\addons\amxmodx\logs\_simple_menu_log.txt") (game "svencoop") (amx "1.8.3-dev+5073")
L 02/04/2017 22:37:01: {72.385 15880 87127 87127
L 02/04/2017 22:37:01: {72.385 15880 87139   12Entering on menuMain(3)
L 02/04/2017 22:37:01: {72.385 15876 87150   11} ( menuMain id:      1
L 02
/04/2017 22:37:01: {72.385 15876 87160   10} ( menuMain iMenuId0
L 02
/04/2017 22:37:01: {72.385 15876 87166    6} ( menuMain iPage:   0
L 02
/04/2017 22:37:01: {72.385 14364 87175    9} ( menuMain 3. Returning PLUGIN_HANDLED.
L 02/04/2017 22:37:03: {73.611 16292 88355 1180
L 02/04/2017 22:37:03: {73.611 16292 88365   10Entering on handlerMain(3)
L 02/04/2017 22:37:03: {73.611 16288 88375   10} ( handlerMain id:    1
L 02
/04/2017 22:37:03: {73.611 16288 88382    7} ( handlerMain iMenu0
L 02
/04/2017 22:37:03: {73.611 16288 88389    7} ( handlerMain iItem1
L 02
/04/2017 22:37:03: {73.611 16144 88397    8} ( handlerMain szMenuId0
L 02
/04/2017 22:37:03: {73.611 16144 88407   10} ( handlerMain szKey:    1
L 02
/04/2017 22:37:03: {73.611 16144 88415    8} ( handlerMain szUserId
L 02/04/2017 22:37:03: {73.611 16144 88423    8} ( handlerMain iMenuId0
L 02
/04/2017 22:37:03: {73.611 16144 88431    8} ( handlerMain iKey:    1
L 02
/04/2017 22:37:03: {73.611 16144 88440    9} ( handlerMain iUserId0
L 02
/04/2017 22:37:03: {73.611 16140 88448    8} ( handlerMain get_alive_access1
L 02
/04/2017 22:37:03: {73.611 16132 88455    7} ( handlerMain g_eSettings[0][387]: 0
L 02
/04/2017 22:37:03: {73.611 16148 88463    8} ( handlerMain 2. Returning PLUGIN_HANDLED
__________________

Last edited by Enrory; 02-04-2017 at 16:38.
Enrory is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 02-04-2017 , 18:04   Re: Simple Menu Builder
Reply With Quote #56

I installed svencoop, and it working correcty or almost. On the my player console I got this:
Code:
Server tried to send invalid command:"say /rules
"Unknown command: menuselect
Server tried to send invalid command:"say /hats
"Unknown command: menuselect
Server tried to send invalid command:"say /hats
"Unknown command: menuselect
Server tried to send invalid command:"say /radio
"Unknown command: menuselect
Server tried to send invalid command:"say /rules
"Unknown command: menuselect
Server tried to send invalid command:"say /hats
"Unknown command: menuselect
This was my log file from the plugin:
Code:
L 02/04/2017 - 20:58:56: Log file started (file "svencoop\addons\amxmodx\logs\_simple_menu_log.txt") (game "svencoop") (amx "1.8.3-dev+4982")
L 02/04/2017 - 20:58:56: {23.520 15880 1090299 1090299} 
L 02/04/2017 - 20:58:56: {23.520 15880 1090318   19} Entering on menuMain(3)
L 02/04/2017 - 20:58:56: {23.520 15876 1090322    4} ( menuMain ) id:      1
L 02/04/2017 - 20:58:56: {23.520 15876 1090331    9} ( menuMain ) iMenuId: 0
L 02/04/2017 - 20:58:56: {23.520 15876 1090338    7} ( menuMain ) iPage:   0
L 02/04/2017 - 20:58:56: {23.520 14364 1090345    7} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:58:59: {26.117 16292 1092918 2573} 
L 02/04/2017 - 20:58:59: {26.117 16292 1092922    4} Entering on handlerMain(3)
L 02/04/2017 - 20:58:59: {26.117 16288 1092931    9} ( handlerMain ) id:    1
L 02/04/2017 - 20:58:59: {26.117 16288 1092941   10} ( handlerMain ) iMenu: 0
L 02/04/2017 - 20:58:59: {26.117 16288 1092946    5} ( handlerMain ) iItem: 0
L 02/04/2017 - 20:58:59: {26.117 16144 1092951    5} ( handlerMain ) szMenuId: 0
L 02/04/2017 - 20:58:59: {26.117 16144 1092961   10} ( handlerMain ) szKey:    0
L 02/04/2017 - 20:58:59: {26.117 16144 1092968    7} ( handlerMain ) szUserId: 
L 02/04/2017 - 20:58:59: {26.117 16144 1092975    7} ( handlerMain ) iMenuId: 0
L 02/04/2017 - 20:58:59: {26.117 16144 1092986   11} ( handlerMain ) iKey:    0
L 02/04/2017 - 20:58:59: {26.117 16144 1092994    8} ( handlerMain ) iUserId: 0
L 02/04/2017 - 20:58:59: {26.117 16140 1093000    6} ( handlerMain ) get_alive_access: 1
L 02/04/2017 - 20:58:59: {26.117 16132 1093010   10} ( handlerMain ) g_eSettings[0][387]: 1
L 02/04/2017 - 20:58:59: {26.117 16116 1093019    9} 
L 02/04/2017 - 20:58:59: {26.117 16116 1093023    4} Entering on menuMain(3)
L 02/04/2017 - 20:58:59: {26.117 16112 1093039   16} ( menuMain ) id:      1
L 02/04/2017 - 20:58:59: {26.117 16112 1093046    7} ( menuMain ) iMenuId: 0
L 02/04/2017 - 20:58:59: {26.117 16112 1093059   13} ( menuMain ) iPage:   0
L 02/04/2017 - 20:58:59: {26.117 14600 1093064    5} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:58:59: {26.117 16140 1093077   13} ( handlerMain ) 1. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:02: {29.888 16292 1096689 3612} 
L 02/04/2017 - 20:59:02: {29.888 16292 1096694    5} Entering on handlerMain(3)
L 02/04/2017 - 20:59:02: {29.888 16288 1096702    8} ( handlerMain ) id:    1
L 02/04/2017 - 20:59:02: {29.888 16288 1096708    6} ( handlerMain ) iMenu: 0
L 02/04/2017 - 20:59:02: {29.888 16288 1096715    7} ( handlerMain ) iItem: 1
L 02/04/2017 - 20:59:02: {29.888 16144 1096723    8} ( handlerMain ) szMenuId: 0
L 02/04/2017 - 20:59:02: {29.888 16144 1096734   11} ( handlerMain ) szKey:    1
L 02/04/2017 - 20:59:03: {29.888 16144 1096745   11} ( handlerMain ) szUserId: 
L 02/04/2017 - 20:59:03: {29.888 16144 1096753    8} ( handlerMain ) iMenuId: 0
L 02/04/2017 - 20:59:03: {29.888 16144 1096759    6} ( handlerMain ) iKey:    1
L 02/04/2017 - 20:59:03: {29.888 16144 1096768    9} ( handlerMain ) iUserId: 0
L 02/04/2017 - 20:59:03: {29.888 16140 1096773    5} ( handlerMain ) get_alive_access: 1
L 02/04/2017 - 20:59:03: {29.888 16132 1096788   15} ( handlerMain ) g_eSettings[0][387]: 1
L 02/04/2017 - 20:59:03: {29.888 16116 1096795    7} 
L 02/04/2017 - 20:59:03: {29.888 16116 1096804    9} Entering on menuMain(3)
L 02/04/2017 - 20:59:03: {29.888 16112 1096819   15} ( menuMain ) id:      1
L 02/04/2017 - 20:59:03: {29.888 16112 1096824    5} ( menuMain ) iMenuId: 0
L 02/04/2017 - 20:59:03: {29.888 16112 1096834   10} ( menuMain ) iPage:   0
L 02/04/2017 - 20:59:03: {29.888 14600 1096838    4} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:03: {29.888 16140 1096845    7} ( handlerMain ) 1. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:06: {33.581 16292 1100377 3532} 
L 02/04/2017 - 20:59:06: {33.581 16292 1100381    4} Entering on handlerMain(3)
L 02/04/2017 - 20:59:06: {33.581 16288 1100386    5} ( handlerMain ) id:    1
L 02/04/2017 - 20:59:06: {33.581 16288 1100391    5} ( handlerMain ) iMenu: 0
L 02/04/2017 - 20:59:06: {33.581 16288 1100400    9} ( handlerMain ) iItem: 1
L 02/04/2017 - 20:59:06: {33.581 16144 1100418   18} ( handlerMain ) szMenuId: 0
L 02/04/2017 - 20:59:06: {33.581 16144 1100421    3} ( handlerMain ) szKey:    1
L 02/04/2017 - 20:59:06: {33.581 16144 1100428    7} ( handlerMain ) szUserId: 
L 02/04/2017 - 20:59:06: {33.581 16144 1100433    5} ( handlerMain ) iMenuId: 0
L 02/04/2017 - 20:59:06: {33.581 16144 1100443   10} ( handlerMain ) iKey:    1
L 02/04/2017 - 20:59:06: {33.581 16144 1100454   11} ( handlerMain ) iUserId: 0
L 02/04/2017 - 20:59:06: {33.581 16140 1100461    7} ( handlerMain ) get_alive_access: 1
L 02/04/2017 - 20:59:06: {33.581 16132 1100469    8} ( handlerMain ) g_eSettings[0][387]: 1
L 02/04/2017 - 20:59:06: {33.581 16116 1100480   11} 
L 02/04/2017 - 20:59:06: {33.581 16116 1100488    8} Entering on menuMain(3)
L 02/04/2017 - 20:59:06: {33.581 16112 1100501   13} ( menuMain ) id:      1
L 02/04/2017 - 20:59:06: {33.581 16112 1100511   10} ( menuMain ) iMenuId: 0
L 02/04/2017 - 20:59:06: {33.581 16112 1100519    8} ( menuMain ) iPage:   0
L 02/04/2017 - 20:59:06: {33.581 14600 1100527    8} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:06: {33.581 16140 1100538   11} ( handlerMain ) 1. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:07: {34.481 16292 1101272  734} 
L 02/04/2017 - 20:59:07: {34.481 16292 1101276    4} Entering on handlerMain(3)
L 02/04/2017 - 20:59:07: {34.481 16288 1101280    4} ( handlerMain ) id:    1
L 02/04/2017 - 20:59:07: {34.481 16288 1101286    6} ( handlerMain ) iMenu: 0
L 02/04/2017 - 20:59:07: {34.481 16288 1101295    9} ( handlerMain ) iItem: 1
L 02/04/2017 - 20:59:07: {34.481 16144 1101306   11} ( handlerMain ) szMenuId: 0
L 02/04/2017 - 20:59:07: {34.481 16144 1101309    3} ( handlerMain ) szKey:    1
L 02/04/2017 - 20:59:07: {34.481 16144 1101319   10} ( handlerMain ) szUserId: 
L 02/04/2017 - 20:59:07: {34.481 16144 1101328    9} ( handlerMain ) iMenuId: 0
L 02/04/2017 - 20:59:07: {34.481 16144 1101336    8} ( handlerMain ) iKey:    1
L 02/04/2017 - 20:59:07: {34.481 16144 1101349   13} ( handlerMain ) iUserId: 0
L 02/04/2017 - 20:59:07: {34.481 16140 1101355    6} ( handlerMain ) get_alive_access: 1
L 02/04/2017 - 20:59:07: {34.481 16132 1101367   12} ( handlerMain ) g_eSettings[0][387]: 1
L 02/04/2017 - 20:59:07: {34.481 16116 1101371    4} 
L 02/04/2017 - 20:59:07: {34.481 16116 1101379    8} Entering on menuMain(3)
L 02/04/2017 - 20:59:07: {34.481 16112 1101385    6} ( menuMain ) id:      1
L 02/04/2017 - 20:59:07: {34.481 16112 1101396   11} ( menuMain ) iMenuId: 0
L 02/04/2017 - 20:59:07: {34.481 16112 1101404    8} ( menuMain ) iPage:   0
L 02/04/2017 - 20:59:07: {34.481 14600 1101420   16} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:07: {34.481 16140 1101430   10} ( handlerMain ) 1. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:08: {34.988 16292 1101787  357} 
L 02/04/2017 - 20:59:08: {34.988 16292 1101791    4} Entering on handlerMain(3)
L 02/04/2017 - 20:59:08: {34.988 16288 1101797    6} ( handlerMain ) id:    1
L 02/04/2017 - 20:59:08: {34.988 16288 1101806    9} ( handlerMain ) iMenu: 0
L 02/04/2017 - 20:59:08: {34.988 16288 1101819   13} ( handlerMain ) iItem: 2
L 02/04/2017 - 20:59:08: {34.988 16144 1101827    8} ( handlerMain ) szMenuId: 0
L 02/04/2017 - 20:59:08: {34.988 16144 1101834    7} ( handlerMain ) szKey:    2
L 02/04/2017 - 20:59:08: {34.988 16144 1101839    5} ( handlerMain ) szUserId: 
L 02/04/2017 - 20:59:08: {34.988 16144 1101854   15} ( handlerMain ) iMenuId: 0
L 02/04/2017 - 20:59:08: {34.988 16144 1101865   11} ( handlerMain ) iKey:    2
L 02/04/2017 - 20:59:08: {34.988 16144 1101881   16} ( handlerMain ) iUserId: 0
L 02/04/2017 - 20:59:08: {34.988 16140 1101886    5} ( handlerMain ) get_alive_access: 1
L 02/04/2017 - 20:59:08: {34.988 16132 1101895    9} ( handlerMain ) g_eSettings[0][387]: 1
L 02/04/2017 - 20:59:08: {34.988 16116 1101904    9} 
L 02/04/2017 - 20:59:08: {34.988 16116 1101911    7} Entering on menuMain(3)
L 02/04/2017 - 20:59:08: {34.988 16112 1101919    8} ( menuMain ) id:      1
L 02/04/2017 - 20:59:08: {34.988 16112 1101929   10} ( menuMain ) iMenuId: 0
L 02/04/2017 - 20:59:08: {34.988 16112 1101937    8} ( menuMain ) iPage:   0
L 02/04/2017 - 20:59:08: {34.988 14600 1101953   16} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:08: {34.988 16140 1101959    6} ( handlerMain ) 1. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:08: {35.764 16292 1102563  604} 
L 02/04/2017 - 20:59:08: {35.764 16292 1102566    3} Entering on handlerMain(3)
L 02/04/2017 - 20:59:08: {35.764 16288 1102570    4} ( handlerMain ) id:    1
L 02/04/2017 - 20:59:08: {35.764 16288 1102578    8} ( handlerMain ) iMenu: 0
L 02/04/2017 - 20:59:08: {35.764 16288 1102586    8} ( handlerMain ) iItem: 3
L 02/04/2017 - 20:59:08: {35.764 16144 1102594    8} ( handlerMain ) szMenuId: 0
L 02/04/2017 - 20:59:08: {35.764 16144 1102602    8} ( handlerMain ) szKey:    3
L 02/04/2017 - 20:59:08: {35.764 16144 1102609    7} ( handlerMain ) szUserId: 
L 02/04/2017 - 20:59:08: {35.764 16144 1102627   18} ( handlerMain ) iMenuId: 0
L 02/04/2017 - 20:59:08: {35.764 16144 1102634    7} ( handlerMain ) iKey:    3
L 02/04/2017 - 20:59:08: {35.764 16144 1102644   10} ( handlerMain ) iUserId: 0
L 02/04/2017 - 20:59:08: {35.764 16140 1102654   10} ( handlerMain ) get_alive_access: 1
L 02/04/2017 - 20:59:08: {35.764 16132 1102662    8} ( handlerMain ) g_eSettings[0][387]: 1
L 02/04/2017 - 20:59:08: {35.764 16116 1102677   15} 
L 02/04/2017 - 20:59:08: {35.764 16116 1102686    9} Entering on menuMain(3)
L 02/04/2017 - 20:59:08: {35.764 16112 1102697   11} ( menuMain ) id:      1
L 02/04/2017 - 20:59:08: {35.764 16112 1102705    8} ( menuMain ) iMenuId: 0
L 02/04/2017 - 20:59:08: {35.764 16112 1102713    8} ( menuMain ) iPage:   0
L 02/04/2017 - 20:59:08: {35.764 14600 1102719    6} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:08: {35.764 16140 1102731   12} ( handlerMain ) 1. Returning PLUGIN_HANDLED.
L 02/04/2017 - 20:59:09: {35.976 16292 1102776   45} 
L 02/04/2017 - 20:59:09: {35.976 16292 1102778    2} Entering on handlerMain(3)
L 02/04/2017 - 20:59:09: {35.976 16288 1102784    6} ( handlerMain ) id:    1
L 02/04/2017 - 20:59:09: {35.976 16288 1102787    3} ( handlerMain ) iMenu: 0
L 02/04/2017 - 20:59:09: {35.976 16288 1102791    4} ( handlerMain ) iItem: -3
L 02/04/2017 - 20:59:09: {35.976 16292 1102798    7} ( handlerMain ) Going to @DESTROY
L 02/04/2017 - 20:59:09: {35.976 16148 1102804    6} ( handlerMain ) 2. Returning PLUGIN_HANDLED.
L 02/04/2017 - 21:00:37: {78.334 15880 1191635 88831} 
L 02/04/2017 - 21:00:37: {78.334 15880 1191638    3} Entering on menuMain(3)
L 02/04/2017 - 21:00:37: {78.334 15876 1191639    1} ( menuMain ) id:      1
L 02/04/2017 - 21:00:37: {78.334 15876 1191640    1} ( menuMain ) iMenuId: 0
L 02/04/2017 - 21:00:37: {78.334 15876 1191641    1} ( menuMain ) iPage:   0
L 02/04/2017 - 21:00:37: {78.334 14364 1191643    2} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 21:00:40: {80.910 16292 1194211 2568} 
L 02/04/2017 - 21:00:40: {80.910 16292 1194213    2} Entering on handlerMain(3)
L 02/04/2017 - 21:00:40: {80.910 16288 1194214    1} ( handlerMain ) id:    1
L 02/04/2017 - 21:00:40: {80.910 16288 1194215    1} ( handlerMain ) iMenu: 0
L 02/04/2017 - 21:00:40: {80.910 16288 1194217    2} ( handlerMain ) iItem: 0
L 02/04/2017 - 21:00:40: {80.910 16144 1194219    2} ( handlerMain ) szMenuId: 0
L 02/04/2017 - 21:00:40: {80.910 16144 1194225    6} ( handlerMain ) szKey:    0
L 02/04/2017 - 21:00:40: {80.910 16144 1194238   13} ( handlerMain ) szUserId: 
L 02/04/2017 - 21:00:40: {80.910 16144 1194239    1} ( handlerMain ) iMenuId: 0
L 02/04/2017 - 21:00:40: {80.910 16144 1194241    2} ( handlerMain ) iKey:    0
L 02/04/2017 - 21:00:40: {80.910 16144 1194242    1} ( handlerMain ) iUserId: 0
L 02/04/2017 - 21:00:40: {80.910 16140 1194244    2} ( handlerMain ) get_alive_access: 1
L 02/04/2017 - 21:00:40: {80.910 16132 1194245    1} ( handlerMain ) g_eSettings[0][387]: 1
L 02/04/2017 - 21:00:40: {80.910 16116 1194247    2} 
L 02/04/2017 - 21:00:40: {80.910 16116 1194248    1} Entering on menuMain(3)
L 02/04/2017 - 21:00:40: {80.910 16112 1194249    1} ( menuMain ) id:      1
L 02/04/2017 - 21:00:40: {80.910 16112 1194250    1} ( menuMain ) iMenuId: 0
L 02/04/2017 - 21:00:40: {80.910 16112 1194254    4} ( menuMain ) iPage:   0
L 02/04/2017 - 21:00:40: {80.910 14600 1194258    4} ( menuMain ) 3. Returning PLUGIN_HANDLED.
L 02/04/2017 - 21:00:40: {80.910 16140 1194263    5} ( handlerMain ) 1. Returning PLUGIN_HANDLED.
On svencoop the command `say` seem to be blocked as slowhacking.

The solution to this I do not know but do not try to open menus that use the say command.
May be menus named as `amx_cool_menu` can be accessed.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 02-04-2017 at 18:08.
addons_zz is offline
Enrory
Senior Member
Join Date: Nov 2016
Location: Austria
Old 02-04-2017 , 18:33   Re: Simple Menu Builder
Reply With Quote #57

Quote:
Originally Posted by addons_zz View Post

On svencoop the command `say` seem to be blocked as slowhacking.

The solution to this I do not know but do not try to open menus that use the say command.
May be menus named as `amx_cool_menu` can be accessed.
Yeah thats is.
Thanks for your big help. With the commands work it with sven coop.
__________________
Enrory is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-05-2017 , 08:22   Re: Simple Menu Builder
Reply With Quote #58

Good job, Valve...

You can still use it in any game without executing the "say" command.
You'll need to execute the plugin's function directly:

PHP Code:
"Trails" "dofunc(plugin_name.amxx, function_name)" 
Instead of "plugin_name.amxx", type your plugin's filename, for example "player_trail.amxx".

Instead of "function_name", you need to type the function that opens the trail menu. In order to find the correct name, you need to open the trail's plugin .sma file and find the line that registers the command. It looks like this:

PHP Code:
register_clcmd("say trail menu""some_function"
You can do the same for all other commands.
__________________

Last edited by OciXCrom; 02-05-2017 at 08:23.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Nicnacticback
Junior Member
Join Date: Feb 2017
Old 02-20-2017 , 15:54   Re: Simple Menu Builder
Reply With Quote #59

Awesome ! I love it working just fine for me. But i have a request, can you make it so instead of typing /menu people could press a button on there keyboard to open up the menu? I don't eant them binding anything i just want that when they press a "key" on the keyboard it shows the menu.
Thanks in advance !
Nicnacticback is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-20-2017 , 17:50   Re: Simple Menu Builder
Reply With Quote #60

Only if that button has a command on it. For example, if you want the M button, you should assign the menu on the "chooseteam" command, assuming that all players have binded that command on that button.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 09:47.


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