collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18371
  • stats Total Topics: 2502
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Recent Posts

Pages: 1 ... 5 6 [7] 8 9 10
61
AO 0.6.x Custom/Unofficial modules / Re: Slaves
« Last post by bitnykk on December 28, 2020, 05:01:18 pm  »
* : after many tests, seems the slaves modules works for Bebot 0.6 on AO but won't be appliable for AOC in Bebot 0.7 ; therefore here are my conclusions :

Bebot 0.6 :
- AO => can use slaves module OR AoCP solution
- AOC => might use slaves module only (need testing)
Both are documented within this thread upper.

Bebot 0.7(.15 patch incoming) :
- AO => must use AoCP solution
- AOC => will be provided with a new tailored solution
Both are documented within 0.7 Readme from Git.
62
AO 0.6.x Custom/Unofficial modules / Re: Slaves
« Last post by bitnykk on December 27, 2020, 05:01:18 pm  »
So to complement this (old) topic, there seems to have 2 ways to extend 1K friendlist with slaves on Bebot 0.6.x :

1/ the Slaves.php module posted upper by Heffa that will implement several connection on different toons in order to allow main bot to obtain 1K extension per slave ; this implementation is somehow simple but also quite heavy as it will recreate a limited bot per slave ; sidenote is the difficulty about PHP 7 portability for Bebot 0.7, but may work for AOC*.

2/ the AoChatProxy service proposed earlier by Tyrence that will let you run a localhost connection proxy with its own parameters in order to obtain 1K extension per slave ; this implementation is indeed more complex but also rather light as the slaves ain't bots for real ; sidenote is the easy way to port it PHP 7 and Bebot 0.7, but works only for AO.

-----------------------------------------------------

Therefore, for AO, i suggest solution 2/ by :

Creating the main bot + all its needed slaves in froob accounts.

Downloading AOCP at https://github.com/Budabot/AOChatProxy
(If none yet, you may also need to install Java JDK for your OS)
Configure within config.properties (copied from template) with :
- proxy local port (9993 by default, advised unless you know why you change)
- server distant adress & port (according to what game/dimension you need)
- all the slaves you want starting at number one (with user, pass, name)
Once ready, run the service (run.bat on windows, run.sh on linux/mac).
Then the service should be waiting for main bot connection ...

Then edit the bot following files :

conf/Serverlist in which you should add at least the line you need :
Code: [Select]
$server_list['ao']['AoTestProxy'] = array('server'=>'localhost', 'port'=>9993);
$server_list['ao']['AoLiveProxy'] = array('server'=>'localhost', 'port'=>9993);
$server_list['ao']['AoRk19Proxy'] = array('server'=>'localhost', 'port'=>9993);
$server_list['aoc']['AocProxy']  = array('server'=>'localhost', 'port'=>9993);

Sources/Bot.php in which the top switch should be added AO block you need :
Code: [Select]
case "90";
$dimension = "AoTestProxy";
$this -> dimension = 0;
break;
case "95";
$dimension = "AoLiveProxy";
$this -> dimension = 5;
break;
case "96";
$dimension = "AoRk19Proxy";
$this -> dimension = 6;
break;
   

Finally edit you conf/Bot.conf and set $dimension to the correct value :
For AOC it's a name : $dimension = "Aocproxy";
For AO its a number, e.g. for Live Proxy : $dimension = "95";

Now, run main bot and it should connect along with all slaves.
(This may take long especially the first time with huge list ...)
Therefore the resulting friendlist limit is now 1k x (main + X slaves).
E.g. with 4 slaves : 1k x (1+4) = 5k

NB : for Bebot 0.7.15+ please check the Readme on Sandbox https://github.com/bitnykk/BeBot and/or Official https://github.com/J-Soft/BeBot/
63
AO 0.7 support / Re: 0.7.x updates for AO
« Last post by bitnykk on November 02, 2020, 05:01:18 pm  »
New Bebot 7.11 patch including newest HL Subway raid loots !
You can download it from the upper left link...
64
Helpful posts / Secured public AO bot
« Last post by bitnykk on September 29, 2020, 04:29:49 pm  »
By default, and exception made for OWNER/(SUPER)ADMIN/LEADER, your bebot will see anyone unknown to him as ANONYMOUS for obvious security reasons.
But you may need to open it for public use.

