Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] And the server side makes sense. As long as the entrie line up for client. Then adjusting whats pull

[DiscordArchive] And the server side makes sense. As long as the entrie line up for client. Then adjusting whats pull

[DiscordArchive] And the server side makes sense. As long as the entrie line up for client. Then adjusting whats pull

rektbyfaith
Administrator
0
07-26-2020, 01:53 PM
#1
Archived author: conFIGured • Posted: 2020-07-26T13:53:03.032000+00:00
Original source

And the server side makes sense. As long as the entrie line up for client. Then adjusting whats pulled from server to the client sounds good. But on that note. Are we sure, for example spells, the client always asks server for the info first? Like server says fireball is 50dmg and client is 30dmg. When you cast fireball it will replicate from server and do 50dmg, but will client chat log say 30 and or make the hp do a jump as it replicates to the client to fix the calculation?
rektbyfaith
07-26-2020, 01:53 PM #1

Archived author: conFIGured • Posted: 2020-07-26T13:53:03.032000+00:00
Original source

And the server side makes sense. As long as the entrie line up for client. Then adjusting whats pulled from server to the client sounds good. But on that note. Are we sure, for example spells, the client always asks server for the info first? Like server says fireball is 50dmg and client is 30dmg. When you cast fireball it will replicate from server and do 50dmg, but will client chat log say 30 and or make the hp do a jump as it replicates to the client to fix the calculation?

rektbyfaith
Administrator
0
07-26-2020, 02:01 PM
#2
Archived author: MaloW • Posted: 2020-07-26T14:01:06.333000+00:00
Original source

Damage is one of the few (only?) thing that you can modify server-side that will display correctly client-side. This is because damage is often variable, and the server makes the roll that decides what the exact damage is and sends it to the clients. There's a C++ function used in boss-scripts called CastCustomSpell which basically lets you cast a normal spell but with custom attributes such as damage. I think specifically it's the base_point fields that are modifiable without any issues
rektbyfaith
07-26-2020, 02:01 PM #2

Archived author: MaloW • Posted: 2020-07-26T14:01:06.333000+00:00
Original source

Damage is one of the few (only?) thing that you can modify server-side that will display correctly client-side. This is because damage is often variable, and the server makes the roll that decides what the exact damage is and sends it to the clients. There's a C++ function used in boss-scripts called CastCustomSpell which basically lets you cast a normal spell but with custom attributes such as damage. I think specifically it's the base_point fields that are modifiable without any issues

rektbyfaith
Administrator
0
07-26-2020, 02:01 PM
#3
Archived author: conFIGured • Posted: 2020-07-26T14:01:36.605000+00:00
Original source

Cool
rektbyfaith
07-26-2020, 02:01 PM #3

Archived author: conFIGured • Posted: 2020-07-26T14:01:36.605000+00:00
Original source

Cool

rektbyfaith
Administrator
0
07-26-2020, 02:43 PM
#4
Archived author: Kitzunu • Posted: 2020-07-26T14:43:10.105000+00:00
Original source

I dont know if it was answered, but you can change the SQL table to not default Null
rektbyfaith
07-26-2020, 02:43 PM #4

Archived author: Kitzunu • Posted: 2020-07-26T14:43:10.105000+00:00
Original source

I dont know if it was answered, but you can change the SQL table to not default Null

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)