Raised This Month: $12 Target: $400
 3% 

Tidy Chat


Post New Thread Reply   
 
Thread Tools Display Modes
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 09-20-2015 , 15:03   Re: Tidy Chat
Reply With Quote #111

Quote:
Originally Posted by pubhero View Post
SM 5253 and 5255 was try. The plugin still dead.
errors?
Horsedick is offline
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 09-20-2015 , 19:24   Re: Tidy Chat
Reply With Quote #112

No errors

Last edited by Lucky_luck; 09-20-2015 at 19:24.
Lucky_luck is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 09-24-2015 , 15:57   Re: Tidy Chat
Reply With Quote #113

The plugin no blocking the : "Player xyz has joined the game" message, after the last CS:S update. No error messages in the logs, just not working.
pubhero is offline
Ownkruid
Senior Member
Join Date: Nov 2013
Old 09-25-2015 , 10:29   Re: Tidy Chat
Reply With Quote #114

For some reason it's not hiding cvar changes on my Multigames server, could someone help me out?

Much appreciated!
__________________




Ownkruid is offline
BReeZ
AlliedModders Donor
Join Date: Feb 2013
Location: Denmark
Old 11-26-2015 , 08:51   Re: Tidy Chat
Reply With Quote #115

Hello, i run CS:GO server Linux Debian SourceMod 1.7.3-dev+5227 .

How do i get the plugin to work?

] rcon sm plugins load tidychat
CGameEventManager::AddListener: event 'player_connect_client' unknown.
L 11/26/2015 - 14:50:23: [SM] Native "HookEvent" reported: Game event "player_connect_client" does not exist
L 11/26/2015 - 14:50:23: [SM] Displaying call stack trace for plugin "tidychat.smx":
L 11/26/2015 - 14:50:23: [SM] [0] Line 45, /home/forums/content/files/3/8/8/2/9/146649.attach::OnPluginStart()
[SM] Loaded plugin tidychat.smx successfully.

I can't seem to get the convars to work when trying to execute them. I am testing with team change.

tried with both "sm_tidychat_team 1" and "sm_tidychat_team 0"

Any help?
BReeZ is offline
Hefal
Senior Member
Join Date: Jul 2015
Old 12-04-2015 , 22:16   Re: Tidy Chat
Reply With Quote #116

Works great for TF2. I'm clueless on how to filter out name changes tho. Does anyone have a tip?

Reason for this is me having a geo ip plugin that changes the name to [ORIGIN][PALYERNAME] on all players
Hefal is offline
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 05-08-2016 , 07:57   Re: Tidy Chat
Reply With Quote #117

can anyone fix the plugin for CS:S?

Last edited by Lucky_luck; 01-07-2022 at 09:49.
Lucky_luck is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 05-08-2016 , 08:11   Re: Tidy Chat
Reply With Quote #118

Quote:
Originally Posted by banjomus99 View Post
Hello, i run CS:GO server Linux Debian SourceMod 1.7.3-dev+5227 .

How do i get the plugin to work?

] rcon sm plugins load tidychat
CGameEventManager::AddListener: event 'player_connect_client' unknown.
L 11/26/2015 - 14:50:23: [SM] Native "HookEvent" reported: Game event "player_connect_client" does not exist
L 11/26/2015 - 14:50:23: [SM] Displaying call stack trace for plugin "tidychat.smx":
L 11/26/2015 - 14:50:23: [SM] [0] Line 45, /home/forums/content/files/3/8/8/2/9/146649.attach::OnPluginStart()
[SM] Loaded plugin tidychat.smx successfully.

I can't seem to get the convars to work when trying to execute them. I am testing with team change.

tried with both "sm_tidychat_team 1" and "sm_tidychat_team 0"

Any help?
There's the problem. The event no longer exists or has been removed. I don't play CS:S but maybe the author can replace the unknown event hook with something else that is found in the game events.

Last edited by cravenge; 05-08-2016 at 08:18.
cravenge is offline
bizarrosandwich
New Member
Join Date: Sep 2015
Location: Tucson, AZ
Old 06-15-2016 , 03:20   Re: Tidy Chat
Reply With Quote #119

Hey everyone! Here's a working version for CS:GO. I'm a n00b when it comes to this stuff so here was my process for anyone interested.

@cravenge was right concerning the error "Game event "player_connect_client" does not exist"
Searched that event hook in the forums, which brought me to this post by @psychonic

Quote:
Originally Posted by psychonic View Post
CS:GO only has player_connect and no longer sets the IP address in it. TF2 added a second event, player_connect_client that does not have the IP address set and gets broadcast to clients. TF2 still has player_connect, and it still triggers the serverside logging.

With that info, I opened the tidychat sourcecode and simply changed the line:
HookEvent("player_connect_client", Event_PlayerConnect, EventHookMode_Pre);
to
HookEvent("player_connect", Event_PlayerConnect, EventHookMode_Pre);

Compiled in the latest version of sm 1.7 and tested in my 1v1 server. It loaded without any errors and is blocking connect/dc/cvar messages so far at least, which is what I needed. Unsure about the team changes and such. Wasn't able to try tonight. But let me know if it works.

Thank you @pheadxdll for this great plugin!
Attached Files
File Type: smx tidychat.smx (5.7 KB, 304 views)
File Type: sp Get Plugin or Get Source (tidychat.sp - 758 views - 4.4 KB)

Last edited by bizarrosandwich; 06-15-2016 at 03:33. Reason: forgot the files lol
bizarrosandwich is offline
Koga73
Senior Member
Join Date: Mar 2011
Location: 🍩
Old 01-30-2017 , 20:04   Re: Tidy Chat
Reply With Quote #120

Quote:
Originally Posted by bizarrosandwich View Post
Hey everyone! Here's a working version for CS:GO. I'm a n00b when it comes to this stuff so here was my process for anyone interested.

@cravenge was right concerning the error "Game event "player_connect_client" does not exist"
Searched that event hook in the forums, which brought me to this post by @psychonic




With that info, I opened the tidychat sourcecode and simply changed the line:
HookEvent("player_connect_client", Event_PlayerConnect, EventHookMode_Pre);
to
HookEvent("player_connect", Event_PlayerConnect, EventHookMode_Pre);

Compiled in the latest version of sm 1.7 and tested in my 1v1 server. It loaded without any errors and is blocking connect/dc/cvar messages so far at least, which is what I needed. Unsure about the team changes and such. Wasn't able to try tonight. But let me know if it works.

Thank you @pheadxdll for this great plugin!
Works like a dream! Thanks!
__________________
Koga73 is offline
Reply


Thread Tools
Display Modes

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 12:54.


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