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

Content and general development discussion, including quest scripts and server code.
Post Reply
User avatar
Livio
Novice
Novice
Posts: 209
Joined: 26 Feb 2019, 20:08

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

Post 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.
Last edited by Livio on 12 Dec 2019, 19:56, edited 4 times in total.
User avatar
gumi
Developer
Developer
Posts: 773
Joined: 19 May 2014, 19:18

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

Post 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
User avatar
Livio
Novice
Novice
Posts: 209
Joined: 26 Feb 2019, 20:08

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

Post 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.
User avatar
Livio
Novice
Novice
Posts: 209
Joined: 26 Feb 2019, 20:08

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

Post 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?
User avatar
jesusalva
Administrator
Administrator
Posts: 367
Joined: 14 Nov 2016, 23:20
Location: Brazil
Contact:

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

Post by jesusalva »

Livio wrote:
13 Jan 2020, 13: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.
Jesusalva (aka. Jesusaves)
User avatar
Livio
Novice
Novice
Posts: 209
Joined: 26 Feb 2019, 20:08

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

Post by Livio »

Okay then: should I raise reboot time or try a different approach?
User avatar
Livio
Novice
Novice
Posts: 209
Joined: 26 Feb 2019, 20:08

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

Post 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.
Post Reply