[Orpheu] Call CGrenade::Detonate
Hello, I want to use a virtual function with orpheu, namely: "CGrenade :: Detonate". How do I do?
Sorry for my bad english: ( :cry::cry: |
Re: [Orpheu] Call CGrenade::Detonate
Such funcion is not virtual. You have to use the signature.
See, https://forums.alliedmods.net/showpo...2&postcount=11, it should help. |
Re: [Orpheu] Call CGrenade::Detonate
Thank you very much! But the sound of the explosion and the explosion sprite, and the game closes.
|
Re: [Orpheu] Call CGrenade::Detonate
Oh, I was wrong, everything works fine, just blew the player XD. Thanks!
|
Re: [Orpheu] Call CGrenade::Detonate
If you expect some help, start to give concrete informations on what you're doing. Saying it crashes without the context/code, doesn't help.
|
Good.
MERGE EDIT 1: From the explosion damage is not applied. MERGE EDIT 2: Can be used ShootTimed2? Signature, please. |
Re: [Orpheu] Call CGrenade::Detonate
Arkshine, please help me to create the signature, I think that I made it incorrectly
CGrenade__ShootTimed2 Code:
.text:1008A650 ; sub_1008B150+B4o ...Code:
[0x8b, 0x44, "*", "*", 0x83, 0xec, "*", 0x8b, 0x50, "*", 0x55, 0x56, 0x8b,0xf1, 0x8b, 0x8a, "*", "*","*","*",0x57,0x6e,"*",0x3b,0x8d,0x98,"*","*","*","*",0x84,0x83,"*","*","*",0xa1,0xb8,0x25,0x16,0x10,0x8b,"*",0x53,0xbf,0x74,"*","*","*",0x8b,0x80,0x98,"*","*","*","*",0xc1]Arskhine please help me to make a complete signature? |
Re: [Orpheu] Call CGrenade::Detonate
That sig is wrong.
See tutorial on how to make sigs. |
Re: [Orpheu] Call CGrenade::Detonate
I have read this, and succeeded:
[0x8b, 0x44, "*", "*", 0x83, 0xec, 0x18, 0x8b, 0x50, "*", 0x55, 0x56, 0x8b,0xf1, 0x8b, 0x8a, "*", "*","*","*",0x57,0x8b,"*",0x3b,0x8d,"*","*"," *","*",0x0f,"*","*","*","*","*",0xa1,0xb8,"*" ,"*","*",0x8b,0x0a,0x53,0xbf,0x74,"*","*","*" ,0x8b,0x80,"*","*","*","*",0x03,0xc1] Where is my error? |
Re: [Orpheu] Call CGrenade::Detonate
Quote:
Funcion is exported, so you don't need signatures, but the symbol name : Code:
ShootTimed2__8CGrenadeP9entvars_sG6VectorT2fiUs |
| All times are GMT -4. The time now is 15:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.