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 06-09-2006, 02:01 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
savelines() unable to create files

I had a script logging things such as item trades.
The file it saved to didn't exist, but I thought it would create it; it didn't.
If this isn't intended, could it be fixed?

I planned on having it make a log file for each player, so situations can be dealt with without having to search through a huge text file; as it is, I have to rename it every 3 days because it exceeds 2000 lines.
Reply With Quote
  #2  
Old 06-09-2006, 02:10 AM
VulcanP2P VulcanP2P is offline
Registered User
VulcanP2P's Avatar
Join Date: May 2005
Location: Florida
Posts: 882
VulcanP2P is on a distinguished road
Quote:
Originally Posted by Yen
I had a script logging things such as item trades.
The file it saved to didn't exist, but I thought it would create it; it didn't.
If this isn't intended, could it be fixed?

I planned on having it make a log file for each player, so situations can be dealt with without having to search through a huge text file; as it is, I have to rename it every 3 days because it exceeds 2000 lines.
I've had this problem before. I think it is supposed to create the file but for some reason it doesn't.
__________________

For Zone or Guild Support use the Support Center
Reply With Quote
  #3  
Old 06-09-2006, 10:40 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It doesn't work at all or it doesn't work at certain times ?
Reply With Quote
  #4  
Old 06-09-2006, 09:07 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Quote:
Originally Posted by Stefan
It doesn't work at all or it doesn't work at certain times ?
It doesn't work at all.
Unless the file is already there, nothing is saved.
Reply With Quote
  #5  
Old 06-11-2006, 12:22 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
According to someone, it DOES save, but the file doesn't appear in the file manager until the server is restarted.
Reply With Quote
  #6  
Old 06-11-2006, 01:20 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Uhm, just add this to the line after savelines():

sendtorc("/refreshfilelist");
__________________
Follow my work on social media post-Graal:Updated august 2025.
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:37 PM.


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