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
AI Bot 1.0 released

 
Post new topic   Reply to topic Printable version
 View previous topic  Bot help needed. Post :: Post [need help] how do I start AI Bot in a...  View next topic  
Author Message
Bjorn
Novice


Joined: Apr 27 2004
Posts: 45
Offline

PostPosted: Sat Oct 29, 2005 12:12 pm    Post subject: AI Bot 1.0 released Reply to topic Reply with quote

I have decided to release a version of the AI bot I've been making off and on the last year or so.

Info and download at:
dsbleague.com/aibot.html


I'm really interested in feedback and suggestions on this.


ps. no you can't have the source

/Bjorn
Back to top
View users profile Send private message Add User to Ignore List Send email
Maverick
broken record


Age:39
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sat Oct 29, 2005 12:15 pm    Post subject: Reply to topic Reply with quote

awesome, good job biggrin.gif !
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Default
Server Help Squatter


Age:43
Gender:Gender:Female
Joined: Aug 25 2005
Posts: 286
Offline

PostPosted: Sat Oct 29, 2005 2:55 pm    Post subject: Reply to topic Reply with quote

I can also say "Great job" icon_wink.gif
Back to top
View users profile Send private message Add User to Ignore List MSN Messenger
Bjorn
Novice


Joined: Apr 27 2004
Posts: 45
Offline

PostPosted: Sat Oct 29, 2005 7:06 pm    Post subject: Reply to topic Reply with quote

Theres already a 1.01 out with a important bug fix btw so disregard the topic title tongue.gif
Back to top
View users profile Send private message Add User to Ignore List Send email
Default
Server Help Squatter


Age:43
Gender:Gender:Female
Joined: Aug 25 2005
Posts: 286
Offline

PostPosted: Sun Oct 30, 2005 4:16 am    Post subject: Reply to topic Reply with quote

That was quick icon_wink.gif
Back to top
View users profile Send private message Add User to Ignore List MSN Messenger
Kitsune
Guest


Offline

PostPosted: Sun Oct 30, 2005 11:49 am    Post subject: Bj Reply to topic Reply with quote

Wow, Bjorn good job!

Btw, what's your zone's name besides the dev zone
Back to top
D1st0rt
Miss Directed Wannabe


Age:36
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Oct 30, 2005 12:34 pm    Post subject: Reply to topic Reply with quote

Death Star Battle
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Kitsune
Guest


Offline

PostPosted: Sun Oct 30, 2005 6:09 pm    Post subject: Hm Reply to topic Reply with quote

I cant get it to work....

It keeps sayin can't decompress map file then it behaves like normal merv..
Back to top
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:34
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2018
Offline

PostPosted: Sun Oct 30, 2005 8:13 pm    Post subject: Reply to topic Reply with quote

I got it to work using !start. icon_confused.gif
Back to top
View users profile Send private message Add User to Ignore List
Default
Server Help Squatter


Age:43
Gender:Gender:Female
Joined: Aug 25 2005
Posts: 286
Offline

PostPosted: Sun Oct 30, 2005 8:17 pm    Post subject: Reply to topic Reply with quote

I got it to work also, with no problems icon_wink.gif
Back to top
View users profile Send private message Add User to Ignore List MSN Messenger
Bjorn
Novice


Joined: Apr 27 2004
Posts: 45
Offline

PostPosted: Mon Oct 31, 2005 7:55 am    Post subject: Re: Hm Reply to topic Reply with quote

Kitsune wrote:
I cant get it to work....

It keeps sayin can't decompress map file then it behaves like normal merv..


The can't decompress map msg has nothing to do with the bot working or not. It's probably another problem causing the bot not to work.

Either be abit more specific about whats happening or post the ini files here so I can have a look.

And there's always the option of contacting me in game for help.
Back to top
View users profile Send private message Add User to Ignore List Send email
cypherus
Novice


Age:110
Joined: Nov 23 2005
Posts: 44
Offline

PostPosted: Thu Nov 24, 2005 3:19 am    Post subject: Reply to topic Reply with quote

