Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Tilelayer glitch on gmaps (https://forums.graalonline.com/forums/showthread.php?t=73777)

MrAnonymous_P2P 05-25-2007 12:23 AM

:d

Kristi 05-25-2007 01:24 AM

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.

zokemon 05-25-2007 01:28 AM

Quote:

Originally Posted by Kristi (Post 1311588)
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.

I offered to show you it many times but you keep ignoring me x_x

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.

Kristi 05-25-2007 01:42 AM

try using player.gmap.tilelayer

zokemon 05-25-2007 01:43 AM

Quote:

Originally Posted by Kristi (Post 1311600)
try using player.gmap.tilelayer

I have used both.

zokemon 05-26-2007 12:12 AM

Quote:

Originally Posted by zokemon (Post 1311601)
I have used both.

Kristi and Skyld have both seen this and they both seem to agree that this can only be fixed by the main man himself!

Admins 05-28-2007 01:47 PM

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).

zokemon 05-29-2007 04:29 AM

Quote:

Originally Posted by Stefan (Post 1312627)
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).

Thank you! I figured it was something along those lines :)

Admins 05-29-2007 02:23 PM

Ok fixed it in my version

zokemon 05-30-2007 12:27 AM

Quote:

Originally Posted by Stefan (Post 1312957)
Ok fixed it in my version

Thank you! I will probably never use layer 0 now since it doesn't support tileset transparency in the .png :)


All times are GMT +2. The time now is 03:57 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.