Does anyone know which client can support this feature?Notes
Only 3D clients send this packet. Server and client packet.
Unsure as of when, 2D client added this ability also.
0x98 All Names with 2D
Moderator: POL Developer
0x98 All Names with 2D
Re: 0x98 All Names with 2D
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
allnames.src
Although I have this in a packethook still because my shard is on 096 currently, this was added into the core late in 097.
uopacket.cfg
Code: Select all
Packet 0x98
{
Length variable
ReceiveFunction allnames:allnames
}
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.
Re: 0x98 All Names with 2D
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
Re: 0x98 All Names with 2D
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.
Re: 0x98 All Names with 2D
*An Corp*
Err.. is there any way to disable this feature? Without having to use older clients?
Err.. is there any way to disable this feature? Without having to use older clients?
Re: 0x98 All Names with 2D
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.
Re: 0x98 All Names with 2D
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
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.
Code: Select all
exported function allnames(who, byref packet)
return 1;
endfunction
Re: 0x98 All Names with 2D
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
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
Re: 0x98 All Names with 2D
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.
Re: 0x98 All Names with 2D
But turley, would this mess with the tooltips? Or the graphics of the new mobiles?
Re: 0x98 All Names with 2D
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.
Re: 0x98 All Names with 2D
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...