| Console outputs of evicts [message #469133] | 
			Tue, 12 June 2012 10:44   | 
		 
		
			
				
				
				  | 
					
						  
						cAmpa
						 Messages: 597 Registered: March 2006 
						
	Karma: 0
 
					 | 
					Colonel  | 
					 | 
		 
		 
	 | 
 
	
		I'm wondering what kind of message's are added. Example this one: 
 
| Quote: |   Player has been evicted. Client address: xxx.xxx.xx.xx; Reason: Invalid tank_stealth_start.wav found, you have been blocked by the anti-cheat;
  |  
  
 
 
Is there a system/format of these message's? 
My plan is to get them via console_output hook and format them to a short info line. 
(evict_hook would be awesome but meh i know that won't happen   )
		
		
  Bückstabü!
		[Updated on: Tue, 12 June 2012 10:47] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: Console outputs of evicts [message #469150 is a reply to message #469148] | 
			Tue, 12 June 2012 14:32    | 
		 
		
			
				
				
				  | 
					
						  
						cAmpa
						 Messages: 597 Registered: March 2006 
						
	Karma: 0
 
					 | 
					Colonel  | 
					 | 
		 
		 
	 | 
 
	
		| Xpert wrote on Tue, 12 June 2012 23:14 |   I'm confused. They output to the renlog file like a console_output. Unless you just want a specific hook just for the anti cheat messages?
  |  
  
 
Yes with variables like nickname and whathedidtogetkickedout.
		
		
  Bückstabü!
		
 |  
	| 
		
	 | 
 
 
 | 
	
		
		
			| Re: Console outputs of evicts [message #469202 is a reply to message #469133] | 
			Wed, 13 June 2012 03:30    | 
		 
		
			
				
				
				
					
						  
						StealthEye
						 Messages: 2518 Registered: May 2006  Location: The Netherlands
						
	Karma: 0
 
					 | 
					General (2 Stars)  | 
					  
  | 
		 
		 
	 | 
 
	
		cNetwork::evictClient outputs: 
"Player has been evicted. Client address: %s; Reason: %S;\n", ipaddress, reason 
 
reasons are: 
Anything custom that calls the Evict_Client API 
L"You have been kicked" 
L"You have been kicked for %s", reason 
L"You have been banned" 
L"You have been banned for %S", reason 
L"Invalid stealth effect texture found, you have been blocked by the anti-cheat" 
L"Invalid sniper scope texture found, you have been blocked by the anti-cheat" 
L"Invalid cameras.ini found, you have been blocked by the anti-cheat" 
L"Invalid surfaceeffects.ini found, you have been blocked by the anti-cheat" 
L"Invalid tt.ini found, you have been blocked by the anti-cheat" 
L"Invalid scopes.cfg found, you have been blocked by the anti-cheat" 
L"Invalid objects.ddb found, you have been blocked by the anti-cheat" 
L"Invalid map file found, you have been blocked by the anti-cheat" 
L"Invalid map file found, you have been blocked by the anti-cheat" 
L"Invalid map file found, you have been blocked by the anti-cheat" 
L"Invalid %S found, you have been blocked by the anti-cheat", fileName 
 
L"Connection to server has been refused:\n%s", refusalMessage 
-- Any refusalMessage in DefaultConnectionAcceptanceFilter::getStatus 
-- Any refusalMessage in BanSystem::getStatus 
-- Any custom connection acceptance filters 
-- L"The revision of TT %.2f you use (based on r%d) is not compatible with the server (based on r%d). Please make sure that both you and the server are up to date.", 4.0, client base revision number, server base revision number
		
		
  BlackIntel admin/founder/coder 
Please visit http://www.blackintel.org/
		[Updated on: Wed, 13 June 2012 03:33] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 |