Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Making a bot go to another arena

 
Post new topic   Reply to topic Printable version
 View previous topic  teleporting tiles is lagged Post :: Post dodgeball  View next topic  
Author Message
tansey
Novice


Joined: Nov 03 2004
Posts: 53
Offline

PostPosted: Tue Nov 09, 2004 6:03 pm    Post subject: Making a bot go to another arena Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Nov 09, 2004 8:33 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Tue Nov 09, 2004 9:48 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Nov 09, 2004 10:47 pm    Post subject: Reply to topic Reply with quote

He's talking about having a plugin make the bot switch arenas.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Nov 10, 2004 12:05 am    Post subject: Reply to topic Reply with quote

I think it'd be fun to make a Mr Arrogant plugin like TW has to kick of idle players.. biggrin.gif
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
tansey
Novice


Joined: Nov 03 2004
Posts: 53
Offline

PostPosted: Wed Nov 10, 2004 12:34 am    Post subject: Reply to topic Reply with quote

Cyan~Fire wrote:
Send an EVENT_ChangeArena.


How do I send events like that?

--tansey
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Nov 10, 2004 12:41 am    Post subject: Reply to topic Reply with quote

tell(makeChangeArena(-data-)) ?

I don't remember the events anymore :/
Back to top
View users profile Send private message Add User to Ignore List
Nightattack
Guest


Offline

PostPosted: Wed Nov 10, 2004 1:20 am    Post subject: Reply to topic Reply with quote

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:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Wed Nov 10, 2004 1:31 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Nov 10, 2004 9:52 am    Post subject: Reply to topic Reply with quote

Boo ya icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Wed Nov 10, 2004 6:37 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:35
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2019
Offline

PostPosted: Thu Nov 11, 2004 12:50 pm    Post subject: Reply to topic Reply with quote

Oooh a plugin... icon_confused.gif
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 99 page(s) served in previous 5 minutes.

phpBB Created this page in 0.431464 seconds : 36 queries executed (94.0%): GZIP compression disabled