Wimberton / OriginPalia

A multi-purpose tool for Palia, written in C++. For non-commercial usage, looking for contributors. Features such as ESP, Teleportation, Auto-fishing, and more.
https://www.unknowncheats.me/forum/palia/636934-originpalia-feature-packed-multitool-imagine.html
29 stars 10 forks source link

Remove nodes after collected #20

Closed 01010100010100100100100101000111 closed 2 weeks ago

01010100010100100100100101000111 commented 1 month ago

This is very much a nice to have, as no big deal to track, but say you mine a node; could it be removed from the users map, rather than waiting for it to de-spawn?

Edit, bugs already remove, bad example, say trees, foliage & mine nodes

Wimberton commented 1 month ago

This is very much a nice to have, as no big deal to track, but say you mine a node; could it be removed from the users map, rather than waiting for it to de-spawn?

Edit, bugs already remove, bad example, say trees, foliage & mine nodes

We're working on resolving this. We do some checks on collision ability for the other entities, and ores still can collide when the node is mined. I'm looking further into their states to possibly track that as well.

Diyagi commented 1 month ago

I was messing around with UE4SSs Live View and found out some properties that can be used to track this. BrokenByotherPlayer2 BrokenByOtherPlayer

From what i tested, the property IAmAlive changed to False after the player (me) gathered the iron node, IAmAlive does not change of the other players mine the node.

At the same time, if me or any other player mine the node, DespawnTimestamp is set to an epoch time in seconds to when the node will despawn.

If these properties can be accessed, it is possible to not only hide the nodes the client mined, but also show when nodes mined by other players will despawn.

Wimberton commented 1 month ago

Perfect! Thank you! I will leave this open so I can look into this further.

VoidPollo commented 2 weeks ago

This has been introduced, thank you for the suggestion :heart:, closing.