Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit Spartan AntiCheat support #764

Open
josegoust opened this issue Oct 25, 2024 · 6 comments
Open

Explicit Spartan AntiCheat support #764

josegoust opened this issue Oct 25, 2024 · 6 comments
Labels
incompatibility A plugin that OldCombatMechanics is incompatible with

Comments

@josegoust
Copy link

Problem

Proposed solution

Add the spartan api back
https://github.com/Vagdedes/Spartan-AntiCheat

U removed the spartan api, pls add again

@josegoust josegoust added the enhancement A feature or enhancement suggestion for OldCombatMechanics label Oct 25, 2024
@kernitus
Copy link
Owner

Is there a module/feature in particular that you find is affected by Spartan? As of our latest tests Spartan works fine with OCM without explicit support.

@Vagdedes
Copy link

You were using the API previously, just add back that code with the new repository as the dependency. There are actually false positives with the movement checks sometimes, my reports increased since your changes. The other repository you rightfully removed but it should have been a replacement, not just a deletion.

Thanks

@kernitus kernitus added incompatibility A plugin that OldCombatMechanics is incompatible with and removed enhancement A feature or enhancement suggestion for OldCombatMechanics labels Oct 26, 2024
@kernitus
Copy link
Owner

You were using the API previously, just add back that code with the new repository as the dependency. There are actually false positives with the movement checks sometimes, my reports increased since your changes. The other repository you rightfully removed but it should have been a replacement, not just a deletion.

Thanks

The Spartan API was only ever used to check for healing ticks (291c356) in the old player regen module, so false positives about movement checks are completely unrelated to its removal. This is the first we are hearing of reports relating to movement - and adding the dependency back in as-is would make no difference. The only places where we might affect movement is in the modules that modify combat knockback, such as the FishingRodVelocity, PlayerKnockback, and ProjectileKnockback modules. Have you any suggestions on which checks might need to be disabled and when?

@kernitus kernitus changed the title Add spartanapi Explicit Spartan AntiCheat support Oct 26, 2024
@Vagdedes
Copy link

I'd definitely recommend disabling checks momentarily via the cancelCheck() API method for up to 100 ticks when an OCM feature is triggered, any of it. Thanks for the detailed feedback on the commits, it's probably our changes that caused this. Let me know if something can be done

@kernitus
Copy link
Owner

I'd definitely recommend disabling checks momentarily via the cancelCheck() API method for up to 100 ticks when an OCM feature is triggered, any of it. Thanks for the detailed feedback on the commits, it's probably our changes that caused this. Let me know if something can be done

OCM does calculations on every EntityDamageByEntity event, wouldn't doing that effectively disable all combat anticheats from running?

@Vagdedes
Copy link

Yes, that's true, although I was referring more to movement checks. Either way, the co-developer said they would look at it since they are the ones who made the recent detections responsible for the false positives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incompatibility A plugin that OldCombatMechanics is incompatible with
Projects
None yet
Development

No branches or pull requests

3 participants