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

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

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
General discussion / Bebot and Rasberry
« Last post by MAGE on November 24, 2023, 11:29:38 am  »
Hi,

I would like to know if it is possible to use a raspberry for Bebot. I only found one topic with no real information on the subject :/.

Is it possible to have more information?
- Does it work ?
- Which raspberry (or other) is needed?
- Possibly a small tutorial (for noob...) for the procedure to follow on how to do it?

THANKS
12
AO 0.7 support / Re: 0.7.x updates for AO
« Last post by bitnykk on September 09, 2023, 07:12:06 pm  »
-------------------------
Release 0.7.27 - Sep 2023
-------------------------
- For both: relay, count, mail & discord fixed ; raidhelp & raidtool/clear added
- For AO: raidloot, lc/hot/plant, defreezer, apf & raidhistory improved
13
AoC 0.7 support / Re: 0.7.x updates for AoC
« Last post by bitnykk on September 09, 2023, 07:12:00 pm  »
-------------------------
Release 0.7.27 - Sep 2023
-------------------------
- For both: relay, count, mail & discord fixed ; raidhelp & raidtool/clear added
- For AoC: no news in this version
14
Helpful posts / Proxy gives Read Error: EOF
« Last post by bitnykk on August 27, 2023, 10:34:42 pm  »
This problem is often going with a notice of socket_write() issues around line 1044 in Sources/AoChat.php
It means the bot has been disconnected or wasn't able to fully connect.

You first have to make sure your bot can be logged in using regular game or chat client. Try to send some tells and receive some to verify all goes ok. Also take this occasion to verify that the friendlist ain't full otherwise give it a clean.

That once done, and specifically if your bot uses some proxy account(s), also make sure those accounts are also loggable. If they are not, they could be either banned (then you'd need to contact support) or simply frozen & that explains why you obtain EOF error.

Note that recent Bebot versions are capable of self-defreezing on logon as explained into README ... but if for whatever reason that didn't fully work, you might have to do it manually by logging into https://account.anarchy-online.com/ and then visit /uncancel_sub page to reactive (repeat for each account).

Once any involved account is loggable and fully capable, you endly should be able to fix that error and log your lovely bot.
15
AO 0.7 support / Re: 0.7.x updates for AO
« Last post by bitnykk on April 02, 2023, 12:21:48 am  »
-------------------------
Release 0.7.26 - Apr 2023
-------------------------
- For both: improving alts & ban ; updating Discord to API v10 ; remote invites on logon
- For AO: gmi added ; self defreeze @ newest point ; announcer sendcommand ; Ris alt checker
16
AoC 0.7 support / Re: 0.7.x updates for AoC
« Last post by bitnykk on April 02, 2023, 12:21:37 am  »
-------------------------
Release 0.7.26 - Apr 2023
-------------------------
- For both: improving alts & ban ; updating Discord to API v10 ; remote invites on logon
- For AoC: nothing specific this patch
17
AO 0.7 support / Re: 0.7.x updates for AO
« Last post by bitnykk on January 26, 2023, 03:00:58 pm  »
-------------------------
Release 0.7.25 - Jan 2022
-------------------------
- For both: raid leader autojoined/notified ; announce join link added ; note shortened ; raid fixed/improved ; mail improved
- For AO: rcalc/aou/ffa/top improved ; raid guide added ; father & orgs fixed
18
AoC 0.7 support / Re: 0.7.x updates for AoC
« Last post by bitnykk on January 26, 2023, 03:00:39 pm  »
-------------------------
Release 0.7.25 - Jan 2022
-------------------------
- For both: raid leader autojoined/notified ; announce join link added ; note shortened ; raid fixed/improved ; mail improved
- For AoC: bound & blacklist fixed
19
AoC 0.7 support / Re: Linked objects in chat
« Last post by bitnykk on November 02, 2022, 10:56:58 am  »
Heya,

Yet again i'm no AoC regular player but i'll try to respond the best i can. Could do it in french but i'll go with english as this documents for other users too :)

First of all, for AoC items context, you'd have Bebot linked to MeatHook's by-default semi-opened database server for collecting and storing infos.
If i remember well, to search for items ingame you can do it right away by the command !items keyword(s)
But to submit new elements serverside, you'd have to ask player MeatHook first so he gives a unique passkey for your botname. He's very friendly to contact.

That said, if you prefer to make your own server collection/storage, you don't need to modify the Bebot PHP code at all ; better is to set the items parameters behind command : !settings items
Accurately, the one you'd want to modify is the CIDB as follow : !set items CIDB https://your.custom.server
Juste make sure you have a 24/7 working webservice listening at this URL first :)
Note we do not provide that part of software, it's totally up to you.
You may indeed dev it in PHP or any other frontend language, in coordination with your favorite DB (sql, mongo, whatever you like).

