Page 1 of 1
POL097 2007-08-23 "Expected packet hook function"
Posted: Sun Oct 21, 2007 7:10 am
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).
Posted: Mon Oct 22, 2007 1:37 am
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...
Posted: Mon Oct 22, 2007 2:30 am
by qrak
1. No
2. No
Posted: Thu Nov 01, 2007 4:32 pm
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