Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
open file problem
Author Message
jexnico
Journeyman
*

Posts: 191
Likes Given: 113
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #1
open file problem
does anyone help me in this mistake?

Quote:17:25:ERROR:(dg_sistema_logs.scp,91)Can't resolve <file.inuse>
17:25:ERROR:(dg_sistema_logs.scp,91)Undefined symbol ''
17:25:ERROR:(dg_sistema_logs.scp,95)Undefined keyword 'file.mode.append'
17:25:ERROR:(dg_sistema_logs.scp,97)Can't resolve <file.open charLogs/jex_okoko.txt>
17:25:ERROR:(dg_sistema_logs.scp,97)Undefined symbol ''
17:25:(dg_sistema_logs.scp,100)ERRO: Ao tentar salvar o arquivo de log "charLogs/jex_okoko.txt"
17:25:ERROR:(dg_sistema_logs.scp,103)Undefined keyword 'file.close'

Quote:[Function log]
if (<file.inuse>)
return 1
endif

file.mode.append 1

if (<file.open charLogs/<account.name>_<name>.txt>)
file.writeline [<serv.rtime.format %d/%m/%Y - %H:%M:%S>] <name> (<uid>) :: <args>
else
serv.log ERRO: Ao tentar salvar o arquivo de log "charLogs/<account.name>_<name>.txt"
endif

file.close
return 1
02-14-2018 05:26 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Darkyhood
Apprentice
*

Posts: 36
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Mar 2012
Reputation: 0



Post: #2
RE: open file problem
Sphere.ini -> OF_FileCommands = 00000080?
02-14-2018 05:39 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)