Can't find DataModel stores #8

Closed
opened 2023-11-11 15:00:16 -06:00 by MrVoltz · 5 comments
MrVoltz commented 2023-11-11 15:00:16 -06:00 (Migrated from github.com)

Hi, let me firstly thank you for this great mod. I've found an issue with the ProtoFlux Node browser that certain nodes can't be found, for example DataModelValueFieldStore<T>.

Resonite 11 11 2023 21_57_11
Resonite 11 11 2023 21_57_41

Hi, let me firstly thank you for this great mod. I've found an issue with the ProtoFlux Node browser that certain nodes can't be found, for example `DataModelValueFieldStore<T>`. ![Resonite 11 11 2023 21_57_11](https://github.com/RileyGuy/CherryPick/assets/5212649/bf9a7e9a-8574-4c03-b8db-160677d83e2e) ![Resonite 11 11 2023 21_57_41](https://github.com/RileyGuy/CherryPick/assets/5212649/c11eb684-97ae-4461-b43b-5c2a2c7a504d)
BlueCyro commented 2023-11-12 10:08:54 -06:00 (Migrated from github.com)

What version of ResoniteModLoader are you using, and what version of CherryPick are you using? I've checked this and can't replicate it on my side. Both the component and protoflux browsers show the data model stores just fine.

image

What version of ResoniteModLoader are you using, and what version of CherryPick are you using? I've checked this and can't replicate it on my side. Both the component and protoflux browsers show the data model stores just fine. ![image](https://github.com/RileyGuy/CherryPick/assets/9770110/6c57d908-929e-4671-ad4c-3ff9323708e5)
Nytra commented 2023-11-12 19:17:18 -06:00 (Migrated from github.com)

I have tried searching for DataModel and found that some don't appear in the ProtoFlux browser but do appear in the regular component selector. I think this is because there are actually some components with the same name in Uncategorized, for example DataModelValueFieldStore<T>, one of them exists in ProtoFlux/Runtimes/Execution/Nodes/Variables and the other exists in Uncategorized.

2023-11-13 01 09 04

I have tried searching for `DataModel` and found that some don't appear in the ProtoFlux browser but do appear in the regular component selector. I think this is because there are actually some components with the same name in `Uncategorized`, for example `DataModelValueFieldStore<T>`, one of them exists in `ProtoFlux/Runtimes/Execution/Nodes/Variables` and the other exists in `Uncategorized`. ![2023-11-13 01 09 04](https://github.com/RileyGuy/CherryPick/assets/14206961/3f124ad4-0922-461f-be3d-c0527b3ab3b7)
MrVoltz commented 2023-11-13 01:02:50 -06:00 (Migrated from github.com)

OnEngineInit is called right after ResoniteModLoader.dll is loaded. Because the Flux nodes are spread in multiple dlls, the node list CherryPick sees depends on the dll load order. I don't know why is it different on my machine, I have a lot of other mods and some additional libs installed. Delaying the initialization fixes the issue, but maybe I'll update the PR to move the scanning to its own method from the static block, because this is still a little bit janky.
Martin

  1. listopadu 2023 2:17:28 SEČ, Nytra @.***> napsal:

I have tried searching for DataModel and found that some don't appear in the ProtoFlux browser but do appear in the regular component selector. I think this is because there are actuaally two components called DataModelValueFieldStore<T>, one of them exists in ProtoFlux/Runtimes/Execution/Nodes/Variables and the other exists in Uncategorized.

2023-11-13 01 09 04

--
Reply to this email directly or view it on GitHub:
https://github.com/RileyGuy/CherryPick/issues/8#issuecomment-1807335304
You are receiving this because you authored the thread.

Message ID: @.***>

OnEngineInit is called right after ResoniteModLoader.dll is loaded. Because the Flux nodes are spread in multiple dlls, the node list CherryPick sees depends on the dll load order. I don't know why is it different on my machine, I have a lot of other mods and some additional libs installed. Delaying the initialization fixes the issue, but maybe I'll update the PR to move the scanning to its own method from the static block, because this is still a little bit janky. Martin 13. listopadu 2023 2:17:28 SEČ, Nytra ***@***.***> napsal: >I have tried searching for `DataModel` and found that some don't appear in the ProtoFlux browser but do appear in the regular component selector. I think this is because there are actuaally two components called `DataModelValueFieldStore<T>`, one of them exists in `ProtoFlux/Runtimes/Execution/Nodes/Variables` and the other exists in `Uncategorized`. > >![2023-11-13 01 09 04](https://github.com/RileyGuy/CherryPick/assets/14206961/3f124ad4-0922-461f-be3d-c0527b3ab3b7) > > >-- >Reply to this email directly or view it on GitHub: >https://github.com/RileyGuy/CherryPick/issues/8#issuecomment-1807335304 >You are receiving this because you authored the thread. > >Message ID: ***@***.***>
BlueCyro commented 2023-11-13 20:04:27 -06:00 (Migrated from github.com)

This evidently does not appear to fix the problem, looking into other solutions.

This evidently does not appear to fix the problem, looking into other solutions.
BlueCyro commented 2023-11-13 20:21:49 -06:00 (Migrated from github.com)

Fixed in f3d753a

Fixed in [f3d753a](https://github.com/RileyGuy/CherryPick/commit/f3d753a42d26e245be33a0792827c1df2ce636ef)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cyro/CherryPick#8
No description provided.