SphereCommunity
packet for closing backpack? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: packet for closing backpack? (/Thread-packet-for-closing-backpack)



packet for closing backpack? - WRWR - 05-14-2012 09:33 PM

Anybody know this packet? Woot


RE: packet for closing backpack? - admin phoenix - 05-14-2012 10:34 PM

check this out.
http://forum.spherecommunity.net/showthread.php?tid=1319
if you don´t find it, we don´t have it Smile


RE: packet for closing backpack? - Valios - 05-14-2012 11:06 PM

Quote:Packet Name: Send Gump Menu Dialog
Last Modified: 2009-03-02 04:53:51
Modified By: Turley

Packet: 0xB0
Sent By: Server
Size: Variable

Packet Build
BYTE[1] cmd
BYTE[2] blockSize
BYTE[4] id
BYTE[4] gumpid
BYTE[4] x
BYTE[4] y
BYTE[2] command section length
BYTE[?] commands (zero terminated)
BYTE[2] numTextLines

BYTE[2] text length (in unicode (2 byte) characters.)
BYTE[?] text (in unicode)


Subcommand Build
N/A

Notes
In gump packets, the "ID" is the # of the script's PID that fired the gump. This can be used via specific 0xBF packets to send the ID to the client to force closing of the gump from the server. When this is done, the client Auto Responds as if it had "exited" the menu normally so the serverside script will handle it as such.



RE: packet for closing backpack? - sco - 05-15-2012 12:32 AM

You could just use "updatex" to close any container.


RE: packet for closing backpack? - WRWR - 05-15-2012 04:21 AM

to close backpack i can use removefromview and update
just can't to find better way for update moved items from backpack, looks like still in bag 0_o