There's something that's really getting on my nerves right now.. that's not being able to load/save certain file types.
Let me demonstrate..
PHP Code:
temp.file.loadVars("levels/mudlib/shopdb/fredshop.arc");
echo(temp.file.item.getDynamicVarNames());
This works perfectly, but, if I rename the file to fredshop.gupd, and change the npcserver rights, this wont work:
PHP Code:
temp.file.loadVars("levels/mudlib/shopdb/fredshop.gupd");
echo(temp.file.item.getDynamicVarNames());
Same thing with a lot of filetypes. This could be really handy, at least since I'm trying to script something that scans entire folders and turn it into a .gupd file.
So, Stefan, can you enable all filetypes for the following commands? I mean, now when you can change rights of the npcserver, that shouldn't be a security issue any more - should it? :/
loadlines(str)
loadstring(str)
loadvars(str)
savelines(str, int)
savestring(str, int)
savevars(str, int)