0x98 All Names with 2D

Here you can discuss packets, implementation and design, and software related to the packet sniffing and such. This is not the place to post packages for POL, but rather discuss the packet side of them.

Moderator: POL Developer

Post Reply
User avatar
*Edwards
Forum Regular
Posts: 301
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada
Contact:

0x98 All Names with 2D

Post by *Edwards » Sat May 30, 2009 9:44 am

Notes
Only 3D clients send this packet. Server and client packet.
Unsure as of when, 2D client added this ability also.
Does anyone know which client can support this feature?

User avatar
CWO
POL Expert
Posts: 1141
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA
Contact:

Re: 0x98 All Names with 2D

Post by CWO » Sat May 30, 2009 4:16 pm

Newer clients support this feature... at least 5.x+. This packet is used when you hold Ctrl+Shift. But this is ONLY requested for mobiles in the area. Items use their cliloc names.

uopacket.cfg

Code: Select all

Packet 0x98
{
    Length variable
    ReceiveFunction allnames:allnames
}
allnames.src

Code: Select all

use uo;

program install()
	Print("Installing Allnames packethook");
	return 1;
endprogram

exported function allnames(who, byref packet)
	Packet.SetLength(37);
	Packet.SetString(7, SystemFindObjectBySerial(packet.getint32(3)).name, 1);
	Packet.SendPacket(who);
  return 1;
endfunction

Although I have this in a packethook still because my shard is on 096 currently, this was added into the core late in 097.

User avatar
*Edwards
Forum Regular
Posts: 301
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada
Contact:

Re: 0x98 All Names with 2D

Post by *Edwards » Sat May 30, 2009 10:22 pm

Thanks a lot CWO I had it working on my project here but I'm still using really old client... I might upgrade really soon :( :)

Curb
New User
Posts: 4
Joined: Fri Aug 07, 2009 2:16 am

Re: 0x98 All Names with 2D

Post by Curb » Wed Sep 23, 2009 5:09 am

This is insanely late and rather bringing it out of the dust a little, but can confirm that client 4.0.3c has the Ctrl+Shift 'all names' feature too, but 4.0.1l (and before) doesn't. So somewhere between those two.

Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: 0x98 All Names with 2D

Post by Pachacuti » Fri Jan 29, 2010 10:06 am

*An Corp*

Err.. is there any way to disable this feature? Without having to use older clients?

User avatar
*Edwards
Forum Regular
Posts: 301
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada
Contact:

Re: 0x98 All Names with 2D

Post by *Edwards » Fri Jan 29, 2010 1:24 pm

I know there is a shard project in the download section with the packethook allnames. You could simply modify it to return 1 so POL will modify it as you want.

User avatar
CWO
POL Expert
Posts: 1141
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA
Contact:

Re: 0x98 All Names with 2D

Post by CWO » Fri Feb 05, 2010 5:45 am

Well if you want to disable the displaying of the names in AllNames, all you need to do is install the code I have above but change the function to

Code: Select all

exported function allnames(who, byref packet)
  return 1;
endfunction
Other than forcing the use of older clients, you can't actually disable the client from attempting to use AllNames, you can only fool around with the reply.

Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: 0x98 All Names with 2D

Post by Pachacuti » Fri Feb 05, 2010 8:28 am

What I got with this was that the boxes keep being displayed, but the names dont appear...

I would like the boxes not to show up, but its in the core right?

My solution was disconecting players which used this allnames =P

Turley
POL Developer
Posts: 645
Joined: Sun Feb 05, 2006 4:45 am

Re: 0x98 All Names with 2D

Post by Turley » Fri Feb 05, 2010 1:14 pm

Nope its not in the core, the client simply expects an answer thats why it shows the box. Maybe setting account.uo_expansion<AOS and/or servspecopt.uofeatureenable <AOS helps.

Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: 0x98 All Names with 2D

Post by Pachacuti » Sat Feb 06, 2010 5:00 am

But turley, would this mess with the tooltips? Or the graphics of the new mobiles?

User avatar
CWO
POL Expert
Posts: 1141
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA
Contact:

Re: 0x98 All Names with 2D

Post by CWO » Sat Feb 06, 2010 7:52 am

I wouldn't recommend disconnection since people can hit it purely by accident by hitting Ctrl+Shift. Since the buttons are next to eachother, accidents can happen. You'll then develop some upset players. And Turley, it won't work that I know of because my shard is pre-AOS and the AllNames still works.

Pachacuti
Apprentice Poster
Posts: 51
Joined: Fri Jun 12, 2009 8:57 am

Re: 0x98 All Names with 2D

Post by Pachacuti » Sun Feb 07, 2010 5:26 am

The idea isnt disconnecting in the first time. If someone press it, a warning will appear and nothing will happen. If the player keep using it, he'll be disconnected. Got it? This was the only solution I got to prevent players from using allnames...

Post Reply