![]() |
A suggestion for reducing kiwiship lag! - Printable Version +- Kiwike forums (http://kiwike.yottabyte.nu/forum) +-- Forum: Community (http://kiwike.yottabyte.nu/forum/forumdisplay.php?fid=5) +--- Forum: Bin (http://kiwike.yottabyte.nu/forum/forumdisplay.php?fid=27) +---- Forum: Kiwike: Revamped (http://kiwike.yottabyte.nu/forum/forumdisplay.php?fid=51) +----- Forum: Support (http://kiwike.yottabyte.nu/forum/forumdisplay.php?fid=55) +------ Forum: Suggestions (http://kiwike.yottabyte.nu/forum/forumdisplay.php?fid=61) +------ Thread: A suggestion for reducing kiwiship lag! (/showthread.php?tid=3476) |
A suggestion for reducing kiwiship lag! - bvcxzmn - 06-17-2012 I came up with an idea for optimizing kiwiship performance: Yotta would need to revise the code so when a kiwiship moves, each of the kiwiship's block's new location is processed one at a time in between each move of the kiwiship. After all the block's new locations are processed, then the server sends the data to the client for the move. This would happen for every 1m move of the kiwiship (or more than that if you have engines on the ship). I know that this would definitely be difficult to code because you would some how have to process each block's move without sending the data to the client so the players don't interact funny with the ship. An idea to avoid some bugs would be to make it impossible to destroy and place blocks on a moving kiwiship. If this revision is made, then the server will be able to take it's time to process the movement and it should make the server much less laggy when kiwiships are flying. I understand that this may be another large project to worry about, so maybe when Yotta is finished with territories he can code this to prepare for age 3. Of course, for all I know this could be the way that it currently works since I don't actually know anything about the kiwiship or Minecraft code. I only have very limited experience with python coding, and nothing else, so, relating to the part where I said that this would be difficult to code, I think almost anything is difficult to code. RE: A suggestion for reducing kiwiship lag! - Smythie - 06-17-2012 Well we could make it like the zepplin mod so that it isn't blocks moving it's a single entity moving and then the blocks are only recorded after they stop. RE: A suggestion for reducing kiwiship lag! - MainDigger - 06-17-2012 Moved from Server discussion > Support: Suggestions RE: A suggestion for reducing kiwiship lag! - bvcxzmn - 06-17-2012 (06-17-2012, 23:00)MainDigger Wrote: Moved from Server discussion > Support: Suggestions Thanks, I couldn't figure out where to put it before. (06-17-2012, 22:59)Smythie Wrote: Well we could make it like the zepplin mod so that it isn't blocks moving it's a single entity moving and then the blocks are only recorded after they stop. ![]() RE: A suggestion for reducing kiwiship lag! - yottabyte - 06-18-2012 It's an interesting idea. I'm pretty sure it's possible from a technical point of view. In all honesty though, I think I'd rather wait and see what the official API will have to offer in terms of client sided modding. RE: A suggestion for reducing kiwiship lag! - bvcxzmn - 06-24-2012 (06-18-2012, 00:32)yottabyte Wrote: It's an interesting idea. I'm pretty sure it's possible from a technical point of view. Yes, of course. I'm just putting the idea out there. RE: A suggestion for reducing kiwiship lag! - geckosquid - 06-24-2012 Don't let us forget this, though. It'll probably need to be used somewhere down the line. |