vocksel / echo-ridge

A ROBLOX recreation of Echo Ridge from Mega Man Star Force 3
http://www.roblox.com/games/13525723/view?rbxp=1343930
MIT License
1 stars 0 forks source link

Allow the user to perform actions freely, but check server-side if the action was allowed #1

Open vocksel opened 8 years ago

vocksel commented 8 years ago

For example, instead of the having the user fire WaveStationUsed so the server can move them to the Sky Wave, client would teleport immediately, and the server would check afterwards if this interaction was allowed. If the user was exploiting and fired WaveStationUsed from across the map, the server would teleport them back to their last position.

Currently a method of handling this hasn't been decided on. Potential solutions:

Keep in mind that a user could be flung suddenly. If that happens we need to make sure the server doesn't think it was an illegal movement.

View the comments on Trello.

vocksel commented 8 years ago

For right now, I think we're going to have to settle with allowing the client to teleport freely and work on server-side checks later. I want to get started on the UI soon and I don't have time to think about making sure the user can perform an action.

A new issue should be created and this issue should be dedicated to handling teleportation actions client-side.

vocksel commented 8 years ago

This is going to be worked on in future versions. We have a lot of changes in the commit history already and this feature is going to be a fairly large undertaking. We want to get a new release out soon so this will be put on the back burner for a little while.