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
if their ship isnt warbird, set em to warbird...

 
Post new topic   Reply to topic Printable version
 View previous topic  2v2 Dueling Bot By Underlord Post :: Post 1v1 Dueling Bot  View next topic  
Author Message
Dvondrake
Guest


Offline

PostPosted: Fri Jul 01, 2005 10:14 pm    Post subject: if their ship isnt warbird, set em to warbird... Reply to topic Reply with quote

Hi,

I'm a bit of a n00b to bot plugin making for MervBot, and I'd like to know how to do this...

When a player changes ships, if that ship isn't ship one, message them and set them to ship one.

I'm not really a n00b to c++, but yes, I am to bot programming... They don't make it easy to learn what's that, do they? tongue.gif

Thanks,
Doug
Back to top
Muskrat
Server Help Squatter


Age:38
Joined: Aug 24 2004
Posts: 829
Location: Swamp
Offline

PostPosted: Fri Jul 01, 2005 10:38 pm    Post subject: Reply to topic Reply with quote

If you only want 1 ship for a zone/arena, wouldn't it be easier for you to just make all the ships settings and gfx the same?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Purge
Episode I > Eposide III
Jar-Jar is kool


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

PostPosted: Fri Jul 01, 2005 11:21 pm    Post subject: Reply to topic Reply with quote

Or just use the rankbot plugin.
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Fri Jul 01, 2005 11:38 pm    Post subject: Reply to topic Reply with quote

If you know C++, read my tutorial on making plugins at http://forums.minegoboom.com/viewtopic.php?p=41573#41573

the only difference is you want to edit spawns.cpp (look for event_playerentering and event_playership) and put in

if (p->ship != SHIP_Spectator && p->ship != SHIP_Warbird)
sendPrivate(p,"*setship 1");
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Fri Jul 01, 2005 11:42 pm    Post subject: Reply to topic Reply with quote

I have decided to learn C++, got the dummies book and im already on the second chapter biggrin.gif I will be needing some help so expect alot of posts. Anyway i thought there was a plugin liek that at catids place.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Dvondrake
Guest


Offline

PostPosted: Sat Jul 02, 2005 10:20 pm    Post subject: Reply to topic Reply with quote

Ok, that works. Thanks
Back to top
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: 31 page(s) served in previous 5 minutes.

phpBB Created this page in 0.455065 seconds : 30 queries executed (91.0%): GZIP compression disabled