Server Chat Relay v0.2 (2/18)
2 Attachment(s)
Server Chat Relay (SCR) enables players on different servers to chat with each other.
Configuration
Exactly one game server must be an SCR server. For example, let's say you run two TF2 Servers with IPs 1.1.1.1 and 2.2.2.2, and one DOD server with IP 3.3.3.3. I'll designate the first TF2 server as the SCR server with the following config: Code:
sm_scr_server "1" Code:
sm_scr_server "0" Code:
sm_scr_server "0" After setup, the inter-server chat looks like this (as seen on the DOD server): http://www.2fort2furious.com/images/scr.jpg Installation
Note that if you receive socket errors (e.g. error 3 or error 5), you should unload the plugin on both the SCR server and clients, wait at least 30 seconds or so, then load the plugin on the server first, followed by the clients. This is a process I hope to automate soon. |
Re: Server Chat Relay v0.1 (7/05)
That's awesome dude, 2 feature suggestions:
Trigger based relay, IE: requiring a preceding 'command' for the relay to operate (perhaps an optional feature the preceding string could be a cvar if not set all are relayed) example: /scr this sends to other servers this does not if scr_start_command "/scr" or something along those lines. Other idea is to include a command as follows /admin This could also be used in conjunction with irc relay to send a message to only admins on all servers with the relay as well as send a message to IRC. |
Re: Server Chat Relay v0.1 (7/05)
Floor master, you finally made it! I remember making this plugin but it never wanted to work properly! Thanks much! :)
|
Re: Server Chat Relay v0.1 (7/05)
Quote:
|
Re: Server Chat Relay v0.1 (7/05)
1 - How about a admin version? i mean i'm playing on server 1 cheater on server 2, people can alert me with for example : !bca cheater inside.
2 - Does it work between different game server (tf2 & dod:s for instance)? |
Re: Server Chat Relay v0.1 (7/05)
Quote:
#2 Yup, tested with CS:S (3 servers), DOD:S and 2x TF2 Did I mention I love you FLOOR_MASTER ? Matt |
Re: Server Chat Relay v0.1 (7/05)
Small suggestion: Print the chat message back to the user including the entire server the original message was sent on.
Not so small suggestion: Add the ability to run a server command across ALL servers (with ROOT access only) Matt |
Re: Server Chat Relay v0.1 (7/05)
Actually, thinking aloud, why not pack the message with a identifier?
Then when the message is received, it picks up the identifier and then processes the message accordingly. Such as identifier = 0 - sm_bc - Prints chat to all identifier = 1 - sm_bcc - runs server command identifier = 2 - sm_bca - Admin only messages identifier = N - sm_bcx - What ever you want Should be a simple set of IF statements or a select case, to process the options differently, but still maintaining the same broadcast code?? Matt |
Re: Server Chat Relay v0.1 (7/05)
Wow, really nice FLOOR_MASTER might give this a go.
|
Re: Server Chat Relay v0.1 (7/05)
MoggieX - extending the type of messages beyond broadcasting chat is definitely the next step, but only after adding some form of SCR client authentication. Ideally, the system would also permit targeting specific servers and way (way down the road) remote administration via admin menus.
|
All times are GMT -4. The time now is 22:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.