bisho2009 Posted Monday at 06:16 PM Posted Monday at 06:16 PM 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 Monday at 06:27 PM Posted Monday at 06:27 PM 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 Monday at 06:38 PM Author Posted Monday at 06:38 PM 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 Monday at 06:41 PM Posted Monday at 06:41 PM It's a pity that I'm going to bed. I'll reply to you when I wake up. Quote
kennylovecode Posted yesterday at 02:00 AM Posted yesterday at 02:00 AM 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 yesterday at 02:02 AM Posted yesterday at 02:02 AM 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
bisho2009 Posted 19 hours ago Author Posted 19 hours ago sorry for late response where i should check this code or packet ? Quote
kennylovecode Posted 10 hours ago Posted 10 hours ago 8 hours ago, bisho2009 said: my source is normal msg not stream You can find this package structure in almost any open-source project, and it's incredibly simple. You can even let AI build directly in your project, using the structure I provided 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.