Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Hooking
Re: Hooking [message #453704 is a reply to message #453653] |
Fri, 09 September 2011 06:28 |
StealthEye
Messages: 2518 Registered: May 2006 Location: The Netherlands
Karma:
|
General (2 Stars) |
|
|
The SSGM plugin interface (see example plugin) basically contains all hooks that are available. You should use that instead of the Add...Hook functions, because contrary to what the name suggests, they support only a single hook, and SSGM is already using it. Calling the Add...Hook functions will often break SSGM or plugin functionality.
If there is any hook you think would be useful, let us know, so that we can implement it.
As for addConnectionAcceptanceFilter, best look at ConnectionAcceptanceFilter.h and BanSystem.cpp. A connection acceptance filter is basically used to check whether a user can join or not, and makes it possible to do some relatively time consuming background checking asynchronously without stalling the server and causing lag for all players ingame. This allows for "nice" banning of the player, instead of the join-and-kick behavior that was used before TT.
The ban system currently handles serial validation, and waits for the serial to be fetched before allowing the player to join. For example, this may be useful to implement route-based/"localnode" banning nicely without the join-and-kick bahavior.
BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
|
|
|
|
|
Hooking
By: halo2pac on Thu, 08 September 2011 20:49
|
|
|
Re: Hooking
|
|
|
Re: Hooking
By: halo2pac on Fri, 09 September 2011 10:28
|
|
|
Re: Hooking
|
|
|
Re: Hooking
By: halo2pac on Fri, 09 September 2011 18:17
|
|
|
Re: Hooking
By: iRANian on Fri, 09 September 2011 18:26
|
|
|
Re: Hooking
|
|
|
Re: Hooking
By: halo2pac on Sat, 10 September 2011 16:16
|
|
|
Re: Hooking
|
|
|
Re: Hooking
By: halo2pac on Sun, 11 September 2011 00:40
|
|
|
Re: Hooking
By: Jerad2142 on Sun, 11 September 2011 12:28
|
|
|
Re: Hooking
|
|
|
Re: Hooking
By: halo2pac on Sun, 11 September 2011 11:18
|
|
|
Re: Hooking
|
|
|
Re: Hooking
By: Jerad2142 on Sun, 11 September 2011 17:04
|
|
|
Re: Hooking
|
|
|
Re: Hooking
By: halo2pac on Sun, 11 September 2011 19:14
|
|
|
Re: Hooking
|
|
|
Re: Hooking
|
|
|
Re: Hooking
|
|
|
Re: Hooking
By: iRANian on Sun, 18 September 2011 07:34
|
|
|
Re: Hooking
By: jonwil on Sun, 18 September 2011 17:20
|
|
|
Re: Hooking
By: halo2pac on Sun, 18 September 2011 18:11
|
Goto Forum:
Current Time: Thu Jan 09 14:00:13 MST 2025
Total time taken to generate the page: 0.00933 seconds
|