| View previous topic :: View next topic |
| Author |
Message |
GregM Lux Newbie

Joined: 01 Jun 2005 Posts: 257
|
Posted: Tue May 30, 2006 6:06 pm Post subject: BotOMatic: A customizable bot |
|
|
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 |
|
 |
Bertrand Reaper Creator

Joined: 28 Nov 2005 Posts: 585 Location: Montreal
|
Posted: Tue May 30, 2006 6:11 pm Post subject: |
|
|
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 |
|
 |
GregM Lux Newbie

Joined: 01 Jun 2005 Posts: 257
|
Posted: Tue May 30, 2006 6:28 pm Post subject: |
|
|
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.  |
|
| Back to top |
|
 |
Bertrand Reaper Creator

Joined: 28 Nov 2005 Posts: 585 Location: Montreal
|
Posted: Tue May 30, 2006 7:00 pm Post subject: |
|
|
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 |
|
 |
hoodie Burning Man

Joined: 18 Jun 2005 Posts: 4751 Location: San Francisco
|
Posted: Tue May 30, 2006 7:05 pm Post subject: |
|
|
You rock, Greg! I can't wait to try it. |
|
| Back to top |
|
 |
hoodie Burning Man

Joined: 18 Jun 2005 Posts: 4751 Location: San Francisco
|
Posted: Tue May 30, 2006 7:12 pm Post subject: |
|
|
| 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 |
|
 |
GregM Lux Newbie

Joined: 01 Jun 2005 Posts: 257
|
Posted: Tue May 30, 2006 7:27 pm Post subject: |
|
|
| 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. 
Last edited by GregM on Tue May 30, 2006 7:28 pm; edited 1 time in total |
|
| Back to top |
|
 |
dustin Lux Admin


Joined: 15 May 2003 Posts: 9134 Location: Vancouver
|
Posted: Tue May 30, 2006 8:13 pm Post subject: |
|
|
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 |
|
 |
hoodie Burning Man

Joined: 18 Jun 2005 Posts: 4751 Location: San Francisco
|
Posted: Wed May 31, 2006 12:01 am Post subject: |
|
|
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.
 |
|
| Back to top |
|
 |
Bertrand Reaper Creator

Joined: 28 Nov 2005 Posts: 585 Location: Montreal
|
Posted: Wed May 31, 2006 5:59 pm Post subject: |
|
|
| 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 |
|
 |
Eice Frozen One

Joined: 17 Nov 2005 Posts: 757 Location: In The Omni-Holy Church of Lux
|
Posted: Sun Nov 05, 2006 7:56 pm Post subject: |
|
|
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 |
|
 |
GregM Lux Newbie

Joined: 01 Jun 2005 Posts: 257
|
Posted: Sun Nov 05, 2006 8:28 pm Post subject: |
|
|
| 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 |
|
 |
dustin Lux Admin


Joined: 15 May 2003 Posts: 9134 Location: Vancouver
|
Posted: Mon Nov 06, 2006 12:33 am Post subject: |
|
|
| 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 |
|
 |
Drifter Lux Moderator


Joined: 20 Nov 2005 Posts: 6651 Location: An undisclosed location... for reasons of security, and therefore... insecurity...
|
Posted: Mon Nov 06, 2006 1:49 am Post subject: |
|
|
| 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 |
|
 |
dustin Lux Admin


Joined: 15 May 2003 Posts: 9134 Location: Vancouver
|
Posted: Mon Nov 06, 2006 2:43 am Post subject: |
|
|
| I do not think that the guest things would work. Trying it out would tell you for sure. |
|
| Back to top |
|
 |
Drifter Lux Moderator


Joined: 20 Nov 2005 Posts: 6651 Location: An undisclosed location... for reasons of security, and therefore... insecurity...
|
Posted: Mon Nov 06, 2006 2:57 am Post subject: |
|
|
| Just throwing out another one of my goofy ideas so others can maybe try it. |
|
| Back to top |
|
 |
PJB Lux Capo

Joined: 22 Nov 2008 Posts: 507 Location: The Netherlands
|
Posted: Fri Feb 11, 2011 3:54 pm Post subject: |
|
|
| Am i correct that the "botomatic setup" doesnt work on a headless host? |
|
| Back to top |
|
 |
dustin Lux Admin


Joined: 15 May 2003 Posts: 9134 Location: Vancouver
|
Posted: Sun Feb 13, 2011 4:01 pm Post subject: |
|
|
| 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 |
|
 |
PJB Lux Capo

Joined: 22 Nov 2008 Posts: 507 Location: The Netherlands
|
Posted: Mon Feb 14, 2011 11:16 am Post subject: |
|
|
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 |
|
 |
|