Server Help

Bot Questions - AI Bot 1.0 released

Bjorn - Sat Oct 29, 2005 12:12 pm
Post subject: AI Bot 1.0 released
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
Maverick - Sat Oct 29, 2005 12:15 pm
Post subject:
awesome, good job biggrin.gif !
Default - Sat Oct 29, 2005 2:55 pm
Post subject:
I can also say "Great job" icon_wink.gif
Bjorn - Sat Oct 29, 2005 7:06 pm
Post subject:
Theres already a 1.01 out with a important bug fix btw so disregard the topic title tongue.gif
Default - Sun Oct 30, 2005 4:16 am
Post subject:
That was quick icon_wink.gif
Anonymous - Sun Oct 30, 2005 11:49 am
Post subject: Bj
Wow, Bjorn good job!

Btw, what's your zone's name besides the dev zone
D1st0rt - Sun Oct 30, 2005 12:34 pm
Post subject:
Death Star Battle
Anonymous - Sun Oct 30, 2005 6:09 pm
Post subject: Hm
I cant get it to work....

It keeps sayin can't decompress map file then it behaves like normal merv..
Purge - Sun Oct 30, 2005 8:13 pm
Post subject:
I got it to work using !start. icon_confused.gif
Default - Sun Oct 30, 2005 8:17 pm
Post subject:
I got it to work also, with no problems icon_wink.gif
Bjorn - Mon Oct 31, 2005 7:55 am
Post subject: Re: Hm
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.
cypherus - Thu Nov 24, 2005 3:19 am
Post subject:
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:

Bjorn - Thu Nov 24, 2005 3:39 am
Post subject:
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.
cypherus - Thu Nov 24, 2005 11:50 am
Post subject:
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.
Default - Thu Nov 24, 2005 12:29 pm
Post subject:
Hmm I will host it if you want me to.
Purge - Thu Nov 24, 2005 12:57 pm
Post subject:
Try and add the bot's name onto VIP.txt.
Default - Thu Nov 24, 2005 1:10 pm
Post subject:
I will check it when it is back online.
Bjorn - Thu Nov 24, 2005 1:57 pm
Post subject:
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
cypherus - Thu Nov 24, 2005 10:34 pm
Post subject:
I'm not one to give up, and it paid off. It finally works. Good job Bjorn. icon_biggrin.gif
Bjorn - Fri Nov 25, 2005 3:01 pm
Post subject:
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
cypherus - Fri Nov 25, 2005 5:44 pm
Post subject:
Alright! I will. icon_smile.gif
Anonymous - Thu Mar 23, 2006 12:15 am
Post subject:
is this file out there? where can I get it? [the previous site is dead] please let me knowin
Maverick - Thu Mar 23, 2006 2:33 am
Post subject:
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
Anonymous - Thu Mar 23, 2006 4:46 pm
Post subject:
thx got it
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group