AOChatProxy 2.0 (for orgs with more than 1K members)

Budabot releases
Tyrence
Posts: 2007
Joined: Sat Jan 09, 2010 1:32 am

AOChatProxy 2.0 (for orgs with more than 1K members)

Postby Tyrence » Tue Dec 19, 2017 5:08 am

You can download from here: https://github.com/bigwheels16/AOChatProxy/releases

Installation Instructions:
1) Install Java if you don't already have it installed
2) Download and extract AOChatProxy from link above
3) Edit config.properties file with appropriate information

You will now need to edit the Budabot config. First, configure Budabot as you normally would. Then, make these changes:
Find this line in your config file (./conf/config.php):
$vars['use_proxy'] = 0;

Change to this:
$vars['use_proxy'] = 1;

Then save the file and close. I would suggest making a backup of your config file before making this change just in case.

Now start the AO Chat Proxy by calling run.sh (Linux) or run.bat (Windows). If everthing works it should print a message that says "Ready to accept a master bot on port 9993".

Once you see that message, start Budabot. You can verify that it's using the AO Chat Proxy by looking at the AO Chat Proxy console logs. There will be a messages indicating that it has received a connection. You can also look in the Budabot startup logs for this message: "Connecting to AO Server...(127.0.0.1:9993)".

Update instructions:
If you are upgrading, you should just delete the previous version and install this version (I recommend making a backup of the old version until you are sure the new version will work for you)

There are three main differences from the previous version, with #3 being extremely important, especially to anyone who has used a previous version:

1) You know longer need to use a patched version of TyrLib. This version of AOChatProxy includes the fix.

2) chatbot.properties is now called config.properties

3) the main bot credentials are no longer configured in config.properties or anywhere in AOChatProxy. Only enter the info of the bots you want as slaves in the config.properties file. Whatever character the Budabot is using when it connects to the AO Chat Proxy is what will be used as the main bot.

Regarding #3, here's an example: I have an org with 2500 characters, so I need 3 bots (1 main bot + 2 slave bots) since each bot can support a maximum of 1000 characters on friends list. My org bot is "Gimli" and it will be the main bot. I will configure the user/pass/character in the Budabot config file (conf/config.php). I will configure "Aragorn" and "Legolas" as slave bots. In the AOChatProxy config.properties file, I will enter the user/pass/character info for both "Aragorn" and "Legolas". I will set "Aragorn" as slave1, and "Legolas" as slave2 (I will need to add "slave2_username", "slave2_password", and "slave2_characterName" fields to the config.properties file).

AOChatProxy config.properties:

Code: Select all

proxyPortNumber=9993
serverAddress=chat.d1.funcom.com
serverPortNumber=7105

slave1_username=username
slave1_password=password
slave1_characterName=Aragorn

slave2_username=username
slave2_password=password
slave2_characterName=Legolas


Budabot conf/conf.php:

Code: Select all

...
$vars['login']      = "username";
$vars['password']   = "password";
$vars['name']       = "Gimli";
...
"Those who expect to reap the blessings of freedom, must, like men, undergo the fatigues of supporting it." — Thomas Paine
"Nearly all men stand adversity, but if you want to test a man's character, give him power." — Abraham Lincoln
Budabot Releases and Downloads: https://github.com/Budabot/Budabot/releases
Tyrence
Posts: 2007
Joined: Sat Jan 09, 2010 1:32 am

Re: AOChatProxy 2.0 (for orgs with more than 1K members)

Postby Tyrence » Wed Jan 17, 2018 3:38 pm

I just released AOChatProxy 2.2 to address some of the issues people were seeing with 2.0. Download from here: https://github.com/bigwheels16/AOChatProxy/releases

This requires Java 8 to run. If you get a error message that says "Unsupported major.minor version 52.0", it means you need to upgrade to Java 8.
"Those who expect to reap the blessings of freedom, must, like men, undergo the fatigues of supporting it." — Thomas Paine
"Nearly all men stand adversity, but if you want to test a man's character, give him power." — Abraham Lincoln
Budabot Releases and Downloads: https://github.com/Budabot/Budabot/releases
Tyrence
Posts: 2007
Joined: Sat Jan 09, 2010 1:32 am

Re: AOChatProxy 2.0 (for orgs with more than 1K members)

Postby Tyrence » Tue Feb 20, 2018 9:06 am

AOChatProxy 2.5 is released and addresses the issues people were seeing in 2.0-2.4 versions where the bot would take a long time to respond to certain commands such as !whois. If you are using one of those versions you should immediately upgrade to 2.5.

https://github.com/bigwheels16/AOChatProxy/releases
"Those who expect to reap the blessings of freedom, must, like men, undergo the fatigues of supporting it." — Thomas Paine
"Nearly all men stand adversity, but if you want to test a man's character, give him power." — Abraham Lincoln
Budabot Releases and Downloads: https://github.com/Budabot/Budabot/releases

Return to “Releases”

Who is online

Users browsing this forum: No registered users and 1 guest