This could be done by changing code and/or database access level of, e.g., !join command as anyone will be seen as GUEST once in chat, thanks to the corresponding option under !settings security ... but this way of doing could be
problematic, hence we don't recommend ...


Better recommended way for this is to filter by the !security/!flexible system and set of commands. Let's take an example that you need to set your bot opened to anyone over level 100 :
1/ create a new group, eg => !addgroup anonjoiners public
2/ allow this group to receive flex condition(s) => !flexible create anonjoiners AND
3/ set the wanted condition(s), eg => !flexible condition add anonjoiners level > 100
4/ set the group level to GUEST => !security levels => click on GUEST link in front of anonjoiners (that was ANONYMOUS by default, for security reaons).
From now on, you bot will accept any joiner over level 100.

NB : on the same principle you could cumulate several conditions (either under AND otherwise OR associativity) checking over specific rank(s), player(s), org(s), profession(s), etc.

You may even want to include some sided check(s) :
5/ register the group => !set Flexible_Security Guest_Group anonjoiners
6/ (re)set the level => !minlevel 100
7/ set the side(s) => !faction neutral
From there, you bot would only accept neutrals over level 100.

Feel free to check these commands notices (with !help commandname) to find the best way to make your own settings according to your needs !
65
AO 0.7 support / Re: 0.7.x updates for AO
« Last post by bitnykk on September 16, 2020, 04:40:04 pm  »
Bebot 0.7.1 is released @ bebot.link

For AO, the focus is on updated raid commmands & interface v. 1.1 (new HL Totw included).
For AOC, there are huge patches in connection system & many other warnings solved.
Both games also benefit several core fixes, servers update, mysqli & PHP 7+ support!

Project will go on by preparing 0.7.2 with more org oriented functions for both games.
Thanks for feedback to help us improving it @ bebot.link/forum/
66
AoC 0.7 support / Re: 0.7.x updates for AoC
« Last post by bitnykk on September 16, 2020, 04:39:47 pm  »
Bebot 0.7.1 is released @ bebot.link

For AO, the focus is on updated raid commmands & interface v. 1.1 (new HL Totw included).
For AOC, there are huge patches in connection system & many other warnings solved.
Both games also benefit several core fixes, servers update, mysqli & PHP 7+ support!

Project will go on by preparing 0.7.2 with more org oriented functions for both games.
Thanks for feedback to help us improving it @ bebot.link/forum/
67
AoC 0.7 support / Re: 0.7.x updates for AoC
« Last post by bitnykk on September 08, 2020, 03:58:09 pm  »
Thanx to the help of Ruskebusk from Crom, i now have a testing toon that allows us to test new 0.7.x version (as i'm not an Aoc player, only AO usually).

Some PHP 7+ connection fixes are incoming to solve issues that we're totally aware of. Please be patient with us ;)
68
AoC 0.7 support / 0.7.x updates for AoC
« Last post by bitnykk on August 31, 2020, 07:46:52 pm  »
I've forked the official 0.7.x by TJuberg (2012) to be able to bring few fixes & improvements.

It's now available at https://github.com/bitnykk/BeBot
PS : Khalem may also reflect changes on https://github.com/J-Soft/BeBot

New patches were made to fix some AoC server issues and improve SQLi compatibility.

NB : please remember i'm not a regular AoC player as i'm focused on AO ; so if anyone wants to give feedback for AoC, welcomed !
Pages: 1 ... 5 6 [7] 8 9 10
* Recent Posts
Bebot in 2025 by bitnykk
[August 21, 2025, 05:17:18 pm ]


0.8.x updates for AoC by bitnykk
[July 16, 2025, 02:51:07 pm ]


0.8.x updates for AO by bitnykk
[July 16, 2025, 02:50:58 pm ]


Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]

* Who's Online
  • Dot Guests: 146
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2025, SimplePortal