Anime-Game-Servers / Grasscutter-Quests

A server software implementation, ineroperable with a certain anime game client. The code in this repository is fully custom made for edyoucational purposes and future preservation, no copyrighted code is allowed in this repository.
https://grasscutters.xyz/grasscutter
GNU Affero General Public License v3.0
137 stars 31 forks source link

[Bug] pickups read the wrong loot table #91

Open scooterboo opened 9 months ago

scooterboo commented 9 months ago

Describe the bug Interacting with the glowy patches in Chasing Shadows is giving me primogems instead of vegetables and keys.

How to replicate: In Chasing Shadows, go to the lower left room. Interact with any of the glowy patches there and you get primogems instead of vegetables.

Notes: I thought it was only going to be because DropTableExcelConfigData.json is missing from the resources, but something else is missing as well. I can't find the GadgetChest/DropSystem connection that main Grasscutter has.

The items are id 43, 44, 46, and 47 in scene20023_group220023018.lua 45 is the key, but only appears in certain situations.

Which branch did you use? multi_proto Grasscutter version: 1.4.4-dev-59e2d2b4 Lua: JNLua

Screenshots

https://github.com/Anime-Game-Servers/Grasscutter-Quests/assets/1877986/0308712c-a78e-45bb-ad2d-4b93445907e1

scooterboo commented 9 months ago

I think this is making all chests drop junk like this: image

This is Hidden Tears. The chest was supposed to contain one of the tears via it's chest_drop_id of 11010900 in scene1006_group201006007.lua

scooterboo commented 9 months ago

image Stolen Tears too.

scooterboo commented 9 months ago

Rewards for bosses are always the same (and might be reading from the wrong table as a workaround)
image

This is probably a different issue, but may be related.

scooterboo commented 3 months ago

Maybe fixed by: https://github.com/Anime-Game-Servers/Grasscutter-Quests/pull/48