[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
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?
Archived author: Revision • Posted: 2023-08-20T21:22:31.969000+00:00
Original source
It grabs the value but defaults to false
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
Archived author: Revision • Posted: 2023-08-20T21:22:48.328000+00:00
Original source
It should be reversed
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
Archived author: Revision • Posted: 2023-08-20T21:23:45.268000+00:00
Original source
Yes
Archived author: Phthisicus • Posted: 2023-08-20T21:24:08.757000+00:00
Original source
then they changed it i think :S
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.
Archived author: Phthisicus • Posted: 2023-08-20T21:26:33.296000+00:00
Original source
ah, now i understand the logic. sorry
Archived author: Phthisicus • Posted: 2023-08-20T21:26:57.955000+00:00
Original source
there must be something wring in the code then