Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Folders (https://forums.graalonline.com/forums/showthread.php?t=73587)

Chandler 04-21-2007 09:00 AM

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.

zokemon 04-21-2007 10:04 AM

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

Skyld 04-21-2007 12:51 PM

Quote:

Originally Posted by Chandler (Post 1301589)
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).

Chandler 04-21-2007 06:19 PM

How can I use deletefile then :(
Boo sucks!

xXziroXx 04-21-2007 06:21 PM

Quote:

Originally Posted by Chandler (Post 1301640)
How can I use deletefile then :(
Boo sucks!

deletelevel(str)

Chandler 04-21-2007 06:23 PM

Doesn't delete files inside of the levels/ area.

xXziroXx 04-21-2007 06:25 PM

Quote:

Originally Posted by Chandler (Post 1301643)
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.

Chandler 04-21-2007 06:30 PM

Quote:

Originally Posted by xXziroXx (Post 1301644)
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.

xXziroXx 04-21-2007 08:07 PM

Quote:

Originally Posted by Chandler (Post 1301645)
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().

Chandler 04-21-2007 08:11 PM

Quote:

Originally Posted by xXziroXx (Post 1301659)
GMAP is listed as "level" in folder options, so it SHOULD work with deletelevel().

wrong.

Skyld 04-21-2007 09:05 PM

Quote:

Originally Posted by Chandler (Post 1301662)
wrong.

Stop with the snarky comments already. :/

Inverness 04-21-2007 10:24 PM

Quote:

Originally Posted by Skyld (Post 1301677)
Stop with the snarky comments already. :/

lol @ snarky

Admins 04-23-2007 11:29 PM

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.

xXziroXx 04-23-2007 11:42 PM

Quote:

Originally Posted by Stefan (Post 1302404)
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). :)

Chandler 04-24-2007 08:30 AM

Vendict

No idea on the number, I think its 9

zokemon 04-25-2007 10:48 AM

Thanks Stefan :)


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

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