Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] But what you were saying about negative health/ overflowing how would i check this?

[DiscordArchive] But what you were saying about negative health/ overflowing how would i check this?

[DiscordArchive] But what you were saying about negative health/ overflowing how would i check this?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
03-24-2024, 12:46 PM
#1
Archived author: Infectious • Posted: 2024-03-24T12:46:14.257000+00:00
Original source

But what you were saying about negative health/ overflowing how would i check this?
rektbyfaith
03-24-2024, 12:46 PM #1

Archived author: Infectious • Posted: 2024-03-24T12:46:14.257000+00:00
Original source

But what you were saying about negative health/ overflowing how would i check this?

rektbyfaith
Administrator
0
03-24-2024, 12:46 PM
#2
Archived author: stoneharry • Posted: 2024-03-24T12:46:39.383000+00:00
Original source

you could programatically check it, but not something I can provide a tutorial for. Check the values invoked to SetHealth
rektbyfaith
03-24-2024, 12:46 PM #2

Archived author: stoneharry • Posted: 2024-03-24T12:46:39.383000+00:00
Original source

you could programatically check it, but not something I can provide a tutorial for. Check the values invoked to SetHealth

rektbyfaith
Administrator
0
03-24-2024, 12:48 PM
#3
Archived author: stoneharry • Posted: 2024-03-24T12:48:21.668000+00:00
Original source

I've caused the same bug when my dynamic npc scaling bugged out... I have code that scales the creatures based on the number of players, and there was a bug causing it to set an invalid health value. The result is creatures that appear dead client side but are alive server side, so they chase you dead visually
rektbyfaith
03-24-2024, 12:48 PM #3

Archived author: stoneharry • Posted: 2024-03-24T12:48:21.668000+00:00
Original source

I've caused the same bug when my dynamic npc scaling bugged out... I have code that scales the creatures based on the number of players, and there was a bug causing it to set an invalid health value. The result is creatures that appear dead client side but are alive server side, so they chase you dead visually

rektbyfaith
Administrator
0
03-24-2024, 12:48 PM
#4
Archived author: Infectious • Posted: 2024-03-24T12:48:52.939000+00:00
Original source

Oh
rektbyfaith
03-24-2024, 12:48 PM #4

Archived author: Infectious • Posted: 2024-03-24T12:48:52.939000+00:00
Original source

Oh

rektbyfaith
Administrator
0
03-24-2024, 12:48 PM
#5
Archived author: Infectious • Posted: 2024-03-24T12:48:54.919000+00:00
Original source

makes sence
rektbyfaith
03-24-2024, 12:48 PM #5

Archived author: Infectious • Posted: 2024-03-24T12:48:54.919000+00:00
Original source

makes sence

rektbyfaith
Administrator
0
03-24-2024, 12:50 PM
#6
Archived author: Infectious • Posted: 2024-03-24T12:50:20.561000+00:00
Original source

what i can see is that it usually happens when the dungeon is being done solo so scaled down and the mobs have litle hp
rektbyfaith
03-24-2024, 12:50 PM #6

Archived author: Infectious • Posted: 2024-03-24T12:50:20.561000+00:00
Original source

what i can see is that it usually happens when the dungeon is being done solo so scaled down and the mobs have litle hp

rektbyfaith
Administrator
0
03-24-2024, 12:50 PM
#7
Archived author: stoneharry • Posted: 2024-03-24T12:50:57.577000+00:00
Original source

So you have scaling, sounds like an issue with that code.
rektbyfaith
03-24-2024, 12:50 PM #7

Archived author: stoneharry • Posted: 2024-03-24T12:50:57.577000+00:00
Original source

So you have scaling, sounds like an issue with that code.

rektbyfaith
Administrator
0
03-24-2024, 12:53 PM
#8
Archived author: Infectious • Posted: 2024-03-24T12:53:07.452000+00:00
Original source

Yea most likely
rektbyfaith
03-24-2024, 12:53 PM #8

Archived author: Infectious • Posted: 2024-03-24T12:53:07.452000+00:00
Original source

Yea most likely

rektbyfaith
Administrator
0
03-24-2024, 12:53 PM
#9
Archived author: Infectious • Posted: 2024-03-24T12:53:11.437000+00:00
Original source

I have autobalance
rektbyfaith
03-24-2024, 12:53 PM #9

Archived author: Infectious • Posted: 2024-03-24T12:53:11.437000+00:00
Original source

I have autobalance

rektbyfaith
Administrator
0
03-24-2024, 12:54 PM
#10
Archived author: stoneharry • Posted: 2024-03-24T12:54:24.519000+00:00
Original source

It can generally be fixed be adding a math.maximum(1, newHealth) where the scaling occurs, but that may lead to creatures having 1 health instead of whatever it should have been scaled to
rektbyfaith
03-24-2024, 12:54 PM #10

Archived author: stoneharry • Posted: 2024-03-24T12:54:24.519000+00:00
Original source

It can generally be fixed be adding a math.maximum(1, newHealth) where the scaling occurs, but that may lead to creatures having 1 health instead of whatever it should have been scaled to

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