Help adding help topic
Help adding help topic
I did ADD_HELP_TOPIC "test" "testing" "testing123", but when I did /help test, nothing showed up...I am currently using http://fight-clan.org/stuff/Builds/arma ... .win32.exe, though may upgrade to http://fight-clan.org/stuff/Builds/arma ... .win32.exe in the near future. (It's dedicated server for windows with sty included)
Re: Help adding help topic
if you are in game you need to write:
/admin add_help_topic "[topic_name]" "[short_descripe]" "[Descripe]"
you forgot /admin ?
otherwise i didnt notice a mistake.
/admin add_help_topic "[topic_name]" "[short_descripe]" "[Descripe]"
you forgot /admin ?
otherwise i didnt notice a mistake.
Last edited by ChrisGW on Sat Oct 24, 2009 12:13 pm, edited 1 time in total.
Re: Help adding help topic
Ok, ingame, type /help. There will come a list with all help topics. If you can see the topic "Test", you must write /help Test . /help test wont work cause of the little "t".
Reigning champion of: Sir-spam-a-lot 2011apparition wrote:You being able to kill so many players that quickly and efficiently is evidence that the community skill level must be dropping... Sad
Re: Help adding help topic
Hi, I'm trying to do the same thing here and the same is happening to me
"/admin ADD_HELP_TOPIC TEST TESTING THIS IS A TEST"
RA: Added help topic "TEST"
Then I try "/help" and "/help TEST"
Nothing happens
Any suggestions?
Also, can I use "\n" in "ADD_NEW_TOPIC"?
Funny thing is, I remember doing this away back in 2009 when this thread was created and remember it working perfectly well for me.
"/admin ADD_HELP_TOPIC TEST TESTING THIS IS A TEST"
RA: Added help topic "TEST"
Then I try "/help" and "/help TEST"
Nothing happens
Any suggestions?
Also, can I use "\n" in "ADD_NEW_TOPIC"?
Funny thing is, I remember doing this away back in 2009 when this thread was created and remember it working perfectly well for me.
Re: Help adding help topic
I barely remember how to do this, but it shouldn't be too difficult to figure out again. Try putting the help message in quotes? I think there was some kind of marker for start and end that needed to be added.
Re: Help adding help topic
ok, so I've now tried
Still, when I get "RA: Added help topic "[1]", naturally, I type /help [1].
Still comes up nothing, not even an INVALID_COMMAND
Confused
Code: Select all
// These two turn out the same "RA: Added help topic "1"
ADD_HELP_TOPIC 1 1 1
ADD_HELP_TOPIC "1" "1" "1"
// These give me RA: Added help topic "[1]" all brackets do the same!
ADD_HELP_TOPIC (1) (1) (1)
ADD_HELP_TOPIC {1} {1} {1}
ADD_HELP_TOPIC <1> <1> <1>
ADD_HELP_TOPIC [1] [1] [1]
Still comes up nothing, not even an INVALID_COMMAND
Confused
Re: Help adding help topic
Heh, not what I meant.
add_help_topic dbinding "Using multiple keys is called...etc."
Try using a single (short) word (the headline of your help topic, if you will), then add the text in quotes, e.g.:Try putting the help message in quotes?
add_help_topic dbinding "Using multiple keys is called...etc."
Re: Help adding help topic
On sty+ct servers, /help seems to be broken. That's probably it. I'll have a quick search if there's a way to fix it.
Edit:
In this thread Z-Man apparently fixed it in sty+ct r755 but it seems to be back again. On my sty+ct r786 server it does what's described in the old thread:
Edit:
In this thread Z-Man apparently fixed it in sty+ct r755 but it seems to be back again. On my sty+ct r786 server it does what's described in the old thread:
Z-Man wrote:It's not exactly broken, but sty had a previous feature that blocks it: /help displays the content of the setting HELP_MESSAGE there.
Re: Help adding help topic
I get what you mean but even if I made the <topic> quoted it should'a showed as "RA: Added help topic ""1""Word wrote:Heh, not what I meant.
Try using a single (short) word (the headline of your help topic, if you will), then add the text in quotes, e.g.:Try putting the help message in quotes?
add_help_topic dbinding "Using multiple keys is called...etc."
So no, that's not it.
I think vov might be right because back when I remember it working, I wasn't using sty+ct.
If you find out, please let me know, vov.
Cheers.
Re: Help adding help topic
Having had a quick look at the code, it seems to be like this:
In r755, Z-Man fixed it, while in r767 kyle added it back in again. Not sure if there was a bug with it or (what I suspect) an oopsie. If you can compile your server yourself; remove the lines of code as done in r755 (link above), then /help should work with the topics as expected. I'll quickly try it out myself on my sty+ct server.
In r755, Z-Man fixed it, while in r767 kyle added it back in again. Not sure if there was a bug with it or (what I suspect) an oopsie. If you can compile your server yourself; remove the lines of code as done in r755 (link above), then /help should work with the topics as expected. I'll quickly try it out myself on my sty+ct server.
Re: Help adding help topic
Having tested it on my server after performing the changes of r755 (removing the lines from the "old" help command), it seems to work without a problem.
As for its syntax, what just worked for me: ADD_HELP_TOPIC test "This is a test" "Text Text Text Text Text\nText Text Text"
As for its syntax, what just worked for me: ADD_HELP_TOPIC test "This is a test" "Text Text Text Text Text\nText Text Text"
Re: Help adding help topic
It's one of Duke's Rx servers I use, I'll have to ask him to do it.
Thanks, vov.
Thanks, vov.
Re: Help adding help topic
What server are you hosted on?ConVicT wrote:It's one of Duke's Rx servers I use, I'll have to ask him to do it.
Thanks, vov.
Re: Help adding help topic
London.
I am co-owner of "The Prison Yard".
I am co-owner of "The Prison Yard".
Re: Help adding help topic
Yeah, I tried that way too, it still gave me nothingvov wrote: As for its syntax, what just worked for me: ADD_HELP_TOPIC test "This is a test" "Text Text Text Text Text\nText Text Text"
I've asked around and apparently making my server +ap is the way to go.
Not only will that work, but there's a lot of extras on there.
Thanks for the help, everyone, I really appreciate it.
P.S Would it make a difference, Light? As far as I can see, they're all the same.