About DPS Meter

03/06/2020 16:45 Empire1453#1
[Only registered and activated users can see links. Click Here To Register...]

Hello, this topic is opened to get an idea about the function.
I guess the way to determine if the character is attacking the unique creature is just to check the spawning packs.
How should we check with this package?
Filter or GS?
I would be very pleased for someone who does this / tries to give an idea.

Thank you. Silkroad community
03/06/2020 18:51 florian0#2
If you're neglecting that the player can get out of range from certain damage sources, you can do that entirely client side.

You need to track all damage/skill packets to determine the damage dealt by each entity. Since the game works on IDs most of the time, you'll also need track all spawn packets to get the names for the IDs. Then make a simple ordered list from the collected data.
03/07/2020 02:24 Empire1453#3
thanks for your message.
Spawn packages are fixed to a very large structure.
He controls many objects, including creatures, characters, pets, and surrounding objects.
I do not know how accurate it is to parcel these packages with a filter.
So far there are 4 pSro servers that enable this feature.
Did they all check the client packages? I do not know.
Does the feature completely with filter control affect the performance greatly?
Continuously checking objects in the region where each character appears?
I don't know, isn't it possible with GS?
So I opened a topic to get an idea.
03/07/2020 06:05 iBotForFun#4
Seems easy enough... Just parse incoming dmg packet.

In this case, you have tiger girl... all incoming dmg to tiger girl will be recorded and post to the dps meter.

Can be done client-side or server-side.
Client-side needs to be in-range to get the dmg packet.
03/07/2020 15:22 Empire1453#5
@[Only registered and activated users can see links. Click Here To Register...]

doesn't this function affect performance?
As I said, spawn packages contain a lot of data.
Is it possible to parse 100%? I am not sure.
Will all operations be done with filter?
03/07/2020 17:28 JellyBitz#6
This task can be done through Client, avoid the filter usage always you can.
Or you need this data for some kind event? at that case use the filter, otherwise don't do it.

SERVER_ENTITY_SKILL_START = 0xB070
SERVER_ENTITY_SKILL_END = 0xB071


All you need for this task, but you can see Spawn ID's only.
That's why spawn packet needs to be parsed, to check and track specific object type and add it to your table with a nice object name.
03/07/2020 18:47 #HB#7
Pretty easy to implement in client-side as flo mentioned, you just need to handle server spawn/skill packets, store them in a map/list, re-order them by highest damage, update your GUI.
03/07/2020 20:57 kanift#8
there is a aggro list so reverse gs ¯\_(ツ)_/¯
04/14/2020 20:41 SymbolofeviL#9
anyone can share this please?
07/27/2020 21:28 thaidu0ngpr0#10
Quote:
Originally Posted by #HB View Post
Pretty easy to implement in client-side as flo mentioned, you just need to handle server spawn/skill packets, store them in a map/list, re-order them by highest damage, update your GUI.
I just want to know how to get the GUI packet
07/27/2020 22:01 Piskota#11
Quote:
Originally Posted by thaidu0ngpr0 View Post
I just want to know how to get the GUI packet

GUI packet? You only need to display the result of the ordered damages on that custom GUI which was well-explained by flo in his thread... Theres no GUI packet your custom dll could have an sql connect i think
07/27/2020 22:44 thaidu0ngpr0#12
Quote:
Originally Posted by Piskota View Post
GUI packet? You only need to display the result of the ordered damages on that custom GUI which was well-explained by flo in his thread... Theres no GUI packet your custom dll could have an sql connect i think
i want to call the DPS GUI by my filter.
What show i do?
07/28/2020 10:48 Piskota#13
I think its enough to check the 0x300C if it belongs to that unique kill whose incoming DMGs you stored.this is the condition ithink
07/28/2020 11:11 Devsome#14
Quote:
Originally Posted by thaidu0ngpr0 View Post
i want to call the DPS GUI by my filter.
What show i do?
As mention before, check the other Thread or the release from @[Only registered and activated users can see links. Click Here To Register...] , if you can not do it by yourself, lookup at the Black Market.

Quote:
Originally Posted by Piskota View Post
I think its enough to check the 0x300C if it belongs to that unique kill whose incoming DMGs you stored.this is the condition ithink
@[Only registered and activated users can see links. Click Here To Register...], he wan't a released downloadable file to implement, he can't deal anything with Packet 0x300C or else.