EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
addon (49) admin (269) admins (14) advert (15) adverts (19) afk (15) alerts (12) ammo (23) anti (15) auth (16) automatic (11) awp (23) ban (18) ba_jail (17) bhop (19) block (18) bomb (40) bonus (23) bot (24) bot-management (19) bots (17) bunnyhop (11) Buy (21) cash (65) chat (57) cheat (11) clan (16) classes (22) color (21) colors (18) command (20) commands (18) config (22) connect (42) CS:S (16) css (2513) Damage (36) database (11) dead (15) death (19) deathmatch (70) deathrun (12) disconnect (18) Dissolve (11) dm (20) dod:s (11) dods (389) easy (18) effects (120) English (15) entity (21) es_tools (12) Eventscript (12) flashbang (25) français (99) french (36) fun (288) funny (16) Gabeee (11) gameplay (174) give (16) gravity (11) grenade (25) grenades (29) gun (14) GunGame (26) GunGame5 (11) guns (17) Hack (15) headshot (32) health (55) hegrenade (13) hl2dm (332) HP (13) info (48) information (16) IP (11) jail (26) jailbreak (11) join (23) jump (12) kick (22) kill (44) kills (22) knife (57) leveling (36) management (14) mani (14) map (25) map-management (27) maps (15) match (17) menu (106) message (20) messaging (52) mod (109) model (14) models (32) money (42) motd (13) music (29) mute (17) nades (18) name (13) noblock (35) player (40) player-management (31) player-tracking (28) popup (56) props (23) protection (27) punishment (49) python (63) quake (18) radio (21) random (36) rank (35) rates (16) rcon (13) realism (21) respawn (61) restrict (36) round (20) rpg (24) rules (41) say (11) scout (19) Script (20) script-helper (25) scriptpack (33) sdk (151) server (44) server-tools (42) shop (12) silly (31) simple (27) skins (25) slay (13) soccer (11) sound (45) sounds (92) spanish (11) spawn (63) speed (25) statistics (13) stats (48) status (11) STEAMID (24) Superhero (13) surf (31) Team (25) team-balance (14) teleport (12) text (14) TF2 (143) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (18) uses_auth (18) utility (11) vip (12) vote (36) voting (22) war (20) wcs (24) wcs:Python (32) weapon (77) weapons (114) web (14) welcome (12) zm (24) zombie (90) zombiemod (51) zombies (11)
Script Authors
*XYZ*SaYnt (12) .:MiB:. (11) .eMko* (6) 101satoon101 (10) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (8) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) ak_47 (6) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) bigfabi (7) Bioko (7) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (30) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) craziest (10) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) deathx9 (5) Deathyy (16) dhack (16) Di[M]aN (12) DoCky (27) Don (15) dordtcore (8) DragonFreddo (8) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (9) Franc1sco (10) freddukes (18) Frequency (6) Fulmine (5) GAMEREN2 (8) german9114 (13) GODJonez (38) GoodfellaDeal (5) Hansi (6) HitThePipe (7) HOLLDIDAY (9) Icetouch (6) ichthys (25) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (7) Largo Usagi (10) Lobe (11) loKkdoKk (7) lolo-le-haricot (7) LosNir (5) Lumpi@Work (9) M4rc3L-XCN (7) macshot (6) Matth (6) Mattie (20) MBchrono (15) McFly (20) Medda (5) Memphis-84 (10) Messiah93 (12) Mickyy (5) micmacx (6) Mitchell (5) Mordavolt (7) MrScriptaz (5) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (9) Owned|Myself (8) P3N (7) pand3mic (5) parsimba (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (9) pinkyyy -.- (5) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (6) Rennnyyy (17) revolutionfighters (6) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (7) sgt.angel (6) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) Snake12 (7) snake38 (10) sonicsight (7) spoonman184 (8) stabby (22) stas (22) Strontium Dog (30) SumGuy14 (25) SuperDave (45) surfteam (5) TaCo (5) TanaToS (17) Tealk (6) teowow (16) TheCheeTaH (20) TheDonFather (5) theresthatguy (6) Tiny Tod (7) Totyahun (9) uedi (38) Undead (25) usernamesaretaken (15) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) X-Mania (5) XE_ManUp (13) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic Reply to topic
Go to page 1, 2, 3  Next
Author Message
User avatar
Site Administrator
Site Administrator
Profile

Posts: 7438
Location:
At Work
 
New postPosted: 2005-12-07, 8:44 am 
   Post subject: Mattie's ChatLink for Windows (Beta)

:arrow: ChatLink v1.0 Beta by Mattie

ChatLink allows you to link two Windows servers such that chat messages from either server are displayed on the other. Player disconnects are also shown.

Requirements:
------------------------------
  • EventScripts v0.9.1+
------------------------------

