UPBGE / UPBGE-logicnodes

A Node-based Logic system for UPBGE 2.8+
Other
53 stars 18 forks source link

nodes do not work when playing in standalone mode #77

Open CatNippIes opened 1 year ago

CatNippIes commented 1 year ago

everything works fine when i test in embedded mode, but when i try to play in standalone it just doesnt work, the classic logic bricks work fine, but the logic nodes do not, also once i export it to an exe file, they start working fine again

youle31 commented 1 year ago

Hello, about that, I'm wondering if it can be related to recent submodules changes and also this commit after merge:

https://github.com/UPBGE/upbge/commit/91851912674f9110da7fe5d833e69ff0d3dfdc12

where blenderplayer cmakelists file has been edited to mimic other parts of the code. .gitmodules file has also be removed (in BFBlenderSources and upbge)

@lordloki : On my side, in upbge sources, I removed release/scripts, release/datafiles/locale, and source/tools folders.

At this stage, if I clone upbge sources from the web, and that I do ./make update, I just have to copy addons_conttrib from BFBlenderSources to upbge and run ./make update a second time to have all submodules at the right place.

After, I searched in the code all occurrences of "release/scripts" and found only the one in blenderplayer cmakelists but it is possible that other python scripts/other files might need to be updated to reflect submodules directory change.

I didn't test for now.

CatNippIes commented 1 year ago

Dude i barely know hot to write print("hello world") in python, do u have a version of upbge without the bug? It started happening like 3 months ago, i have donwloaded the zip file like 3 times, and everyone of them has the same issue, please help

On Fri, Feb 24, 2023, 11:31 PM youle31 @.***> wrote:

Hello, about that, I'm wondering if it can be related to recent submodules changes and also this commit after merge:

@.*** https://github.com/UPBGE/upbge/commit/91851912674f9110da7fe5d833e69ff0d3dfdc12

where blenderplayer cmakelists file has been edited to mimic other parts of the code. .gitmodules file has also be removed (in BFBlenderSources and upbge)

@lordloki https://github.com/lordloki : On my side, in upbge sources, I removed release/scripts, release/datafiles/locale, and source/tools folders.

At this stage, if I clone upbge sources from the web, and that I do ./make update, I just have to copy addons_conttrib from BFBlenderSources to upbge and run ./make update a second time to have all submodules at the right place.

After, I searched in the code all occurrences of "release/scripts" and found only the one in blenderplayer cmakelists but it is possible that other python scripts/other files might need to be updated to reflect submodules directory change.

I didn't test for now.

— Reply to this email directly, view it on GitHub https://github.com/UPBGE/UPBGE-logicnodes/issues/77#issuecomment-1444948198, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3BIHAX4DXHBTTNVO4Y6CVLWZFVJNANCNFSM6AAAAAAVHNAK54 . You are receiving this because you authored the thread.Message ID: @.***>

youle31 commented 1 year ago

https://ufile.io/nsfl0n1r (Here is a last upbge master build with logic nodes addon + a test file included which is working for me both in embedded and in standalone)

(Note: I had to manually download addon from upbge logic nodes addon because scripts/bge_netlogic folder was empty)

lordloki commented 1 year ago

I just test it and it works perfectly in windows. in which operating system are you testing it, @CatNippIes ?

CatNippIes commented 1 year ago

still havent tested it but just in case, my pc is a windows 10, 12gb ram, Nvidia GTX 1650 ti, intel i5, im gonna let you know if it works

El sáb, 25 feb 2023 a la(s) 13:45, lordloki @.***) escribió:

I just test it and it works perfectly in windows. in which operating system are you testing it, @CatNippIes https://github.com/CatNippIes ?

— Reply to this email directly, view it on GitHub https://github.com/UPBGE/UPBGE-logicnodes/issues/77#issuecomment-1445156313, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3BIHAQ4RWLOTOOR43M4OCDWZIZLLANCNFSM6AAAAAAVHNAK54 . You are receiving this because you were mentioned.Message ID: @.***>

CatNippIes commented 1 year ago

it works perfectly, only thing broken is the node searcher, thank you so much

El sáb, 25 feb 2023 a la(s) 13:45, lordloki @.***) escribió:

I just test it and it works perfectly in windows. in which operating system are you testing it, @CatNippIes https://github.com/CatNippIes ?

— Reply to this email directly, view it on GitHub https://github.com/UPBGE/UPBGE-logicnodes/issues/77#issuecomment-1445156313, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3BIHAQ4RWLOTOOR43M4OCDWZIZLLANCNFSM6AAAAAAVHNAK54 . You are receiving this because you were mentioned.Message ID: @.***>