I'm getting the same error about it being unable to decompress news file. I'll provide the details for you.
AI.cfg
Code: Show/Hide
//AI Bot by Bjorn
//Help is available at the bottom of the file


Map=startrek.lvl
Active=1
Shooting=1
EnergyPW=**********


[Ship1]
SpreadMost=50
SpreadLeast=20

BulletRateDist=350
BulletRateSlowdown=40

DodgeHit=5
DodgePredHit=5

OpDist1=50
OpDist2=100
OpDist3=150
OpDist4=250

RechargeDist=600


[Ship2]
SpreadMost=50
SpreadLeast=20

BulletRateDist=450
BulletRateSlowdown=30

DodgeHit=5
DodgePredHit=5

OpDist1=25
OpDist2=50
OpDist3=150
OpDist4=250

RechargeDist=550

[Ship3]
SpreadMost=40
SpreadLeast=20

BulletRateDist=450
BulletRateSlowdown=30

DodgeHit=1
DodgePredHit=1

OpDist1=50
OpDist2=450
OpDist3=500
OpDist4=550

RechargeDist=650

[Ship4]
SpreadMost=40
SpreadLeast=20

BulletRateDist=450
BulletRateSlowdown=30

DodgeHit=5
DodgePredHit=5

OpDist1=50
OpDist2=350
OpDist3=400
OpDist4=550

RechargeDist=600

[Ship5]
SpreadMost=40
SpreadLeast=20

BulletRateDist=450
BulletRateSlowdown=30

DodgeHit=1
DodgePredHit=1

OpDist1=25
OpDist2=50
OpDist3=250
OpDist4=350

RechargeDist=550

[Ship6]
SpreadMost=800
SpreadLeast=400

BulletRateDist=450
BulletRateSlowdown=30

DodgeHit=1
DodgePredHit=1

OpDist1=50
OpDist2=450
OpDist3=500
OpDist4=550

RechargeDist=650

[Ship7]
SpreadMost=40
SpreadLeast=20

BulletRateDist=450
BulletRateSlowdown=30

DodgeHit=1
DodgePredHit=1

OpDist1=50
OpDist2=150
OpDist3=250
OpDist4=350

RechargeDist=550

[Ship8]
SpreadMost=0
SpreadLeast=0

BulletRateDist=50
BulletRateSlowdown=2

DodgeHit=1
DodgePredHit=1

OpDist1=50
OpDist2=65
OpDist3=75
OpDist4=100

RechargeDist=800




//HELP SECTION
//Active. Sets if the bot starts in active mode (takes damage and moves)
//Shooting. Sets if the bot starts in shooting mode (attacks even when not provoked)
//SpreadMost and SpreadLeast are spread values, most=the most it can spread and least is the least it spreads (It will never spread all the time so dont put least at 0)
//BulletRateDist is distance away from target where bot starts shooting with slower Bullet Fire rate
//BulletRateSlowdown is how much slower the bot fires after reaching BulletRateDist. Increases proportionally to BulletRateDist (Low number low bullet rate)
//DodgeHit is hits on bot within a 0,5 sec time period that will trigger dodging
//DodgePredHit is predicted possible hits on bot within a 1 sec time period that will trigger dodging
//Opdistx (x=number) is Operational distances in pixles. Is somewhat used randomly but should be set from most agressive(1) to most defensive(4)
//RechargeDist is distance bot tries to keep when recharging in pixles


AISPAWNS.cfg
Code: Show/Hide
//AI Bot by Bjorn
//Help is available at the bottom of the file


[AIspawn1]
X=512
Y=512
Radius=23
RandomSpawn=1
RandomSpawnRadius=50
Ship=8
Freq=-5227

Brick=0
Burst=0
Decoy=0
Repel=0

Health=-1
GunLVL=-1
BombLVL=-1
Thrust=-1
Speed=-1
Recharge=-1
BombFireDelay=-1
BulletFireDelay=-1







