Raised This Month: $ Target: $400
 0% 

Who can help me with orpheu?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hzqst
Senior Member
Join Date: Jul 2008
Old 05-08-2010 , 22:59   Who can help me with orpheu?
Reply With Quote #1

PHP Code:
 new OrpheuFunction:SetAnimation OrpheuGetFunction"SetAnimation""CBasePlayer" );
 
OrpheuRegisterHookSetAnimation"OP_SetAnimation" ); 
PHP Code:
public OP_SetAnimation(const player, ???){
 

PHP Code:
{
 
"name" "SetAnimation",
 
"class" "CBasePlayer",
 
"library" "mod",
 
"arguments" :
 [
  {
   
"type" "PLAYER_ANIM"
  
}
 ],
 
"identifiers":
 [
  {
   
"os" "windows",
   
"value" "?SetAnimation@CBasePlayer@@QAEXXZ"
  
},
  {
   
"os" "linux",
   
"value" "SetAnimation__11CBasePlayer11PLAYER_ANIM"
  
}
 ]

then I just want to hook SetAnimation
hzqst is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-10-2010 , 07:59   Re: Who can help me with orpheu?
Reply With Quote #2

PHP Code:
 new OrpheuFunction:SetAnimation OrpheuGetFunction"SetAnimation""CBasePlayer" );
 
OrpheuRegisterHookSetAnimation"OP_SetAnimation" ); 
PHP Code:
public OP_SetAnimation(const player,const animation){
 

HTML Code:
{
    "name" : "SetAnimation",
    "class" : "CBasePlayer",
    "library" : "mod",
    "arguments" :
    [
        {
            "type" : "PLAYER_ANIM"
        }
    ],
    "identifiers":
    [
        {
            "os" : "windows",
            "value" : [0x83,0xEC,0x48,0x53,0x55,0x8B,0xE9,0x56,0x57,0x8B,0x4D,0x04,0x8B,0x81,"*","*","*","*",0x85,0xC0,0x0F,0x84,"*","*","*","*",0x8B]
        },
        {
            "os" : "linux",
            "value" : "SetAnimation__11CBasePlayer11PLAYER_ANIM"
        }
    ]
}
__________________
joaquimandrade is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 05-10-2010 , 09:46   Re: Who can help me with orpheu?
Reply With Quote #3

I tried your code but, it still doesn't work
This is what I saw in console:
Quote:
Orpheu functions search started.
Parsing functions started.
Parsing folder "CBasePlayer" started
Parsing file "SetAnimation" started
Argument type "PLAYER_ANIM" validated
Parsing file "SetAnimation" ended
Parsing folder "CBasePlayer" ended
Parsing functions ended.
Orpheu functions search ended
and with error:

Quote:
L 05/10/2010 - 21:43:47: [ORPHEU] Function "CBasePlayer::SetAnimation" not found
L 05/10/2010 - 21:43:47: [AMXX] Run time error 10 (plugin "orpheu_animation.amxx") (native "OrpheuGetFunction") - debug not enabled!
L 05/10/2010 - 21:43:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
hzqst is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-10-2010 , 14:23   Re: Who can help me with orpheu?
Reply With Quote #4

Quote:
Originally Posted by hzqst View Post
I tried your code but, it still doesn't work
This is what I saw in console:

and with error:
My bad:
HTML Code:
{
    "name" : "SetAnimation",
    "class" : "CBasePlayer",
    "library" : "mod",
    "arguments" :
    [
        {
            "type" : "PLAYER_ANIM"
        }
    ],
    "identifiers":
    [
        {
            "os" : "windows",
            "mod" : "cstrike",
            "value" : [0x83,0xEC,0x48,0x53,0x55,0x8B,0xE9,0x56,0x57,0x8B,0x4D,0x04,0x8B,0x81,"*","*","*","*",0x85,0xC0,0x0F,0x84,"*","*","*","*",0x8B]
        },
        {
            "os" : "linux",
            "mod" : "cstrike",
            "value" : "SetAnimation__11CBasePlayer11PLAYER_ANIM"
        }
    ]
}
It missed

HTML Code:
            "mod" : "cstrike"
__________________
joaquimandrade is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 11-03-2010 , 20:55   Re: Who can help me with orpheu?
Reply With Quote #5

How I can get current animation frame ? I need the leg ones.
__________________
Voi 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 03:43.


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