first off this works fine if i launch spider monkey as a different project but im try to launch it from a new thread and when i try to do this i get this error:
Uncaught exception thrown in Thread[jME3 Main,5,main]
RuntimeException: Serializer registry locked trying to register class:class com.jme3.network.message.SerializerRegistrationsMessage
this is when i try to connect as a Client to my server am i doing something wrong?
Note: I just fixed this bug on master. I also modified the TestChatClient and TestChatServer to be slightly better examples (better error/connection state handling, etc.) and then added a TestChatClientAndServer that runs a client and server in the same JVM. I used this to test the bug.
With this bug fixed, the default services can be left in place and so the client doesn’t need to register serializers anymore. The server will send the client the registry during connect.
It throws this “Uncaught exception thrown in Thread[jME3 Main,5,main]
RuntimeException: Serializer registry locked trying to register class:class com.jme3.network.message.SerializerRegistrationsMessage”
When i try a simple connection to a server thats on the same instance. i tried serializing the Server class but that didnt fix it. From what i thought you dont have to serialize ServerClass and Client class only messages
Lol what can i search on youtube how to do that? that sounds pretty hard to me xD sorry. i understand where to download the source from github but idk what gradle dist means
gradlew is the gradle wrapper and makes it super convenient to get folks up and running because it’s checked right in with the source. So if you get the source, you automatically get what you need to build it. gradlew will automatically download and run the proper version of gradle if you don’t have it installed.