Sillysoft
Steam users, please help Greenlight Lux Delux!
Sillysoft Forums
Forums Of Universal Domination 
Games
About - FAQ
Download - Buy
Lux Delux
Maps - Rankings
Download - Buy
Castle Vox
Maps - Rankings
Download - Buy
Forums
Join the Forums
Log in - Memberlist
  RSS feeds  
Art - Wiki
News - Search
BotOMatic: A customizable bot

 
Post new topic   Reply to topic    Sillysoft Games Forum Index -> Robot House
View previous topic :: View next topic  
Author Message
GregM
Lux Newbie


Joined: 01 Jun 2005
Posts: 257

PostPosted: Tue May 30, 2006 6:06 pm    Post subject: BotOMatic: A customizable bot Reply with quote

You can now find a new bot on the plugin manager: BotOMatic. BotOMatic is a bot whose strategy and chat personality you can customize. This works through a graphical interface you can access while playing a game with the bot. Just play a private network game with BotOMatic and type "botomatic setup" to access a bot setup window. Instructions about how to work with BotOMatic can be found at http://sillysoft.net/wiki/?BotOMatic

Some examples of things you can create with BotOMatic:

-a "bots first" bot that will try to make a human win the game. You might have the bot say "OK!" whenever someone says "bots first?" in the chat.

-a Jerrybot that insults people and tells whoever kills it that it will suicide on them for x games.

-a Bushbot with an appropriately stupid strategy and plenty of insults. There is a "never take over" option for this, too.

-Any kind of chat personality you can think up, paired with the strategy of any other bot

I hope people find this interesting.


Last edited by dustin on Sun Aug 23, 2009 7:49 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail View GregM's ranking
Bertrand
Reaper Creator


Joined: 28 Nov 2005
Posts: 585
Location: Montreal

PostPosted: Tue May 30, 2006 6:11 pm    Post subject: Reply with quote

Great idea, looking forward to trying it.

When I type "botomatic setup", nothing happens.

In the log, I found the following message:

java.lang.IncompatibleClassChangeError
at org.mcglynns.lux.BotOMatic.setPrefs(BotOMatic.java:1119)
at com.sillysoft.lux.B.N(Unknown Source)
at com.sillysoft.lux.gui.G.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Back to top
View user's profile Send private message Send e-mail View Bertrand's ranking
GregM
Lux Newbie


Joined: 01 Jun 2005
Posts: 257

PostPosted: Tue May 30, 2006 6:28 pm    Post subject: Reply with quote

Hmm. What version of Lux are you using? What version of Java? On that line BotOMatic uses a Board class function dustin gave me to get a certain location in the file system. I think that error means the function has somehow disappeared. It works for me on Lux version 5.31, with Java 5. Confused
Back to top
View user's profile Send private message Send e-mail View GregM's ranking
Bertrand
Reaper Creator


Joined: 28 Nov 2005
Posts: 585
Location: Montreal

PostPosted: Tue May 30, 2006 7:00 pm    Post subject: Reply with quote

I had Lux 5.3, but I retried it with lux 5.31: the error message is gone, but nothing happens when I type botomatic setup. Should I see a Swing popup?


From the log:
Lux version 5.31 is now starting under user Bertrand
-> OS: Windows XP 5.1 x86
-> VM: 1.5.0_06 / 49.0
Back to top
View user's profile Send private message Send e-mail View Bertrand's ranking
hoodie
Burning Man


Joined: 18 Jun 2005
Posts: 4751
Location: San Francisco

PostPosted: Tue May 30, 2006 7:05 pm    Post subject: Reply with quote



You rock, Greg! I can't wait to try it.
Back to top
View user's profile Send private message View hoodie's ranking
hoodie
Burning Man


Joined: 18 Jun 2005
Posts: 4751
Location: San Francisco

PostPosted: Tue May 30, 2006 7:12 pm    Post subject: Reply with quote

I'm on Mac OS 10.4.6, running the newest version of lux, and I can't get the setup window either.
Back to top
View user's profile Send private message View hoodie's ranking
GregM
Lux Newbie


Joined: 01 Jun 2005
Posts: 257

PostPosted: Tue May 30, 2006 7:27 pm    Post subject: Reply with quote

Bertrand wrote:
Should I see a Swing popup?


Yes.

Bertrand wrote:
From the log:
Lux version 5.31 is now starting under user Bertrand
-> OS: Windows XP 5.1 x86
-> VM: 1.5.0_06 / 49.0


And mine is exactly the same. So I have no idea what's going on unless you're misspelling the command. But hoodie's getting the same thing. Sad


Last edited by GregM on Tue May 30, 2006 7:28 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail View GregM's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 9134
Location: Vancouver

PostPosted: Tue May 30, 2006 8:13 pm    Post subject: Reply with quote

It's very likely that BotOMatic will only work on Lux 5.31 and not earlier versions.

Also note, you'll need to have a player set to be BotOMatic in the game for the "botomatic setup" command to work (yes, this might be obvious to everyone, but I thought I would mention it).
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
hoodie
Burning Man


Joined: 18 Jun 2005
Posts: 4751
Location: San Francisco

PostPosted: Wed May 31, 2006 12:01 am    Post subject: Reply with quote

