Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] what is the reason for making Update return timePassed?

[DiscordArchive] what is the reason for making Update return timePassed?

[DiscordArchive] what is the reason for making Update return timePassed?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
06-11-2024, 06:01 PM
#11
Archived author: Takenbacon • Posted: 2024-06-11T18:01:16.783000+00:00
Original source

sure, that can be done. the old timer classes don't have too many use cases really anyways it looks like.
rektbyfaith
06-11-2024, 06:01 PM #11

Archived author: Takenbacon • Posted: 2024-06-11T18:01:16.783000+00:00
Original source

sure, that can be done. the old timer classes don't have too many use cases really anyways it looks like.

rektbyfaith
Administrator
0
06-11-2024, 06:01 PM
#12
Archived author: Takenbacon • Posted: 2024-06-11T18:01:31.763000+00:00
Original source

a bunch of code that _should_ be timers aren't lol
rektbyfaith
06-11-2024, 06:01 PM #12

Archived author: Takenbacon • Posted: 2024-06-11T18:01:31.763000+00:00
Original source

a bunch of code that _should_ be timers aren't lol

rektbyfaith
Administrator
0
06-11-2024, 06:02 PM
#13
Archived author: Northstrider • Posted: 2024-06-11T18:02:12.977000+00:00
Original source

the time tracker class is having a fundamental issue that it does not handle large diff times well. if you have a lag spike which would equal two timer cycles, you would lose one
rektbyfaith
06-11-2024, 06:02 PM #13

Archived author: Northstrider • Posted: 2024-06-11T18:02:12.977000+00:00
Original source

the time tracker class is having a fundamental issue that it does not handle large diff times well. if you have a lag spike which would equal two timer cycles, you would lose one

rektbyfaith
Administrator
0
06-11-2024, 06:02 PM
#14
Archived author: Takenbacon • Posted: 2024-06-11T18:02:22.402000+00:00
Original source

I was actually using this as a pre-requisite change that effectively redoes the world update timers but I can do that first with the old IntervalTimer without redoing a bunch of crap
rektbyfaith
06-11-2024, 06:02 PM #14

Archived author: Takenbacon • Posted: 2024-06-11T18:02:22.402000+00:00
Original source

I was actually using this as a pre-requisite change that effectively redoes the world update timers but I can do that first with the old IntervalTimer without redoing a bunch of crap

rektbyfaith
Administrator
0
06-11-2024, 06:03 PM
#15
Archived author: Northstrider • Posted: 2024-06-11T18:03:17.342000+00:00
Original source

which is for example why I resorted to a simple variable timer for heartbeats. so it can catch up on potentially lost ticks
rektbyfaith
06-11-2024, 06:03 PM #15

Archived author: Northstrider • Posted: 2024-06-11T18:03:17.342000+00:00
Original source

which is for example why I resorted to a simple variable timer for heartbeats. so it can catch up on potentially lost ticks

rektbyfaith
Administrator
0
06-11-2024, 06:06 PM
#16
Archived author: Tea • Posted: 2024-06-11T18:06:00.674000+00:00
Original source

actually i changed my mind about that
rektbyfaith
06-11-2024, 06:06 PM #16

Archived author: Tea • Posted: 2024-06-11T18:06:00.674000+00:00
Original source

actually i changed my mind about that

rektbyfaith
Administrator
0
06-11-2024, 06:06 PM
#17
Archived author: Tea • Posted: 2024-06-11T18:06:14.913000+00:00
Original source

if you have a large lag spike (longer than two cycles)
rektbyfaith
06-11-2024, 06:06 PM #17

Archived author: Tea • Posted: 2024-06-11T18:06:14.913000+00:00
Original source

if you have a large lag spike (longer than two cycles)

rektbyfaith
Administrator
0
06-11-2024, 06:06 PM
#18
Archived author: Tea • Posted: 2024-06-11T18:06:25.572000+00:00
Original source

you would want to spread the load over multiple update ticks anyway
rektbyfaith
06-11-2024, 06:06 PM #18

Archived author: Tea • Posted: 2024-06-11T18:06:25.572000+00:00
Original source

you would want to spread the load over multiple update ticks anyway

rektbyfaith
Administrator
0
06-11-2024, 06:07 PM
#19
Archived author: Northstrider • Posted: 2024-06-11T18:07:09.817000+00:00
Original source

so we need to track the deltatime and increment the remaining time instead of hard-reseting it
rektbyfaith
06-11-2024, 06:07 PM #19

Archived author: Northstrider • Posted: 2024-06-11T18:07:09.817000+00:00
Original source

so we need to track the deltatime and increment the remaining time instead of hard-reseting it

rektbyfaith
Administrator
0
06-11-2024, 06:07 PM
#20
Archived author: Tea • Posted: 2024-06-11T18:07:12.576000+00:00
Original source

which means that as long as the timer preserves that data (instead of truncating to 0) then its fine if stuff happens on two update ticks one after another
rektbyfaith
06-11-2024, 06:07 PM #20

Archived author: Tea • Posted: 2024-06-11T18:07:12.576000+00:00
Original source

which means that as long as the timer preserves that data (instead of truncating to 0) then its fine if stuff happens on two update ticks one after another

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