Anyone has info about last packet changes?
For example in our docu (http://docs.polserver.com/packets/index.php) info about packet F3 and 24 is outdated now...
Packet F3 24bytes -> 26bytes
Packet 24 7bytes -> 9bytes
I need some info about new packets
new packet sizes
Moderator: POL Developer
Re: new packet sizes
I found some info
Has anyone more info?
Code: Select all
[b]Packet 0x24 - Draw Container[/b]
Sent By: Server
Size: 9 bytes
[b]Packet Build[/b]
BYTE cmd
BYTE[4] item id
BYTE[2] model-Gump (0x003c is backpack)
BZTE[2] Container Type (0x00 for vendors, 0x7D for spellbooks and containers)
Container Type was added in UO:HS clients.
[b]Packet Name: Give Boat/House Placement View[/b]
Packet: 0x99
Sent By: Both
Size: 30 Bytes
[b]Packet Build[/b]
byte ID (99)
byte Target Type (0x00 = Object Target, 0x01 = Tile Target)
dword Sender Serial
byte Flags (0x00 = None, 0x01 = Harmful, 0x02 = Beneficial, 0x03 = Cancel Target)
byte[11] 0x00
word Graphic
word X
word Y
word Z
dword Hue
Hue was added in UO:HS clients
[b]Packet Name: Quest Arrow[/b]
Packet: 0xBA
Sent By: Server
Size: 10 Bytes
[b]Packet Build[/b]
BYTE[1] cmd
BYTE[1] active (1=on, 0=off)
BYTE[2] xLoc
BYTE[2] yLoc
BYTE[4] Target Serial
Target Serial was added in UO:HS clients.
Last edited by RusseL on Sun Jul 28, 2013 1:37 am, edited 1 time in total.
Re: new packet sizes
Thanks for the QuestArrow info, it helped me a lot!
BTW, what does Packet: 0x2A (Blood) do?
Also, I found info that guys on RunUO implemented Blink\Flash with a help of packet [0x70] (Graphical Effect). Is it possible on POL?
BTW, what does Packet: 0x2A (Blood) do?
Also, I found info that guys on RunUO implemented Blink\Flash with a help of packet [0x70] (Graphical Effect). Is it possible on POL?
Re: new packet sizes
About that packet 0x99, the hue offset is now supported by core with the last revision
Code: Select all
07-27-2013 Tomi:
Changed: UO::TargetMultiPlacement( character, objtype, flags := 0, xoffset := 0, yoffset := 0, hue := 0 );
New optional hue parameter to show hued multis which are supprted by clients >= 7.0.9 ( HSA )
Older clients ignores this option
Re: new packet sizes
About 0x70 Packet and Special Effects - it is working!
Code: Select all
function SpecialEffect( who, type:=2 )
var packetString := "70";
packetString := packetString + fixPacketLength(hex(4),1); // 0x04 = special effects
packetString := packetString + fixPacketLength(hex(0),4);
packetString := packetString + fixPacketLength(hex(0),4);
packetString := packetString + fixPacketLength(hex(type),2); // (for type = 0x04 use 0x00 - 0x04 values for different special flash effects
// 0 - Fade out, 1 - Fade in, 2 - Flash, 3 - Fade In&Out, 4 - very short Black Flash
packetString := packetString + fixPacketLength(hex(0),16);
SendPacket( who, packetString );
endfunction