AoC: !whois only works once, no logon/logout msg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BeBot |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Setup:
* System OS: Raspbian GNU/Linux 10 (buster)
* MySQL: Ver 15.1 Distrib 10.3.27-MariaDB, for debian-
* PHP: 7.3.19-1~deb10u1 (cli) (built: Jul 5 2020 06:46:45) ( NTS )
* Game: Age of Conan
Procedure:
* fresh git clone of master (github.
* Fresh DB, DB and user share name, localhost access (read/write confirmed working)
* Files currently resides in /home dir for testing
* Age of Conan free (dedicated) account, player for bot created
* "Bot.conf" and "Mysql.conf" are setup correctly
* Bot and user(s) are in the same guild
* No custom modules installed
* Tried running "StartBot.php" with user and sudo - no difference
Extra info ("bug" fixes):
NOTE: I have also tried on a fresh install/DB without making these changes
* "Custom/Core" inaccessible - created "Core" dir in "Custom"
* "Custom/Modules" inaccessible - created "Modules" dir in "Custom"
* "Commodities/Aoc" inaccessible - created "Aoc" dir in "Commodities"
* Renamed "Irc.php" module to "_Irc.php", stops "AnnounceTo" and "AnnounceWhat" does not exist error
* PHP Notice: Undefined offset "1" in "Sources/Conf.php" on line 44: wrapped with "if(isset(
* PHP Notice: Undefined offset "1" in "StartBot.php" on line 64: wrapped with "if(isset(
Main issue:
!whois command only works once. It will show the correct details of a user being either "online" or "offline". Upon second (and any subsequent) use, status is set to "unknown".
I believe that this is (if not the core issue) the issue that causes login and logout acknowledgement and messages not to work, which is my main issue.
To further clarify:
* I have set everything in "!settings Logon" to "on"
* "!settings Autouseradd" is set to "on"
* I can see the member(s) in "!notify"
Logging in and out is simply not recorded in the log. If I restart the bot and do a !rosterupdate,
log states: [BUDDY] [LOG] Yaayeet changed status [1] (not on notify).
The same goes for a fresh install on a fresh DB (changed status [1] (not on notify).
I have asked other users to join the guild, upon writing in guild chat they are added as buddy, and their online status is sent in guild chat, however with "changed status [1] (not on notify)" in log.
Upon relogging, no message is provided in guild chat, or in log regarding the state change (logout/login).
Changed in bebot: | |
status: | New → Invalid |