Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-21-2007, 05:36 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by xXziroXx View Post
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,
 Sacks
,1,Sacks,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.
You could make the arc file look like:

PHP Code:
Item1="White Pants",1,Pants,White,0,0,
Item2
=Sacks,1,Sacks,0,0,0,
I dunno if it is that you are trying to do, but if it was like that, you could use loadvars
__________________
Reply With Quote
  #2  
Old 01-21-2007, 05:39 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Quote:
Originally Posted by Chompy View Post
You could make the arc file look like:

PHP Code:
Item1="White Pants",1,Pants,White,0,0,
Item2
=Sacks,1,Sacks,0,0,0,
I dunno if it is that you are trying to do, but if it was like that, you should use loadvars
Hehe
Reply With Quote
  #3  
Old 01-21-2007, 05:55 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Chandler View Post
Hehe
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.