//HELP SECTION
//each spawn is made using the [AIspawnx] line. x=number of the spawns possible
//X and Y is the starting position for the bot and the center of its work radius
//Radius is how far away the bot roams and attacks from its start position. (in tiles)
//Ship used by the bot. How it uses each ship is set in AI.ini
//Freq. can set a specific freq or use -1 for random
//Brick,Burst,Decoy,Repel is amounts of each special

//Below you can use -1 to set it to the initial ships setting in the settings file
//Health is the initial energy
//GunLVL is initial gun level
//BombLVL is initial bomb level
//Thrust is initial thrust
//Speed is initial speed
//Recharge is initial recharge
//BombFireDelay is delay between each bomb it can fire
//BulletFireDelay is delay between each bullet it can fire


MERVBOT.cfg
Code: Show/Hide

// WARNING: Do not copy deprecated SSBot.INI or MERVBot.INI contents here.
// README.TXT has a Quick Setup guide.

[Login]
// If you are hosting locally to the server, please set this to 127.0.0.1
Zone=127.0.0.1:8020


// Keeps a Logins.txt file to help remember passwords
RecordLogins=0
// Adjust when arena settings restrict resolution
ResX=1280
ResY=1024

[Database]
Spawns=Spawns.txt
// The following change as in-game state changes:
Commands=Commands.txt
Operators=Operators.txt
// Database automatic save interval (in seconds)
SaveInterval=300

[Misc]
// Terminal window caption
WindowCaption=MERVBot terminal
// Maximum number of in-game spawns (3 is absolute maximum for remote zones)
MaxSpawns=3
// Mask ban information so it remains constant but different from your own
MaskBan=0
// Allow players to send .WAV files to the bot (not stored on disk)
PlayerVoices=0
// No terminal output. This will speed up the bot noticeably
NoTerminal=0
// Ignore commands in public chat? It gets annoying if these aren't ignored
DisablePubCommands=1
// Enable this if the bot is not seeing everyone fast enough
NoisySpectator=1
// Maximum number of failures while logging-in before giving up
MaxConnectionTries=2
// Initial billing network ?chat channels
InitialChatChannels=

[Security]
// Log chatter to BotName.log (slow diagnostic tool), turn off when not using it!
ChatterLog=0
// Should I listen to (possibly spoofed) remote private messages?
RemoteInterpreter=1
// If so, should I listen to remote private messages from passworded operators?
RemoteOperator=1
// Encrypt network traffic? (required sg1.34.12+)
EncryptMode=1

[Registration]
// Change these if the bot has trouble creating new accounts
Name=yy
Email=y@y.ey
State=a
Age=18


Operators.txt

Code: Show/Hide
5 :cypherus:


SPAWNS.txt
Code: Show/Hide
Kanyon:Kanyon672:0:AI:




Screenshot of the error.

error.JPG - 126.21 KB
File downloaded or viewed 60 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Bjorn
Novice


Joined: Apr 27 2004
Posts: 45
Offline

PostPosted: Thu Nov 24, 2005 3:39 am    Post subject: Reply to topic Reply with quote

The message about the news file probably isn't the real problem youre having.

Hard to say what exactly it is but I noticed youre letting the bot create the botname for itself. try creating the name the bot is going to use manually by entering with it using continuum.

also the freq setting Freq=-5227 is invalid. it needs to be -1 for random freq or from 0 to 9999. Probably has nothing to do with the reason its not connecting right though.
And the Radius setting you have of 23 is kinda low. might wanna increase that to around 200 tiles. If you have it at 23 the bot will stop fighting and go back to startpoint every time it gets outside a 23 tile radius.

One more thing I noticed is the energy pw setting (Not sure if thats what you have it set to or if youre just hiding it when posting) but having it set to ********** might cause probs since subspace commands start with *. Just something that crossed my mind and probably isn't related to the real prob either icon_smile.gif

I'd say try the first thing I mentioned and post back if it's still not working.
Back to top
View users profile Send private message Add User to Ignore List Send email
cypherus
Novice


Age:110
Joined: Nov 23 2005
Posts: 44
Offline

