FreeCam by Zergatul

FreeCam by Zergatul

501k Downloads

Attempting to attack yourself while in f6 will crash the game.

Romoslayer opened this issue ยท 9 comments

commented

Attempting to attack yourself while in f6 will crash the game, using f6 also doesn't show your skin.

States: Player Romoslayer tried to attack an invalid entity

logs
latest.log

Mod version: 1.18.2-0.1 Beta
Forge version: 1.18.2-40.1.0

commented

Do you have other mods? With auto attack functionality?
When you enter free cam, this mod creates fake player entity (to display position of your character). Other mods can see this entity as another player and attack it.
Skin can be fixed, but I am unsure if is possible to have full compatibility with any auto attacking mods.

commented

Sorry, I don't know what these mods do. What do you mean by "I am also able to attack entities within range of my player while in free cam"? How are you doing this?

They are client side performance mods (rubidium is a forge port of sodium, oculus is iris shaders for forge, radium is lithium for forge)

I just go into free cam with f6 and attack a mob just like I would normally.

Visual representation of the bug:
https://www.youtube.com/watch?v=ByT4QFpQ-Kc

commented

Sorry, I don't know what these mods do. What do you mean by "I am also able to attack entities within range of my player while in free cam"? How are you doing this?

commented

I only had client side mods installed.
image
These are the only mods that I used and the crash still happened.

I am also able to attack entities within range of my player while in free cam.

commented

Thanks for the video. I am playing only with optifine, I am unable to attack entities in freecam (or placing blocks). As I understand you get crash with "Attempting to attack yourself" message when you attack yourself accidentally?

Anyway, I already have fix for player skins, and "Attempting to attack yourself" can also be fixed. Give me 1-2 days.

BTW, some advanced cheats allows you to place blocks while in freecam or open containers. For example, you can be trapped inside bedrock box, and can still open chest outside. My mod doesn't allow to do this. It was surprise for me you are able to attack entities.

commented

Thanks for the video. I am playing only with optifine, I am unable to attack entities in freecam (or placing blocks). As I understand you get crash with "Attempting to attack yourself" message when you attack yourself accidentally?

Anyway, I already have fix for player skins, and "Attempting to attack yourself" can also be fixed. Give me 1-2 days.

BTW, some advanced cheats allows you to place blocks while in freecam or open containers. For example, you can be trapped inside bedrock box, and can still open chest outside. My mod doesn't allow to do this. It was surprise for me you are able to attack entities.

Yes, whenever I attack myself (either on accident or on purpose) my game crashes. I have also tested this with optifine and freecam alone and this issue still persists (crash still happens, and can still attack entities and open chests).

commented

You are right, I tried to attack entities on the long distance.
I added new release with fixes.

commented

Haha, you are genius! I didn't know I can open chests in freecam. Advanced cheats use another approach to enter freecam mode, that's why I thought this is impossible and didn't even try.

commented

:P