Novice
0.1
56b Eylül revizyonunu kullanıyorum file komutu yok sanırım yardımcı olabilircek varmı ?
[function writefile]
IF !(<file.inuse>)
file.mode.create=1
file.mode.append=1
file.mode.writeflag=1
if (<file.open <strarg <args>>>)
file.writeline <streat <args>>
file.close
endif
endif


Bu konu Dreamer tarafından düzenlendi(2008-03-13 21:30, 16 yıl önce)
Novice
0.1
writefile değil o var file. kısımlarında hata veriyor. consol.
file komutu derken neyi kastediyosun?
sphere.ini'de

aşağıdaki bölümü aktif edersen çalışır.

OF_FileCommands = 00000080
Novice
0.1
mlsf zaten yapmıştım onu

// Option flags 
// Flags for options that affect server behaviour but not compatibility
// See the revisions.txt file for more details on this
// OF_Command_Sysmsgs		= 00000008 //Shows status of hearall, allshow, allmove... commands after toggling them
// OF_OSIMultiSight		= 00000020
// OF_Items_AutoName		= 00000040
OF_FileCommands = 00000080
// OF_NoItemNaming		= 00000100
// OF_NoHouseMuteSpeech		= 00000200
// OF_Flood_Protection		= 00001000
// OF_Buffs			= 00002000
// OF_NoPrefix			= 00004000 // Add prefix "A" and "An" to itemnames or not
// OF_DyeType			= 00008000 // if set allows using i_dye on all t_dye_vat instead of only i_dye_tub
// OF_DrinkIsFood			= 00010000 // type T_DRINK will increase FOOD lvl like T_FOOD
// OF_Specific			= 01000000 // Specific behaviour, not completly tested
OptionFlags=08|0200

buda spheredeki hata

19:46:ERROR:(sphere_serv_triggers.scp,190)Undefined keyword 'file.close'
19:46:ERROR:(sphere_serv_triggers.scp,191)Can't resolve <FILE.INUSE>
19:46:ERROR:(sphere_serv_triggers.scp,191)Undefined symbol ''
19:46:ERROR:(sphere_serv_triggers.scp,192)Undefined keyword 'FILE.MODE.APPEND'
19:46:ERROR:(sphere_serv_triggers.scp,193)Can't resolve <FILE.OPEN C:\sphere\STAFFADD.TXT>
19:46:ERROR:(sphere_serv_triggers.scp,193)Undefined symbol ''
hyr yapmamışın

aşağıdakini koyarsan sorun kalmaz.

OptionFlags=08|0200|080
Novice
0.1
saol hallettim...

Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.