Page 1 of 1

Liviobot as a test platform for XCOM experimental alpha state chat software

Posted: 10 Dec 2019, 11:25
by Livio
After some days of developing Liviobot I've finally implemented over Manaboy plugin a purely C&F chat channel software like #world channel in TMW2 named XCOM.
It's quite similar to #world but works slightly different because you cannot send or receive messages until you enable it. It also format messages differently.
Also it can list the number of people using XCOM while regular texting or print the entire XCOM player list.
Actually saves chatlogs splitting XCOM conversation in players name files.

Here are its commands:
!xcon Enable XCOM
!xcoff Disable XCOM
!xclist Print XCOM online player list
Invites commands:
!xci <player> Invite player in (admins will literally drag players in)
!xcsi <player> Silently drag player in (admins only)
Moderation commands:
'!xcb <player>' : Ban player (admins only)
'!xcu <player>' : Unban player (admins only)
Notifications commands:
'!xcsion' : Enable server online status notifications,
'!xcsioff' : Disable server online status notifications,

Liviobot has GM level 2 granted but it's still throttled to 10 messages per second as a precautionary measure.
Liviobot is alpha software without 24/7 service availability and it's everything but stable.

Experimental functions that I may try to implement in the future:
- Nickname blacklist (actually pseudo hard-coded)
- Trivia mode (admins only)
- Offline unexposable email sender with optional reply address (to keep inactive players in contact)
- Sub Channels (privileges can help with crowded channels)
- Self moderation vote system
- Profanity filter (maybe that can be quite useless in some context)
- Monitor mode (admins only)
- Party/Guild site self management

And yeah, XCOM name sucks but I don't have enough fantasy.

Re: Liviobot as a test platform for XCOM experimental alpha state chat software

Posted: 10 Dec 2019, 14:46
by gumi
I've given bot permissions to Liviobot (same as Manaboy) so this should allow it to bypass rate limiting
please don't abuse that

Re: Liviobot as a test platform for XCOM experimental alpha state chat software

Posted: 10 Dec 2019, 16:45
by Livio
Thanks Gumi! Both Livibot and XCOM are in a very alpha state. There should be no infinite loops and will try reduce delay gradually in order to limit spam in case of a runaway code.

Re: Liviobot as a test platform for XCOM experimental alpha state chat software

Posted: 13 Jan 2020, 12:57
by Livio
I've now introduced a very simple exception handling on simple.py and a bash script that automatically reboot manachat after about 15 seconds from software failure.
Will Liviobot be banned if he (for some reason) got stuck on faulty code and tries to log in and out every 15 seconds?

Re: Liviobot as a test platform for XCOM experimental alpha state chat software

Posted: 13 Jan 2020, 13:19
by jesusalva
Livio wrote: 13 Jan 2020, 12:57 I've now introduced a very simple exception handling on simple.py and a bash script that automatically reboot manachat after about 15 seconds from software failure.
Will Liviobot be banned if he (for some reason) got stuck on faulty code and tries to log in and out every 15 seconds?
In rEvolt: Probably

In TMWA (TMW Legacy): Likely not.

Re: Liviobot as a test platform for XCOM experimental alpha state chat software

Posted: 13 Jan 2020, 13:22
by Livio
Okay then: should I raise reboot time or try a different approach?

Re: Liviobot as a test platform for XCOM experimental alpha state chat software

Posted: 29 Apr 2020, 21:16
by Livio
XCOM is far from complete but managed to run smoothly so far.
Liviobot will still have that module loaded in it but only for development purposes.

Another bot is running a stable version of XCOM in order to provide the game with a centralized chat not affiliated to parties and guilds so anyone is able to use that just like he did with Liviobot until now.
That bot has no other modules loaded so you cannot trade, move, calculate or do other silly things with it.