This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Module: Orpheu (v2.6.3)


Post New Thread Reply   
 
Thread Tools Display Modes
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-29-2010 , 04:09   Re: Module: Orpheu2.3
Reply With Quote #331

Quote:
Originally Posted by hlstriker View Post
Awesome, it works now thanks !
By the way, in your hook function header you are missing the class entity. When you hook a function belonging to a class the first argument is the object associated with that class. So it should be:

PHP Code:
(identvars_s1entvars_s2Float:flFloatiInt1iInt2
__________________
joaquimandrade is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-29-2010 , 05:52   Re: Module: Orpheu2.3
Reply With Quote #332

It's nice to see people using Orpheu on others mods than CS. !
__________________
Arkshine is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 03-29-2010 , 12:45   Re: Module: Orpheu2.3
Reply With Quote #333

Quote:
Originally Posted by joaquimandrade View Post
By the way, in your hook function header you are missing the class entity. When you hook a function belonging to a class the first argument is the object associated with that class.
I actually used a function outside the class just because of this problem. It's no wonder all the parameters were incorrect values.

Quote:
Originally Posted by Arkshine View Post
It's nice to see people using Orpheu on others mods than CS. !
Yeah, theres so many TFC plugins I've wanted to make and now I can If only I didn't have to learn sig scanning (from what I glanced it looks like I'll have to know assembly).

Before AMXX was getting sort of boring but now with Orpheu there are endless possibilities. Really love this module!

Last edited by hlstriker; 03-29-2010 at 12:47.
hlstriker is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 03-29-2010 , 18:04   Re: Module: Orpheu2.3
Reply With Quote #334

Is it possible to get/set member variables of a class?

For example to set players clip ammo:
Get: CBasePlayer::m_pActiveItem
Set: CBasePlayerWeapon::m_iClip

Btw, sorry for double post.
hlstriker is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-29-2010 , 18:13   Re: Module: Orpheu2.3
Reply With Quote #335

Quote:
Originally Posted by hlstriker View Post
Is it possible to get/set member variables of a class?

For example to set players clip ammo:
Get: CBasePlayer::m_pActiveItem
Set: CBasePlayerWeapon::m_iClip

Btw, sorry for double post.
That is what is done with the natives set_pdata_*. What you need is to find the offset associated to those names. Arkshine was working on a tutorial to teach how to find those values. I don't know if he still is
__________________
joaquimandrade is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 03-29-2010 , 18:25   Re: Module: Orpheu2.3
Reply With Quote #336

Oh, yeah I already have those offsets but I was wondering if I could do it easily with Orpheu ;D Guess not though it's no big deal.
hlstriker is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-29-2010 , 18:29   Re: Module: Orpheu2.3
Reply With Quote #337

Quote:
I don't know if he still is
Yes , but by decompiling I learn more things and see some specifics situations. I can't write a tutorial without having an enough solid knowledge, like you have to differentiate normal var, function of a class, virtual function etc, and others cases.

Quote:
if I could do it easily with Orpheu
Yes, fairly easy once you are used to read the output for simple cases. There is some case if you don't have some knowledge, it's not always easy, like : *(4 * *(a4 + 212) + *(a4 + 180) + 1524) which is actally : m_pPlayer->m_rgAmmo[ m_iPrimaryAmmoType ] ;
__________________

Last edited by Arkshine; 03-29-2010 at 18:42.
Arkshine is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 03-29-2010 , 18:37   Re: Module: Orpheu2.3
Reply With Quote #338

Quote:
Originally Posted by Arkshine View Post
Yes , but by decompiling I learn more things and see some specifics situations. I can't write a tutorial without having an enough solid knowledge, like you have to differentiate normal var, function of a class, virtual function etc, and others cases.



Yes, fairly easy once you are used to read the output for simple cases.
I'm waiting for that tutorial.
If you can introduce me a little I will appreciate.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-29-2010 , 18:53   Re: Module: Orpheu2.3
Reply With Quote #339

I will send you a PM, because I don't want to start to explain there.
__________________
Arkshine is offline
Immortal_BLG
Member
Join Date: Feb 2010
Location: RUSSIA
Old 03-31-2010 , 04:19   Re: Module: Orpheu2.3
Reply With Quote #340

can somebody attach the latest engine_i386.so file from the steam cache? PLEASE!
Immortal_BLG 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 13:30.


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