bisho2009 Posted 17 hours ago Posted 17 hours ago i have work on new 3d source but i use old twin city and market i managed to move npc and monsters back but the only issue iam facing is seting in market for booth icon dont show so player can leave Quote
kennylovecode Posted 17 hours ago Posted 17 hours ago 10 minutes ago, bisho2009 said: i have work on new 3d source but i use old twin city and market i managed to move npc and monsters back but the only issue iam facing is seting in market for booth icon dont show so player can leave As far as I know, it needs to send a MapStatus packet. What source code do you use? Alex stream? Quote
bisho2009 Posted 17 hours ago Author Posted 17 hours ago no normal msg but i dont know what is mapstatues packet i use this but not working at all case Mode.OwnBooth: { if (!client.Player.TradeOn) return; client.Booth = new Game.ConquerStructures.Booth(client, gData); if (client.Player.MapID == 1036) { client.Send(new MsgAction(true) { ID = MsgAction.Mode.ChangeAction, UID = client.Player.UID, dwParam = 0 } ); client.Send(new MsgMapInfo() { BaseID = client.Map.BaseID, ID = client.Map.ID, Status = Database.MapsTable.MapInformations[1036].Status }); client.Booth = new Game.ConquerStructures.Booth(client, new MsgAction(true) { UID = client.Player.UID }); client.Send(new MsgAction(true) { ID = MsgAction.Mode.ChangeAction, UID = client.Player.UID, dwParam = 0 }); } break; } Quote
kennylovecode Posted 17 hours ago Posted 17 hours ago It's a pity that I'm going to bed. I'll reply to you when I wake up. Quote
kennylovecode Posted 10 hours ago Posted 10 hours ago 7 hours ago, bisho2009 said: no problem public static unsafe ServerSockets.Packet MapStatusCreate(this ServerSockets.Packet stream, uint MapID, uint BaseID, ulong Status) { stream.InitWriter(); stream.Write(MapID);//4 stream.Write(BaseID);//8 //uint update = 1U << 31; //Console.WriteLine(update); stream.Write(Status); stream.Finalize(GamePackets.MapStaus); return stream; } Quote
kennylovecode Posted 10 hours ago Posted 10 hours ago After updating the map on ChangeMap, you may not have notified the client of the map status. In the conquer client, there are restrictions on setting up stalls. The "close stall" button will only appear when the status value includes the "stall-settable" flag. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.