![]() |
Problem with reading file.
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:
PHP Code:
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. |
Quote:
HTML Code:
object.savevars("folderPlace", type); HTML Code:
object.loadvars("folderPlace", type); |
I use loadLines because it works exactly like I need it to work. And you missed where I wrote:
"the same thing worked one day earlier and I havent touched it." |
I would guess there is some other code between the loadlines and echo? If you just do loadlines and echo it should display more
|
There's not. The row below the loadLines was the echo().
|
Quote:
PHP Code:
|
Quote:
|
Quote:
|
Yes, I could do that, but at the moment I dont. Stefan, any thoughts on what the problem is?
|
The only thing I see that it don't load arrays with load lines,
so maybe making it like: PHP Code:
only thing I can think of.. (loadlines don't like comma's I think :)) |
What part of it all working fine a day ago did you all miss? Not me, not Skyld, not anyone Ive asked know why its not working. Might have anything to do with the NPC-Server being mysteriously offline when I logged on RC today?
Like I said, I do NOT know why it STOPPED working all the sudden, so can you please take a look at it Stefan? |
All times are GMT +2. The time now is 12:40 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.