How to read packet player open Zerk S>C

09/27/2016 19:53 MrMiroBear#1
how i can read packet Player open Zerk
and how i can get his name?

PHP Code:
[-> C][30D0]
60 AB 02 00                                       `...............
9A 99 19 42                                       ...B............
01 00 F0 42                                       ...B............ 
i want to give him ban if he use Zerk
but i can't get his Name or CharID
any idea?
09/27/2016 20:47 DaxterSoul#2
0x30D0 - SERVER_AGENT_ENTITY_UPDATE_MOVE_SPEED is generally not a safe way to determine if a player used zerk.

Using...
0x30BF - SERVER_AGENT_ENTITY_UPDATE_STATE
Code:
4   uint    UniqueID
1   byte    stateType
1   byte    state
if(stateType == StateType.BodyState)
{
    if(state == BodyState.Berzerk)
    {
        1   byte    IsEnhanced  //20% damage buff when cuddling in blue zerk
    }
}
...might be a better way.

However you won't avoid the problem, that (GObj related) S->C packets only contain the UniqueID which you can only match to player names by either reading [Only registered and activated users can see links. Click Here To Register...] or client's memory.

An C->S approach in filter code using 0x70A7 - CLIENT_AGENT_CHARACTER_UPDATE_BODYSTATE_REQUEST is much easier to log/prevent/ban.
09/27/2016 21:49 MrMiroBear#3
so whatever i do can't get name of players from UniqueID ,
I think need filter to solve this problem right!!
10/23/2016 13:59 Holosco*#4
Quote:
Originally Posted by MrMiroBear View Post
so whatever i do can't get name of players from UniqueID ,
I think need filter to solve this problem right!!
Read the post correctly, you have to parse singlespawn packet before trying to get charname which is daxter said before your post..
10/23/2016 21:12 Doctor Strange#5
Read Player UniqueID by (SingelSpawn/GroupSpawn)
then use that UniqueID with packet 0x30D0 As my mentor Daxter said its Structure
10/25/2016 00:07 Mr.Awesome1337#6
Quote:
Originally Posted by Doctor Strange View Post
Read Player UniqueID by (SingelSpawn/GroupSpawn)
then use that UniqueID with packet 0x30D0 As my mentor Daxter said its Structure
Ok,where the Unique Id in that packet?
10/25/2016 09:06 vorosmihaly#7
Quote:
Originally Posted by Mr.Awesome1337 View Post
Ok,where the Unique Id in that packet?
Just forget it,if you're too lazy to look things up then this is not for you.