FreakFortressBat icon indicating copy to clipboard operation
FreakFortressBat copied to clipboard

[Request] CTFGameRules::DeathNotice

Open 01Pollux opened this issue 4 years ago • 2 comments

Hello, sorry if this is the wrong place to post it, but i have a suggestion, kinda of hacky way to achieve fake killicons. btw the actual signature for it is "windows" "\x55\x8B\xEC\x81\xEC\x60\x01\x00\x00\x53\x56".

//*edit an update without a bump, one of the Event's benifits is that its faster to use, while the only hard part lies in setting "weapons" offset, which i have found, its CEconItemSchema::GetItemDefinition(weapon_idefindex) + 216. an example would be here.

01Pollux avatar Mar 24 '20 21:03 01Pollux

This might be better way to achieve the death notice without killing the boss. And one hand I am halting on features until I get the FF2 remake going. (Hopefully not going to end up like FF2 2.0.)

Edit: And it did, rip.

Batfoxkid avatar Mar 25 '20 02:03 Batfoxkid

Kinda too late for this... but apparently all i had to pass was the actual index to use SDKCall or straight up copy-paste the params from SDKHook_OnTakeDamageAlive. I still don't know why it didn't work with DHook(CTFPlayer::OnTakeDamage_Alive) nor why it didn't work correctly previously. As for manually creating event, it only requires me to use userid instead of index.

01Pollux avatar Mar 25 '20 11:03 01Pollux