Features:
------------------------------
  • Anything a player says is displayed on the other server like this (uncolored):
    Quote:
    > Mattie (from other server): ChatLink is weird and cool.
  • Disconnects are displayed like this (uncolored):
    Quote:
    > Mattie has disconnected from the other server.
  • You can customize these messages in player_say.cfg and player_disconnect.cfg.
  • You're encouraged to link other events.
------------------------------

Notes:
------------------------------
  • This has been tested only very basically. Use at your own risk.
  • You must be using the same rcon_password on both servers.
  • Since this uses rcon, it will cause existing rcon connections (e.g. HLSW) to be disconnected whenever a player says something.
  • This only works on Windows since it appears Linux servers don't have the rcon client included.
------------------------------


Test Server:
------------------------------
    This is running on my Newbies Only test server if you'd like to take it for a spin and see how you like it:
    207.36.209.213:27015
------------------------------

Installation:
------------------------------
  • Extract the below zipfile into the chatlink subdirectory of your events directory (if your not sure where that is its the same as this)
  • Modify: player_chat.cfg to specify the rcon_address of the remote server.
  • Modify: player_activate.cfg to specify the rcon_address of the remote server.
  • Add: eventscripts_register chatlink to you autoexec.cfg.
  • Repeat the above steps on the other server, being sure to fix the IP address for its partner server.
  • Restart both servers in order for the autoexec.cfg to execute. Or you can use rcon to register the script pack on both. rcon eventscripts_register chatlink (ma_rcon / nm_rcon will also work)
  • If you're confused about script pack install, see this thread.
------------------------------

Let me know if you have questions or comments. Enjoy!
-Mattie


Last edited by Mattie on 2007-03-02, 1:40 pm, edited 3 times in total.




User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3479
Location:
Calgary, Waterloo, Ottawa
 
New postPosted: 2005-12-07, 10:02 am 

did you see my idea for this in sourcemod.net? :P

Good job however.

*grumble*

_________________
Image
Image


User avatar
Site Administrator
Site Administrator
Profile

Posts: 7438
Location:
At Work
 
New postPosted: 2005-12-07, 10:37 am 

ichthys wrote:
did you see my idea for this in sourcemod.net? :P

Good job however.

*grumble*


No, I didn't see it-- I was inspired by this thread:
http://www.mattie.info/cs/forums/viewtopic.php?t=2616

What was the thread on sourcemod.net? I'd love to read it and steal some of your ideas. ;)

-Mattie


User avatar
Site Administrator
Site Administrator
Profile

Posts: 7438
Location:
At Work
 
New postPosted: 2005-12-07, 10:41 am 

Ah, was it this thread?

http://www.sourcemod.net/forums/viewtopic.php?p=27995#27995

Heh, it didn't occur to me to try this until the thread from last night that I linked above. Ichthys is always ahead of the game. ;)

Yet it makes me sad that it doesn't work on Linux servers. I kinda expected that to be the case since Valve has said previously that the Windows dedicated server includes client code (e.g. setinfo). Yet this script pack probably won't see much usage without Linux support.

-Mattie


User avatar
New User
Profile

Posts: 17
 
New postPosted: 2005-12-07, 10:47 am 

any chance of a nix port ?


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3479
Location:
Calgary, Waterloo, Ottawa
 
New postPosted: 2005-12-07, 11:55 am 

Mattie wrote:
Ah, was it this thread?

http://www.sourcemod.net/forums/viewtopic.php?p=27995#27995

Heh, it didn't occur to me to try this until the thread from last night that I linked above. Ichthys is always ahead of the game. ;)

Yet it makes me sad that it doesn't work on Linux servers. I kinda expected that to be the case since Valve has said previously that the Windows dedicated server includes client code (e.g. setinfo). Yet this script pack probably won't see much usage without Linux support.

-Mattie


Yeah thats the one. hee hee.

So theres no rcon command on linux servers? Awe too bad. Feel like adding it to es? :o :D

_________________
Image
Image


User avatar
Site Administrator
Site Administrator
Profile

Posts: 7438
Location:
At Work
 
New postPosted: 2005-12-07, 12:14 pm 

It looks like the 'rcon_address' variable doesn't exist on Linux. I didn't check the rcon console command.

If the console command exists, we could try faking the rcon_address variable and see what happens, though. Anyone with a Linux install who can try it in their console for us? Does "rcon" do anything in the Linux console?

-Mattie


User avatar
New User
Profile

Posts: 19
 
New postPosted: 2005-12-07, 12:33 pm 

Could you have it only workwith a command in chat eg. !cross

So, !cross hello all

Would appear:
(Other [Server1]) says: hello all
:)


User avatar
Moderator
Moderator
Profile

Posts: 4920
Location:
/dev/null
 
