Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] What made u wanna revert to classic tickrates for energy <@456226577798135808> ?

[DiscordArchive] What made u wanna revert to classic tickrates for energy <@456226577798135808> ?

[DiscordArchive] What made u wanna revert to classic tickrates for energy <@456226577798135808> ?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
01-21-2023, 06:05 PM
#1
Archived author: Jyria • Posted: 2023-01-21T18:05:06.276000+00:00
Original source

What made u wanna revert to classic tickrates for energy <@456226577798135808> ?
rektbyfaith
01-21-2023, 06:05 PM #1

Archived author: Jyria • Posted: 2023-01-21T18:05:06.276000+00:00
Original source

What made u wanna revert to classic tickrates for energy <@456226577798135808> ?

rektbyfaith
Administrator
0
01-21-2023, 06:06 PM
#2
Archived author: Deleted User • Posted: 2023-01-21T18:06:51.532000+00:00
Original source

We use TBC classes as a base.
rektbyfaith
01-21-2023, 06:06 PM #2

Archived author: Deleted User • Posted: 2023-01-21T18:06:51.532000+00:00
Original source

We use TBC classes as a base.

rektbyfaith
Administrator
0
01-21-2023, 06:07 PM
#3
Archived author: Deleted User • Posted: 2023-01-21T18:07:40.240000+00:00
Original source

Needed for things like powershifting etc which some people care a lot about. If I can replicate it I'd rather do that, if the client won't allow it then that class is gonna need some custom changes.
rektbyfaith
01-21-2023, 06:07 PM #3

Archived author: Deleted User • Posted: 2023-01-21T18:07:40.240000+00:00
Original source

Needed for things like powershifting etc which some people care a lot about. If I can replicate it I'd rather do that, if the client won't allow it then that class is gonna need some custom changes.

rektbyfaith
Administrator
0
01-21-2023, 06:08 PM
#4
Archived author: robinsch • Posted: 2023-01-21T18:08:30.475000+00:00
Original source

The client 100% allows it
rektbyfaith
01-21-2023, 06:08 PM #4

Archived author: robinsch • Posted: 2023-01-21T18:08:30.475000+00:00
Original source

The client 100% allows it

rektbyfaith
Administrator
0
01-21-2023, 06:09 PM
#5
Archived author: robinsch • Posted: 2023-01-21T18:09:09.124000+00:00
Original source

I'm just not sure what your problem is exactly since it is really trivial in the client code.
rektbyfaith
01-21-2023, 06:09 PM #5

Archived author: robinsch • Posted: 2023-01-21T18:09:09.124000+00:00
Original source

I'm just not sure what your problem is exactly since it is really trivial in the client code.

rektbyfaith
Administrator
0
01-21-2023, 06:10 PM
#6
Archived author: Titi • Posted: 2023-01-21T18:10:25.438000+00:00
Original source

To catter to the few minmaxers that only care about how strong their class is and are desperate for 1% power
rektbyfaith
01-21-2023, 06:10 PM #6

Archived author: Titi • Posted: 2023-01-21T18:10:25.438000+00:00
Original source

To catter to the few minmaxers that only care about how strong their class is and are desperate for 1% power

rektbyfaith
Administrator
0
01-21-2023, 06:10 PM
#7
Archived author: robinsch • Posted: 2023-01-21T18:10:27.280000+00:00
Original source

```cpp
int __thiscall CGUnit_C::GetPower(CGUnit_C* this, POWERTYPE powerType)
{
if (cvar_predictedPower->m_intValue != 0)
{
return this->PredictedPower[powerType];
}

if (powerType == POWER_HEALTH)
{
return this->UnitData->UNIT_FIELD_HEALTH;
}

return this->UnitData->UNIT_FIELD_POWERS[powerType];
}
```
rektbyfaith
01-21-2023, 06:10 PM #7

Archived author: robinsch • Posted: 2023-01-21T18:10:27.280000+00:00
Original source

```cpp
int __thiscall CGUnit_C::GetPower(CGUnit_C* this, POWERTYPE powerType)
{
if (cvar_predictedPower->m_intValue != 0)
{
return this->PredictedPower[powerType];
}

if (powerType == POWER_HEALTH)
{
return this->UnitData->UNIT_FIELD_HEALTH;
}

return this->UnitData->UNIT_FIELD_POWERS[powerType];
}
```

rektbyfaith
Administrator
0
01-21-2023, 06:11 PM
#8
Archived author: robinsch • Posted: 2023-01-21T18:11:20.398000+00:00
Original source

and if your cvar is 0 then it should just return whatever the server set UNIT_FIELD_POWERS to.
rektbyfaith
01-21-2023, 06:11 PM #8

Archived author: robinsch • Posted: 2023-01-21T18:11:20.398000+00:00
Original source

and if your cvar is 0 then it should just return whatever the server set UNIT_FIELD_POWERS to.

rektbyfaith
Administrator
0
01-21-2023, 06:15 PM
#9
Archived author: Deleted User • Posted: 2023-01-21T18:15:20.332000+00:00
Original source

If anything that's positive and gives me hope. I bet something is going iffy server side.
rektbyfaith
01-21-2023, 06:15 PM #9

Archived author: Deleted User • Posted: 2023-01-21T18:15:20.332000+00:00
Original source

If anything that's positive and gives me hope. I bet something is going iffy server side.

rektbyfaith
Administrator
0
01-21-2023, 06:19 PM
#10
Archived author: robinsch • Posted: 2023-01-21T18:19:23.722000+00:00
Original source

Yeah the client does nothing else than receive SMSG_UPDATE_OBJECT and then call the respective mirrorhandler, in your case UnitPowerUpdateHandler. Which again checks cvar_predictedPower and then sets UNIT_FIELD_POWERS.
rektbyfaith
01-21-2023, 06:19 PM #10

Archived author: robinsch • Posted: 2023-01-21T18:19:23.722000+00:00
Original source

Yeah the client does nothing else than receive SMSG_UPDATE_OBJECT and then call the respective mirrorhandler, in your case UnitPowerUpdateHandler. Which again checks cvar_predictedPower and then sets UNIT_FIELD_POWERS.

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)