Raised This Month: $ Target: $400
 0% 

client_prethink & posthink - clear explanation on proble


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-23-2006 , 18:36  
Reply With Quote #1

Quote:
Originally Posted by organizedKaoS
Quote:
Originally Posted by Brad
The fakemeta hooks are essentially the same as using client_pre/postthink except you don't have to have engine enabled. If you have engine enabled anyway, there's no need to use the fakemeta forwards.

If you did use fakemeta for this, the way you described of implementing it is accurate.
Understandable, like I said, Im running runemod and it uses pre/posthink alot. So would using the fakemeta forwards prevent any clashing? The multijump plugin by twisted has caused my server to crash due to the excess use of pre/posthink of runemod. I will try the fakemeta forwards while waiting for ur response...Thanks again
They work the same way. The only difference is that Engine calls Pre/PostThink anyways, even if you didn't initialize a forward. This means that it hogs more CPU. It does this for server_frame, and any other resource consuming hooks in it that I forgot.

Fakemeta however does not do this, which makes it favorable for optimization. The functions for Pre/PostThink are slightly less abstracted though.

As Brad said, if you're running Engine anyways, you'd might as well use it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 16:30.


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