Quote:
Originally Posted by Stefan
Well actually the tile updating has been fixed, previously the gserver was not sending 2x2 tile updates to the npcserver. So it's now possible to do bush respawn by server-side scripts. I can check sometime what the problem can be on Atlantis.
|
That'd be great. Since you've mentioned 2x2 tile updates, though, I'll give it a try with larger ones and report back to you. I don't get why I'm seeing it for a second, though, and then it just disappears. I already made sure that the function updating the tiles is not called when the visual change happens. The first time I slash a bush, it works. Then it's like 6 seconds until it respawns. At that point, tiles are changed back to grass. (When then slashing it again immediately afterwards, I can see the the "cut bush" tiles for a second or two, then it reverts back to grass.) Nevermind. That was because it also changes the tiles on the clientside (to provide a more sudden response to the slash; makes it look smoother).
Edit: It does work again if I add two more tiles to the range of tiles to be updated (updateBoard(this.x, this.y, 3, 2) instead of updateBoard(this.x, this.y, 2, 2)). If you want to look into that later, that's class
object on Atlantis. I'll revert back to the 2x2 update for now.