#Is there any way to get information when 3114 starts to strangle and stops strangling a player?

1 messages · Page 1 of 1 (latest)

haughty loom
#

For me, the effect event doesn't work as it triggers twice and doesn't say if the effect has been added or not. So I went with what Scp3114Strangle does and patch that but that also doesn't work correctly. I can't figure it out at all.

frail turtle
#

You can get the moment a player stops strangling due to damage by patching here

haughty loom
frail turtle
#

Doesn't seem like it

haughty loom
#

damn

frail turtle
#

It gets updated before sending any message

haughty loom
#

I wanted to see if it's possible to get the player tho, so that kind of makes it hard

#

cant patch _rpcType because NRE, ive tried that

frail turtle
#

That way you get the action and referencehub before being sent

haughty loom
#

that's sort of what i am doing right now

#

but it's not really working

frail turtle
#

Hm, what does your patch look like?

haughty loom
#

like, i have a hint that shows whilst being strangled

#

and it should disappear once the strangling stops

#

but it doesnt

haughty loom
frail turtle
#

Looks fine to me

#

Maybe try by checking for specific rpc types instead of Target being null?

#

There are only 4 of them

haughty loom
#

well

#

the hint isn't disappearing

#

and idk why not

frail turtle
#

Have you confirmed it isn't your hint manager's issue?

haughty loom
#

yeah because my initial code worked perfectly, there was just an issue where it would stay perm in a very specific case

#

so i changed my code to mitigate against that

frail turtle
#

Did you make sure this actually finds a player?

haughty loom
#

yeah it does

frail turtle
#

oh it's exiled based?

#

Did you make sure EXILED doesn't "break" your implementation?

haughty loom
#

that is the labapi player

frail turtle
#

Well, EXILED will still patch things

haughty loom
#

hence why i came here

haughty loom
frail turtle
#

Your safest bet would probably be trying to implement the same patch without EXILED (on a fresh plugin that is with logger only instead of hints)

#

If it works, EXILED patches bork it