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 07-25-2006, 04:07 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
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. ^-^
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote
  #2  
Old 07-25-2006, 04:11 AM
lancelot9 lancelot9 is offline
Registered User
lancelot9's Avatar
Join Date: May 2004
Posts: 618
lancelot9 is on a distinguished road
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
__________________


Im cool because I can make outside levels with a tileset.
Reply With Quote
  #3  
Old 07-25-2006, 04:27 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
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;
}
__________________
Deep into the Darkness peering...
Reply With Quote
  #4  
Old 07-25-2006, 04:32 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
I put this script into editor and got black lines. O_O
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote
  #5  
Old 07-25-2006, 05:45 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
do you have the img in your graal folder
__________________
Deep into the Darkness peering...
Reply With Quote
  #6  
Old 07-25-2006, 07:27 AM
irule13 irule13 is offline
Meggido Bible
Join Date: Aug 2005
Location: Ocean Township, NJ
Posts: 161
irule13 is an unknown quantity at this point
Send a message via AIM to irule13 Send a message via MSN to irule13 Send a message via Yahoo to irule13
ive wondered about this for a while
i get this when i try to load the maloria v3 tileset
__________________

Quote:
Originally Posted by Lord Sephiroth
I want to see a pig playing Graal, that would make my day.
Reply With Quote
  #7  
Old 07-25-2006, 07:27 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Problems been fixed.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote
  #8  
Old 07-25-2006, 05:32 PM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
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.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #9  
Old 07-25-2006, 06:58 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
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
Reply With Quote
  #10  
Old 07-26-2006, 04:25 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
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. >_>
__________________
Deep into the Darkness peering...
Reply With Quote
  #11  
Old 03-03-2007, 06:00 AM
Salaisuus Salaisuus is offline
Registered User
Join Date: Mar 2004
Posts: 68
Salaisuus is on a distinguished road
Ok none of this works for me.
How do I freaking download tileset offline???????
Reply With Quote
  #12  
Old 03-03-2007, 06:04 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
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).
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #13  
Old 03-03-2007, 09:44 AM
Salaisuus Salaisuus is offline
Registered User
Join Date: Mar 2004
Posts: 68
Salaisuus is on a distinguished road
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.
Reply With Quote
  #14  
Old 03-03-2007, 12:19 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
Then it's not 8 bit. If it's not a problem, could you attach the image here?
Reply With Quote
  #15  
Old 03-03-2007, 06:11 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
IT'S NOT WORKING! Stefan I need help for mine.
Here it is...
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.

Last edited by Switch; 10-13-2007 at 01:44 AM..
Reply With Quote
  #16  
Old 03-03-2007, 07:52 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Thumbs down

Quote:
Originally Posted by Switch View Post
IT'S NOT WORKING! Stefan I need help for mine.
Here it is...
looks like utopia's old tile set...
__________________
**FLIP OUT**
Reply With Quote
  #17  
Old 03-03-2007, 08:20 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by Switch View Post
IT'S NOT WORKING! Stefan I need help for mine.
Here it is...
Yours is 24 bit true color
I think it has to be 256 colors (8 bit)
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #18  
Old 03-03-2007, 08:26 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by Darlene159 View Post
Yours is 24 bit true color
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.
__________________
Reply With Quote
  #19  
Old 03-03-2007, 08:28 PM
Darlene159 Darlene159 is offline
Administrator
Darlene159's Avatar
Join Date: Aug 2001
Location: Florida
Posts: 12,470
Darlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud ofDarlene159 has much to be proud of
Quote:
Originally Posted by Kristi View Post
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
__________________
FORUM RULES
GRAAL BIBLE (Lots of useful info)
INFO ABOUT REPUTATIONS.
INFO ABOUT INFRACTIONS.
HOW TO APPLY FOR THE NON-GRAAL RELATED FORUM (<<READ THOROUGHLY!)

SUPPORT: http://support.toonslab.com

NOTE: YOU ARE RESPONSIBLE FOR YOUR OWN POSTS.
READ>THINK>POST
Reply With Quote
  #20  
Old 03-03-2007, 09:00 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Yea it works ONLINE, but I dunno how to change it to 8 bit or whatever. Can someone do it for me please?
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
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 02:24 PM.


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