Joined: 07 Feb 2006 Posts: 52 Location: Rome, Italy
Posted: Tue Jun 06, 2006 1:21 pm Post subject: [POL096-2006-05-30 RC2 Vestal Virgin] ReadFile,LogTOFile, ec
if a script doesn't have fileaccess pol crashes....
Author
Message
Core Essence
Joined: 07 Feb 2006 Posts: 15 Location: Palermo, Italy
Posted: Wed Jun 07, 2006 2:14 pm Post subject:
Unhandled Exception! Minidump started...
##########################################################
Unhandled Exception! Writing Minidump file.
This file with explanation and last lines from log files should be given to the
development team.
Saved dump file to 'POL096-2006-05-30 RC2 Vestal Virgin-20060607200808-0.dmp'
Last Script: scripts/textcmd/admin/fileaccesstest.ecl PC: 3
##########################################################
Script:
Code:
use uo;
use file;
program test_fileaccess(who)
var file_ref:=ReadFile("testfile.txt");
if(!file_ref)
SendSysMessage(who, "Error: "+cstr(file_ref.errortext));
endif
endprogram