Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] What does swapping the = mean ?

[DiscordArchive] What does swapping the = mean ?

[DiscordArchive] What does swapping the = mean ?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
10-24-2021, 08:09 AM
#1
Archived author: jackpoz • Posted: 2021-10-24T08:09:46.438000+00:00
Original source

What does swapping the = mean ?
rektbyfaith
10-24-2021, 08:09 AM #1

Archived author: jackpoz • Posted: 2021-10-24T08:09:46.438000+00:00
Original source

What does swapping the = mean ?

rektbyfaith
Administrator
0
10-24-2021, 08:13 AM
#2
Archived author: jackpoz • Posted: 2021-10-24T08:13:37.803000+00:00
Original source

The best thing to do would be to debug it
rektbyfaith
10-24-2021, 08:13 AM #2

Archived author: jackpoz • Posted: 2021-10-24T08:13:37.803000+00:00
Original source

The best thing to do would be to debug it

rektbyfaith
Administrator
0
10-24-2021, 08:15 AM
#3
Archived author: <o> • Posted: 2021-10-24T08:15:14.632000+00:00
Original source

changed to a !=, but the comparison shouldn't even be there because the handler locale can't decide what locales are available on the server. for non-edited dbcs, only one of those names will be a valid name
rektbyfaith
10-24-2021, 08:15 AM #3

Archived author: <o> • Posted: 2021-10-24T08:15:14.632000+00:00
Original source

changed to a !=, but the comparison shouldn't even be there because the handler locale can't decide what locales are available on the server. for non-edited dbcs, only one of those names will be a valid name

rektbyfaith
Administrator
0
10-24-2021, 08:15 AM
#4
Archived author: <o> • Posted: 2021-10-24T08:15:28.736000+00:00
Original source

i'll just pr it quick
rektbyfaith
10-24-2021, 08:15 AM #4

Archived author: <o> • Posted: 2021-10-24T08:15:28.736000+00:00
Original source

i'll just pr it quick

rektbyfaith
Administrator
0
10-24-2021, 08:16 AM
#5
Archived author: jackpoz • Posted: 2021-10-24T08:16:39.565000+00:00
Original source

The handler knows the locale of the connected player
rektbyfaith
10-24-2021, 08:16 AM #5

Archived author: jackpoz • Posted: 2021-10-24T08:16:39.565000+00:00
Original source

The handler knows the locale of the connected player

rektbyfaith
Administrator
0
10-24-2021, 08:17 AM
#6
Archived author: <o> • Posted: 2021-10-24T08:17:36.304000+00:00
Original source

but it won't have the localized name of the profession
rektbyfaith
10-24-2021, 08:17 AM #6

Archived author: <o> • Posted: 2021-10-24T08:17:36.304000+00:00
Original source

but it won't have the localized name of the profession

rektbyfaith
Administrator
0
10-24-2021, 08:17 AM
#7
Archived author: jackpoz • Posted: 2021-10-24T08:17:41.511000+00:00
Original source

What values do you have for the player locale in that dbc ?
rektbyfaith
10-24-2021, 08:17 AM #7

Archived author: jackpoz • Posted: 2021-10-24T08:17:41.511000+00:00
Original source

What values do you have for the player locale in that dbc ?

rektbyfaith
Administrator
0
10-24-2021, 08:17 AM
#8
Archived author: <o> • Posted: 2021-10-24T08:17:56.107000+00:00
Original source

dbc just contains a single language most of the time
rektbyfaith
10-24-2021, 08:17 AM #8

Archived author: <o> • Posted: 2021-10-24T08:17:56.107000+00:00
Original source

dbc just contains a single language most of the time

rektbyfaith
Administrator
0
10-24-2021, 08:18 AM
#9
Archived author: jackpoz • Posted: 2021-10-24T08:18:26.608000+00:00
Original source

Well it depends if you extract the dbcs from all the languages
rektbyfaith
10-24-2021, 08:18 AM #9

Archived author: jackpoz • Posted: 2021-10-24T08:18:26.608000+00:00
Original source

Well it depends if you extract the dbcs from all the languages

rektbyfaith
Administrator
0
10-24-2021, 08:19 AM
#10
Archived author: <o> • Posted: 2021-10-24T08:19:29.901000+00:00
Original source

yes, there are dbcs that have all languages included but most don't. at least, the comparison should be `!=` but what'll happen if you keep the comparison is that players from locales not installed on the server can't use the command at all
rektbyfaith
10-24-2021, 08:19 AM #10

Archived author: <o> • Posted: 2021-10-24T08:19:29.901000+00:00
Original source

yes, there are dbcs that have all languages included but most don't. at least, the comparison should be `!=` but what'll happen if you keep the comparison is that players from locales not installed on the server can't use the command at all

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