Own Server in Progress!


I have now started to make my own server for Fat Valley!

For now I just doing testing on my local network. Everything works fine but this week I will also try to make a new login in system and save everything safely on the database. Before I go into anything more login required I first want to implement movement for the players. I still haven't find any good way to make everything server sided yet since the server prototype is still in development. I have been testing around with the database and the server connection and just check if the requested item is on the database or not (check gif for result). I still trying to get movement and attack to sync smoothly between the client which I am not good with lag compensation when it comes to servers. I will update you more when I have come further on the server.

For now the server code is private but don't know if I'm going to release it to the public. I still haven't checked if something is insecure and therefore I don't wanna release it.

EDIT 1:
I have now updated the server so you can connect and every position of players will be synced with other players.

EDIT 2:
I have now optimized the server code that it has less cpu usage with 0% usage compered to 14% when nobody is connected.



Thanks for reading my Dev Log <3

Leave a comment

Log in with itch.io to leave a comment.