It is currently Tue Feb 20, 2018 7:58 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: ARK Tribe Log Relay
PostPosted: Fri Jan 26, 2018 12:15 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Aug 15, 2009 6:59 pm
Posts: 1229
ARK is a popular game and i run a ARK server cluster. This tool is taking events from the game and posts them to Discord (chat service) channels. This is so you get informed about what happens in the game, while you are offline.
Obviously written in PureBasic.

It's called ATLR and it can relay the tribe logs of a server to Discord channels. It's a web alarm replacement that will post the whole tribe log instead of just a few events.

Download: https://www.CatBit.biz/atlr/atlr_v0.07.zip

It's a simplistic tool and still in development. There is some stuff i still want to add, like a event based notification system, currently there is only a keyword based one. Let it run as a service and more.

It's for windows only. If you need it for Linux and can help me to get it running on Linux. Drop me a message. I can compile it for Linux, but i am not familiar with it.

It reads the tribe files on the server, so you need to run it on the server, you can't use it with hosts like Nitrado. If people are interested i can build in a RCON mode to make it work with hosted servers. However you would need to enable logging tribe logs to RCON. The file based system is simple, reliable and takes very little system resources. So i would recommend keep using it, if possible.

The tool does not need admin privileges. It just needs read access to the tribe files you specify, to the ATLR.ini and to the keyword file you specify. Also it needs to connect to the Discord webhooks you specify.

Configuration is done using a .ini file. Just watch the video: https://youtu.be/AZaFXsEJRv8

You can also join my Discord for updates and help: https://discord.gg/MrmRngn

It is currently used on my server cluster: https://survivetheark.com/index.php?/fo ... berration/

Change Log:

v0.07 (public) 20.02.2018
  • changed: keywords are no longer case insensitive
  • added: missing folders are created on startup
  • added: missing .ini entrys are created on startup
  • added: Tribe log entries added while ATLR was off, will be read and relayed now. Fixes tribe log black out during auto update.
  • added: regular expression filter for mentioning, use RegEx on MentionMethode, uses MentionRegExListFile
  • added: option to post change log to Discord after auto update

v0.06 (public) 19.02.2018
  • added: option to ignore modify date on tribe files, only use it if you encounter problems about tribe logs not being loaded
  • added: auto correction of file name extension of tribe files, prevents selecting backup files
  • added: option to post ATLR status to discord channel
  • added: updater with auto update function, auto update is disabled by default

v0.05 (public) 25.01.2018
  • fixed: messages with none ASCII characters got discarded
  • changed: if you don't specify a server name, now nothing will be prefixed to the message
  • added: mentioning in every message
  • added: mentioning based on keywords

v0.04 (public) 21.01.2018
  • changed: redone discord code, now works in parallel and delays messages so discord will not discard them if coming in to quickly
  • added: settings are stored in a ini file
  • added: relay entries are stored in a ini file

v0.03 (private) 03.10.2017
    fixed Crash on reading a tribe log with unicode tribe log entries (Now we know tribe log entries can be stored with different encodings in one tribe file!)
    when reading the tribe log, ATLR will now ignore string length descriptors, as they are wrong with UTF-16 encoding.

v0.02 (private) 27.09.2017
  • removal of tags in tribe log entries
  • prefixing server name to the message

v0.01 (private) 18.09.2017
  • first working version


Last edited by Thorium on Tue Feb 20, 2018 6:19 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: ARK Tribe Log Relay
PostPosted: Tue Feb 13, 2018 11:34 am 
Offline
Addict
Addict
User avatar

Joined: Sat Aug 15, 2009 6:59 pm
Posts: 1229
I made a video of how to set up ATLR on a server, because it was requested.

https://youtu.be/AZaFXsEJRv8


Top
 Profile  
Reply with quote  
 Post subject: Re: ARK Tribe Log Relay
PostPosted: Tue Feb 20, 2018 10:21 am 
Offline
Addict
Addict
User avatar

Joined: Sat Aug 15, 2009 6:59 pm
Posts: 1229
Update v0.06
  • added: option to ignore modify date on tribe files, only use it if you encounter problems about tribe logs not being loaded
  • added: auto correction of file name extension of tribe files, prevents selecting backup files
  • added: option to post ATLR status to discord channel
  • added: updater with auto update function, auto update is disabled by default

The auto updater is disabled by default, check .ini settings if you want to enable it. You can also run Updater.exe to perform an update manually. However it will not shut down your running ATLR instances, so shut them down before running the Updater, or enable auto updates.

For the updater to work, Update.exe needs write access to the ATLR folder and the Update subfolder.

New .ini options:

IgnoreFileModifyDate Set to True to enable ignoring of modify date of the tribe files. This can help in some cases if you deal with day time changes or weird cache issues. I recommend keeping it at False and only change to True if you encounter problems about the tribe logs not being loaded. This will make ATLR load all tribe files on every update cycle.

AutoCorrectTribeFileExtension Set to False to disable the auto correction of the tribe file name extension. The option prevents some cases of wrongly selected files. Only set to False if you want to link to a file not ending in .arktribe.

StatusNotifyDiscord Set to True to enable ATLR to post it's status to a Discord channel. Status messages include: "ATLR running", "ATLR stopped", "ATLR updating" and "New ATLR update available." For the update messages to appear, auto update needs to be enabled.

StatusMention Who do you want to notify on ATLR status changes, for example @everyone. If empty no notification will be generated.

StatusDiscordWebhook The webhook status changes will be posted to.

EnableAutoUpdate Set to True to enable the automatic update. This is disabled by default. If enabled ATLR will check for new updates and downloads them automatically.

AutoUpdateInterval Interval in minutes ATLR should check for new updates.

AutoUpdateOnlyCheck Set to True if you want ATLR only to check for new updates and notify you by posting to Discord. Will not download updates.


Top
 Profile  
Reply with quote  
 Post subject: Re: ARK Tribe Log Relay
PostPosted: Tue Feb 20, 2018 6:19 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Aug 15, 2009 6:59 pm
Posts: 1229
Update v0.07
  • changed: keywords are no longer case insensitive
  • added: missing folders are created on startup
  • added: missing .ini entrys are created on startup
  • added: Tribe log entries added while ATLR was off, will be read and relayed now. Fixes tribe log black out during auto update.
  • added: regular expression filter for mentioning, use RegEx on MentionMethode, uses MentionRegExListFile
  • added: option to post change log to Discord after auto update

To get the update, wait for the auto update to trigger (if you enabled it) or shut down ATLR and run Updater.exe, or download the updated .zip in the first post.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye