Grasscutter icon indicating copy to clipboard operation
Grasscutter copied to clipboard

[Bug] in Crash Course, there is a stuck door at the top of the wind current.

Open scooterboo opened this issue 1 year ago • 3 comments

Describe the bug In crash course, after riding the wind current up, the door will not open. You can interact with the worktop, but the door doesn't budge.

How to replicate: Do Crash Course, ride the wind current up, press e on the worktop, and the door will not open.

Notes: I've seen this one before, but usually it doesn't give you the option to interact with it. The problem there was that this specific worktop would delete and reload in the hallway right behind where you meet kaeya, but the delete would take longer than the load and it would end up staying deleted. I fixed it with a synchronized. I can interact with it here, so it's not the same issue. The fix for that one was jumping off into the void so that the worktop reloaded. That's not working here.

/entity 193 state201 to open the door

The group is scene20008_group220008003.lua The door is config_id 193 The worktop is 195 IMPORTNANT: The lua uses a local variable to know the door is config_id 193. If something like defs.gadget_id_1 is unreadable for the lua at the moment, that will be the problem.

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

Screenshots image

scooterboo avatar Feb 09 '24 05:02 scooterboo

The first door in Sparks Amongst the Pages isn't working either. This might just be a majority of worktop doors. I'm going to look into getting jnlua working on my end again.

Local variable bugs are not something to to take lightly.

scooterboo avatar Feb 09 '24 05:02 scooterboo

Bug seems to be fixed if you switch to JNLua

scooterboo avatar Feb 09 '24 07:02 scooterboo

should be the same as in #84 since its also using param2 for the select option check

Hartie95 avatar Feb 17 '24 17:02 Hartie95