I encountered a problem when trying to read a file with loadLines.. or well, the same thing worked one day earlier and I havent touched it.
Heres how the file looks like:
PHP Code:
"White Pants",1,Pants,White,0,0,0
Sacks,1,Sacks,0,0,0,0
and its named xXziroXx_items.arc. Here's how I try to read it, along with what it returns:
PHP Code:
temp.items.loadLines(temp.folder @ player.account @ "_items.arc");
temp.items echoes:
Sacks,"White Pants"
I asked Skyld about it, and he did not know what could be wrong. I tried restarting the NPC-Server and /refreshfilelist but none worked. He suggested I post it on the forum so that Stefan can see it.
Need help asap.