Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] well in the second image it sais false wich means the option should be 0. or is my logic not correct

[DiscordArchive] well in the second image it sais false wich means the option should be 0. or is my logic not correct

[DiscordArchive] well in the second image it sais false wich means the option should be 0. or is my logic not correct

Pages (6): 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
08-20-2023, 09:22 PM
#1
Archived author: Phthisicus • Posted: 2023-08-20T21:22:19.942000+00:00
Original source

well in the second image it sais false wich means the option should be 0. or is my logic not correct?
rektbyfaith
08-20-2023, 09:22 PM #1

Archived author: Phthisicus • Posted: 2023-08-20T21:22:19.942000+00:00
Original source

well in the second image it sais false wich means the option should be 0. or is my logic not correct?

rektbyfaith
Administrator
0
08-20-2023, 09:22 PM
#2
Archived author: Revision • Posted: 2023-08-20T21:22:31.969000+00:00
Original source

It grabs the value but defaults to false
rektbyfaith
08-20-2023, 09:22 PM #2

Archived author: Revision • Posted: 2023-08-20T21:22:31.969000+00:00
Original source

It grabs the value but defaults to false

rektbyfaith
Administrator
0
08-20-2023, 09:22 PM
#3
Archived author: Revision • Posted: 2023-08-20T21:22:45.452000+00:00
Original source

BUT if the value is true, use Sellprice and if it's false use BuyPrice
rektbyfaith
08-20-2023, 09:22 PM #3

Archived author: Revision • Posted: 2023-08-20T21:22:45.452000+00:00
Original source

BUT if the value is true, use Sellprice and if it's false use BuyPrice

rektbyfaith
Administrator
0
08-20-2023, 09:22 PM
#4
Archived author: Revision • Posted: 2023-08-20T21:22:48.328000+00:00
Original source

It should be reversed
rektbyfaith
08-20-2023, 09:22 PM #4

Archived author: Revision • Posted: 2023-08-20T21:22:48.328000+00:00
Original source

It should be reversed

rektbyfaith
Administrator
0
08-20-2023, 09:23 PM
#5
Archived author: Phthisicus • Posted: 2023-08-20T21:23:37.378000+00:00
Original source

this config is based on the current realse in the azerothcore repository
rektbyfaith
08-20-2023, 09:23 PM #5

Archived author: Phthisicus • Posted: 2023-08-20T21:23:37.378000+00:00
Original source

this config is based on the current realse in the azerothcore repository

rektbyfaith
Administrator
0
08-20-2023, 09:23 PM
#6
Archived author: Revision • Posted: 2023-08-20T21:23:45.268000+00:00
Original source

Yes
rektbyfaith
08-20-2023, 09:23 PM #6

Archived author: Revision • Posted: 2023-08-20T21:23:45.268000+00:00
Original source

Yes

rektbyfaith
Administrator
0
08-20-2023, 09:24 PM
#7
Archived author: Phthisicus • Posted: 2023-08-20T21:24:08.757000+00:00
Original source

then they changed it i think :S
rektbyfaith
08-20-2023, 09:24 PM #7

Archived author: Phthisicus • Posted: 2023-08-20T21:24:08.757000+00:00
Original source

then they changed it i think :S

rektbyfaith
Administrator
0
08-20-2023, 09:25 PM
#8
Archived author: Revision • Posted: 2023-08-20T21:25:22.993000+00:00
Original source

No, you don't get it. The code is reversed. IF you have UseBuyPriceForBuyer set to 0, the buyer uses BuyPrice and if it's set to 1 it uses SellPrice. It should be the other way around. You set it to not use BuyPrice and it still uses it, that's my point.
rektbyfaith
08-20-2023, 09:25 PM #8

Archived author: Revision • Posted: 2023-08-20T21:25:22.993000+00:00
Original source

No, you don't get it. The code is reversed. IF you have UseBuyPriceForBuyer set to 0, the buyer uses BuyPrice and if it's set to 1 it uses SellPrice. It should be the other way around. You set it to not use BuyPrice and it still uses it, that's my point.

rektbyfaith
Administrator
0
08-20-2023, 09:26 PM
#9
Archived author: Phthisicus • Posted: 2023-08-20T21:26:33.296000+00:00
Original source

ah, now i understand the logic. sorry
rektbyfaith
08-20-2023, 09:26 PM #9

Archived author: Phthisicus • Posted: 2023-08-20T21:26:33.296000+00:00
Original source

ah, now i understand the logic. sorry

rektbyfaith
Administrator
0
08-20-2023, 09:26 PM
#10
Archived author: Phthisicus • Posted: 2023-08-20T21:26:57.955000+00:00
Original source

there must be something wring in the code then
rektbyfaith
08-20-2023, 09:26 PM #10

Archived author: Phthisicus • Posted: 2023-08-20T21:26:57.955000+00:00
Original source

there must be something wring in the code then

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