Author |
Message |
Doggeti Server Help Squatter
Age:39 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Tue Jan 14, 2003 7:17 am Post subject: ?commands said by a bot |
|
|
|
|
Is it possible to let the bot perform the '?commands'?
I tried !say ?away The bot is currently away. But not the bot said it but me. The chatline that appeared looked like this:
Doggeti>!say ?away The bot is currently away
What can I do to let the bot use these commands?
|
|
Back to top |
|
|
SOS Server Help Squatter
Joined: Dec 02 2002 Posts: 329 Offline
|
Posted: Tue Jan 14, 2003 9:10 am Post subject: |
|
|
|
|
Yes, bots can use server commands, but it is disabled in MERVBot for security reasons.
And ?away is not a real command(you just type it like a command), which is why it does not work with bots. _________________ 3y3 4m l33t h4x0r
j0! 3y3 4m t4lking to j00!
fux0red 5cr1pt k1dd13.
-"l33t h41ku"
|
|
Back to top |
|
|
Mine GO BOOM Hunch Hunch What What
Age:40 Gender: Joined: Aug 01 2002 Posts: 3614 Location: Las Vegas Offline
|
Posted: Tue Jan 14, 2003 9:58 am Post subject: |
|
|
|
|
A few things, such as ?away, ?ping, ?time, ?crown, ?flags, ?team, etc are local commands that Continuum does for you. So in other words, means you have to add it to your bot if you want it.
|
|
Back to top |
|
|
Doggeti Server Help Squatter
Age:39 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Tue Jan 14, 2003 11:00 am Post subject: |
|
|
|
|
I think I understand the problem but what are the server-commands continuum uses and which must be added to the bot?
|
|
Back to top |
|
|
SOS Server Help Squatter
Joined: Dec 02 2002 Posts: 329 Offline
|
Posted: Tue Jan 14, 2003 12:44 pm Post subject: |
|
|
|
|
Nothing must be added to support server commands, just the security block must be removed. Altough then anyone who can make the bot !say something can mess up the zone...
|
|
Back to top |
|
|
Doggeti Server Help Squatter
Age:39 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Wed Jan 15, 2003 5:36 am Post subject: |
|
|
|
|
Oh, thats no problem. For the next time I will be the only one to have control over the bot. So where can I turn off the security block?
|
|
Back to top |
|
|
SOS Server Help Squatter
Joined: Dec 02 2002 Posts: 329 Offline
|
Posted: Wed Jan 15, 2003 5:53 am Post subject: |
|
|
|
|
Well, you'll have to recompile the exe to do it. It should be in command.cpp, just find the entry for the !say command there and remove the checking for commands.
|
|
Back to top |
|
|
Doggeti Server Help Squatter
Age:39 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Wed Jan 15, 2003 11:15 am Post subject: |
|
|
|
|
Problem! I don't have a Compiler.
|
|
Back to top |
|
|
Dr Brain Flip-flopping like a wind surfer
Age:38 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Jan 15, 2003 11:44 am Post subject: |
|
|
|
|
You can probably get Dev C++ to do it, as you arent doing a .dll.
|
|
Back to top |
|
|
SOS Server Help Squatter
Joined: Dec 02 2002 Posts: 329 Offline
|
Posted: Wed Jan 15, 2003 11:37 pm Post subject: |
|
|
|
|
Here.
No !say *|? block
MERVBot.zip - 131.89 KB
File downloaded or viewed 38 time(s)
|
|
Back to top |
|
|
Doggeti Server Help Squatter
Age:39 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Thu Jan 16, 2003 5:00 pm Post subject: |
|
|
|
|
Thank you very much. I will test it out soon.
|
|
Back to top |
|
|
|