And no, there are NOT two round-trips when you ask the server to do something. There is simply a USE message that is sent right away, and the player responds with a PU (player update) message telling you what happened.
You already have the map client-side, so your client doesn't need to check what's there before sending a USE action.
]]>I had a short look at the code and if I understood correctly, whenever interacting with a tile you get the tile's content first? Couldn't you save that server call and instead just submit your "planned" command to the server and the server
a) executes it and returns the result
b) rejects it if it's not valid
I don't want to tell you how to program your game, though, and DEFINITELY don't want to seem rude.
(It appears a computer reset solved the problem. Shrug)
]]>Even though I don't like the all caps title - he's unfortunately right. The game is absolutely amazing - however, lag and desync make it pretty hard to enjoy it at some points.
Constructive criticism:
Would a "possibility check" hurt the game's performance? E.g. if I'm holding a basket, why does my character even start bumping trees when I click on one? It's an "impossible" action after all. It would make the lag much less annoying.
bahahahah sorry for the caps - but honestly, I've barely been able to enjoy the game in the past two days due to severe server lag and client de-syncs, which saddens me greatly.
]]>As of right now, the only active server, which currently holds about 70 players, is becoming unplayable due to severe lag.
Actions take multiple times longer than intended -
Metalworking? Forget about it.
Bumped into a tree? That's 5 seconds to grab a leaf.
Following people? Sorry, not gonna happen - everyone transports via 2-screen teleportation.
Feeding a baby and doing something else? - Nope, that's up to 15s to swap between babies and objects.
Clients are also starting to de-sync, which worsens the situation even more.
Those 5 seconds you spent trying to desperately pick up a carrot? It was actually long gone!
Map suddenly updates, moving multiple items on the floor around.
]]>