Raised This Month: $32 Target: $400
 8% 

Module: Okapi


Post New Thread Reply   
 
Thread Tools Display Modes
AGoodGuy
Member
Join Date: Sep 2014
Old 01-09-2015 , 00:48   Re: Module: Okapi
Reply With Quote #61

I try to understand description of Okapi and Orphue, but don't. Use this for more deep down to game system? Seen hard to understand but i feel very interest if can change anything in CS engine without many line in code, only short code like this:

PHP Code:
#include <amxmodx> 
#include <okapi> 

//Offset from mp.dll build 4382 by IDA PRO.  
#define RoundtimeMaxCheck 0x94164 
#define RoundtimeMaxCvarSet 0x9416D 
#define RoundtimeMaxSet 0x94180 

public plugin_init() 

    
register_plugin("Okapi MaxRoundtime""0.0.1""wbyokomo"
     
    
okapi_set_ptr_int(okapi_mod_get_offset_ptr(RoundtimeMaxCheck), 32400
    
okapi_set_ptr_int(okapi_mod_get_offset_ptr(RoundtimeMaxCvarSet), 540
    
okapi_set_ptr_int(okapi_mod_get_offset_ptr(RoundtimeMaxSet), 32400

Quote:
Edit: i saw the code above, simple understand is change number of 1 offset right?
But use this have to scare about crash or not stabilize? Because i hear some people said use Orpheu is cause of crash thing(not my words), i thought crash or not crash mean is you don't know what you do with Orpheu, right?
__________________
Without Passion Life Is Nothing

Quote:
“If you can't fly then run, if you can't run then walk, if you can't walk then crawl, but whatever you do, you have to keep moving forward.”― Martin Luther King Jr.

Last edited by AGoodGuy; 01-09-2015 at 00:50.
AGoodGuy is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-09-2015 , 06:22   Re: Module: Okapi
Reply With Quote #62

What does the plugin is to change a value at the provided address (offset is converted to an address).
Here it's an easy modification because value is "hardcoded".
You have to keep in mind you deal with memory, depending what you want to do, it won't always that simple.

About crash, Orpheu/Okapi and such, are just tools. When you deal with memory, you have to make sure you know what you're doing, as you can easily fuck up something. Modules itself are working fine. So it's all depending how you're using it.
__________________
Arkshine is offline
AGoodGuy
Member
Join Date: Sep 2014
Old 01-09-2015 , 07:12   Re: Module: Okapi
Reply With Quote #63

You right!, thank for answer.
__________________
Without Passion Life Is Nothing

Quote:
“If you can't fly then run, if you can't run then walk, if you can't walk then crawl, but whatever you do, you have to keep moving forward.”― Martin Luther King Jr.
AGoodGuy is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 01-12-2015 , 19:49   Re: Module: Okapi
Reply With Quote #64

Nothing new?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 04-12-2015 , 14:52   Re: Module: Okapi
Reply With Quote #65

Any news about the big update?
baneado is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-12-2015 , 14:57   Re: Module: Okapi
Reply With Quote #66

Quote:
Originally Posted by Arkshine View Post
You will need anyway a module, whatever something specific like I did for AdminFreeLook, or more global as a new native in Orpheu/Okapi. Easier way would be a simple module with a forward, as I'm not going to update Orpheu, nor Okapi soon (though I'm not sure to be able to do that, nor if doable)
__________________

Last edited by HamletEagle; 04-12-2015 at 14:57.
HamletEagle is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-12-2015 , 15:35   Re: Module: Okapi
Reply With Quote #67

Most of stuffs I wanted are committed ; there is just one request which having native for creating custom structs, kind of stucked on that. Maybe I will add it in another version. Apart that, it needs I test things before releasing.
__________________
Arkshine is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 04-12-2015 , 16:13   Re: Module: Okapi
Reply With Quote #68

Quote:
Originally Posted by Arkshine View Post
Most of stuffs I wanted are committed ; there is just one request which having native for creating custom structs, kind of stucked on that. Maybe I will add it in another version. Apart that, it needs I test things before releasing.
That's my request?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-12-2015 , 16:45   Re: Module: Okapi
Reply With Quote #69

Don't remember lol, I know KORD_17 wants it. I've introduced structures natives like Orpheu, but custom one (meaning not handled directly by module) sounds like a pain in the ass to design that internally.
__________________
Arkshine is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 04-18-2015 , 13:53   Re: Module: Okapi
Reply With Quote #70

Hello dear friends
__________________
joaquimandrade is offline
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 04:17.


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