Raised This Month: $ Target: $400
 0% 

[Any] Source Chat Relay [Discord <=> Ingame]


Post New Thread Reply   
 
Thread Tools Display Modes
miXXed
Member
Join Date: Sep 2015
Old 09-06-2019 , 17:17   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #161

Quote:
Populate each line of the file with a regex expression (Note: if you have a blank line, it will count as a regex and will filter everything out)
i created an filter.txt file and added some commads like this:

command1
command2
command3
etc..

but only command1 is filtering out i acctually dont know what is an "regex expression"

btw: awesome update

EDIT:

Question Solved:
Quote:
^[!/].*
in filter.txt and all commands who begins with ! & / gets filtered..

Thanks for help freak.exe_uLow

Last edited by miXXed; 09-06-2019 at 19:39.
miXXed is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 09-06-2019 , 17:27   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #162

v2.0.0 (https://github.com/rumblefrog/source...ses/tag/v2.0.0)

This release is a breaking release, meaning no compatibility with previous plugin/server.

Performing Upgrade

Relay server

Stop the existing relay server, upload the new relay server, start the new relay server and it will perform database upgrades automatically

You can confirm the upgrade by running the `r/info` command

Relay client (Game Server)

Upload the new plugin and change map to reload it

Changes

Protocol
  • The network protocols have been rewritten to be more efficient, fast, and expandable
  • Event protocol introduced on top of the chat protocol, with the ability to customize and add more easily.

> Protocol implementation is available at https://rumblefrog.me/source-chat-relay/protocol

Relay
  • The relay will now send `MessageAuthenticateResponse` reply to `MessageAuthenticate` payloads, indicating success/failure
  • `About` command is now updated with session incoming/outgoing statistics
  • Argument EntityType has been dropped from all commands
  • New command `delete` has been introduced to remove entities from the database.
  • New service installer has been added via `-service` flag (https://rumblefrog.me/source-chat-relay/service)
  • New config flag has been added via `-config` for pointing to the config file location
  • Author ID is now displayed with the Discord embed, allowing you to use it in conjunction with the Discord search function
  • Discord-side authored messages will now use the nickname if available

Database
  • The entity type column has been dropped
  • Added `disabled_receive_types` and `disable_send_types` columns to disable certain message types.

Client
  • `SCR_SendMessage` native has been added to send messages on client's behalf
  • `SCR_SendEvent` native has been added to send custom event data to the relay server
  • `SCR_OnMessageReceive` forward has been added to allow message receive interception/modification before printing in chat
  • `SCR_OnMessageSend` forward has been added to allow message send interception/modification before network dispatch
  • `SCR_OnEventReceive` forward has been added to allow event receive interception/modification before printing in chat
  • `SCR_OnEventSend` forward has been added to allow event send interception/modification before network dispatch
  • Convar `rf_scr_hostname` has been added to override host/display name. If left empty, it will default to server's hostname
  • Four events have been built-in; all disabled by default
    • Player connect/disconnect [`rf_scr_event_player`]
    • Map start/end [`rf_scr_event_map`]
  • Token generator length has been increased from `32` -> `64`

UI
  • An addition of UI has been added, which is designed to be an alternative to the commands. You may enable the UI by copying the new UI section to your `config.toml`

Documentation
  • Documentation has been moved from docs to master branch
  • Hosted documentation address has been changed; please update your bookmarks accordingly
__________________
RumbleFrog is offline
zwetch
Senior Member
Join Date: Aug 2015
Location: South Africa
Old 09-07-2019 , 05:37   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #163

Anyway to add a players STEAM ID on the msgs send to discord?

Like:

Code:
ѕレ∑ιgнт σғ н∆иⓓ [STEAM_0:0:43435685] <<< THIS
test
[SpecterNetworks.com] Combat Surf [100 Tick] | 17223*****8•Today at 11:32 AM
__________________
https://forums.alliedmods.net/signaturepics/sigpic262740_1.gif

Last edited by zwetch; 09-07-2019 at 05:43. Reason: <<< THIS
zwetch is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 09-07-2019 , 13:13   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #164

Quote:
Originally Posted by zwetch View Post
Anyway to add a players STEAM ID on the msgs send to discord?

Like:

Code:
ѕレ∑ιgнт σғ н∆иⓓ [STEAM_0:0:43435685] <<< THIS
test
[SpecterNetworks.com] Combat Surf [100 Tick] | 17223*****8•Today at 11:32 AM
It's already in the footer?
__________________
RumbleFrog is offline
zwetch
Senior Member
Join Date: Aug 2015
Location: South Africa
Old 09-08-2019 , 09:51   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #165

Quote:
Originally Posted by RumbleFrog View Post
It's already in the footer?
O shit didnt see that - thanks.

Is there a way use sourcemod/server commands from discord to the server.
As a example - sm_setnextmap "map name"
__________________
https://forums.alliedmods.net/signaturepics/sigpic262740_1.gif
zwetch is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 09-08-2019 , 14:02   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #166

Quote:
Originally Posted by zwetch View Post
O shit didnt see that - thanks.

Is there a way use sourcemod/server commands from discord to the server.
As a example - sm_setnextmap "map name"
Not at the moment; the only way to do that is to implement via the RCON protocol, and I'm not certain on the database structure on how to save the password per server yet.
__________________
RumbleFrog is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 09-09-2019 , 22:11   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #167

An AMX variant has been made possible by endch: https://forums.alliedmods.net/showthread.php?t=318610
__________________
RumbleFrog is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 09-13-2019 , 22:03   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #168

I am looking for feed back on the documentation wording, especially re-writing/rewording it for beginner-friendly.
__________________
RumbleFrog is offline
jevgienij
Junior Member
Join Date: Nov 2018
Old 10-02-2019 , 08:06   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #169

I can't get it to work. Here's what I have so far:

Code:
sm exts list
[SM] Displaying 14 extensions:
(...)
[09] Socket (3.0.1): Socket extension for SourceMod
(...)
Code:
sm plugins list
[SM] Listing 25 plugins:
(...)
  25 "Source Chat Relay" (v2.0.0-0-gbcffbc8) by Fishy
MySQL setup is working because a "relay_entities" table was created inside "relay" database.

When I turn on "relay_server/server.exe" the bot becomes available on Discord. I can send "r/info" and get a proper reply but when I try "r/entities" I get an error and the server.exe crashes.



Quote:
If all goes well and the game server successfully connects to the relay server, you should see an entity from each game server when you run r/entities as a command to the Discord bot (If you don't, see Troubleshooting)
I would love to see Troubleshooting but there's a 404 on that page...

Please help.
jevgienij is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 10-02-2019 , 08:15   Re: [Any] Source Chat Relay [Discord <=> Ingame]
Reply With Quote #170

Just like what the error says, fail to find guild. Use command within a server.
__________________
RumbleFrog is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:19.


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