PenUltima Online

It is currently Sun Oct 12, 2008 1:28 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: [POL097-2008-02-26 Coregina] - Packet ID: 0x34 - Issue
PostPosted: Tue Apr 15, 2008 6:42 pm 
Offline
User avatar

Joined: Fri Feb 10, 2006 8:08 am
Posts: 327
Location: Myrtle Beach, South Carolina
Packet ID: 0x34 (Get Player Status)
BYTE[1] getType
� 0x04 - Basic Stats (Packet 0x11 Return)


There's no distance, concealed and possibly hidden(unchecked) checks for Basic Stats request.

People are using this with injection to detect when staff are online.

It's a really simple packethook fix I may upload if enough people request.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 10:47 pm 
Offline
User avatar

Joined: Fri Feb 10, 2006 12:15 am
Posts: 223
I didn't test this myself yet, but if what you said is valid, do you know if this is an old issue or introducted in the new releases (say, 096/097)? Not that it's too important, I'm just curious.

Concerning the fix, I'm looking forward to it's release. Since you are working on the distro (aren't you?), wouldn't the script suit well in it until the (presumed) core fix is introducted?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 18, 2008 6:50 pm 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 772
Location: Chicago, IL USA
Well I remember before that people used to just Single Click staff and since there was no distance or visibility checks on them then, the name would appear in the lower left but I guess after that was fixed in 096, they're turning to alternatives.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 19, 2008 9:35 pm 
Offline
User avatar

Joined: Fri Feb 10, 2006 8:08 am
Posts: 327
Location: Myrtle Beach, South Carolina
Fix found here;
http://forums.polserver.com/ftopic2128.php

I haven't touched the distro in a while, been busy with my own shard, lol.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 21, 2008 12:06 am 
Offline

Joined: Tue Apr 18, 2006 11:10 pm
Posts: 36
I use two hooks against it, 0x34 and 0x6c packets.

_________________
Dream World, www.uo.od.ua


Top
 Profile  
 
 Post subject: Re: [POL097-2008-02-26 Coregina] - Packet ID: 0x34 - Issue
PostPosted: Mon Aug 18, 2008 9:46 pm 
Offline
User avatar

Joined: Fri Feb 10, 2006 8:08 am
Posts: 327
Location: Myrtle Beach, South Carolina
Very cool, maybe you could release the other packet?


Top
 Profile  
 
 Post subject: Re: [POL097-2008-02-26 Coregina] - Packet ID: 0x34 - Issue
PostPosted: Tue Aug 19, 2008 12:37 am 
Offline

Joined: Tue Apr 18, 2006 11:10 pm
Posts: 36
Code:
use uo;

program sendtarget()
  Print( "Hooking incoming 6C packet..." );
  return 1;
endprogram

exported function Handle6CReceive( chr, byref packet )

var staffs := {0x1, 0x2, 0x3};  // staff chars serials here
var serstat := packet.GetInt32(7);
var staff;
if(chr.cmdlevel)
   return 0;
endif

if(serstat in staffs)
   staff := SystemFindObjectBySerial(serstat);
   if(staff && !staff.concealed)
      return 0;
   endif
   packet.SetInt32(7, chr.serial);
endif

  return 0;
endfunction

_________________
Dream World, www.uo.od.ua


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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