Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Harley
Forum Regular
Posts: 360 Joined: Sat Mar 18, 2006 1:41 am
Post
by Harley » Wed Jul 26, 2006 2:00 am
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...
CWO
POL Expert
Posts: 1160 Joined: Sat Feb 04, 2006 5:49 pm
Post
by CWO » Fri Jul 28, 2006 8:47 pm
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.
Harley
Forum Regular
Posts: 360 Joined: Sat Mar 18, 2006 1:41 am
Post
by Harley » Sat Jul 29, 2006 2:27 am
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!
CWO
POL Expert
Posts: 1160 Joined: Sat Feb 04, 2006 5:49 pm
Post
by CWO » Sat Jul 29, 2006 7:49 pm
maybe try changing it to "servstat.txt" and see...
Harley
Forum Regular
Posts: 360 Joined: Sat Mar 18, 2006 1:41 am
Post
by Harley » Sun Jul 30, 2006 12:48 am
Unfortunately nothing has exchanged. This mistake has remained. I hope that developer's are fix this error at second release core 097.
Harley
Forum Regular
Posts: 360 Joined: Sat Mar 18, 2006 1:41 am
Post
by Harley » Sat Aug 05, 2006 9:49 am
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!
CWO
POL Expert
Posts: 1160 Joined: Sat Feb 04, 2006 5:49 pm
Post
by CWO » Sat Aug 05, 2006 8:52 pm
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