PostPosted: Thu Nov 24, 2005 11:50 am    Post subject: Reply to topic Reply with quote

Errors Ahoy! Lol. I'll post a screeny. It also gave me a earlier error about the server not letting it enter because it needed a Continuum client, so I had to set ContinuumOnly to 0.

By the way, ********** was set to sensor the password.




Screenshot of the second error.

error.JPG - 126.21 KB
File downloaded or viewed 56 time(s)
Back to top
View users profile Send private message Add User to Ignore List
Default
Server Help Squatter


Age:43
Gender:Gender:Female
Joined: Aug 25 2005
Posts: 286
Offline

PostPosted: Thu Nov 24, 2005 12:29 pm    Post subject: Reply to topic Reply with quote

Hmm I will host it if you want me to.
Back to top
View users profile Send private message Add User to Ignore List MSN Messenger
Purge
Episode I > Eposide III
Jar-Jar is kool


Age:34
Gender:Gender:Male
Joined: Sep 08 2004
Posts: 2018
Offline

PostPosted: Thu Nov 24, 2005 12:57 pm    Post subject: Reply to topic Reply with quote

Try and add the bot's name onto VIP.txt.
Back to top
View users profile Send private message Add User to Ignore List
Default
Server Help Squatter


Age:43
Gender:Gender:Female
Joined: Aug 25 2005
Posts: 286
Offline

PostPosted: Thu Nov 24, 2005 1:10 pm    Post subject: Reply to topic Reply with quote

I will check it when it is back online.
Back to top
View users profile Send private message Add User to Ignore List MSN Messenger
Bjorn
Novice


Joined: Apr 27 2004
Posts: 45
Offline

PostPosted: Thu Nov 24, 2005 1:57 pm    Post subject: Reply to topic Reply with quote

Purge+ wrote:
Try and add the bot's name onto VIP.txt.


Forgot about that bit.

The bot needs to either be on vip.txt and have the correct energy password defined in ai.ini OR be on sysop.txt and use the sysoppassword to login

the spawns.txt should then look something like this:
Kanyon:Kanyon672:0:AI:sysoppassword
Back to top
View users profile Send private message Add User to Ignore List Send email
cypherus
Novice


Age:110
Joined: Nov 23 2005
Posts: 44
Offline

PostPosted: Thu Nov 24, 2005 10:34 pm    Post subject: Reply to topic Reply with quote

I'm not one to give up, and it paid off. It finally works. Good job Bjorn. icon_biggrin.gif
Back to top
View users profile Send private message Add User to Ignore List
Bjorn
Novice


Joined: Apr 27 2004
Posts: 45
Offline

PostPosted: Fri Nov 25, 2005 3:01 pm    Post subject: Reply to topic Reply with quote

cypherus wrote:
I'm not one to give up, and it paid off. It finally works. Good job Bjorn. icon_biggrin.gif


Congrats! icon_smile.gif

btw, theres a new version coming out in a day or two with alot of improvements so keep checking back
Back to top
View users profile Send private message Add User to Ignore List Send email
cypherus
Novice


Age:110
Joined: Nov 23 2005
Posts: 44
Offline

PostPosted: Fri Nov 25, 2005 5:44 pm    Post subject: Reply to topic Reply with quote

Alright! I will. icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
Guest



Offline

PostPosted: Thu Mar 23, 2006 12:15 am    Post subject: Reply to topic Reply with quote

is this file out there? where can I get it? [the previous site is dead] please let me knowin
Back to top
Maverick
broken record


Age:39
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Thu Mar 23, 2006 2:33 am    Post subject: Reply to topic Reply with quote

Anonymous wrote:
is this file out there? where can I get it? [the previous site is dead] please let me knowin

http://www.dsbleague.com/aibot.html works and the downloadable files at that page aswell
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Guest



Offline

PostPosted: Thu Mar 23, 2006 4:46 pm    Post subject: Reply to topic Reply with quote

thx got it
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: 691 page(s) served in previous 5 minutes.

phpBB Created this page in 0.632666 seconds : 50 queries executed (88.1%): GZIP compression disabled