Client-side JS does not start

Recommended Posts

Hey guys!

Originally wrote the code on the client in C#. Unfortunately it does not support some of the features that I need. Therefore, I decided to transfer the client's side to the language of JS.

But the problem arose at the very beginning of the journey. I opened the tutorial ( and did everything as written there. Then I started the server and joined it and I realized that nothing works. Based on the lesson materials, I have to get a chat message. But nothing works.

I would like to appeal to the multiplayer community. Can you help me solve this problem?





Share this post

Link to post
Share on other sites

cs_packages folder is for C# resources. Put your index.js inside /client_packages and not /client_packages/cs_packages.

Also what features the C# version of the api doesn't supports? I think most functions are implemented on C# (I only know of 2 functions that are not, and they can easily be put inside the index.js to run at startup while the rest of the scripts are on C#).

  • Like 1

Share this post

Link to post
Share on other sites

For sure! Thank you very much man! You really helped me. Best regards and good luck to you!)

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.