Page 1 of 1
i can't understand "out of sequence" handling :)
Posted: Fri Jan 12, 2007 10:48 am
by ultek
Well i have polerr.log in /pol/ and many entries:
Code: Select all
acc/char used out of sequnce cursor.
My idea is to wrote a script kicking players every time the "out of sequence" thing happen.
Don't have idea how to handle this. Any help would be appreciated.
Posted: Fri Jan 12, 2007 7:29 pm
by MuadDib
Use a hook as discussed in the bug thread of 096. In 097 this was fixed.
Posted: Sun Jan 14, 2007 3:16 pm
by ultek
you mean packet hook?
Posted: Sun Jan 14, 2007 5:08 pm
by MuadDib
Correct.
The previous changes (before 097) were simply "informative" that you are looking at. There was never anything implemented in order to directly address the issue. In 097 we moved to handle them more like how Origin and EA have done so, thus not only fixing this issue, but in my opinion, making the targeting system a much better system overall.
Posted: Sat Jan 20, 2007 5:59 am
by ultek
can you give me example of using this packet?
I searched through packet list and found nothing.
As you say - it's possible to do in pol97 (and I have 097) but no idea how to "catch" that...
Posted: Sat Jan 20, 2007 9:36 am
by ultek
ok. I wrote something like this: (packethook)
uopacket.cfg wrote:Packet 0x6C
{
Length 0x13
SendFunction anty:SendAntyMacro
}
and
anty.src wrote:use uo;
use os;
Program Install()
print("Anty Out-Of-Sync Target Activated");
return 1;
Endprogram
exported function SendAntyMacro(who, byref packet)
who := who;
syslog("SendAntyMacro");
return 1;
endfunction
Now, when I use (i.e.) animal taming, the cursor appears. Then if I click something - nothing happens. When I try after that use animal taming again - sysmessage appears "you already doing something else" (something goes wrong, and server still wait for target packet). What i've done wrong?
Posted: Sat Feb 10, 2007 1:50 pm
by ultek
Bump..
Still have no idea with that error
