Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] I don't follow sorry why would looking at the trinity core server help me figure out where the met

[DiscordArchive] I don't follow sorry why would looking at the trinity core server help me figure out where the met

[DiscordArchive] I don't follow sorry why would looking at the trinity core server help me figure out where the met

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
11-15-2022, 10:54 PM
#31
Archived author: ducks • Posted: 2022-11-15T22:54:43.217000+00:00
Original source

are the combat log timestamps server generated? I know they use the client time (maybe via `CMSG_TIME_SYNC_RESPONSE ` ?) but I would imagine the actual generation of the timestamps are done server side and offset by client time or something?
rektbyfaith
11-15-2022, 10:54 PM #31

Archived author: ducks • Posted: 2022-11-15T22:54:43.217000+00:00
Original source

are the combat log timestamps server generated? I know they use the client time (maybe via `CMSG_TIME_SYNC_RESPONSE ` ?) but I would imagine the actual generation of the timestamps are done server side and offset by client time or something?

rektbyfaith
Administrator
0
11-15-2022, 10:58 PM
#32
Archived author: ducks • Posted: 2022-11-15T22:58:31.759000+00:00
Original source

it seems like all the combat logs are SMSG_* (so server-sent) but do the combat log timestamps use the time from the event or when they receive the event
rektbyfaith
11-15-2022, 10:58 PM #32

Archived author: ducks • Posted: 2022-11-15T22:58:31.759000+00:00
Original source

it seems like all the combat logs are SMSG_* (so server-sent) but do the combat log timestamps use the time from the event or when they receive the event

rektbyfaith
Administrator
0
11-15-2022, 11:11 PM
#33
Archived author: ducks • Posted: 2022-11-15T23:11:26.107000+00:00
Original source

just tested and combared to combat log
```
ClientToServer: CMSG_CAST_SPELL (0x3295) Length: 120 ConnIdx: 1 Time: 11/15/2022 18:06:01.306 Number: 1472
ServerToClient: SMSG_SPELL_START (0x2C3A) Length: 107 ConnIdx: 1 Time: 11/15/2022 18:06:01.434 Number: 1483
ServerToClient: SMSG_SPELL_GO (0x2C39) Length: 194 ConnIdx: 1 Time: 11/15/2022 18:06:01.434 Number: 1484
ServerToClient: SMSG_SPELL_ENERGIZE_LOG (0x2C1C) Length: 69 ConnIdx: 1 Time: 11/15/2022 18:06:01.434 Number: 1485
ServerToClient: SMSG_SPELL_NON_MELEE_DAMAGE_LOG (0x2C32) Length: 92 ConnIdx: 1 Time: 11/15/2022 18:06:01.434 Number: 1503

11/15 18:06:01.436 SPELL_CAST_SUCCESS,Player-4738-0478D2B8,"Sails-Maladath",0x511,0x0,Creature-0-4412-0-5-32545-000173AFEA,"Initiate's Training Dummy",0x10a28,0x0,51425,"Obliterate",0x1,Player-4738-0478D2B8,0000000000000000,100,100,3519,0,13945,21|22,2|2,2|2,1|1,2462.00,-5573.29,1423,1.2425,207
```
So there's a 2ms differeence between `SMSG_SPELL_START / GO` and `SPELL_CAST_SUCCESS` (not sure if START OR GO maps to SUCCESS). So uhhhh I'm not sure if this answers my question, but sort of seems the combat log event timestamps are client-side generated if there's a discrepancy here
rektbyfaith
11-15-2022, 11:11 PM #33

Archived author: ducks • Posted: 2022-11-15T23:11:26.107000+00:00
Original source

