Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] is this for 243 or 335?

[DiscordArchive] is this for 243 or 335?

[DiscordArchive] is this for 243 or 335?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
08-12-2023, 10:28 AM
#1
Archived author: robinsch • Posted: 2023-08-12T10:28:14.096000+00:00
Original source

is this for 243 or 335?
rektbyfaith
08-12-2023, 10:28 AM #1

Archived author: robinsch • Posted: 2023-08-12T10:28:14.096000+00:00
Original source

is this for 243 or 335?

rektbyfaith
Administrator
0
08-12-2023, 10:28 AM
#2
Archived author: Ike • Posted: 2023-08-12T10:28:17.435000+00:00
Original source

335
rektbyfaith
08-12-2023, 10:28 AM #2

Archived author: Ike • Posted: 2023-08-12T10:28:17.435000+00:00
Original source

335

rektbyfaith
Administrator
0
08-12-2023, 10:28 AM
#3
Archived author: robinsch • Posted: 2023-08-12T10:28:37.080000+00:00
Original source

Yeah but that doesn't set whats being passed into languageId
rektbyfaith
08-12-2023, 10:28 AM #3

Archived author: robinsch • Posted: 2023-08-12T10:28:37.080000+00:00
Original source

Yeah but that doesn't set whats being passed into languageId

rektbyfaith
Administrator
0
08-12-2023, 10:29 AM
#4
Archived author: robinsch • Posted: 2023-08-12T10:29:15.382000+00:00
Original source

0x406404 sets s_currentWowLocale
rektbyfaith
08-12-2023, 10:29 AM #4

Archived author: robinsch • Posted: 2023-08-12T10:29:15.382000+00:00
Original source

0x406404 sets s_currentWowLocale

rektbyfaith
Administrator
0
08-12-2023, 10:30 AM
#5
Archived author: robinsch • Posted: 2023-08-12T10:30:12.720000+00:00
Original source


[Image: 2382cc25d1130508892cd65858c0fd96.png?ex=...07fa08ce6&]
rektbyfaith
08-12-2023, 10:30 AM #5

Archived author: robinsch • Posted: 2023-08-12T10:30:12.720000+00:00
Original source


[Image: 2382cc25d1130508892cd65858c0fd96.png?ex=...07fa08ce6&]

rektbyfaith
Administrator
0
08-12-2023, 10:30 AM
#6
Archived author: Ike • Posted: 2023-08-12T10:30:17.090000+00:00
Original source

```cpp
const char *sub_550940()
{
const char *result; // eax

switch ( sub_635D90(blizzard::wow::globals::locale) )
{
case deDE:
case enGB:
case esES:
case frFR:
case ruRU:
result = "http://support.wow-europe.com/kb/";
break;
case koKR:
result = "http://support.worldofwarcraft.co.kr/kb/";
break;
case zhCN:
case enCN:
result = "http://cn.kbase.blizzard.com/kb/wow/";
break;
case zhTW:
case enTW:
result = "http://support.wowtaiwan.com.tw/kb/";
break;
default:
result = "http://support.worldofwarcraft.com/kb/";
break;
}
return result;
}
```

```cpp
KB_LOCALES __cdecl sub_635D90(char *String1)
{
KB_LOCALES v1; // esi

v1 = deDE;
while ( blizzard:Confusedtring::Compare(String1, (&off_AD3028)[v1], 4u) )
{
if ( ++v1 >= (enCN|frFR) )
return 2;
}
return v1;
}
```
rektbyfaith
08-12-2023, 10:30 AM #6

Archived author: Ike • Posted: 2023-08-12T10:30:17.090000+00:00
Original source

```cpp
const char *sub_550940()
{
const char *result; // eax

switch ( sub_635D90(blizzard::wow::globals::locale) )
{
case deDE:
case enGB:
case esES:
case frFR:
case ruRU:
result = "http://support.wow-europe.com/kb/";
break;
case koKR:
result = "http://support.worldofwarcraft.co.kr/kb/";
break;
case zhCN:
case enCN:
result = "http://cn.kbase.blizzard.com/kb/wow/";
break;
case zhTW:
case enTW:
result = "http://support.wowtaiwan.com.tw/kb/";
break;
default:
result = "http://support.worldofwarcraft.com/kb/";
break;
}
return result;
}
```

```cpp
KB_LOCALES __cdecl sub_635D90(char *String1)
{
KB_LOCALES v1; // esi

v1 = deDE;
while ( blizzard:Confusedtring::Compare(String1, (&off_AD3028)[v1], 4u) )
{
if ( ++v1 >= (enCN|frFR) )
return 2;
}
return v1;
}
```

rektbyfaith
Administrator
0
08-12-2023, 10:30 AM
#7
Archived author: Ike • Posted: 2023-08-12T10:30:27.290000+00:00
Original source

oh wait, wrong fucntion
rektbyfaith
08-12-2023, 10:30 AM #7

Archived author: Ike • Posted: 2023-08-12T10:30:27.290000+00:00
Original source

oh wait, wrong fucntion

rektbyfaith
Administrator
0
08-12-2023, 10:31 AM
#8
Archived author: Ike • Posted: 2023-08-12T10:31:22.715000+00:00
Original source

You're right. The enum is only correct for the above function. The locale that is being send is a different one
rektbyfaith
08-12-2023, 10:31 AM #8

Archived author: Ike • Posted: 2023-08-12T10:31:22.715000+00:00
Original source

You're right. The enum is only correct for the above function. The locale that is being send is a different one

rektbyfaith
Administrator
0
08-12-2023, 10:32 AM
#9
Archived author: robinsch • Posted: 2023-08-12T10:32:41.603000+00:00
Original source

I think your enum is correct for locale arg tho, which is just referencing a cvar
rektbyfaith
08-12-2023, 10:32 AM #9

Archived author: robinsch • Posted: 2023-08-12T10:32:41.603000+00:00
Original source

I think your enum is correct for locale arg tho, which is just referencing a cvar

rektbyfaith
Administrator
0
08-12-2023, 10:36 AM
#10
Archived author: Ike • Posted: 2023-08-12T10:36:01.472000+00:00
Original source

```cpp
enum LANGUAGE_ID
{
enUS = 0,
koKR,
frFR,
deDE,
zhCN,
zhTW,
esES,
esMX,
ruRU,
};
```
This should be correct. Thank you for pointing that out
rektbyfaith
08-12-2023, 10:36 AM #10

Archived author: Ike • Posted: 2023-08-12T10:36:01.472000+00:00
Original source

```cpp
enum LANGUAGE_ID
{
enUS = 0,
koKR,
frFR,
deDE,
zhCN,
zhTW,
esES,
esMX,
ruRU,
};
```
This should be correct. Thank you for pointing that out

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