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-21-2007, 09:00 AM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Folders

I am having a problem with folders.

I've created a folder which ISN'T inside of the levels/ file structure.

HTML Code:
level   gsanddungeon/*.nw
level   gsanddungeon/*.gmap
The levels are being saved in there, however I can't warp to that place.
Reply With Quote
  #2  
Old 04-21-2007, 10:04 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
Graal can't access files not in the levels/ folder (except by scripts).

What is in your folderops basically is looking for:
levels/gsanddungeon/*.nw
__________________
Do it with a DON!
Reply With Quote
  #3  
Old 04-21-2007, 12:51 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Chandler View Post
I am having a problem with folders.

I've created a folder which ISN'T inside of the levels/ file structure.

HTML Code:
level   gsanddungeon/*.nw
level   gsanddungeon/*.gmap
The levels are being saved in there, however I can't warp to that place.
The folder configuration is relative to levels/. If it isn't inside levels/, then it isn't accessible to the client (be it either images, files or levels).
__________________
Skyld
Reply With Quote
  #4  
Old 04-21-2007, 06:19 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
How can I use deletefile then
Boo sucks!
Reply With Quote
  #5  
Old 04-21-2007, 06:21 PM
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
Quote:
Originally Posted by Chandler View Post
How can I use deletefile then
Boo sucks!
deletelevel(str)
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #6  
Old 04-21-2007, 06:23 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Doesn't delete files inside of the levels/ area.
Reply With Quote
  #7  
Old 04-21-2007, 06:25 PM
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
Quote:
Originally Posted by Chandler View Post
Doesn't delete files inside of the levels/ area.
Uhm, that's the ONLY place where deletelevel() works. You're thinking of deletefile(). Big difference.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #8  
Old 04-21-2007, 06:30 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Quote:
Originally Posted by xXziroXx View Post
Uhm, that's the ONLY place where deletelevel() works. You're thinking of deletefile(). Big difference.
I'm also wanting to delete a gmap file. I know that deleteLevel doesn't delete gmaps.
Reply With Quote
  #9  
Old 04-21-2007, 08:07 PM
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
Quote:
Originally Posted by Chandler View Post
I'm also wanting to delete a gmap file. I know that deleteLevel doesn't delete gmaps.
GMAP is listed as "level" in folder options, so it SHOULD work with deletelevel().
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #10  
Old 04-21-2007, 08:11 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Quote:
Originally Posted by xXziroXx View Post
GMAP is listed as "level" in folder options, so it SHOULD work with deletelevel().
wrong.
Reply With Quote
  #11  
Old 04-21-2007, 09:05 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Chandler View Post
wrong.
Stop with the snarky comments already. :/
__________________
Skyld
Reply With Quote
  #12  
Old 04-21-2007, 10:24 PM
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
Quote:
Originally Posted by Skyld View Post
Stop with the snarky comments already. :/
lol @ snarky
__________________
Reply With Quote
  #13  
Old 04-23-2007, 11:29 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
I have checked the deletefile function:
previously it was not allowed to use deletefile on levels/* because there was no protection against abuse. Since we have the npcserver-rights now we can allow the usage of deletefile there now. I have updated the npcserver but have not uploaded to all machines (always need to be tested that the new stuff is not making problems with other stuff), if you really need it quickly then tell me the playerworld name / number.
Reply With Quote
  #14  
Old 04-23-2007, 11:42 PM
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
Quote:
Originally Posted by Stefan View Post
I have checked the deletefile function:
previously it was not allowed to use deletefile on levels/* because there was no protection against abuse. Since we have the npcserver-rights now we can allow the usage of deletefile there now. I have updated the npcserver but have not uploaded to all machines (always need to be tested that the new stuff is not making problems with other stuff), if you really need it quickly then tell me the playerworld name / number.
I could really use it on Mythic Legends (playerworld53).
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #15  
Old 04-24-2007, 08:30 AM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Vendict

No idea on the number, I think its 9
Reply With Quote
  #16  
Old 04-25-2007, 10:48 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
Thanks Stefan
__________________
Do it with a DON!
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 01:28 AM.


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