PenUltima Online

It is currently Wed Aug 20, 2008 2:25 pm

All times are UTC - 4 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 10:42 pm 
Offline
Distro Developer
User avatar

Joined: Fri Feb 10, 2006 12:08 pm
Posts: 305
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: Fri Apr 18, 2008 2:47 am 
Offline
User avatar

Joined: Fri Feb 10, 2006 4:15 am
Posts: 202
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 10:50 pm 
Offline

Joined: Sat Feb 04, 2006 9:49 pm
Posts: 732
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: Sun Apr 20, 2008 1:35 am 
Offline
Distro Developer
User avatar

Joined: Fri Feb 10, 2006 12:08 pm
Posts: 305
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 4:06 am 
Offline

Joined: Wed Apr 19, 2006 3:10 am
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: Tue Aug 19, 2008 1:46 am 
Offline
Distro Developer
User avatar

Joined: Fri Feb 10, 2006 12:08 pm
Posts: 305
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 4:37 am 
Offline

Joined: Wed Apr 19, 2006 3:10 am
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 - 4 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