ID:141433
 
Code:
world
New()

log = file("Logs/error.txt")
if( fexists("World_Configuration.dat") )
var/savefile/F = new("World_Configuration.dat")
F["mod"] >> mod
F["enf"] >> enf
F["names_database"] >> names_database
F["shikailist"] >> shikailist
F["hshikailist"] >> hshikailist
if( !(shikailist.len) )
shikailist = permshikailist

else
shikailist = permshikailist
hshikailist = permhshikailist
for(var/T in typesof(/Skill))
skill_list += new T

var/savefile/S=new("cr_full.ban")
S["key"] >> crban_keylist
S["IP"] >> crban_iplist
S["unban"] >> crban_unbanned
if (!length(crban_keylist)) crban_keylist=list()
if (!length(crban_iplist)) crban_iplist=list()
if (!length(crban_unbanned)) crban_unbanned=list()
status = "<br><b><font face = verdana size = 1 color=black>Server Type: <font color = blue>[pvp ? "PvP" : "Roleplaying"]</font></b><br><b><font face = verdana size = 1 color=black>Version: <B><font face = verdana size = 1 color=blue>0.9.1</b><br></font>"

..()


Problem description:

It compiles file, but upon running the world, it doesn't seem to create the error.txt..what's the problem?
Does the "logs" folder exist? That's probably the problem.
In response to Kaioken
Yes, it does exist.
In response to Axerob
Well then, it should work provided the code is getting executed (try to confirm that), unless there is some unlikely file permission error when attempting to create the file. If that's not the case, there might some sort of BYOND bug.