Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-01-2007, 08:54 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
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
__________________
Do it with a DON!
Reply With Quote
  #2  
Old 05-01-2007, 09:17 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I like it when people take Graal to its limits.
__________________
Reply With Quote
  #3  
Old 05-01-2007, 09:19 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Inverness View Post
I like it when people take Graal to its limits.
Attached Thumbnails
Click image for larger version

Name:	Lost in Space.PNG
Views:	316
Size:	241.8 KB
ID:	40873  
__________________
Do it with a DON!
Reply With Quote
  #4  
Old 05-01-2007, 09:42 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
I agree, it should be fixed!
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #5  
Old 05-01-2007, 09:47 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by xXziroXx View Post
I agree, it should be fixed!
__________________
Do it with a DON!
Reply With Quote
  #6  
Old 05-01-2007, 03:19 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
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
Reply With Quote
  #7  
Old 05-01-2007, 10:28 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by DustyPorViva View Post
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
I have thought of that and will try using it but I don't think it will solve the problem (read the conclusions I came up with. It isn't an issue of loading the levels but rather the layers above 0)
__________________
Do it with a DON!
Reply With Quote
  #8  
Old 05-04-2007, 08:44 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Still waiting for a response...
__________________
Do it with a DON!

Last edited by zokemon; 05-04-2007 at 09:38 PM..
Reply With Quote
  #9  
Old 05-04-2007, 09:08 PM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
response**
Reply With Quote
  #10  
Old 05-04-2007, 09:48 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by DustyPorViva View Post
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
Oh yeah and, that didn't work.
__________________
Do it with a DON!
Reply With Quote
  #11  
Old 05-18-2007, 06:29 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Still nothing done about this!
Anyone found a workaround yet?
Anyone even LOOKED at this yet?
__________________
Do it with a DON!
Reply With Quote
  #12  
Old 05-18-2007, 04:10 PM
ToNy_W ToNy_W is offline
Registered User
Join Date: Aug 2003
Location: Quebec
Posts: 130
ToNy_W is on a distinguished road
Send a message via AIM to ToNy_W
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
Reply With Quote
  #13  
Old 05-18-2007, 08:37 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
At which location (level name) can i test the glitch?
Reply With Quote
  #14  
Old 05-22-2007, 11:40 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Stefan View Post
At which location (level name) can i test the glitch?
Server: Gileada
Level: world_s_00.nw (32,32)



Here is more detailed instructions along with the actual problem on these levels:

Quote:
First sign onto Gileada. You should start out in myworld_zerotest.nw (if you don't, warp to 30,30 there).

You should see that I have managed to place an image behind the tiles. I have done this by editing the .nw file and putting all the tiles on layer 1 rather then layer 0 (I made layer 0 transparent with level.tilelayers[0].alpha = 0). Another thing to note of that the "water" tiles I made into the transparent color on the tileset graphic so that you could see this effect.

Now warp to 32,32 at world_s_00.nw
You should see a similar like level placed on a small 2x2 level gmap. The problem now is, the tile layers above 0 won't load on a gmap if they are loaded outside of the level you entered the gmap on. You can see this by walking down or to the right as the tiles on layer 1 just won't be there in the other levels. If you warp to those other levels and reconnect, they will show up but the others will not.
__________________
Do it with a DON!
Reply With Quote
  #15  
Old 05-24-2007, 09:31 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Anything?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:07 PM.


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