 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
 |
|
 |
 |
| Author |
Message |
Rogdush
Joined: 10 Feb 2006 Posts: 21
|
Posted: Thu Nov 22, 2007 10:16 pm Post subject: |
|
|
Hi everyone.
Today Ive updated my POL to 07-25 and noticed the same lil buggy.
As far as I noticed, POL simply doesnt send worn update for player and players around him, when item is equipped from different realm.
Bigger problem causes mounting (if your script is equiping it from brit), because player cant get off mount, unless he trigger MoveObject on himself.
Ive done temporarily my own send packet after EquipItem, so everyone gets correct update.
| Code: |
EquipItem(master,mount);
if(master.realm != REALM_BRITANNIA)
var Packet := CreatePacket(0x2E, 15);
Packet.SetInt32(1, mount.serial);
Packet.SetInt16(5, mount.graphic);
Packet.SetInt8(7, 0);
Packet.SetInt8(8, LAYER_MOUNT);
Packet.SetInt32(9, master.serial);
Packet.SetInt16(13, mount.color);
foreach Obj in ListObjectsInBox(master.x-18, master.y-18, -127, master.x+18, master.y+18, 127, master.realm)
if(Obj.acctname)
Packet.SendPacket(Obj);
endif
endforeach
endif
|
Works well, for mount.
I think, its doable in can equip script, so you can know previous location of item, but havent tested it yet. I hope we will get this bug fixed shortly  |
|
 |
|
|
|