Thanks! I appreciate your response.
Posts made by gurulantern
I'm currently trying to implement your temp solution. How do you alter your packages usually? I tried a few other solutions suggested on the internet and they don't seem to let me get through building without errors.
I found the issue! It was a typo. Thank you so much for your help Coco. Talking it out helps me figure out where to look. Your responses are super appreciated.
Oh I see. I am using similar server code to the StarBoss Demo where it uses "competitive" and "collaborative" strings to decide game modes. I looked in their package.json and they don't have the paths for the "competitive" or "collaborative" logic listed. The logic I'm trying to access is in a custom Logic folder in the rooms folder.
I'll give it a shot though and list it in the package.json.
Thank you for getting back to me! These are my dependencies for server code:
Are those what you're looking for?
I have deployed to the server on arena, my WebGl game can connect to the server and starts to initialize the game, but in order to start the game, it has to fetch the custom logic in another folder labeled custom logic. My localhost tests worked but for some reason it doesn't work here.
I have a feeling it is about the relative and absolute paths as the documentation mentioned something about it but I don't know where to start or what to change to fix this. I have restarted and re-uploaded the lib folder. Please help! I don't wanna wreck my code to fix this. It seems like I'm just missing some small thing as per usual.
I am using Colyseus 0.14.18 and Node 16.15.
@coco Never mind! Figured out! Thanks!!
@coco Thanks for getting back to me! So I got to the plugin and downloaded it but when I import the plugin the examples don't carry over. And when I checked the zip in the March 2022 update, I don't see the examples folder under Runtime. Sorry! I'm sure I'm missing something because I can see the examples folder in the import window it just doesn't show up in my project.
I am trying to learn colyseus and am doing so through unity but when I try to import the plugin the import window looks like this:
And when I import it, the examples do not show up in the project window:
Has this happened to anyone else? Am I missing something in Unity? If so I can start my search there but I didn't see anyone else with this issue in the forum.