Now, let's come onto the questions you've asked :
1. the way i understand it, the CRC is some sort of checking hash, prolly just a guarantee for the server that the provided datas are genuine ; this is totally specific to AoC items, as we don't have it in AO
2. if bebot is in autosubmit mode (check !settings upper) any AoC game item formatted correctly and dropped in the orgchat you share with bot should generate an API call ; from there it depends of the listening webservice (e.g. if the item already exist, the service may ignore it, i guess)

To finish up, just a note for the usecase you mention :
I'm not 100% sure that providing the infos in french is really mandatory, but if you really want to go this way, i suggest you store the datas in english and create a separate translation table filled over time by a different runner, that may e.g. use google translate API or such. That way you can provide english by default OR offer french if it's available. For this custom items module, i suggest you create a copy of the existing into Bebot's Custom/Modules to avoid any update conflict in the future.

Hope i covered all you needed upper.
20
AoC 0.7 support / Re: Linked objects in chat
« Last post by MAGE on October 29, 2022, 07:43:44 am  »
Thank you for the answer, I must admit that I had no more hope :D.

I would like to create a French-speaking object base for AoC. The option to save an object's information is therefore, I think, a great opportunity for this.

Let me explain. When a player sends an object in the chat (by dragging and dropping), certain objects generate a call to a robot.

By reading the code of this part of the bot I understand that it can read and add the information of the object and if the object does not exist in its database it adds it, then thanks the player for his participation to the completion of the object database.

It also allows you to ask robots for information about an object via a command. (via the "!items <text>" command)

As I said a little higher, I wish to be able to create a French-speaking database of objects. and therefore create my own database to complete. By studying the PHP code a bit (I am a front-end developer in life and PHP is the language that introduced me to the web more than 10 years ago now), I was able to change the link of the 'API for my own API (it's only a very simple draft at the moment). The HTTP request looks like this:
Code: [Select]
DOMAIN_NAME/index.php?lowid=4603023&highid=4603023&lowlvl=0&highlvl=80&lowcrc=d384744f%3Ac950eef1%3A6e3a0f5b%3Ad105a20&midcrc=d384744f%3Ac950eef1%3A6e3a0f5b%3Ad105a20&highcrc=d384744f%3Ac950eef1%3A6e3a0f5b%3Ad105a20&color=6ea7&name=Javeline+en+bambon&server=Crom(some information has been deleted :) )

The different parameters are pretty clear to me.

  • lowid=4603023 (the small icon)
  • highid=4603023 (the big icon)
  • lowlvl=0 (the minimum level required)
  • highlvl=80 (item level)
  • color=6ea7 (the level/color of the object, common, superior, enchanted, rare or legendary)
  • name=Javeline+in+bamboo (the name of the object)

However, some parameters are unknown to me:

  • lowcrc=d384744f%3Ac950eef1%3A6e3a0f5b%3Ad105a20
  • midcrc=d384744f%3Ac950eef1%3A6e3a0f5b%3Ad105a20
  • highcrc=d384744f%3Ac950eef1%3A6e3a0f5b%3Ad105a20

I guess that's where the information is stored. I did a search through the game files (via notepad++ subfolder search, but couldn't find anything. So I'm stuck at this step.

My questions are therefore:
  • How to interpret the "lowcrc", "midcrc" and "highcrc" parameters to obtain the missing information which is the description of the object as well as the statistics of the object (the most important: D)?
  • Why don't ALL objects dropped in the chat generate an API call?
Pages: 1 [2] 3 4 ... 10
* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 87
  • 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-2024, SimplePortal