New postPosted: 2005-12-07, 12:51 pm 

Mattie wrote:
It looks like the 'rcon_address' variable doesn't exist on Linux. I didn't check the rcon console command.

If the console command exists, we could try faking the rcon_address variable and see what happens, though. Anyone with a Linux install who can try it in their console for us? Does "rcon" do anything in the Linux console?

-Mattie



12:55:10 find rcon
12:55:10 "ma_votercon"
- Starts a rcon vote
"ma_rcon"
- Dummy ma_rcon command as it can't be run from server
"mani_vote_rcon_percent_required" = "70" ( def. "60" ) min. 0.000000 max. 100.000000
- Defines the vote percentage required to set rcon vote
"sv_rcon_minfailuretime" = "30" min. 1.000000
- Number of seconds to track failed rcon authentications
"sv_rcon_minfailures" = "5" min. 1.000000 max. 20.000000
- Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
"sv_rcon_maxfailures" = "10" min. 1.000000 max. 20.000000
- Max number of times a user can fail rcon authentication before being banned
"sv_rcon_banpenalty" = "0" min. 0.000000
- Number of minutes to ban users who fail rcon authentication
"rcon_password" = "***" ( def. "" )
- remote console password.

cvar list
--------------
rcon_password : 0 : : remote console password.
--------------
1 convars/concommands for [rcon]

Doesn't look good... I think we are stuck with the IRC bot.

---
rcon
Unknown command "rcon"
---

_________________
~ The_WuH
_________________
All code I give out is licensed - http://creativecommons.org/licenses/by-nc-sa/3.0/us/
Image
Weeks of programming can save you hours of planning.


User avatar
Site Administrator
Site Administrator
Profile

Posts: 7438
Location:
At Work
 
New postPosted: 2005-12-07, 2:00 pm 

lerum wrote:
Could you have it only workwith a command in chat eg. !cross

So, !cross hello all

Would appear:
(Other [Server1]) says: hello all
:)


Yes, you can do this (though it'd be easier with a console command), but that's not really my intention for this script.

I may release another script pack that makes it easier to communicate with admins across servers, but since this only works on Windows, I'm not sure who might like/use it.

-Mattie


User avatar
Reader
Profile

Posts: 91
 
New postPosted: 2005-12-07, 2:11 pm 

OMG nice script mattie! You Are The KIng,i wish i could script as good as you :( or have your amazing ideas :(

_________________
i'm A noob


User avatar
New User
Profile

Posts: 19
 
New postPosted: 2005-12-07, 3:15 pm 

I'd use it :D

I'll have around 4 servers next week (hopefully) so I do hope you'll make it :wink:


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 4265
Location:
Michigan
 
New postPosted: 2005-12-07, 8:26 pm 

I remember reading your post on that and thinking "I wonder if he's actually going to make that into a script and publish it?" And voila here she is, goodjob Mattie. Brilliant idea.

:-),
Einlanzers


User avatar
Regular
Profile

Posts: 151
Location:
Portsmouth, UK
 
New postPosted: 2005-12-07, 9:41 pm 

indeed a fantastic idea! im worried about chat spam though, from both servers the chat would become pretty hectic.

_________________
Image
www.sars-clan.co.uk
sars.servegame.com:1337
sars.servegame.com:27018 (ZH)
sars.servegame.com:27055(DOD:S)
Need a server? We now rent cheap powerful servers! (UK)


User avatar
Site Administrator
Site Administrator
Profile

Posts: 7438
Location:
At Work
 
New postPosted: 2005-12-07, 9:43 pm 

GreenGiant wrote:
indeed a fantastic idea! im worried about chat spam though, from both servers the chat would become pretty hectic.


No more than a server with twice as many people.

I have two 20 person servers. It can't be any worse than a server with 40, right?

That being said, I wouldn't want to hook-up two 64-person servers. ;)

-Mattie


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 4265
Location:
Michigan
 
New postPosted: 2005-12-07, 9:52 pm 

And you can choose what events to trigger it, so if you only want it to tell on player connects/disconnects or something then that's all you'll see. I would never EVER do a player_say or es_client_command accross servers..that would just be stupid.

Again..I say good idea,
Einlanzers


User avatar
Regular
Profile

Posts: 151
Location:
Portsmouth, UK
 
New postPosted: 2005-12-07, 9:53 pm 

lol your right. im going to do it.

any joys with nemod btw? hows it coming along.

_________________
Image
www.sars-clan.co.uk
sars.servegame.com:1337
sars.servegame.com:27018 (ZH)
sars.servegame.com:27055(DOD:S)
Need a server? We now rent cheap powerful servers! (UK)


User avatar
New User
Profile

Posts: 17
 
New postPosted: 2005-12-08, 1:43 pm 

would have been nice if someone could have done a nix port :(


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 0 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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group