POL097 2007-08-23 "Expected packet hook function"

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 097.
Note: Core 097 is no longer officially supported.
Post Reply
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm

POL097 2007-08-23 "Expected packet hook function"

Post by qrak »

Linux core.
Pol is flooding console with such text:

Code: Select all

[10/21 14:24:15] Expected packet hook function for msg d6 but was null!
[10/21 14:24:25] Expected packet hook function for msg d6 but was null!
[10/21 14:24:28] Expected packet hook function for msg d6 but was null!
Any ideas? im hooking packet 0xD6 (megacliloc).
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am

Post by coltain »

some questions:

1. Do You use another map then britannia (eg. Ilshenar,Malas etc)?
2. Do You have a recive packet hooked??

some ieas:
1. I have this problem too, i tried to log all the packets 0xd6 that comes out or in but after couple hours the file was so big taht i couldn`t open it and had to delete ;p
2. I thought it may be a Windows problem but... but this is LInux problem too
3. I tried to disable this packet (removig whole directory) but it didn`t help
4. Now I`ll try to remove a Ilshenar map for players. I`m so lost for now...
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm

Post by qrak »

1. No
2. No
Keryan
New User
Posts: 11
Joined: Fri Aug 10, 2007 3:30 pm

Post by Keryan »

Afaik this is becouse Razor(normal client does not send it) is sending 0xd6 packet to server ( it has something to do with last target, i think ), runuo seems to be handling this packet from razor, but pol is not, so to stop flooding console just add packet hook for 0xd6 and define receivefunction.
In uopacket.cfg:

Code: Select all

Packet 0xD6
{
  Length variable
  ReceiveFunction megacliloc:HandleUnknown
}
and then in megaliloc.src you can create just this function

Code: Select all

program megacliloc()
   return 1;
endprogram

exported function HandleUnknown( who, byref packet )
   return 1; //stop packet here
endfunction

I didnt realy test it, but it should work
Post Reply