Raised This Month: $ Target: $400
 0% 

[Orpheu] Memory hack


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-08-2014 , 18:59   Re: [Orpheu] Memory hack
Reply With Quote #1

Well, it is probably easier to modify a .so than a .dll.
But run-time patching with Orpheu is probably easier than doing so.
Do you have a source code of that module? If you do, I can try to recompile it, omitting that function call.
klippy is offline
teh ORiON
Member
Join Date: Sep 2011
Location: Denmark
Old 12-08-2014 , 19:21   Re: [Orpheu] Memory hack
Reply With Quote #2

Yeah but now that I think about it, would probably be better to patch the library for what I need it for.
I'll give a bit of context now, so you know what it's about.

I want to change is PM_PlayerMove in tfc.so (Team fortress classic library).

PM_PlayerMove


What I want removed is the VectorScale call in this bit:

PHP Code:
// Slow down, I'm pulling it! (a box maybe) but only when I'm standing on ground
    
if ( ( pmove->onground != -) && ( pmove->cmd.buttons IN_USE) )
    {
        
VectorScalepmove->velocity0.3pmove->velocity );
    } 
teh ORiON 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 15:25.


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