Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-09-2003, 10:55 PM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
Strange tile array problem

Warning: long, detail-packed post

I've been working on a hi-speed transit system recently. Despite all the safeguards I've added into it as I go along, I notice that every so often (it's completely random, and doesn't seem to have anything to do with the speed of the vehicle) - this mysterious problem seems to occur.

The first sign of trouble is always small posts and corrupted bushes flashing up across the landscape.


My first thought was that the tiledefs were being edited (despite the fact that no script I'm operating at this point has even one addtiledef command), so I opened up the tiledefsOffline.txt file and, sure enough, it contained corrupted entries. So I took those out, added in entries I knew worked, and made the file read-only. This has lowered the frequency of the problem, but it still occurs.

When you stop using the transit system and go back to normal movement, the tile array also seems to be weirded. You'll notice that in the screenshot below the character is sitting on deep water.


No matter how corrupted the level appears, the editor shows no adverse effects whatsoever. Below is what the editor makes of the above situation.


At this point, I began to think that Graal wasn't correctly reading its tiles, and was confusing one tile type with another. So I made a NPC (which are completely unaffected by this glitch) that would give me the tile type of whatever location the mouse was over, thinking Graal would show the tile type that should be in that position. It didn't. It showed the type of the corrupted tile as if it was supposed to be there. Even the tiles like the water-seat showed up as water, despite the fact they were acting as chairs.


The above stage - Graal seeing these corrupted tiles as part of the landscape - may make some of you think that one of my scripts is inadvertently calling some kind of board[x,y] command and updating the tiles for the level. The only thing that's using this array at this point is the tile identifier utility, and that can only read tile types, not edit them. So it's not that.

So, to summarize, something which I haven't coded and which doesn't seem to be present in any of the levels I'm using is adding random tiles to all Graal levels, redefining which tiles do what (I didn't think this was possible), and attempting to write junk to my tiledefs file. Help?
Reply With Quote
  #2  
Old 04-09-2003, 11:04 PM
Falados Falados is offline
Cucumber NPC
Falados's Avatar
Join Date: Jan 2003
Posts: 141
Falados is on a distinguished road
Send a message via ICQ to Falados Send a message via AIM to Falados
If you are using levels with the .graal extension, I suggestion to switch to .nw other than that, I have no clue whats wrong.
__________________

subliminal message: 1+1=3
Reply With Quote
  #3  
Old 04-10-2003, 04:45 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
Does that problem happen with v2.18 only or with older versions (v2.17) too?
Reply With Quote
  #4  
Old 04-10-2003, 06:09 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
Quote:
Originally posted by Stefan
Does that problem happen with v2.18 only or with older versions (v2.17) too?
It happened almost constantly with me on this version and older versions too. I think it may have something to do with the file manager, because the levels out of there only proved to be problematic.
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #5  
Old 04-10-2003, 09:18 PM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
Quote:
Originally posted by Stefan
Does that problem happen with v2.18 only or with older versions (v2.17) too?
I haven't got 2.17 handy, so I can't check, but I seem to remember a similar error happening on another transportation thing I tried a while ago. The tiles were somewhat corrupted, but not to the same extent as this.
Reply With Quote
  #6  
Old 04-15-2003, 11:37 AM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Its happened for about 7 versions now. It started off not too bad, as you could clear the tiledefs and it fixed for a while. But now its got worse, it totaly interfears with the development of levels on graal. ANd it also now ive noticed, it sometimes does that online, so you cant play correctly.

You need to fix this bug soon!

I think its an: addtiledef2 error, although im not 100% sure on that!
__________________
--Spark911
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 08:30 PM.


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