Raised This Month: $ Target: $400
 0% 

Is worth using fakemeta instead engine?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-24-2013 , 17:35   Re: Is worth using fakemeta instead engine?
Reply With Quote #6

All modules have not been done in a row. New modules have been added over the time. It has started with some module, each ones doing specific things. Fun module doesn't do the same as Engine. Both are handled in different ways and it doesn't make sense to make one global module, eating memory/cpu for something you don't use. Cstrike is mod-specific, it doesn't make sense to include it for all mods. Fakemeta has been added after Engine, and thought in a different way, including new tools. But it's true some can be done either with Engine or Fakemeta, like entity_get*() / pev(), here the fakemeta is global, it makes the code more readable but since it contains more code to handle all constants it's slightly slower ; though it's trivial. The point is new things are added, some are improved, but to keep backward compatibility, nothing is replaced, you see instead new natives/forwards, and sometimes new powerful modules ; so for sure you will accumulate different kind of libraries. and you will have to now what does each functions in case one in module X is handled better in module Y. Having all in one module is really not a good idea as each module does specific things and mixing all will result in a nightmare to maintain the whole code but the strong negative point is it will use unnecessary resources (you may not what I'm talking about unless you check the source code), so it would make sense to include only libraries you really need for your code.
Last, you pointed out something, unfortunately true, the lack of a solid documentations. Of course you have a lof of tutorials and such, but It would be welcomed to have a detailed and well explained documentation for each modules.
__________________
Arkshine is offline
 



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 19:09.


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