Origins (Forge)

Origins (Forge)

7M Downloads

Colliding Entity with Block and Ticking Player Crashes with Custom Origin

newtblockstheway opened this issue ยท 1 comments

commented

I was putting together my own origin (which I have done several times before) and just finished the second power when I began experiencing crashes. The crashes vary between server and client and are caused either by "Ticking Player" or "Colliding Entity with Block".

Version:
Forge 1.19.2

Other Mods Installed
Pehkui
Apugli

The two powers in question, "Object Form" and "Mire Form" both work fine if only one of them is placed into the origin's power registry, however, if both are in, then the crashes occur. Also, the crash only occurs if both powers have their cooldown resources at max (that being after 600 ticks, or by simply setting the resource to 600 for both via commands), and if the player with the power is on the ground. If they are flying in creative mode, even with the resources filled, the game won't crash. The very second they make contact with the ground, the crash occurs.

The Powers:
object_form.txt
mire_form.txt

Crash Logs
Server Ticking Player:
crash-2023-10-05_11.36.06-server.txt
Server Colliding Entity With Block:
crash-2023-10-04_17.10.06-server.txt
Client Ticking Entity:
crash-2023-10-04_16.58.46-client.txt
Client Colliding Entity with Block:
crash-2023-10-04_16.53.50-client.txt

commented

This seems to be an issue with looping code, I'm afraid that I don't entirely understand what's going on here.

It could be that it's checking the conditions for object form and mire form at the same time, leading to both's conditions repeating into eachother.