Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,900 resources
00
Days
05
Hours
38
Mins
59
Secs

Player's attack events?

Status
This thread has been locked.

Notifyz

x
Banned
Feedback score
128
Posts
2,523
Reactions
2,639
Resources
0
Hello.

So recently I have ran into the issue where method for calculating clicks per second of player is not fully working.
I have noticed that this 'bug' has alot of anticheats too.

So basically I have tried these events along with sending packets and it wasn't working.
PacketUseEntityEvent,
PlayerInteractEvent,
PlayerInteractEntityEvent,
EntityDamageByEntityEvent.

PacketUseEntityEvent - Was not triggering properly.
PlayerInteractEvent - Works fine until you aim at player where it does not trigger anymore.
PlayerInteractEntityEvent - Not triggering properly.
EntityDamageByEntityEvent - It somehow does work but it seems that it has delay as when the method is called it stucks on 2 CPS.

Method for checking/getting CPS is working completely fine. I could use PlayerInteractEvent but I need one more event to call method when it has interaction with player.

If anyone could help please reply down.

Thank you
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Notifyz

x
Banned
Feedback score
128
Posts
2,523
Reactions
2,639
Resources
0
PlayerInteractEvent is triggered any time you interact with anything. Right clicking, left clicking, ANYTHING. All you have to do is use PlayerInteractEvent from my knowledge. At least that's what I did for my anti-cheat.
Really weird.. when I used it not even debug did not come up and there weren't any checks though :unsure:
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/notifyz-scam-report.515571/)

felldownstairs

Gypsy Boy | Java Developer
Supreme
Feedback score
4
Posts
783
Reactions
144
Resources
0
Try PlayerInteractEntityEvent and check if the entity is instance of player then put the code
 

Notifyz

x
Banned
Feedback score
128
Posts
2,523
Reactions
2,639
Resources
0
Try PlayerInteractEntityEvent and check if the entity is instance of player then put the code
Thank you but don't you think I already tried that :c
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/notifyz-scam-report.515571/)

Notifyz

x
Banned
Feedback score
128
Posts
2,523
Reactions
2,639
Resources
0
Literally made event handler and outprint message and it wasn't even working x)[DOUBLEPOST=1521648866][/DOUBLEPOST]'Bug' has been fixed though.
 
Last edited:
Banned forever. Reason: Scamming (https://builtbybit.com/threads/notifyz-scam-report.515571/)
Status
This thread has been locked.
Top