![]() |
Tilelayer glitch on gmaps
I didn't mean to bring this up as a forum thread but it seems I can't ever find Stefan to tell him my self. Plus I would like the Graal public to be aware of such a glitch.
I recently just compiled a really nice set of systems, levels and tilesets that all use tilelayers. I edited the .nw files of each level on the overworld and placed tiles on both layer 0 and layer 1. When I enter any of these levels (I put layer 1 at 50% transparency so I can see both layers) all of the tiles on both layers load perfectly fine without failure. The problem is, when these levels are inside of a map, there is a major error: on almost all of the levels, only layer 0 (the default layer) is loaded. Through enough debugging and checking into this I have managed to get the following: - When a player is on a gmap, the level he enters onto loads perfectly fine. - When he is on this gmap, all levels bordering his own are loaded by the gmap. (We all know this much) - All .nw data loaded from these levels through the gmap (not the one that is entered onto when first entering the gmap) will ONLY load data on layer 0. - The gmap still shows that there are two tilelayers but the data on layer 1 is all empty (except for the first level entered onto). I am basically asking for just this: Could you (Stefan) possibly make it so that when levels are loaded through the gmap, ALL .nw data is loaded? Thank you :) |
I like it when people take Graal to its limits.
|
1 Attachment(s)
Quote:
|
I agree, it should be fixed! :D
|
Quote:
|
There is a line you can add into the .gmap file that loads all the levels instead of just surrounding.
Sadly, I don't know what it is, but you should be able to find it with a quick search. EDIT: LOADFULLMAP |
Quote:
|
Still waiting for a response...
|
response**
|
Quote:
|
Still nothing done about this!
Anyone found a workaround yet? Anyone even LOOKED at this yet? |
In my opinion getting the problem fixed by Stefan would be the only good solution. Finding a workaround would just leave the problem there and somebody else would eventualy bump into it, but that's not how things work on graal :D
|
At which location (level name) can i test the glitch?
|
Quote:
Level: world_s_00.nw (32,32) Here is more detailed instructions along with the actual problem on these levels: Quote:
|
Anything?
|
:d
|
may i see the code youre using to set the layer trans? on a map you cant set a levels' trans, you have to set the map's trans, and that probably is your problem.
|
Quote:
It isn't an issue of transperency since I see layer 1 on the level I enter the map from but all level surrounding do not load. It is not an issue of visualization either since I have done checks to see what the tiles where (via tilelayers[1].tiles[x,y]) on these other levels and each tile returned -1 (meaning, it did not load the tiledata). All of the levels DID show to have 2 layers though (0 and 1). It is best you just let me show you visually so you can get a concept of what I mean. |
try using player.gmap.tilelayer
|
Quote:
|
Quote:
|
Seems to be a problem of level caching on clientside, if you remove the files (from weblevels/194.5.30.16) then it is displaying correctly, until next login. Will try to fix this (caching all layers).
|
Quote:
|
Ok fixed it in my version
|
Quote:
|
| All times are GMT +2. The time now is 12:14 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.