AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [Any] Source Chat Relay [Discord <=> Ingame] (https://forums.alliedmods.net/showthread.php?t=311079)

RumbleFrog 10-20-2018 14:38

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
Quote:

Originally Posted by mlov420 (Post 2620498)
Works great. Setup is straight forward. I set mine up on a Windows machine, as well as both Windows and Linux game servers.

If I could make one suggestion, I would say to have the plugin auto-generate the server name into the database. Currently it registers a unique ID for the server automatically when the plugin is loaded*, but leaves the display name field blank when it could use the hostname*. That 'display name' field doesn't populate until the server has been registered with the discord bot then has a message sent. It makes it very tedious when setting up multiple servers if you want to keep a neat order of channel #s and server names (e.g - pub server #1 / channel 1, pub server #2 / channel 2, etc.), since you're left guessing which server is which when looking at the DB during setup.

Regardless, the plugin works great, that is just an idea for improvement for people with multiple or sequentially named servers. Thank you very much for your work here.

Thanks for the suggestion, I suppose that could be an initial design flaw, my use case is that the hostname is constantly changing on some of my servers, so I figure it'd be better if it's sent with the message payload, making it update every message.

Quote:

Originally Posted by AK978 (Post 2620535)
Add robot command?
Show Map and number of players

I'm not certain about what you mean by the robot command. But I'll have to think ways to implement map and numbers of players, it's most likely to be implemented with a2s query.

Forks to this are welcome, I have an a2s query in golang: https://github.com/rumblefrog/go-a2s

RumbleFrog 10-23-2018 01:42

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
v1.1.0 (https://github.com/rumblefrog/source...ses/tag/v1.1.0) is now available for download.

v1.0.1-1.1.0:

Transform Mentions

Channel mention

<#443915421020848129> -> #general

User mention

<@105122038586286080> -> @Fishy!

Role mention

<@&478429926995918858> -> @ Member

PR #11 (https://github.com/rumblefrog/source-chat-relay/pull/11)

Change simple message format

Name: Message -> <Name> Message

PR #10 (https://github.com/rumblefrog/source-chat-relay/pull/10)

RumbleFrog 11-16-2018 22:40

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
After a month of continuous uptime, I can confirm this is reliable enough for v1 :)

RumbleFrog 11-17-2018 16:04

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
v1.1.1 (https://github.com/rumblefrog/source...ses/tag/v1.1.1) is now available for download.

v1.1.1:

- Fixed loose regex matching for channel mentions

ToasterKritz 11-18-2018 03:40

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
I don't know if I'm an idiot, or the instructions are unclear. Under installation, by "Upload the binary file (server[.exe]) to the server" you mean the machine hosting the relay (MySQL)?

RumbleFrog 11-19-2018 15:03

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
Quote:

Originally Posted by ToasterKritz (Post 2624551)
I don't know if I'm an idiot, or the instructions are unclear. Under installation, by "Upload the binary file (server[.exe]) to the server" you mean the machine hosting the relay (MySQL)?

It could be any machine, it doesn't have to be on the one hosting the mysql server

ToasterKritz 11-19-2018 19:45

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
Quote:

Originally Posted by RumbleFrog (Post 2624791)
It could be any machine, it doesn't have to be on the one hosting the mysql server

Yeah thanks, I just didn't use the program logic.exe, I figured it out now

EDIT: It's because my tf2 server runs on a linux based server, and I downloaded the linux version of the server when trying to host it on a windows machine (my mistake :>). My only problem now is that I am having a socket errno 110 when attempting to load the plugin, and I have no clue what to do regarding Entity ID

tzzion 11-20-2018 03:15

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
My english is not very good and I do not understand much about plugins in general. My friend could not install the plugin. I am willing to pay some csgo keys if someone can help me

Obyboby 11-20-2018 15:30

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
Hi!
I've read the whole thread and documentation, I have a question.
Is it possible to host this on my Raspberry Pi at home? I see you are recommending other hosts, I'm afraid the rpi won't have enough power to handle this... :(

RumbleFrog 11-23-2018 16:17

Re: [Any] Source Chat Relay [Discord <=> Ingame]
 
Quote:

Originally Posted by Obyboby (Post 2624928)
Hi!
I've read the whole thread and documentation, I have a question.
Is it possible to host this on my Raspberry Pi at home? I see you are recommending other hosts, I'm afraid the rpi won't have enough power to handle this... :(

Definitely, it can run on almost anything. The hosts I recommend are just for stability and some referrals.


All times are GMT -4. The time now is 00:46.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.