I wonder how to do it with packets only and I managed to build a packet that updates the cliloc when used by command:
Code: Select all
// refresh cliloc info through packets. var newpacket := CreatePacket (0xBF, MSGLEN_VARIABLE ); newpacket.SetSize(12+8); newpacket.SetInt16(03, 0x10); newpacket.SetInt32(05, xObject.serial); newpacket.SetInt32(09, I_HAVE_NO_IDEA); newpacket.SendPacket(who);
The problem is that I do not fully understand the packet and when it should be sent. Anyone has any experience? For me it seems that something is missing server-side, if for example POLCLASS_ITEM object have any properties changed, it should send a packet to client so the client could request cliloc update.
I hope you have any findings, anything would help!
If no I will go with the SpyUO + RunUO path to see how it works there, so far SpyUO hangs when I try to attach it to my 126.96.36.199 client :/
Btw - polcore I use - latest SVN.