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
Bos93
Veteran Member
Join Date: Jul 2010
Old 06-14-2014 , 02:27   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1261

Spirit_12, https://forums.alliedmods.net/showthread.php?t=147998
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 06-14-2014 , 07:06   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1262

Searching signature in Linux is easy compare to Windows, but i really don't get how to make it params. Confuse.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-14-2014 , 07:19   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1263

"but i really don't get how to make it params" , meaning?
__________________
Arkshine is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 06-14-2014 , 10:04   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1264

Quote:
Originally Posted by Arkshine View Post
"but i really don't get how to make it params" , meaning?
For example:
Code:
{     "name"       : "KickBack",     "class"      : "CBasePlayerWeapon",     "library"    : "mod",     "arguments"  :     [         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "int"         }     ],     "identifiers":     [         {             "os"    : "windows",             "mod"   : "cstrike",             "value" : [0x51,0x56,0x8B,0xF1,0x8B,0x86,"*","*","*","*",0x83,0xF8,"*",0x89,0x44]         },         {             "os"    : "linux",             "mod"   : "cstrike",             "value" : "KickBack__17CBasePlayerWeaponffffffi"         }     ] }
I mean the arguments:
Code:
    "arguments"  :     [         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "float"         },         {             "type" : "int"         }     ],
How to know it was float, int?
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-14-2014 , 10:35   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1265

Because you see the function header in IDA (linux binary).
__________________

Last edited by Arkshine; 06-14-2014 at 10:36.
Arkshine is offline
Old 06-14-2014, 10:35
Arkshine
This message has been deleted by Arkshine. Reason: double-post
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 06-20-2014 , 14:11   Re: Module: Orpheu2.3a
Reply With Quote #1266

Quote:
Originally Posted by meTaLiCroSS View Post
Well, the return issue wasn't a problem, it was just a question because in the decompiled function I saw that it returned "int", but i've tested it without return and it worked well

Also, don't worry, Arkshine gave me the solution.

Code:
{ "name" : "packPlayerItem", "library" : "mod", "arguments" : [ { "type" : "CBasePlayer *" }, { "type" : "CBasePlayerItem *" }, { "type" : "bool" } ], "identifiers" : [ { "os" : "windows", "mod" : "cstrike", "value" : [0x83,"*","*",0x53,0x57,0x8B,"*","*","*",0x33,0xDB,0x3B,0xFB,0x0F,"*","*","*","*","*",0x8B,0x87] }, { "os" : "linux", "mod" : "cstrike", "value" : [0x55,0x89,"*",0x83,"*","*",0x57,0x56,0x53,0xE8,"*","*","*","*",0x81,"*","*","*","*","*",0xC7,"*","*","*","*","*","*",0x83,"*","*","*",0x74,"*",0x8B]
} ] }



"Some functions symbols name doesn't work for some reasons, it might be the case for this one too. Some symbols doesn't work and I don't think it's related to orpheu itself."

It's a weird issue, but anyway, the solution was doing a signature of bytes for founding directly the function
Any signature of bytes for packPlayerItem on linux? The symbol doesn't work: same issue that I posted with old binary's symbol.
__________________
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 06-20-2014 , 15:41   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1267

You mean this symbol doesn't work ?
Code:
_ZL14packPlayerItemP11CBasePlayerP15CBasePlayerItemb
If not signature (that you will have to convert as too lazy!) :
Code:
83 ? ? 85 ? 89 ? ? ? 89 ? 89 ? ? ? 89 ? 89 ? ? ? 89
__________________

Last edited by Arkshine; 06-20-2014 at 15:43.
Arkshine is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 06-20-2014 , 15:41   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1268

meTaLiCroSS, _ZL14packPlayerItemP11CBasePlayerP15CBasePlay erItemb
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 06-20-2014 , 16:07   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1269

Yep, symbol didn't work. I've just seen your thread Arkshine about Signature of bytes, now it's so much easier hahaah i've done the same sig that you posted.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 06-23-2014 , 23:01   Re: Module: Orpheu (v2.5.1)
Reply With Quote #1270

Error while compiling orpheu:

PHP Code:
In file included from filesManager.cpp:2:0:
include/
filesManager.h:5:43fatal errorboost/filesystem/operations.hppNo existe el fichero o el directorio
compilation terminated

Also, I had to comment "typedef unsigned long ULONG" from CDetourDis.h because extdll already defined it, or something like that lol
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS 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:53.


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