Showing monsters on minimap

02/09/2020 04:59 Relic#1
Is it possible to show ALL monsters with a certain mobId on minimap?

I've tried sending the MsgAction[10010] packet with a subtype of TeamMemberPos[101] but it only shows a single point/monster.

[Only registered and activated users can see links. Click Here To Register...]

Here's some example code:

HTML Code:
foreach (var mapObject in Map.MapObjects.Values)
            {
                if (mapObject is Monster monster && monster.Id == 1)
                {
                    Send(new MsgActionPacket
                    {
                        ClientId = monster.ClientId,
                        Data1 = (uint)MapId,
                        Data3Low = monster.X,
                        Data3High = monster.Y,
                        GeneralAction = GeneralAction.QueryTeamMember
                    });
                }
            }
Is there any subaction that can handle this?
02/09/2020 15:48 Yupmoh#2
I've done this with UltimatePluto and DisCity on my server, from my understanding you can't send multiple TeamMemberPos at the same time, it will swap between them.
02/09/2020 20:03 Relic#3
Quote:
Originally Posted by Execution! View Post
I've done this with UltimatePluto and DisCity on my server, from my understanding you can't send multiple TeamMemberPos at the same time, it will swap between them.
Yeah that's what I noticed, thanks for the reply. Is this implemented in your Xio source you released 5 years ago? If so the mega link seems to be dead.
02/11/2020 06:56 Yupmoh#4
Quote:
Originally Posted by Virus7799 View Post
Yeah that's what I noticed, thanks for the reply. Is this implemented in your Xio source you released 5 years ago? If so the mega link seems to be dead.
It's not implemented in that source no, and Xio is a terrible source, I'd urge you not to use it only reference it, I'm glad the link died anyways.
02/11/2020 10:48 Relic#5
Quote:
Originally Posted by Execution! View Post
It's not implemented in that source no, and Xio is a terrible source, I'd urge you not to use it only reference it, I'm glad the link died anyways.
I'm working on a custom source. Could you point me in the right direction to implement it?
02/11/2020 17:44 Yupmoh#6
Like I said, you can't implement multiple points at the same time it has to be done 1 by 1.
02/12/2020 02:21 Relic#7
Quote:
Originally Posted by Execution! View Post
Like I said, you can't implement multiple points at the same time it has to be done 1 by 1.
Ah my bad, thought you meant you managed to implement multiple points somehow.
02/12/2020 05:17 Yupmoh#8
I mean if you really want it you'd have to just queue up a series of points and have them display one after another in rapid succession for a period of time, it won't look as good but hey this is just off the top of my head I'm sure you can come up with better ideas.

Edit, I just noticed that's what you were doing initially with the foreach loop, my bad :)
02/12/2020 07:29 Spirited#9
If you're interested in creating new features on the client, then I'd really recommend investing some time in making a client hook that can send and receive custom packets, and draw over/update the interface. For this problem in particular, I know Chris and Angelius had a mini map hook to load custom map icons. You could always do something similar but feed it location data via a packet. I know it's a complicated project to take on, but I know that's how things like this have been done in the past.
02/14/2020 00:47 Relic#10
Quote:
Originally Posted by Spirited View Post
If you're interested in creating new features on the client, then I'd really recommend investing some time in making a client hook that can send and receive custom packets, and draw over/update the interface. For this problem in particular, I know Chris and Angelius had a mini map hook to load custom map icons. You could always do something similar but feed it location data via a packet. I know it's a complicated project to take on, but I know that's how things like this have been done in the past.
I've done some client hooking in the past, will look into doing it this way when I have a chance. Thanks!
06/13/2020 07:14 Felipe Fercondini#11
have anyone of you guys know how to show the effect of base dominated in the minimap ??

let me explain better, ctf when you get a base it shows to your guild members that base was dominated by your guild... but i dont know the id effect of this... and since i read this post its pretty the same thing just change the effect id wich i dont have...

its my first time asking something in 10 years so if you cant help please dont insult