Raised This Month: $ Target: $400
 0% 

Need Help with commandmenu.txt for dod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nerisrath
Junior Member
Join Date: Dec 2007
Old 12-27-2007 , 10:37   Need Help with commandmenu.txt for dod
Reply With Quote #1

From looking at the modding you guys do here, this should be childs play for you, but this is my first look at the language used by amx ... in fact i havent played with code since C went to C+ and am only fluent in qBasic (waits for laughing to stop).......

anyway the admins in my clan use a text file dropped in the dod folder to replace the in game gui in addition to using the amxmodmenu...im updating the gui version to add the most commonly used console comands and change mod controls etc....but my beta1 is giving me headaches

the file is attached....the two things im having problebs with are the lines for amx_nick and amx_vote (menu 8 custom vote==premade votes work)....for some reason the input fields dont work right when used with messagemode

i.e.
input for amx_vote:
"I love this game " yes no
output
Vote:
1 I
2 love

input amx_vote
I hate this code!!" YES NO
output
Vote: I hate this code!!
1 YES
2 NO''

note the quote at the end of second selection....where the heck is that coming from???

and amx_nick doesnt accept input at all .... can someone please tell me WTF is happening and suggest a solution

reply here or contact my email (in remarks at top of file rev .3)
Attached Files
File Type: txt commandmenu.txt (5.5 KB, 217 views)

Last edited by Nerisrath; 12-27-2007 at 10:42.
Nerisrath is offline
Nerisrath
Junior Member
Join Date: Dec 2007
Old 12-27-2007 , 14:17   Re: Need Help with commandmenu.txt for dod
Reply With Quote #2

ok so heres what i know so far....
message mode automatically opens a " and the <return> you use to close messagemode also adds a " which accounts for the funky output.... now i still need a suggestion on how to fix this so input is easy for the users to understand... another plugin that doesnt automatically quoate would be nice or maybe someone has a better idea idk........
Nerisrath is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-27-2007 , 14:52   Re: Need Help with commandmenu.txt for dod
Reply With Quote #3

It display :

amx_vote :


Type :

amx_vote :Your question here" yes no

I won't work properly but at least it will work...
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Nerisrath
Junior Member
Join Date: Dec 2007
Old 12-27-2007 , 14:58   Re: Need Help with commandmenu.txt for dod
Reply With Quote #4

yeah if you lok at my second example thats exactly what ive been doing to make it work, but i need to distribute this to about 30 diff admins in my clan and they are not all computer savy....thats y im trying to eliminate console use altogether.....also when you have over 300 active clan members and close to 500 regular pubbers the server stays busy if not full bout 20 hours a day and you dont always have time to take your eyes away from the action

but thank you for trying
Nerisrath 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 11:13.


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