View Single Post
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 01-31-2011 , 12:49   Re: [TF2] tMedicRubber (2010-09-12)
Reply With Quote #4

oddly enough it does
PHP Code:
[...]
    
/* Account for late loading */
    
LogMessage("MaxClients: %i"MaxClients);
    for(new 
1<= MaxClientsi++) {
        
LogMessage("Latehooking %i"i);
        if(
IsClientInGame(i) && !IsFakeClient(i)) {
            
SDKHook(iSDKHook_PreThinkOnPreThink);
        }
    }
[...]
public 
OnClientPutInServer(client) {
    
LogMessage("You have been hooked");
    
SDKHook(clientSDKHook_PreThinkOnPreThink);

results in

Code:
L 01/31/2011 - 18:38:18: -------- Mapchange to dm_store --------
L 01/31/2011 - 18:38:18: [TF2ITEMS] "GiveNamedItem" offset = 456
L 01/31/2011 - 18:38:18: [tMedicRubber.smx] MaxClients: 0
Executing dedicated server config file
Server logging enabled.
Server logging data to file logs\L0131000.log
L 01/31/2011 - 18:38:45: Log file started (file "logs\L0131000.log")
Connection to Steam servers successful.
   VAC secure mode is activated.
Client "thrAAAwn" connected (192.168.1.1:27006).
L 01/31/2011 - 18:41:36: [tMedicRubber.smx] You have been hooked
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline