Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] anyone know what problem is here?

[DiscordArchive] anyone know what problem is here?

[DiscordArchive] anyone know what problem is here?

rektbyfaith
Administrator
0
10-23-2021, 04:58 PM
#1
Archived author: Yukki • Posted: 2021-10-23T16:58:05.074000+00:00
Original source

anyone know what problem is here?
rektbyfaith
10-23-2021, 04:58 PM #1

Archived author: Yukki • Posted: 2021-10-23T16:58:05.074000+00:00
Original source

anyone know what problem is here?

rektbyfaith
Administrator
0
10-23-2021, 04:58 PM
#2
Archived author: Yukki • Posted: 2021-10-23T16:58:38.586000+00:00
Original source

```lua
player:GetAura(spell):SetStackAmount(player:GetData('parangon_stats_'..spell))```
rektbyfaith
10-23-2021, 04:58 PM #2

Archived author: Yukki • Posted: 2021-10-23T16:58:38.586000+00:00
Original source

```lua
player:GetAura(spell):SetStackAmount(player:GetData('parangon_stats_'..spell))```

rektbyfaith
Administrator
0
10-23-2021, 04:58 PM
#3
Archived author: Yukki • Posted: 2021-10-23T16:58:50.277000+00:00
Original source


[Image: unknown.png?ex=690c2b09&is=690ad989&hm=3...20d019c52&]
rektbyfaith
10-23-2021, 04:58 PM #3

Archived author: Yukki • Posted: 2021-10-23T16:58:50.277000+00:00
Original source


[Image: unknown.png?ex=690c2b09&is=690ad989&hm=3...20d019c52&]

rektbyfaith
Administrator
0
10-23-2021, 04:58 PM
#4
Archived author: Yukki • Posted: 2021-10-23T16:58:54.685000+00:00
Original source

I get these errors
rektbyfaith
10-23-2021, 04:58 PM #4

Archived author: Yukki • Posted: 2021-10-23T16:58:54.685000+00:00
Original source

I get these errors

rektbyfaith
Administrator
0
10-23-2021, 05:58 PM
#5
Archived author: Honey • Posted: 2021-10-23T17:58:52.841000+00:00
Original source

when debugging luas, it is best to add print() statements with the variables use in that line. e.g:
`print('spell: '..spell)`
`print('GetData: '..player:GetData('parangon_stats_'..spell))`
etc
until you know which fails
rektbyfaith
10-23-2021, 05:58 PM #5

Archived author: Honey • Posted: 2021-10-23T17:58:52.841000+00:00
Original source

when debugging luas, it is best to add print() statements with the variables use in that line. e.g:
`print('spell: '..spell)`
`print('GetData: '..player:GetData('parangon_stats_'..spell))`
etc
until you know which fails

rektbyfaith
Administrator
0
10-23-2021, 05:59 PM
#6
Archived author: Honey • Posted: 2021-10-23T17:59:14.881000+00:00
Original source

tonumber and tostring can also help
rektbyfaith
10-23-2021, 05:59 PM #6

Archived author: Honey • Posted: 2021-10-23T17:59:14.881000+00:00
Original source

tonumber and tostring can also help

rektbyfaith
Administrator
0
10-23-2021, 06:01 PM
#7
Archived author: Yukki • Posted: 2021-10-23T18:01:26.827000+00:00
Original source

alright, thank you
rektbyfaith
10-23-2021, 06:01 PM #7

Archived author: Yukki • Posted: 2021-10-23T18:01:26.827000+00:00
Original source

alright, thank you

Recently Browsing
 
Recently Browsing