Raised This Month: $51 Target: $400
 12% 

Solved Orpheu signature for ShootSatchelCharge


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chemijs
New Member
Join Date: Jun 2017
Old 06-24-2017 , 20:23   Orpheu signature for ShootSatchelCharge
Reply With Quote #1

Hello, i need a help with cs 1.6 orpheu module signature ( orpheu/functions/CGrenade/ShootSatchelCharge )
It appears that signature have changed.

Topic:
https://forums.alliedmods.net/showpo...71&postcount=6

signature for windows:
Code:
"value" : [0x83,0xEC,0x18,0x53,0x56,0x57,0xFF,"*","*","*","*","*",0x33,0xDB,0x3B,0xC3,0x75,0x04,0x33,0xFF,0xEB,0x06,0x8D,"*","*","*","*","*",0x8B]
works perfectly, but linux:
Code:
"value" : "ShootSatchelCharge__8CGrenadeP9entvars_sG6VectorT2"
dont work:
Code:
Parsing folder "CGrenade" started
                        Parsing file "ShootSatchelCharge" started
                                Argument type "entvars_s *" validated
                                Argument type "Vector" validated
                                Argument type "Vector" validated
                                Return type "CGrenade *" validated
                                Searching for name "ShootSatchelCharge__8CGrenadeP9entvars_sG6VectorT2"... NOT FOUND
                        Parsing file "ShootSatchelCharge" ended
                Parsing folder "CGrenade" ended
I tried signature from:
https://forums.alliedmods.net/showpo...1&postcount=42

Code:
Parsing file "ShootSatchelCharge" started
                                Argument type "entvars_s *" validated
                                Argument type "Vector" validated
                                Argument type "Vector" validated
                                Return type "CGrenade *" validated
                                Searching for name "_ZN8CGrenade18ShootSatchelChargeEP9entvars_s6VectorS2_"... FOUND
                        Parsing file "ShootSatchelCharge" ended
But it crashes the server when i use the function in linux server

I am making very similar plugin as https://forums.alliedmods.net/showpo...71&postcount=6 and i need to spawn c4 without player planting it.

Thanks in advance

Last edited by Chemijs; 06-25-2017 at 10:41.
Chemijs is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 06-24-2017 , 21:44   Re: Orpheu signature for ShootSatchelCharge
Reply With Quote #2

you can use this ??

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <engine>

public plugin_init()
{
    
register_clcmd("say /plant""PlantABomb")
}

//  "detonatedelay"      Delay before bomb explode (Putting 'detonatedelay' to 0 would force it to mp_c4timer value.)
//  "detonatetarget"  Triggered when bomb is detonated.
//  "defusetarget"        Triggered when bomb is defused.

public PlantABombplayer ) {
    new 
iEntity create_entity"weapon_c4" );
    
    if( !
iEntity )
        return;
    
    
DispatchKeyValueiEntity"detonatedelay""50" );
    
DispatchSpawniEntity );
    
    new 
Float:origin];
    
pevplayerpev_originorigin );
    
    
engfuncEngFunc_SetOriginiEntityorigin );
    
    
force_useiEntityiEntity ); // This plants it

__________________
JusTGo is offline
Chemijs
New Member
Join Date: Jun 2017
Old 06-25-2017 , 10:39   Re: Orpheu signature for ShootSatchelCharge
Reply With Quote #3

Thank you so much, your way is much simpler and does exactly what i need.
Chemijs 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 01:55.


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