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

Help Menu v0.3 (7/10)


Post New Thread Reply   
 
Thread Tools Display Modes
Daeth111
Junior Member
Join Date: Apr 2008
Old 07-11-2008 , 12:02   Re: Help Menu v0.3 (7/10)
Reply With Quote #61

sure :

Code:
L 07/11/2008 - 17:59:59: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 07/11/2008 - 17:59:59: [SM] Displaying call stack trace for plugin "helpmenu.smx":
L 07/11/2008 - 17:59:59: [SM]   [0]  Line 173, /home/groups/alliedmodders/forums/files/3/7/8/0/7/28600.attach::Help_ShowMainMenu()
L 07/11/2008 - 17:59:59: [SM]   [1]  Line 165, /home/groups/alliedmodders/forums/files/3/7/8/0/7/28600.attach::Command_HelpMenu()
Is it that what you need?

Daeth111
Daeth111 is offline
flubber
Senior Member
Join Date: Oct 2007
Old 07-11-2008 , 12:14   Re: Help Menu v0.3 (7/10)
Reply With Quote #62

Quote:
Originally Posted by chundo View Post
You can use the Triggers plugin to accomplish this now. I doubt I'll add those features to this plugin.
Nice thanks
flubber is offline
Jérémie
Member
Join Date: Feb 2008
Old 07-11-2008 , 13:01   Re: Help Menu v0.3 (7/10)
Reply With Quote #63

Quote:
Originally Posted by chundo View Post
You can use the Triggers plugin to accomplish this now. I doubt I'll add those features to this plugin.
I tried many things, can't get the triggers plugin to work the way it should be.

Anyway, if it starts working, what would be the Help Menu command (vs its chat trigger)?

Note: in your files your commandlist.txt is in /config instead of /configs, took me some time to figure this one out.
Jérémie is offline
flubber
Senior Member
Join Date: Oct 2007
Old 07-11-2008 , 13:16   Re: Help Menu v0.3 (7/10)
Reply With Quote #64

help S !helpmenu
aide S !helpmenu
sos S !helpmenu
flubber is offline
FelixAdam
New Member
Join Date: Jul 2008
Old 07-11-2008 , 13:19   Re: Help Menu v0.3 (7/10)
Reply With Quote #65

L 07/11/2008 - 19:01:19: [helpmenu.smx] Section declared with unknown tokens on line 43, col 64 of addons/sourcemod/configs/helpmenu.cfg
[TS] Hooking round end events for game: tf

the menu does not work 4 me
any advice?
FelixAdam is offline
chundo
Senior Member
Join Date: May 2008
Old 07-11-2008 , 14:54   Re: Help Menu v0.3 (7/10)
Reply With Quote #66

Quote:
Originally Posted by FelixAdam View Post
L 07/11/2008 - 19:01:19: [helpmenu.smx] Section declared with unknown tokens on line 43, col 64 of addons/sourcemod/configs/helpmenu.cfg
[TS] Hooking round end events for game: tf

the menu does not work 4 me
any advice?
Looks like your config file is invalid. Look on line 43. Post the config here if you need help.
__________________
chundo is offline
chundo
Senior Member
Join Date: May 2008
Old 07-11-2008 , 14:58   Re: Help Menu v0.3 (7/10)
Reply With Quote #67

Quote:
Originally Posted by Daeth111 View Post
sure :

Code:
L 07/11/2008 - 17:59:59: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 07/11/2008 - 17:59:59: [SM] Displaying call stack trace for plugin "helpmenu.smx":
L 07/11/2008 - 17:59:59: [SM]   [0]  Line 173, /home/groups/alliedmodders/forums/files/3/7/8/0/7/28600.attach::Help_ShowMainMenu()
L 07/11/2008 - 17:59:59: [SM]   [1]  Line 165, /home/groups/alliedmodders/forums/files/3/7/8/0/7/28600.attach::Command_HelpMenu()
Is it that what you need?

Daeth111
Yep - it looks like the problem was the config file though; since it didn't load properly displaying the menu was failing. I got this error on startup with your config:

Code:
L 07/11/2008 - 13:55:57: [helpmenu.smx] Line contained too many invalid tokens on line 39, col 51 of addons/sourcemod/configs/helpmenu.cfg
It looks like you forgot to escape your quotation marks on line 39 (\").

I'll try to catch that error though.
__________________
chundo is offline
FelixAdam
New Member
Join Date: Jul 2008
Old 07-11-2008 , 16:03   Re: Help Menu v0.3 (7/10)
Reply With Quote #68

Code:
"Help"
{
    "Server Rules"
    {
        "title"    "Server Rules"
        "type"        "text"
        "items"
        {
            ""        "- Don't be an asshole"
            ""        "- No racism or bigotry"
            ""        "- No porn or offensive sprays"
            ""        "- No mic or chat spamming"
            ""        "- Hacks or exploits will get you banned"
        }
    }
    "Server Info"
    {
        "title" "-=just-muh=-\nfun gaming server"
        "items"
        {
            ""                        "IP:PORT = bla:blup"
            "sm_browse www.xxx.de"            "www.xxx.de"
            "sm_browse xxx/stats"        "open stats in ingame browser"
            "sm_browse xxx/map_rating.php"    "show map user ratings"
        }
    }
    "Chat Commands"
    {
        "title"            "Chat Commands"
        "items"
        {
            "say votemap"        "votemap - Vote for a map"
            "say votenextmap"    "votenextmap - Vote for the next map"
            "say votescramble"    "votescramble - Vote to scramble the teams and restart"
            "say votealltalk"    "votealltalk - Vote for alltalk on/off"
            "say voteban"        "voteban - Vote for baning a player"
            "say votekick"    "votekick - Vote for kicking a player"
            "say voteff"        "voteff - Vote for friendly fire on/off"
            "say helpmenu"    "helpmenu - This help menu"
            "say maprate"        "maprate - Rate the current map"
            "say maprating"    "maprating - View map ratings"
            "say /radio"        "/radio - Play a radio station"
            "say /radiooff"    "/radiooff - Stop playing a radio station"
            "say /ff"        "/ff - Display frindly fire status"
            "say /rank"        "/rank - Display your rank and personal stats"
            "say /top10"        "/top10 - Display the top10 players"
        }
    }
}
There it is
FelixAdam is offline
Jérémie
Member
Join Date: Feb 2008
Old 07-11-2008 , 20:00   Re: Help Menu v0.3 (7/10)
Reply With Quote #69

Thanks for the Trigger plugin mention.

However, having some translation capabilities for the hardcoded strings (such as the automatic "need help?" text) would still be quite nice.
Jérémie is offline
chundo
Senior Member
Join Date: May 2008
Old 07-12-2008 , 03:03   Re: Help Menu v0.3 (7/10)
Reply With Quote #70

I'll add translation capabilities to the welcome message for sure - translating the config file might be harder because the last time I tried the catch-all translation functionality it errored out on me - which means everyone would have to always provide translation phrases for everything in the config file; obviously not acceptable.
__________________
chundo 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 05:58.


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