just tested and combared to combat log
```
ClientToServer: CMSG_CAST_SPELL (0x3295) Length: 120 ConnIdx: 1 Time: 11/15/2022 18:06:01.306 Number: 1472
ServerToClient: SMSG_SPELL_START (0x2C3A) Length: 107 ConnIdx: 1 Time: 11/15/2022 18:06:01.434 Number: 1483
ServerToClient: SMSG_SPELL_GO (0x2C39) Length: 194 ConnIdx: 1 Time: 11/15/2022 18:06:01.434 Number: 1484
ServerToClient: SMSG_SPELL_ENERGIZE_LOG (0x2C1C) Length: 69 ConnIdx: 1 Time: 11/15/2022 18:06:01.434 Number: 1485
ServerToClient: SMSG_SPELL_NON_MELEE_DAMAGE_LOG (0x2C32) Length: 92 ConnIdx: 1 Time: 11/15/2022 18:06:01.434 Number: 1503

11/15 18:06:01.436 SPELL_CAST_SUCCESS,Player-4738-0478D2B8,"Sails-Maladath",0x511,0x0,Creature-0-4412-0-5-32545-000173AFEA,"Initiate's Training Dummy",0x10a28,0x0,51425,"Obliterate",0x1,Player-4738-0478D2B8,0000000000000000,100,100,3519,0,13945,21|22,2|2,2|2,1|1,2462.00,-5573.29,1423,1.2425,207
```
So there's a 2ms differeence between `SMSG_SPELL_START / GO` and `SPELL_CAST_SUCCESS` (not sure if START OR GO maps to SUCCESS). So uhhhh I'm not sure if this answers my question, but sort of seems the combat log event timestamps are client-side generated if there's a discrepancy here

rektbyfaith
Administrator
0
11-15-2022, 11:25 PM
#34
Archived author: ducks • Posted: 2022-11-15T23:25:50.883000+00:00
Original source

Can't find the ymir source code so can't tell if the time generated by it is from the event or just the time it sniffed the event. I'll keep digging
rektbyfaith
11-15-2022, 11:25 PM #34

Archived author: ducks • Posted: 2022-11-15T23:25:50.883000+00:00
Original source

Can't find the ymir source code so can't tell if the time generated by it is from the event or just the time it sniffed the event. I'll keep digging

rektbyfaith
Administrator
0
11-15-2022, 11:26 PM
#35
Archived author: Tea • Posted: 2022-11-15T23:26:35.126000+00:00
Original source

ymir is closed source
rektbyfaith
11-15-2022, 11:26 PM #35

Archived author: Tea • Posted: 2022-11-15T23:26:35.126000+00:00
Original source

ymir is closed source

rektbyfaith
Administrator
0
11-15-2022, 11:26 PM
#36
Archived author: Tea • Posted: 2022-11-15T23:26:53.059000+00:00
Original source

and its just packet capturing tool, it does NOT modify packet content in any way
rektbyfaith
11-15-2022, 11:26 PM #36

Archived author: Tea • Posted: 2022-11-15T23:26:53.059000+00:00
Original source

and its just packet capturing tool, it does NOT modify packet content in any way

rektbyfaith
Administrator
0
11-15-2022, 11:28 PM
#37
Archived author: ducks • Posted: 2022-11-15T23:28:04.933000+00:00
Original source

OK, so does that mean the timestamp is part of the event itself?
rektbyfaith
11-15-2022, 11:28 PM #37

Archived author: ducks • Posted: 2022-11-15T23:28:04.933000+00:00
Original source

OK, so does that mean the timestamp is part of the event itself?

rektbyfaith
Administrator
0
11-15-2022, 11:28 PM
#38
Archived author: ducks • Posted: 2022-11-15T23:28:19.186000+00:00
Original source

ie. the timestamps are generated by the server
rektbyfaith
11-15-2022, 11:28 PM #38

Archived author: ducks • Posted: 2022-11-15T23:28:19.186000+00:00
Original source

ie. the timestamps are generated by the server

rektbyfaith
Administrator
0
11-15-2022, 11:29 PM
#39
Archived author: Tea • Posted: 2022-11-15T23:29:24.827000+00:00
Original source

yes, SPELL_GO contains a timestamp
rektbyfaith
11-15-2022, 11:29 PM #39

Archived author: Tea • Posted: 2022-11-15T23:29:24.827000+00:00
Original source

yes, SPELL_GO contains a timestamp

rektbyfaith
Administrator
0
11-15-2022, 11:32 PM
#40
Archived author: ducks • Posted: 2022-11-15T23:32:09.328000+00:00
Original source

I wonder why the SPELL_GO timestamp is 18:06:01.434 vs. SPELL_CAST_SUCCESS is 18:06:01.436 then. random 2ms difference
rektbyfaith
11-15-2022, 11:32 PM #40

Archived author: ducks • Posted: 2022-11-15T23:32:09.328000+00:00
Original source

I wonder why the SPELL_GO timestamp is 18:06:01.434 vs. SPELL_CAST_SUCCESS is 18:06:01.436 then. random 2ms difference

Pages (5): Previous 1 2 3 4 5 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)