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
Bot Programming

 
Post new topic   Reply to topic Printable version
 View previous topic  AI bot problem. Post :: Post Bots uploaded  View next topic  
Author Message
Mr. Beefy
Guest


Offline

PostPosted: Thu Jun 01, 2006 4:42 am    Post subject: Bot Programming Reply to topic Reply with quote

I'm not a SysOp or a Mod or anything, just a user, and I was trying to figure out how to make a "Bot" (using this term loosely) while I'm playing.

I figured FindWindow/Ex(...) would do the trick nicely. When Subspace is minimized (Alt+Tab), I just spied for the classes, etc. This was in vain because none of the LB_XXXXX/WM_XXXXX messages didn't work. So then I got the class of the window when it's not minimized. This seemed to work. I could send messages using WM_CHAR (with "\r\n" at the end of the message). The only way I could figure out how to get a player's name was to do "?log somefile"; then I would just read in that file and get it.

I'm curious of how the bots work. Do you have to be a SysOp/Mod? Can you even use windows messages to do everything? If I have to use WinSock, what messages do you have to send in order to get player's name and send stuff to the chat? Could I use DirectPlay even?

At least, is there any code that just sends stuff to the chat but while I'm playing.

I know C++ and Java (don't know WinSock in Java though).

Any help will be appreciated. Thanks.
Back to top
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Thu Jun 01, 2006 8:24 am    Post subject: Reply to topic Reply with quote

All the bots are stand-alone clients. They do not work through Continuum. They make their own connections to the server, login, receive settings and player lists, and send/recv text as normal. Most bots run as sysops so they can use commands like *arena, *warpto, *spec, etc. Some bots do not handle security stuff, so they have to be sysops (or VIP) to avoid being booted.
_________________
4,691 irradiated haggis!
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: Thu Jun 01, 2006 11:16 am    Post subject: Reply to topic Reply with quote

Well, all bots have to be >=smod or VIP because they use Subspace encryption, not the improved Continuum encryption. That is, unless you allow Subspace clients into your game, which is a big security risk.
_________________
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
Mr. Beefy
Guest


Offline

PostPosted: Thu Jun 01, 2006 3:50 pm    Post subject: Reply to topic Reply with quote

So how would I make a Bot to run through continuum?
Back to top
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Thu Jun 01, 2006 3:52 pm    Post subject: Reply to topic Reply with quote

You can't.
Back to top
View users profile Send private message Add User to Ignore List
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Fri Jun 02, 2006 6:16 pm    Post subject: Reply to topic Reply with quote

Well, you can always do what he suggested in his first paragraph, but youll be very limited in functionality and reliability.
_________________
There are 7 user(s) ignoring me right now.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
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: 37 page(s) served in previous 5 minutes.

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