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

Disconnect Type Notification


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The_Ghost
Senior Member
Join Date: Jun 2006
Location: RoMaNiA
Old 08-24-2011 , 06:30   Disconnect Type Notification
Reply With Quote #1

Hi, I'm looking for a simple plugin to notify the reason that players disconnect from a server. I know that you can see in the console if one player dropped or has timed out, but it's easier for an admin and also for the players to see this message in chat. I need this plugin only to show when a player dropped or has timed out in chat. And it would be great if the player's name is written in a color according to the team that he belonged. (Red T/Blue CT)
For instance:

Player Ghost dropped.
Player Ghost has timed out.

Thanks in advance.
__________________
We live in a world where PIZZA arrives faster than the Police !

Last edited by The_Ghost; 08-24-2011 at 06:34.
The_Ghost is offline
Send a message via Skype™ to The_Ghost
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-24-2011 , 17:48   Re: Disconnect Type Notification
Reply With Quote #2

Those are console messages right? If yes, you can't change the color of console messages.
__________________
fysiks is online now
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 08-24-2011 , 17:53   Re: Disconnect Type Notification
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
Those are console messages right? If yes, you can't change the color of console messages.
I think he is asking for the messages to be displayed in the in-game chat instead of the console.
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
modernwarfare
Senior Member
Join Date: Aug 2011
Location: sweden
Old 08-24-2011 , 18:02   Re: Disconnect Type Notification
Reply With Quote #4

yes he means the chat
__________________
Im supporting/coding XP Mod Plugin
Free Palestine
R.I.P. The 2967 American people that lost their lives 9/11 and R.I.P.
The 48,644 Afghan and 1,690,903 Iraqi people that paid the ultimate price for a crime they did not commit.



modernwarfare is offline
Send a message via MSN to modernwarfare Send a message via Skype™ to modernwarfare
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 08-24-2011 , 20:03   Re: Disconnect Type Notification
Reply With Quote #5

there are a lot of plugins doing your request, just search with the right keywords, edit the texts in the .sma, and it's done.
__________________
ANTICHRISTUS is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 08-25-2011 , 10:01   Re: Disconnect Type Notification
Reply With Quote #6

Quote:
Originally Posted by ANTICHRISTUS View Post
there are a lot of plugins doing your request, just search with the right keywords, edit the texts in the .sma, and it's done.
definately no one.
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-25-2011 , 10:32   Re: Disconnect Type Notification
Reply With Quote #7

I think it's only possible to do with Orpheu by hooking SV_DropClient
__________________
xPaw is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 08-25-2011 , 10:43   Re: Disconnect Type Notification
Reply With Quote #8

from the wild hack ever
Code:
//patch "%s timed out\n"
  const char *sig_timeout = "\x8D\x86\x10\x4D\x00\x00\x50\x68\x2A\x2A\x2A\x2A\xE8";
  write_func(C_ClientTimedOutDropped, signature_scan_x2A(g_MODBASEADDR, g_MODBASESIZE, sig_timeout, 13) + 13);

  //patch "%s dropped\n"
  const char *sig_dropped = "\x05\x10\x4D\x00\x00\x50\x68\x2A\x2A\x2A\x2A\xE8";
  write_func(C_ClientTimedOutDropped, signature_scan_x2A(g_MODBASEADDR, g_MODBASESIZE, sig_dropped, 12) + 12);
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
The_Ghost
Senior Member
Join Date: Jun 2006
Location: RoMaNiA
Old 08-25-2011 , 16:59   Re: Disconnect Type Notification
Reply With Quote #9

Quote:
Originally Posted by joshknifer View Post
I think he is asking for the messages to be displayed in the in-game chat instead of the console.
I asked for the messages to be displayed both in the console and chat.
__________________
We live in a world where PIZZA arrives faster than the Police !
The_Ghost is offline
Send a message via Skype™ to The_Ghost
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-01-2011 , 08:27   Re: Disconnect Type Notification
Reply With Quote #10

http://forums.alliedmods.net/showthread.php?t=166239
__________________
Bugsy 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 00:34.


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