Author |
Message |
tansey Novice
Joined: Nov 03 2004 Posts: 53 Offline
|
Posted: Tue Nov 09, 2004 6:03 pm Post subject: Making a bot go to another arena |
 |
|
|
|
How do I make a bot change arenas while running...I tried having it sendPublic( "?go arena" ); but that doesn't seem to work.
Any ideas?
--tansey |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Nov 09, 2004 8:33 pm Post subject: |
 |
|
|
|
Send an EVENT_ChangeArena. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:35 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Tue Nov 09, 2004 9:48 pm Post subject: |
 |
|
|
|
If you are running a MERV core then simply login as an Smod lvl 3 on the bot, and hit !go arena.
Is that what u mean? |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Nov 09, 2004 10:47 pm Post subject: |
 |
|
|
|
He's talking about having a plugin make the bot switch arenas. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Nov 10, 2004 12:05 am Post subject: |
 |
|
|
|
I think it'd be fun to make a Mr Arrogant plugin like TW has to kick of idle players..  _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
 |
tansey Novice
Joined: Nov 03 2004 Posts: 53 Offline
|
Posted: Wed Nov 10, 2004 12:34 am Post subject: |
 |
|
|
|
Cyan~Fire wrote: | Send an EVENT_ChangeArena. |
How do I send events like that?
--tansey |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Nov 10, 2004 12:41 am Post subject: |
 |
|
|
|
tell(makeChangeArena(-data-)) ?
I don't remember the events anymore :/ |
|
Back to top |
|
 |
Nightattack Guest
Offline
|
Posted: Wed Nov 10, 2004 1:20 am Post subject: |
 |
|
|
|
if you're using MERVBot just login as owner and pm it with !go <arena name> |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Wed Nov 10, 2004 1:31 am Post subject: |
 |
|
|
|
The declaration-----
BotEvent makeChangeArena(char *name);
What the core does---
case EVENT_ChangeArena:
{
String name = (char*)event.p[0];
if (!invalidArena(name.msg))
h->changeArena(name.msg);
}
Example---
tell(makeChangeArena("arena")); |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Nov 10, 2004 9:52 am Post subject: |
 |
|
|
|
Boo ya  |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Wed Nov 10, 2004 6:37 pm Post subject: |
 |
|
|
|
Just to let you know, all the events along with what they do are listed in dllcore.h. It also contains prototypes for functions that can make the events for you. |
|
Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:35 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Thu Nov 11, 2004 12:50 pm Post subject: |
 |
|
|
|
Oooh a plugin...  |
|
Back to top |
|
 |
|