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

Detect viewing cage locations #21

Open
tylercamp opened this issue Jul 5, 2024 · 2 comments
Open

Detect viewing cage locations #21

tylercamp opened this issue Jul 5, 2024 · 2 comments
Assignees
Labels

Comments

@tylercamp
Copy link
Owner

tylercamp commented Jul 5, 2024

Currently Pal Calc only recognizes "Base", "Party", and "Palbox" as storage locations. Pals in viewing cages should still be getting detected, but their location will not be set as "viewing cage". The calculated X,Y storage coordinates for a pal are based on the storage type, so not only is the location type wrong, the storage coordinates are likely wrong as well.

Note: Search for MapObjectId PalBoxV2, DisplayCharacter, find associated container IDs

@tylercamp tylercamp added the bug Something isn't working label Jul 5, 2024
@tylercamp tylercamp added this to the v1.6.1 milestone Jul 12, 2024
@tylercamp tylercamp self-assigned this Jul 18, 2024
@tylercamp
Copy link
Owner Author

I figured out how to collect the IDs for pal boxes and viewing cages, and how to tell which base contains a given viewing cage, but I can't find the data which links them to their containers. I can't investigate further since palworld-save-tools is partially broken after the Sakurajima update. If I had a pre-Sakurajima save with a viewing cage, I should be able to figure it out, but I don't have anything like that on hand.

Putting this on hold until I get a sample save which can be read by palworld-save-tools, or palworld-save-tools gets updated to handle the latest format

@tylercamp
Copy link
Owner Author

Pending changes are on the viewing-cages branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant