PenUltima Online

It is currently Sun Sep 07, 2008 2:33 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: POL097 2007-08-23 "Expected packet hook function"
PostPosted: Sun Oct 21, 2007 7:10 am 
Offline

Joined: Sun Feb 05, 2006 4:35 pm
Posts: 160
Location: Poland
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).

_________________
Shutdown();


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 22, 2007 1:37 am 
Offline

Joined: Tue Mar 20, 2007 7:17 am
Posts: 99
Location: Poland
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...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 22, 2007 2:30 am 
Offline

Joined: Sun Feb 05, 2006 4:35 pm
Posts: 160
Location: Poland
1. No
2. No

_________________
Shutdown();


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 01, 2007 4:32 pm 
Offline

Joined: Fri Aug 10, 2007 3:30 pm
Posts: 9
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl