Raised This Month: $ Target: $400
 0% 

Module: Orpheu (v2.6.3)


Post New Thread Reply   
 
Thread Tools Display Modes
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 03-13-2011 , 03:48   Re: Module: Orpheu2.3a
Reply With Quote #701

i try it with this
PHP Code:
#include <amxmodx>
#include <orpheu>

public plugin_precache()
{
    
OrpheuRegisterHookOrpheuGetFunctionFromClass"weapon_awp""GetItemInfo""CBasePlayerItem" ), "OnGetItemInfoAWP"OrpheuHookPost );
}

public 
OnGetItemInfoAWP( const item, const itemInfo)
{
    
OrpheuSetParamStructMember2"iMaxClip"24 );
    
OrpheuSetParamStructMember2"iMaxAmmo1"48 );

but the engine can't handle this, when i reload the clip is 24, but i can still reload again, when i buy bpammo can't over 30, but lose every buy $125 ^^
__________________

Working on:
nothing
schmurgel1983 is offline
fmfs10
Senior Member
Join Date: Mar 2009
Location: Brasil
Old 03-23-2011 , 12:28   Re: Module: Orpheu2.3a
Reply With Quote #702

Just to know... Orpheu can do anything that the other modules can do? (no amxmodx module)

If can, what is faster, Orpheu or Engine (example)
fmfs10 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-23-2011 , 12:51   Re: Module: Orpheu2.3a
Reply With Quote #703

That's not a good question. You can't compare them because the purpose is different. Others modules are a bunch of natives/forwards offering specific functionalities. Orpheu has only the purpose to hook/execute internal functions from any libraries and/or patch memory. That's not about being faster or not. It's just another module, tool you have to use intelligently considering your need. Orpheu is a more a module to alter something efficiently/directly or because others modules can't do it, but that's not the solution for all. Again, choose properly among the existing tools.
__________________
Arkshine is offline
Old 03-23-2011, 12:52
Arkshine
This message has been deleted by Arkshine. Reason: lag
peku33
Junior Member
Join Date: Nov 2008
Old 04-03-2011 , 14:49   Re: Module: Orpheu2.3a
Reply With Quote #704

Hi!
Can anyone explain me, how to handle function in executable file hlds_i686?
The function name is "RunServer".

I've created the file - configs/orpheu/functions/RunServer:
Quote:
{
"name" : "RunServer",
"library" : "engine",
"identifiers" :
[
{
"os" : "linux",
"value" : "RunServer"
}
]
}
But I'm sure that library is incorect.
And last question: what is equivalent of hlds_i686 on windows, and how to find its "value".
peku33 is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 04-04-2011 , 03:34   Re: Module: Orpheu2.3a
Reply With Quote #705

Code:
L 04/04/2011 - 09:31:56: [ORPHEU] Invalid function structure "CP228::P228Fire"
L 04/04/2011 - 09:31:56: [AMXX] Displaying debug trace (plugin "voi_realizm_zombie178.amxx")
L 04/04/2011 - 09:31:56: [AMXX] Run time error 10: native error (native "OrpheuCreateFunction")
L 04/04/2011 - 09:31:56: [AMXX]    [0] voi_realizm_zombie178.sma::setqrwabronie (line 916)
L 04/04/2011 - 09:31:56: [AMXX]    [1] voi_realizm_zombie178.sma::plugin_precache (line 7983)
L 04/04/2011 - 09:31:57: [ORPHEU] Function "CHalfLifeMultiplay::CheckMapConditions" not found
L 04/04/2011 - 09:31:57: [AMXX] Displaying debug trace (plugin "infinite_round.amxx")
L 04/04/2011 - 09:31:57: [AMXX] Run time error 10: native error (native "OrpheuGetFunction")
L 04/04/2011 - 09:31:57: [AMXX]    [0] infinite_round.sma::CheckConditions (line 153)
L 04/04/2011 - 09:31:57: [AMXX]    [1] infinite_round.sma::CheckConditions (line 111)
L 04/04/2011 - 09:32:03: [ORPHEU] Function "CHalfLifeMultiplay::CheckMapConditions" not found
L 04/04/2011 - 09:32:03: [AMXX] Displaying debug trace (plugin "infinite_round.amxx")
L 04/04/2011 - 09:32:03: [AMXX] Run time error 10: native error (native "OrpheuGetFunction")
L 04/04/2011 - 09:32:03: [AMXX]    [0] infinite_round.sma::CheckConditions (line 153)
L 04/04/2011 - 09:32:03: [AMXX]    [1] infinite_round.sma::CheckConditions (line 131)
Could someone fix signatures for hlbeta ?
__________________
Voi is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-04-2011 , 05:49   Re: Module: Orpheu2.3a
Reply With Quote #706

@peku33 : It should be hlds.exe. And not, that's not "engine". I guess you would need to modify Orpheu to find such library.

@Voi : For CheckMapConditions, use :
Code:
[0x53,0x56,0x33,0xDB,0x68,"*","*","*","*",0x53,0x8B,0xF1,0xE8,"*","*","*","*",0x83,0xC4,"*",0x85,0xC0]
__________________
Arkshine is offline
peku33
Junior Member
Join Date: Nov 2008
Old 04-04-2011 , 10:03   Re: Module: Orpheu2.3a
Reply With Quote #707

Code:
08048000-08053000 r-xp 00000000 09:02 8684895                            /home/peku33/hlds/hlds_i686
08053000-0805a000 rwxp 0000b000 09:02 8684895                            /home/peku33/hlds/hlds_i686
0805a000-0921e000 rwxp 00000000 00:00 0                                  [heap]
49e94000-49eaf000 r-xp 00000000 09:01 90852                              /lib/ld-2.5.so
49eaf000-49eb0000 r-xp 0001a000 09:01 90852                              /lib/ld-2.5.so
49eb0000-49eb1000 rwxp 0001b000 09:01 90852                              /lib/ld-2.5.so
49eb3000-4a006000 r-xp 00000000 09:01 90169                              /lib/libc-2.5.so
4a006000-4a008000 r-xp 00152000 09:01 90169                              /lib/libc-2.5.so
4a008000-4a009000 rwxp 00154000 09:01 90169                              /lib/libc-2.5.so
4a009000-4a00c000 rwxp 00000000 00:00 0
4a04f000-4a050000 rwxp 00000000 09:01 90850                              /lib/libdl-2.5.so
4a050000-4a052000 r-xp 00001000 09:01 90850                              /lib/libdl-2.5.so
4a052000-4a053000 r-xp 00002000 09:01 90850                              /lib/libdl-2.5.so
4a053000-4a054000 rwxp 00003000 09:01 90850                              /lib/libdl-2.5.so
4a05c000-4a071000 r-xp 00000000 09:01 90759                              /lib/libpthread-2.5.so
4a071000-4a072000 r-xp 00015000 09:01 90759                              /lib/libpthread-2.5.so
4a072000-4a073000 rwxp 00016000 09:01 90759                              /lib/libpthread-2.5.so
4a073000-4a075000 rwxp 00000000 00:00 0
4b179000-4b1a0000 r-xp 00000000 09:01 90889                              /lib/libm-2.5.so
4b1a0000-4b1a1000 r-xp 00026000 09:01 90889                              /lib/libm-2.5.so
4b1a1000-4b1a2000 rwxp 00027000 09:01 90889                              /lib/libm-2.5.so
4b483000-4b563000 r-xp 00000000 09:01 166239                             /usr/lib/libstdc++.so.6.0.8
4b563000-4b567000 r-xp 000df000 09:01 166239                             /usr/lib/libstdc++.so.6.0.8
4b567000-4b568000 rwxp 000e3000 09:01 166239                             /usr/lib/libstdc++.so.6.0.8
4b568000-4b56e000 rwxp 00000000 00:00 0
4b570000-4b57b000 r-xp 00000000 09:01 90882                              /lib/libgcc_s-4.1.2-20080825.so.1
4b57b000-4b57c000 rwxp 0000a000 09:01 90882                              /lib/libgcc_s-4.1.2-20080825.so.1
f1f00000-f1f21000 rwxp 00000000 00:00 0
f1f21000-f2000000 ---p 00000000 00:00 0
f208c000-f208d000 ---p 00000000 00:00 0
f208d000-f220e000 rwxp 00000000 00:00 0
f220e000-f23aa000 r-xp 00000000 09:02 8684898                            /home/peku33/hlds/libsteamvalidateuseridtickets.so
f23aa000-f23b3000 rwxp 0019b000 09:02 8684898                            /home/peku33/hlds/libsteamvalidateuseridtickets.so
f23b3000-f23b9000 rwxp 00000000 00:00 0
f23b9000-f23ba000 ---p 00000000 00:00 0
f23ba000-f24ba000 rwxp 00000000 00:00 0
f24ba000-f2507000 r-xp 00000000 09:02 8684901                            /home/peku33/hlds/libvstdlib_s.so
f2507000-f2508000 r-xp 0004c000 09:02 8684901                            /home/peku33/hlds/libvstdlib_s.so
f2508000-f2509000 rwxp 0004d000 09:02 8684901                            /home/peku33/hlds/libvstdlib_s.so
f2509000-f250b000 rwxp 00000000 00:00 0
f250b000-f2547000 r-xp 00000000 09:02 8684900                            /home/peku33/hlds/libtier0_s.so
f2547000-f2549000 r-xp 0003b000 09:02 8684900                            /home/peku33/hlds/libtier0_s.so
f2549000-f254a000 rwxp 0003d000 09:02 8684900                            /home/peku33/hlds/libtier0_s.so
f254a000-f2550000 rwxp 00000000 00:00 0
f2550000-f2d77000 r-xp 00000000 09:02 8684904                            /home/peku33/hlds/steamclient.so
f2d77000-f2d81000 rwxp 00827000 09:02 8684904                            /home/peku33/hlds/steamclient.so
f2d81000-f2d95000 rwxp 00000000 00:00 0
f2d95000-f2d96000 ---p 00000000 00:00 0
f2d96000-f37bd000 rwxp 00000000 00:00 0
f37bd000-f392d000 rwxp 00000000 00:00 0
f392d000-f39f3000 r-xp 00000000 09:02 8741674                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/orpheu_amxx_i386.so
f39f3000-f39f4000 rwxp 000c6000 09:02 8741674                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/orpheu_amxx_i386.so
f39f4000-f3a35000 rwxp 00000000 00:00 0
f3a39000-f3a81000 r-xp 00000000 09:02 8740947                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so
f3a81000-f3a82000 rwxp 00047000 09:02 8740947                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so
f3a82000-f3a87000 rwxp 00000000 00:00 0
f3a87000-f3ac1000 r-xp 00000000 09:02 8740950                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so
f3ac1000-f3ac3000 rwxp 0003a000 09:02 8740950                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so
f3ac3000-f3ac4000 rwxp 00000000 00:00 0
f3acb000-f3acc000 ---p 00000000 00:00 0
f3acc000-f42cc000 rwxp 00000000 00:00 0
f42cc000-f42cd000 ---p 00000000 00:00 0
f42cd000-f4acd000 rwxp 00000000 00:00 0
f4acd000-f4aef000 r-xp 00000000 09:02 8741601                            /home/peku33/hlds/cstrike/addons/jabatv/dlls/jabatv_mm_i386.so
f4aef000-f4afb000 rwxp 00022000 09:02 8741601                            /home/peku33/hlds/cstrike/addons/jabatv/dlls/jabatv_mm_i386.so
f4afb000-f4afe000 rwxp 00000000 00:00 0
f4afe000-f4b29000 r-xp 00000000 09:02 8741489                            /home/peku33/hlds/cstrike/addons/dproto/dproto_i386.so
f4b29000-f4b2a000 rwxp 0002b000 09:02 8741489                            /home/peku33/hlds/cstrike/addons/dproto/dproto_i386.so
f4b2a000-f4d24000 rwxp 00000000 00:00 0
f4d24000-f4d8c000 r-xp 00000000 09:02 8741306                            /home/peku33/hlds/cstrike/addons/podbot/podbot_mm_i386.so
f4d8c000-f4d92000 rwxp 00068000 09:02 8741306                            /home/peku33/hlds/cstrike/addons/podbot/podbot_mm_i386.so
f4d92000-f4e1a000 rwxp 00000000 00:00 0
f4e1a000-f4e24000 r-xp 00000000 09:02 8740945                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/csx_amxx_i386.so
f4e24000-f4e25000 rwxp 0000a000 09:02 8740945                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/csx_amxx_i386.so
f4e25000-f4e8e000 rwxp 00000000 00:00 0
f4e8e000-f4efd000 r-xp 00000000 09:02 8740941                            /home/peku33/hlds/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
f4efd000-f4f0f000 rwxp 0006f000 09:02 8740941                            /home/peku33/hlds/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
f4f0f000-f4f32000 rwxp 00000000 00:00 0
f4f32000-f5007000 r-xp 00000000 09:02 8683752                            /home/peku33/hlds/cstrike/dlls/cs_i386.so
f5007000-f5008000 rwxp 000d5000 09:02 8683752                            /home/peku33/hlds/cstrike/dlls/cs_i386.so
f5008000-f5134000 r-xp 000d6000 09:02 8683752                            /home/peku33/hlds/cstrike/dlls/cs_i386.so
f5134000-f5150000 rwxp 00202000 09:02 8683752                            /home/peku33/hlds/cstrike/dlls/cs_i386.so
f5150000-f520b000 rwxp 00000000 00:00 0
f520b000-f5220000 r-xp 00000000 09:02 8740890                            /home/peku33/hlds/cstrike/addons/metamod/dlls/metamod_i386.so
f5220000-f5221000 rwxp 00015000 09:02 8740890                            /home/peku33/hlds/cstrike/addons/metamod/dlls/metamod_i386.so
f5221000-f522a000 r-xp 00016000 09:02 8740890                            /home/peku33/hlds/cstrike/addons/metamod/dlls/metamod_i386.so
f522a000-f522c000 rwxp 0001e000 09:02 8740890                            /home/peku33/hlds/cstrike/addons/metamod/dlls/metamod_i386.so
f522c000-f5236000 rwxp 00000000 00:00 0
f5236000-f5240000 r-xp 00000000 09:01 90758                              /lib/libnss_files-2.5.so
f5240000-f5241000 r-xp 00009000 09:01 90758                              /lib/libnss_files-2.5.so
f5241000-f5242000 rwxp 0000a000 09:01 90758                              /lib/libnss_files-2.5.so
f5248000-f5252000 r-xp 00000000 09:02 8740944                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/cstrike_amxx_i386.so
f5252000-f5253000 rwxp 0000a000 09:02 8740944                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/cstrike_amxx_i386.so
f5253000-f5254000 rwxp 00000000 00:00 0
f5255000-f7256000 rwxp 00000000 00:00 0
f7256000-f726d000 r-xp 00000000 09:02 8684891                            /home/peku33/hlds/filesystem_stdio_i386.so
f726d000-f7274000 rwxp 00016000 09:02 8684891                            /home/peku33/hlds/filesystem_stdio_i386.so
f7274000-f7276000 rwxp 00000000 00:00 0
f7276000-f728e000 r-xp 00000000 09:02 8684896                            /home/peku33/hlds/libsteam_api_c.so
f728e000-f728f000 rwxp 00018000 09:02 8684896                            /home/peku33/hlds/libsteam_api_c.so
f728f000-f7294000 rwxp 00000000 00:00 0
f7294000-f72db000 r-xp 00000000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f72db000-f72e1000 rwxp 00047000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f72e1000-f72f7000 r-xp 0004d000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f72f7000-f72f9000 rwxp 00063000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f72f9000-f72ff000 r-xp 00065000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f72ff000-f7301000 rwxp 0006b000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7301000-f7308000 r-xp 0006d000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7308000-f730a000 rwxp 00074000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f730a000-f7313000 r-xp 00076000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7313000-f7318000 rwxp 0007f000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7318000-f7319000 r-xp 00084000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7319000-f731b000 rwxp 00085000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f731b000-f731c000 r-xp 00087000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f731c000-f731e000 rwxp 00088000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f731e000-f7320000 r-xp 0008a000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7320000-f7323000 rwxp 0008c000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7323000-f7335000 r-xp 0008f000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7335000-f7337000 rwxp 000a1000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7337000-f733b000 r-xp 000a3000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f733b000-f733f000 rwxp 000a7000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f733f000-f735f000 r-xp 000ab000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f735f000-f7365000 rwxp 000ca000 09:02 8684890                            /home/peku33/hlds/engine_i686.so
f7365000-f77dd000 rwxp 00000000 00:00 0
f77e4000-f77e6000 rwxp 00000000 00:00 0
f77e6000-f77ec000 r-xp 00000000 09:02 8740948                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/fun_amxx_i386.so
f77ec000-f77ed000 rwxp 00005000 09:02 8740948                            /home/peku33/hlds/cstrike/addons/amxmodx/modules/fun_amxx_i386.so
f77ed000-f77f1000 rwxp 00000000 00:00 0
ffba6000-ffc00000 rwxp 00000000 00:00 0                                  [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0                                  [vdso]
This is my maps file. Is there any way to hook hlds_i686 file, without modifying orpheu source code, to make it easier to install?
peku33 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-04-2011 , 10:14   Re: Module: Orpheu2.3a
Reply With Quote #708

Without modifying, no.
__________________
Arkshine is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 04-04-2011 , 12:07   Re: Module: Orpheu2.3a
Reply With Quote #709

What about "KickBack" ?
__________________
Voi is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-04-2011 , 12:45   Re: Module: Orpheu2.3a
Reply With Quote #710

What are you talking about ? I don't see that on your logs and anyway this signature you can found in my tutorial works fine, so what is the problem ?
__________________
Arkshine 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 00:54.


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