Raised This Month: $ Target: $400
 0% 

Module: Okapi


Post New Thread Reply   
 
Thread Tools Display Modes
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 11-16-2014 , 14:56   Re: Module: Okapi
Reply With Quote #51

Quote:
Originally Posted by Arkshine View Post
What do you mean? CamelCase? Factorized natives?

The only issue I see is more all is put together in one file, and since it's not factorized, and use _mod/_engine, it can be indeed confusing when you read the file. But if it's well separated (one file for memmory stuff, functions, etc.), you would see that's not really an issue. That's said, I might factorize the one with the type (_int, _float,etc.) since if I add more type, probably more handy to have one native and a list of constants.
I think he means that Okapi natives, instead of Orpheu, are not CamelCase
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 11-16-2014 , 16:31   Re: Module: Okapi
Reply With Quote #52

Maybe this type of natives:
PHP Code:
native okapi_engine_find_sig_at(ptr,const sig[],count
convert to something like this:
PHP Code:
native okapi_find_sig(ptr_startptr_end, const sig[], count sizeof sig)

stock okapi_engine_find_sig(const sig[], count sizeof sig)
{
    return 
okapi_engine_find_sig(okapi_engine_get_base_ptr(),okapi_engine_get_end_ptr(),sig,count)

Adding ability to search in some memory interval. Also add semicolons to include. And pls, don't make any cfg files with sigs and other things, it sucks since Orpheu.
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 11-16-2014 , 17:56   Re: Module: Okapi
Reply With Quote #53

what is CamelCase ?

agree with said KORD

@EDIT
I understand, thanks Arkshine.
__________________

Last edited by Destro-; 11-16-2014 at 20:37.
Destro- is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-16-2014 , 18:02   Re: Module: Okapi
Reply With Quote #54

this_is_not_camel_case

thisIsCamelCase
__________________
Arkshine is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 11-16-2014 , 21:07   Re: Module: Okapi
Reply With Quote #55

Quote:
Originally Posted by Arkshine View Post
this_is_not_camel_case

thisIsCamelCase
And

ThisIsCamelCaseToo
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 11-17-2014 , 10:02  
Reply With Quote #56

Spoiler


One more suggestion: declare string params in natives as const:
PHP Code:
native okapi_func:okapi_build_vfunc_class(classname[],offset,okapi_arg:ret,okapi_arg:...) 
-->
PHP Code:
native okapi_func:okapi_build_vfunc_class(const classname[],offset,okapi_arg:ret,okapi_arg:...) 
PHP Code:
native okapi_get_engfunc_ptr(id)
native okapi_get_dllfunc_ptr(id)
native okapi_get_engfunc_ptr_by_offset(offset)
native okapi_get_dllfunc_ptr_by_offset(offset
I think we also need such natives for metamod's gpMetaUtilFuncs and gpMetaGlobals. It will be usefull on manipulation with metamod through Okapi.
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community

Last edited by KORD_12.7; 11-17-2014 at 10:06.
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
deepaklost
Member
Join Date: Jan 2011
Old 12-18-2014 , 17:13   Re: Module: Okapi
Reply With Quote #57

admin ESP spectator plugin is not working if i upload akapi module ... Any fix for it ?
deepaklost is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-18-2014 , 18:23   Re: Module: Okapi
Reply With Quote #58

Are you seriously expecting some help when you are giving 0 informations?
__________________
Arkshine is offline
deepaklost
Member
Join Date: Jan 2011
Old 12-19-2014 , 03:53   Re: Module: Okapi
Reply With Quote #59

i installed okapi module for yesterday and since then admin esp spectator is not showing after death , but the plugin shows running in console .. does this module changes any file in server ? i mean blocking the sprites or the lines..

edit : i deleted okapi n still its not working .. but i got this problem only after adding okapi module...

Last edited by deepaklost; 12-19-2014 at 04:03.
deepaklost is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 01-02-2015 , 00:04   Re: Module: Okapi
Reply With Quote #60

Any news about module update?
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
Reply


Thread Tools
Display Modes

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 17:54.


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