Required Teleport Packets

12/06/2011 00:49 12k#1
What packets are needed to be sent after a teleport other then the general packet type 86 and Map Status (1110). The reason I ask is because the market stall button to abandon a stall isnt appearing. Believe that was part of a packet needed to be sent. I thought it was map status. But apparently not.
12/06/2011 01:59 pro4never#2
Quote:
Originally Posted by 12k View Post
What packets are needed to be sent after a teleport other then the general packet type 86 and Map Status (1110). The reason I ask is because the market stall button to abandon a stall isnt appearing. Believe that was part of a packet needed to be sent. I thought it was map status. But apparently not.
You're probably not handling the vending request properly.

The client when trying to vend will send a genData packet with the CreateBooth subtype (111 in current patch, not sure if it ever changed). You then perform all server side checks (send the new carpet spawn packet, etc) and once it's all confirmed you edit the received packet's Data1 offset to the new carped UID and send it back to the client. Note: Data1 is offset 8 <_<

Just to confirm... The actual issue here is the leave stall button not showing, correct? Just curious as you're talking about a teleport packet which shouldn't be needed at all here <_<

The actual packet received when you click the stop vending button is the GetSurroundings general data subtype (114... again current patch could be different in other ones).
12/06/2011 02:03 12k#3
Yeah, I dont think its changed. And thanks for the info. Ill def give it a shot. I was just sending a new gen data packet with type 111 and the stall ID. Would that make a difference?
12/06/2011 02:22 pro4never#4
Quote:
Originally Posted by 12k View Post
Yeah, I dont think its changed. And thanks for the info. Ill def give it a shot. I was just sending a new gen data packet with type 111 and the stall ID. Would that make a difference?
I have no idea the packet contains any extra information I just found it far easier to modify the offsets and parrot it back to the client. That's how a very large portion of the general data packets work.

Client sends a request

Server checks/modifies

Server sends reply
12/06/2011 04:26 12k#5
Alrighty, well, Ive updated it all to what you said, except the offset for 5017 is 12 for the stall ID. It wont even let me sit down without it. It locks my character to the stall and sits, it just wont display the close shop button. :\ Any ideas any1?
12/06/2011 05:12 { Angelius }#6
just send the right map status value to the client when you teleport him to the market and the button will pop up when you start vending its = 30

Good luck.
12/08/2011 05:47 12k#7
woot :D im not just coming up with it out of nowhere haha. Thanks a lot.