Page 1 of 1

Strange msg in console

Posted: Wed Aug 23, 2006 2:47 pm
by jareth
when a player in online and he is in PVE i have this msg on console:

user used attack packet with illegal defender serial


someone could explain me what does it mean?


tnx

Posted: Wed Aug 23, 2006 8:41 pm
by sherkas
He sent an attack command (packet) that was to attack someone that didn't exist?

Posted: Thu Aug 24, 2006 1:07 am
by tekproxy
It depends on what script distro you're using. You'll have to search all your .src and .inc files for that string to hunt the problem down right.

If you're using Windows XP and I think 2000 the search function is soundly broken and you have to go through some confusing process to get it to work right. Windows doesn't search extentions it doesn't know and it doesn't know .src or .inc files, so if you're going to run a server/script you _need_ to do this.

For more info, go here:
http://support.telop.org/xpsrch.htm

To fix, do this:
Click Start, select Run and enter ciadv.msc.
Click OK and Indexing Service settings will be run.
On the menu select Action, Properties. Note that you do not have to turn on the Index service.
On the Generation tab, click to select the Index files with unknown extensions check box, and then click OK
Close the Indexing Service console.

Now open your pol directory and press ctrl+f to bring up search menu. If a stupid dog appears, you can turn him off under prefrences or something. You want to search for All files and folders, something like that. I fixed my windows searches a long time ago and I don't remember how it looks by default. I'm sure you can figure out how to search.

All or part of the file name box should be this:
*.src;*.inc

* = wildcard, can mean anything, so anything with .src or anything with .inc search inside

A word or phrase in the file box should be like this:
user used attack packet with illegal defender serial


It should come back with 1+ results. Open them and figure it out. Good luck.

The whole "how to search your code" thing should be a sticky somewhere...

Posted: Thu Aug 24, 2006 12:39 pm
by GEEK
I use superior search of Neuropower (versione 1.0, not 2.0) and it it the best to search fast inside entire pol scripts.

Posted: Fri Feb 09, 2007 10:18 am
by Gnafu
I have the same problem and i'm using PsPad to perform searches.
It always found what i was looking for in *.scr and *.inc files but it can't find anything with "packet with illegal" in it..

Is it a feature of the POL? I'm using 097 but this problem was present even in 096

Posted: Fri Feb 09, 2007 6:27 pm
by CWO
The core prints this itself, the scripts don't print it. The person's client is somehow sending an attack packet for something thats either not a mobile or doesn't exist, or is somehow attacking himself.

Posted: Fri Feb 09, 2007 8:12 pm
by MuadDib
Could this also be happening if using the "AttackLast" macro, after the person is dead? Never tried.