AMXX Chat Relay [Discord <=> Ingame]
3 Attachment(s)
AMXX client for the Discord bot in this plugin:
https://forums.alliedmods.net/showthread.php?t=311079 Introduction Communicate between Discord & In-Game, monitor server without being in-game, control the flow of messages and user base engagement! Features - Recieve and send messages bidrectionally - Channel configuration for powerful setups - Setup is incrediblily easy with Discord bot commands and simple config files - Upon disconnect, game servers will attempt to reconnect at a fixed interval Prerequisites - AMX Mod X 1.10 (tested on build 5378) - Server to host the relay binary on (with MySQL if not external) - A Discord bot token (https://discordapp.com/developers/applications/) - Discord Bot v2.0.0 (https://github.com/rumblefrog/source...relay/releases) Bot Installation https://rumblefrog.me/source-chat-relay/setup Plugin Installation - Copy the plugin to your plugins folder - Add the plugin filename to your configs/plugins.ini file - Copy the config file to you configs/plugins folder - Edit the config file - Change map to load the plugin - You should get a "[AMXX-Server-Relay] Successfully authenticated" message if you did everything correctly |
Re: AMX Chat Relay [Discord <=> Ingame]
Finally something really new and interesting in "New Plugin Submissions"
I successfully did a connection so amxx will trigger a discord bot to write something in the specific channel, but could do opposite, to read command and react on them...how it seems your work is doing right that Can you exaplain in detail what does this mean? Server to host the relay binary on (with MySQL if not external) (mysql is must-need?) Also why amxmodx 1.10 ... :D |
Re: AMX Chat Relay [Discord <=> Ingame]
Quote:
I put 1.10 because that's the version I tested it on, in the code I use some functions that were introduced in 1.9 so technically it should work in 1.9 too, but I haven't tested it. |
Re: AMX Chat Relay [Discord <=> Ingame]
Very Nice plugin.
One thing there is 1.8.2 is latest version of amxmodx i have seen in amxmodx.org so u should make this plugin work on 1.8.2. BTW its very nice plugin. |
Re: AMX Chat Relay [Discord <=> Ingame]
|
Re: AMX Chat Relay [Discord <=> Ingame]
Quote:
------------------------------------------------------ Word of advice - maybe a better name for the plugin will be "AMXX Chat Relay". AMX is a very old and no longer supported version of AMXX. PS: you don't need to include "amxconst" and "cvars" manually - they are already included in "amxmodx". |
Re: AMX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMX Chat Relay [Discord <=> Ingame]
was looking randomly to code , and saw these :
Code:
Code:
|
Re: AMX Chat Relay [Discord <=> Ingame]
Why not?
PHP Code:
|
Re: AMX Chat Relay [Discord <=> Ingame]
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Code:
Format specifierPHP Code:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Yeah I was just looking into that, will try to use the %n specifier.
Edit: Done. |
Re: AMXX Chat Relay [Discord <=> Ingame]
1.10 is to ahead, 1.90 would had been appreciated, even the latest [5249] will also be considered great.
|
Re: AMXX Chat Relay [Discord <=> Ingame]
MAX_NAME_LENGTH is already set by default in amx 1.9+
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
And that is why I warned the author that it is not necessary to define "max_name_lenght" in the plugin, since the definition already exists by default in amxx 1.9 +
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Thanks for this job, I'm new at this and would like to know ¿How to install it for counter strike 1.6? ¡greetings!
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
pd_ I know it's a lot to ask before such work done, but if someone makes a video guide how to install these great files would appreciate =D |
Re: AMXX Chat Relay [Discord <=> Ingame]
Being new doesn't mean you can't read. I'm pretty sure there are hundreds of tutorials on how to install a simple plugin, so please search for them. Every plugin is installed in the exact same way.
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Found 1 typo: in
Code:
public authenticate() {Code:
authenticacion |
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
Note that it talks about the Sourcemod plugin, so you have to switch it in your case for the AMXX variant. |
Re: AMXX Chat Relay [Discord <=> Ingame]
Feature request: add a file where we can list phrases to be ignored.
Also please ignore messages starting with " / " (commands) and whitespace: Code:
public handleSay(id)Edit: @endnch I have changed your SMA code to support exclusive list, if needed I can send it to you and check it (I am sure there are stuff that could be done better in it). |
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
1 Attachment(s)
On 1.8 does not seem to work after mapchange unless you restart the bot then works as normal
I ran a log alone side the bot. Heres the file I removed some personal info from it but anyone know what this is saying lol. |
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Hello!
Thank you for your plugin. It works great in CS 1.6 server, but Could you adapt it for Half-Life 1? :up: https://thumb.cloud.mail.ru/weblink/...ssia%40mail.ru |
Re: AMXX Chat Relay [Discord <=> Ingame]
hi
why need chat stuff csx module? can make plugin for more games? |
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Attempted to run this plugin for a while. The source relay works fine on the sourcemod queries but does not work on the hl1 games we have it running on. We get the following error:
"[AMXX-Server-Relay] Error connecting socket" Anyone able to help or know why its causing this? Edit: Found the fix. Default .cfg file needs to be renamed to AMXX-Server-Relay.cfg and not AMX-Server-Relay.cfg :/ |
Re: AMXX Chat Relay [Discord <=> Ingame]
Plugin works great and should be approved
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Hi!
It was working perfectly until 2 days ago, I get this in server console (latest AMXX 1.10 build 5388, running cstrike): Code:
[AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: [AMXX-Server-Relay] Invalid messagetype code: epresmoha : asdI have updated the relay server to the latest one from Github, but it still happens. Maybe related to this change? https://github.com/alliedmodders/amx...053db8dd7f8902 |
Re: AMXX Chat Relay [Discord <=> Ingame]
Mine is still running without problems
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Solved: I had to reconfigure it, my DC bot token changed (but why?), it works again.
Sorry :D |
Re: AMXX Chat Relay [Discord <=> Ingame]
Can you make a version to use multiple channels and get ingame chat for separate channels adminchat/ playerchat:)
|
Re: AMXX Chat Relay [Discord <=> Ingame]
Quote:
|
| All times are GMT -4. The time now is 06:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.