ding ding ding we have a winner
I installed 5.3.1, deleted 5.3, and still somehow was still running 5.3. With the re-installation, I was able to get the botomatic setup window.

Very Happy
Back to top
View user's profile Send private message View hoodie's ranking
Bertrand
Reaper Creator


Joined: 28 Nov 2005
Posts: 585
Location: Montreal

PostPosted: Wed May 31, 2006 5:59 pm    Post subject: Reply with quote

I retried it just now, and to my surprise it works! The only difference I can see is that I had 6 botomatic players in the game, and yesterday I had only 1. I'm pretty sure that I made no typing errors yesterday. Mysterious.
Back to top
View user's profile Send private message Send e-mail View Bertrand's ranking
Eice
Frozen One


Joined: 17 Nov 2005
Posts: 757
Location: In The Omni-Holy Church of Lux

PostPosted: Sun Nov 05, 2006 7:56 pm    Post subject: Reply with quote

Hm...I believe dustin had a botomatic in his room that greeted people when they enter...how can you get a bot to greet people when they enter if they don't say anything?

Other then that I like customizing the bot, very nice greg :D
Back to top
View user's profile Send private message AIM Address View Eice's ranking
GregM
Lux Newbie


Joined: 01 Jun 2005
Posts: 257

PostPosted: Sun Nov 05, 2006 8:28 pm    Post subject: Reply with quote

Eice wrote:
Hm...I believe dustin had a botomatic in his room that greeted people when they enter...how can you get a bot to greet people when they enter if they don't say anything?


I'm not exactly sure, but try setting up the bot to respond to the words "has joined" or whatever is displayed in the chat when someone joins. Maybe dustin has the bot reacting to that.
Back to top
View user's profile Send private message Send e-mail View GregM's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 9134
Location: Vancouver

PostPosted: Mon Nov 06, 2006 12:33 am    Post subject: Reply with quote

Yep, that's it. I have it set to reply for "* has joined >>". I had to make a change in Lux for this to work, so it requires version 5.5.
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
Drifter
Lux Moderator
Lux Moderator


Joined: 20 Nov 2005
Posts: 6651
Location: An undisclosed location... for reasons of security, and therefore... insecurity...

PostPosted: Mon Nov 06, 2006 1:49 am    Post subject: Reply with quote

So would "* no mere guest >>" or "* guest mode >>" work as well for for BotOMatic to talk smack for people guesting in/out? Sorry for the code question, remember I am a pixel pusher, not a programmer.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address View Drifter's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 9134
Location: Vancouver

PostPosted: Mon Nov 06, 2006 2:43 am    Post subject: Reply with quote

I do not think that the guest things would work. Trying it out would tell you for sure.
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
Drifter
Lux Moderator
Lux Moderator


Joined: 20 Nov 2005
Posts: 6651
Location: An undisclosed location... for reasons of security, and therefore... insecurity...

PostPosted: Mon Nov 06, 2006 2:57 am    Post subject: Reply with quote

Just throwing out another one of my goofy ideas so others can maybe try it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address View Drifter's ranking
PJB
Lux Capo


Joined: 22 Nov 2008
Posts: 507
Location: The Netherlands

PostPosted: Fri Feb 11, 2011 3:54 pm    Post subject: Reply with quote

Am i correct that the "botomatic setup" doesnt work on a headless host?
Back to top
View user's profile Send private message Visit poster's website View PJB's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 9134
Location: Vancouver

PostPosted: Sun Feb 13, 2011 4:01 pm    Post subject: Reply with quote

I believe you are correct in that PJB. But you should still be able to manually edit the BotOMatic settings file (located in the Agents dir I think), or start a normal instance of Lux and use that to start the "botomatic setup" command. The same settings will apply to all BotOMatics on the computer.
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
PJB
Lux Capo


Joined: 22 Nov 2008
Posts: 507
Location: The Netherlands

PostPosted: Mon Feb 14, 2011 11:16 am    Post subject: Reply with quote

I started a normal instance of lux and used the "botomatic setup" and setup the bot how i wanted it. Now it works in the room when i use the Lux interface for hosting but it doesnt work in the headless rooms. Ill try to set it up manually.

Thanx
Back to top
View user's profile Send private message Visit poster's website View PJB's ranking
Display posts from previous:   
Post new topic   Reply to topic    Sillysoft Games Forum Index -> Robot House All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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

Meowzers Action Cats is our newest feline fun mobile game. Romp with cute cats on your phone and tablet.

Castle Vox is a simultaneous-turns team strategy boardgame. Diplomacy meets Axis & Allies game.

Lux Delux is an advanced Risk world domination game with over 800 maps, hard AI, and online multi-player.

American History Lux takes you through the wars of USA history. — Ancient Empires Lux spans Babylon to the Roman Empire.

Lux Touch, Lux USA and Lux DLX let you conquer the world on your iPhone, iPod, and iPad.

Sillysoft makes games for Mac OS X, Windows XP/Vista/7 and Linux. Also mobile games for iPhones, iPads, and iPod Touch.

Macintosh users may be interested to see our favorite Mac OS X games. For the full Sillysoft empire check out the sitemap.

Because taking over the world is fun.
                                 - Lux