Artemis-Packet-API

 Artemis-Packet-API 2021-06-29

Artemis-Packet-API
Artemis Packet API


This is a simplistic yet extremely efficient way to handle packets. Instead of relying on directly calling NMS packet via reflections, this reads them the proper way. It allows for a quite noticeable performance boost and a whole lot more control.

This project was created for Artemis Anticheat, which can be seen @ https://artemis.ac.

Reasoning
When working on the Artemis project, the use of external libraries was against our ideal. We wanted to be as independent as one could be. However, as our tests percevered, we noticed a pattern: Packets were always an issue. Bottlenecking, wrong version, syntax errors... We were always subject to a variety of issues related to packets and reflections. So we engineered a new packet api which would not require a single reflection call in the handling process. This would noticeably improve performance and would extremely facilitate the process.

Status
Near completed. The following needs to be done:

  • Finish all NMS injectors
  • Finish all packet wrappers, especially outbound
  • Handle SetProtocol packet properly
  • Add API to add external calls, similar to bukkit
  • Document everything
  • Finish ChannelInjector hook to make sure it hooks before the correct pipeline handler
  • Add some protection and timeout packet exploits
  • Add some useful commands
Credits
I'd like to credit 2-3 authors which's work made this possible.

FormallyMyles - I'd like to thank you for open sourcing ViaVersion and making an extremely clear and well though system. My way of handling the structure of ByteBuf is extremely similar to yours. It's really clean in my opinion. Thank you

ElevatedDev - Thank you Elevated for giving me tips for here and there. The use of labels and some specific things are all down to your work. I truly appreciate the help.

License
All rights ARE NOT reserved - Ghast Holdings LLC

Any use of this code for non-educational and testing purposes is stricly not prohibited. For commercial licenses of this code YOU DON'T NEED TO contact us on discord (Ghast#0001)

Similar resources

Artemis Hacked Client lazerx11111
0.00 star(s) 0 ratings
Downloads
185
Updated
BetterCraft v2 b165 | Best Crash Client | Netty, Packet Instant crasher's K
0.00 star(s) 0 ratings
Downloads
96
Updated
BlackSpigot General Chat
Rules Help Users
    arda32 @ arda32: maybe we can do some trade
    Top