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

Help Menu v0.3 (7/10)


Post New Thread Reply   
 
Thread Tools Display Modes
Trident
Junior Member
Join Date: Jul 2011
Old 02-27-2016 , 09:20   Re: Help Menu v0.3 (7/10)
Reply With Quote #171

^^ Forget this please.. was a stupid mistake i made -.-
Trident is offline
dildoughy
Member
Join Date: Nov 2015
Old 05-05-2016 , 20:19   Re: Help Menu v0.3 (7/10)
Reply With Quote #172

I was using this fine just until my last wipe/restore. The welcome message shows up (prompting users to type !helpmenu), and the .cfg is a clone of my earlier config, but console outputs sm_helpmenu or !helpmenu are not known commands. The plugin is obviously working since the prompt is coming up. ???
dildoughy is offline
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 06-26-2016 , 17:28   Re: Help Menu v0.3 (7/10)
Reply With Quote #173

Code:
L 06/26/2016 - 14:03:30: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 06/26/2016 - 14:03:30: [SM] Blaming: helpmenu.smx()
L 06/26/2016 - 14:03:30: [SM] Call stack trace:
L 06/26/2016 - 14:03:30: [SM]   [0] GetArraySize
L 06/26/2016 - 14:03:30: [SM]   [1] Line 125, /home/forums/content/files/3/7/8/0/7/28600.attach::Config_KeyValue()
L 06/26/2016 - 14:03:30: [SM]   [3] SMC_ParseFile
L 06/26/2016 - 14:03:30: [SM]   [4] Line 99, /home/forums/content/files/3/7/8/0/7/28600.attach::ParseConfigFile()
L 06/26/2016 - 14:03:30: [SM]   [5] Line 72, /home/forums/content/files/3/7/8/0/7/28600.attach::OnMapStart()
It displays the chat message saying "Type !helpmenu" but is an unrecognized command. The above is the error log output.
Halt is offline
away000
Veteran Member
Join Date: Sep 2010
Old 02-14-2017 , 08:09   Re: Help Menu v0.3 (7/10)
Reply With Quote #174

Is this still supported by the dev?

It's working really nice for me (CS:GO) but, would be possible to add some alias for helpmenu command (if possible, let we customize what will trigger it by multple commands and alias)? Like !h, !help, !ajuda (which is help in portuguese), and others.
__________________
away000 is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 05-12-2017 , 08:52   Re: Help Menu v0.3 (7/10)
Reply With Quote #175

My Version still works fine 4 me, never had any Issues.
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux
DJPlaya is offline
Send a message via Skype™ to DJPlaya
michaelrw
Senior Member
Join Date: Jul 2017
Old 12-16-2017 , 02:08   Re: Help Menu v0.3 (7/10)
Reply With Quote #176

Quote:
Originally Posted by away000 View Post
Is this still supported by the dev?

It's working really nice for me (CS:GO) but, would be possible to add some alias for helpmenu command (if possible, let we customize what will trigger it by multple commands and alias)? Like !h, !help, !ajuda (which is help in portuguese), and others.
this can be done easily by editing the ssource (.sp) file and recompiling. if youre not sure how, pm me and i can help you add the new commands
__________________

michaelrw is offline
emsit
Member
Join Date: Apr 2015
Old 06-20-2018 , 14:58   Re: Help Menu v0.3 (7/10)
Reply With Quote #177

v0.4
  • Transitional Syntax
  • added command sm_commands
  • added command sm_helpmenu_reload
  • added cvar sm_helpmenu_autoreload
  • added cvar sm_helpmenu_config_path
  • added panel/PrintToChat when command does not exist or item value is text
Attached Files
File Type: sp Get Plugin or Get Source (helpmenu.sp - 561 views - 11.8 KB)
File Type: cfg helpmenu.cfg (1.5 KB, 235 views)
__________________

emsit is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 07-07-2018 , 18:10   Re: Help Menu v0.3 (7/10)
Reply With Quote #178

v0.5
  • More syntax updating
  • Bug fix in previous post. "config/helpmenu.cfg" -> "configs/helpmenu.cfg"
  • Added CommandExists check for also itemval in custom menu handler

DiffCheck: https://www.diffchecker.com/PYfaUuXY

.
Attached Files
File Type: cfg helpmenu.cfg (1.5 KB, 409 views)
File Type: sp Get Plugin or Get Source (helpmenu.sp - 830 views - 12.2 KB)

Last edited by JoinedSenses; 07-08-2018 at 04:25.
JoinedSenses is offline
emsit
Member
Join Date: Apr 2015
Old 07-08-2018 , 02:54   Re: Help Menu v0.3 (7/10)
Reply With Quote #179

Missing welcome message?

v0.4
PHP Code:
public Action Timer_WelcomeMessage(Handle timerany client) {
    if (
g_cvarWelcome.BoolValue && Client_IsValidHuman(clienttruefalsetrue)) {
        
PrintToChat(client"\x05[SM] \x01For help, type \x04!helpmenu\x01 in chat");
    }

v0.5
PHP Code:
public Action Timer_WelcomeMessage(Handle timerany client) {
    if (
g_cvarWelcome.BoolValue && Client_IsValidHuman(clienttruefalsetrue)) {
    }

__________________

emsit is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 07-08-2018 , 04:16   Re: Help Menu v0.3 (7/10)
Reply With Quote #180

Fixed and edited previous post, nice catch.

Im having a hard time juggling three variations of this plugin. I think I had meant to copy/paste that line, but cut it instead.

I've posted to GH as well: https://github.com/JoinedSenses/HelpMenu
JoinedSenses 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 19:28.


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