Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Protected Folders? (https://forums.graalonline.com/forums/showthread.php?t=134267974)

Emera 03-06-2013 10:41 PM

Protected Folders?
 
I was wondering if it was possible to edit the contents of files that are located in the weapons/* and npcs/* folder through script. I can't seem to be able to do it through the use of savelines/savestring or movefile(), so is there an alternate approach or is this a no-go.

Crow 03-06-2013 10:59 PM

Even if you could do that, you shouldn't.

Emera 03-06-2013 11:17 PM

Quote:

Originally Posted by Crow (Post 1714769)
Even if you could do that, you shouldn't.

I wanted to make an NPC that updated from a file on my webserver, but I guess that idea's out the window. Never mind then, thanks <3

BlueMelon 03-06-2013 11:20 PM

Would be cool if it was, but could/would leave big security holes on alot of servers

cbk1994 03-07-2013 01:18 AM

Quote:

Originally Posted by Emera (Post 1714770)
I wanted to make an NPC that updated from a file on my webserver, but I guess that idea's out the window. Never mind then, thanks <3

That sounds like a really really bad idea. But no, certain folders are protected from writes (all the script folders, logs, accounts, etc.).


All times are GMT +2. The time now is 04:20 PM.

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