Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Tiledef Issues (https://forums.graalonline.com/forums/showthread.php?t=67600)

killerogue 07-25-2006 04:07 AM

Tiledef Issues
 
This is my problem. Recently I've been running my server Stone Henge. Prehistora type server without issue. We've added more to the tiles and have been wanting to put up another test level to show how far we've gotten. Yet before we could use the tileset with ease on Editor using this script:

PHP Code:

if (created){
addtildef sh_tileset1.png,#L,0;


And now whenever any of us uses it in Editor we get the black lines across the screen and cannot use it. Any help with this would be greatly appreciated. I've tried delting the Offline tiledefs and redoing it but it is'nt working. Please help. ^-^

lancelot9 07-25-2006 04:11 AM

Same.. Ive actaully deleted all the levels, all the images, and folders that had to do with Stone Henge, including the Offline and stone henge tiledefs, thinkin maybe it will re-upload them different and they would work..

but that didnt work, then afterwards i tried the script and adding the tiledef to offline.. and that also didnt work, ive tried that 3 times

Angel_Light 07-25-2006 04:27 AM

load the img into a npc, I'm not 100% but you may need to use //#CLIENTSIDE

//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef sh_tileset1.png,,0;
}

killerogue 07-25-2006 04:32 AM

I put this script into editor and got black lines. O_O

Angel_Light 07-25-2006 05:45 AM

do you have the img in your graal folder

irule13 07-25-2006 07:27 AM

ive wondered about this for a while
i get this when i try to load the maloria v3 tileset

killerogue 07-25-2006 07:27 AM

Problems been fixed.

ForgottenLegacy 07-25-2006 05:32 PM

Quote:

Originally Posted by Angel_Light
do you have the img in your graal folder

there's your problem. It does that when the tileset you're trying to load doesn't exist in your Graal folder. Since v4 downloads to its own folder, the graal editor can't read that folder, so it has no way of knowing where the image is. Download the tileset to your graal folder and the problem is solved.

KuJi 07-25-2006 06:58 PM

Quote:

Originally Posted by killerogue
Problems been fixed.

Your welcome ;)

Quote:

Originally Posted by ForgottenLegacy
there's your problem. It does that when the tileset you're trying to load doesn't exist in your Graal folder. Since v4 downloads to its own folder, the graal editor can't read that folder, so it has no way of knowing where the image is. Download the tileset to your graal folder and the problem is solved.


WRONG WRONG WRONG

The fix is:
Stefan never added support for 16 million colors (24 bit) in the editor, but for online (in version 4). Due to this, you need to have two tilesets which you must update.

One tileset being 8 bit (256 colors) for offline, and the other 24 bit (16 million colors) for online. I really think stefan should add support, anyway. Due to my geniousness I just made my server (Graal X z.z ) just download the tileset on start aswell as a level in your levels/ folder called g_tileset.nw which - when open loads the tilesets ;)

Angel_Light 07-26-2006 04:25 AM

Quote:

Originally Posted by KuJi
The fix is:
Stefan never added support for 16 million colors (24 bit) in the editor, but for online (in version 4). Due to this, you need to have two tilesets which you must update.

Stefan needs tomake anew editor or a update the offline one alot. If he has someone please point me in the direction. >_>

Salaisuus 03-03-2007 06:00 AM

Ok none of this works for me.
How do I freaking download tileset offline???????

Torankusu 03-03-2007 06:04 AM

Or you can keep **** simple and keep it all 8 bit and have no need for two different images.


The image must be in the levels / images folder online. Once viewed / presented in a level it will be automatically downloaded to your webgifs / images folder. You will only be able to view it offline if it is 8 bit (256 colors).

Salaisuus 03-03-2007 09:44 AM

No, I cant.
I cant view the 8 bit tileset. it messes the screen up with black and white and all the colors of the rainbow.

Admins 03-03-2007 12:19 PM

Then it's not 8 bit. If it's not a problem, could you attach the image here?

Switch 03-03-2007 06:11 PM

IT'S NOT WORKING! :cry: Stefan I need help for mine.
Here it is...

theHAWKER 03-03-2007 07:52 PM

Quote:

Originally Posted by Switch (Post 1284076)
IT'S NOT WORKING! :cry: Stefan I need help for mine.
Here it is...

looks like utopia's old tile set...

Darlene159 03-03-2007 08:20 PM

Quote:

Originally Posted by Switch (Post 1284076)
IT'S NOT WORKING! :cry: Stefan I need help for mine.
Here it is...

Yours is 24 bit true color x_x
I think it has to be 256 colors (8 bit)

Kristi 03-03-2007 08:26 PM

Quote:

Originally Posted by Darlene159 (Post 1284120)
Yours is 24 bit true color x_x
I think it has to be 256 colors (8 bit)

Last time i checked 24 bit works fine online but in the editor it needs to be 8 bit.

Darlene159 03-03-2007 08:28 PM

Quote:

Originally Posted by Kristi (Post 1284125)
Last time i checked 24 bit works fine online but in the editor it needs to be 8 bit.

Ah, I see. It's been awhile since I have done anything online ;)

Switch 03-03-2007 09:00 PM

Yea it works ONLINE, but I dunno how to change it to 8 bit or whatever. Can someone do it for me please?


All times are GMT +2. The time now is 12:25 AM.

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