PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
POL097 2007-08-23 "Expected packet hook function"

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097
Display posts from previous:   

Author Message
qrak



Joined: 05 Feb 2006
Posts: 160
Location: Poland

PostPosted: Sun Oct 21, 2007 11:10 am    Post subject: POL097 2007-08-23 "Expected packet hook function" Reply with quote

Linux core.
Pol is flooding console with such text:
Code:

[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).

Author Message
coltain



Joined: 20 Mar 2007
Posts: 97
Location: Poland

PostPosted: Mon Oct 22, 2007 5:37 am    Post subject: Reply with quote

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...

Author Message
qrak



Joined: 05 Feb 2006
Posts: 160
Location: Poland

PostPosted: Mon Oct 22, 2007 6:30 am    Post subject: Reply with quote

1. No
2. No

Author Message
Keryan



Joined: 10 Aug 2007
Posts: 9

PostPosted: Thu Nov 01, 2007 8:32 pm    Post subject: Reply with quote

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:

Packet 0xD6
{
  Length variable
  ReceiveFunction megacliloc:HandleUnknown
}

and then in megaliloc.src you can create just this function
Code:

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 new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty