Blockland Forums > Modification Help
Move files?
Pew446:
--- Quote from: Kalphiter on October 04, 2010, 03:49:10 PM ---I know, I randomly founds those functions and I was surprised.
So much time and I didn't even know they existed.
--- End quote ---
Thanks ;D
Uristqwerty:
However, all forms of file reading may be restricted to certain folder.
Bug: It is possible, though, to write to files outside of Blockland's directory. I won't say how, but it would be a good idea for Badspot to start restricting write permission...
Pew446:
I can't seem to copy anything ;o
I tried
fileCopy("screenshots/Blockland_00019.png","base");
And nothing happened. ;-;
Kalphiter:
--- Quote from: Pew446 on October 07, 2010, 10:03:58 PM ---I can't seem to copy anything ;o
I tried
fileCopy("screenshots/Blockland_00019.png","base");
And nothing happened. ;-;
--- End quote ---
You cannot read/write into the same directory as Blockland.exe, so you can't create the file "base".
Pew446:
--- Quote from: Kalphiter on October 07, 2010, 10:06:51 PM ---You cannot read/write into the same directory as Blockland.exe, so you can't create the file "base".
--- End quote ---
I was copying a screenshot to the base folder.