Funny error!

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 »

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...
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post 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.
Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am

Post by Harley »

File name is

Code: Select all

const FILENAME := "servstat";
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!
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

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 »

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 »

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!
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post 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
Post Reply