![]() |
servrside tilelayers issue
So, I'm adjusting tiles serverside and if the layer I choose is 0, it works fine, but if it's >0 it doesn't seem to do anything. Is they're something I'm doing wrong? This works fine clientside, except it doesn't update the tiles for all players.
params are { action, layer, arrayTiles, x, y, w, h} PHP Code:
|
So I'm guessing this is some kinda of gmap bug, works fine in individual levels and clientside on gmaps, just not serverside.
|
what does your triggeraction/server look like?
|
You can use player.level instead of findlevel().
player.level is the level object they're in. player.level.name is the string name. I.e: level.nw I also remember a recent post by ffcmike saying findlevel was not working for specific/individual levels on GMAPs anymore. |
Quote:
If the level is in a GMAP and you try to findlevel it, will get an empty string returned. |
Quote:
Code: PHP Code:
Quote:
|
still on a gmap, it wont allow you to do changes tiles, even without findLevel()
Quote:
@Andrew PHP Code:
Checking the type on player.level.tilelayers is 3, and tilelayers[ 0] is 2, but on player.level.tileslayers[ 1] is -1, on a single level both layers 0 and 1 type is 2 So yes, this is a Gmap bug. On A gmap a server cant read tiles above layer zero. |
| All times are GMT +2. The time now is 08:36 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.