Page 2 of 2
Posted: Mon Jul 24, 2006 7:34 pm
by CWO
error{ errortext = "Access denied" }
are you sure you made no changes to fileaccess.cfg?
This looks like a file.em function thats having that problem in one of your scripts and the script has something where if it encounters an error, it prints the error to the console. I hate to call it but bad design on the script part for not including the script name in the message :?
as for
tartup script complete.
Initialization complete. POL is active. Ctrl-C to stop.
Listening for HTTP requests on port 5002
Starting: Guild Timers Off
Doesnt say anything about an error there... maybe search your scripts for
Print("Starting: Guild Timers)
(end any search after the s in timers since the "off" part might be written as off or be set to a variable.
Posted: Tue Jul 25, 2006 1:13 am
by Harley
Yes, I'm sure for 1000% that I compile and re-write scripts only .src wive! Other .cfg I did not touch! I don't know, why this error wive at console thoose image. And at Guild Timer's is all right! I don't know... if some one have some idea, or Ñ
Posted: Tue Jul 25, 2006 1:21 am
by CWO
basically theres only one thing that puts that error on the console and thats Print() so you have to look in all of your scripts for Print and see if the script is saying anything about errors. In fact, I dont know if any side-effects could incur from this (possibly just having to put use os; in all of your scripts that have it) but I would suggest changing all Print() commands to Syslog(). This way it will actually show the script name before whats put on the console.
Posted: Tue Jul 25, 2006 8:50 am
by Harley
I am very upset! I cannot search all any more .src I have not found anything with print("error{ ..... }");
I don't know what to do

( *soul crying*
At 096 version nothing about this isn't happened! Why at this version?!

Posted: Tue Jul 25, 2006 8:40 pm
by CWO
it might not be print("error{ ..... }")...
it might be something like
Code: Select all
var thefile := ReadFile(somefile.txt);
if (thefile == error)
Print(thefile);
return;
endif
error{ errortext = "Access denied" } - is a raw string of an actual error where "Access denied" was the error it had.
But like I said, just look for Print( nothing more and replace all of those with Syslog(
if you do it that way, all of the messages in the console will look like this:
Code: Select all
syslog [pkg/mypkg/myscript.ecl]: error{ errortext = "Access denied" }
if after replacing Print with Syslog, if the compiler complains that Syslog isnt defined, then put in at the top
use os;
Posted: Wed Jul 26, 2006 2:00 am
by Harley
CWO, bigest thank! That error! I have add with Print(); new syslog(); and get! See
Code: Select all
Starting: SpawnNet
error{ errortext = "Access denied" }
syslog: [pkg/systems/serverstatus/status.ecl]: error{ errortext = "Access denied
" }
Starting: Ore Server.
This is lines of script:
Code: Select all
x := WriteFile(FILENAME, arr);
if( x == error)
print(x);
syslog(x);
endif
But why this error?! I don't know. At 096 pol all be all right! mystically...
Posted: Fri Jul 28, 2006 8:47 pm
by CWO
whats the filename its writing to? Is it in the path of that package or are you trying to write it somewhere else? If you're writing it somewhere else, use
AllowRemote 1
if all 4 options are 1 and it still gets access denied, try looking at the access permissions of the file in Windows. Maybe Windows is whats giving Access Denied. If not, then go post the problem in POL 097 Bug Reports.
Posted: Sat Jul 29, 2006 2:27 am
by Harley
File name is
This file must write at this package, where there is this script, but it don't write! At Windows files are all right!
at fileaccess:
Code: Select all
FileAccess
{
Package serverstatus
Extension *
AllowRead 1
AllowWrite 1
AllowAppend 1
AllowRemote 0
}
At version 096.1 it's all right! Only at 097. I'll go to 097 Bug Reports!
Posted: Sat Jul 29, 2006 7:49 pm
by CWO
maybe try changing it to "servstat.txt" and see...
Posted: Sun Jul 30, 2006 12:48 am
by Harley
Unfortunately nothing has exchanged. This mistake has remained. I hope that developer's are fix this error at second release core 097.
Posted: Sat Aug 05, 2006 9:49 am
by Harley
Hallo again!

I have some problem with packet whos I don't know how to create script or something else. Look please:
Code: Select all
Unknown packet type 0xbf: 9 bytes (IP:127.0.0.1, Account:gogo)
0000: bf 00 09 00 0c 00 00 00 04 ........ ........
Unknown packet type 0xbf: 9 bytes (IP:127.0.0.1, Account:gogo)
0000: bf 00 09 00 0c 00 00 00 04 ........ ........
Unknown packet type 0xbf: 9 bytes (IP:127.0.0.1, Account:admin)
0000: bf 00 09 00 0c 00 00 00 04 ........ ........
Unknown packet type 0xbf: 9 bytes (IP:127.0.0.1, Account:admin)
0000: bf 00 09 00 0c 00 00 00 04 ........ ........
I think that this error was when I open chr paperdol, or maybe I'm wrong! Please, help me!
Thanks!
Posted: Sat Aug 05, 2006 8:52 pm
by CWO
Wierd...
are you using this in a packethook? Somehow, its being sent Client->Server... This is coming up as an error because this is supposed to be from Server->Client