[DiscordArchive] Wait, from the client ?
[DiscordArchive] Wait, from the client ?
Archived author: Thiaz • Posted: 2022-12-21T15:23:09.176000+00:00
Original source
¯\_(ツ)_/¯
Archived author: robinsch • Posted: 2022-12-21T15:25:46.020000+00:00
Original source
It's BattlemasterListRec ID
Archived author: robinsch • Posted: 2022-12-21T15:26:07.336000+00:00
Original source
So you use 6 + 1 (All Arenas)
Archived author: Thiaz • Posted: 2022-12-21T15:27:56.561000+00:00
Original source
I disabled specific tagging maybe that's getting in the way.
isplayError(state,"Usage: RequestBattlegroundInstanceInfo(index)");Archived author: robinsch • Posted: 2022-12-21T15:28:49.674000+00:00
Original source
```cpp
int __cdecl Script_RequestBattlegroundInstanceInfo(lua_State *state)
{
int iVar1;
int battlegroundTypeId;
int fVar2;
iVar1 = FrameScript::lua_isnumber(state);
if (iVar1 == 0) {
FrameScript:
isplayError(state,"Usage: RequestBattlegroundInstanceInfo(index)");
return iVar1;
}
fVar2 = 0x1;
FrameScript::lua_tonumber(state);
battlegroundTypeId = __ftol2_sse(state,fVar2);
Send_CMSG_BATTLEFIELD_LIST(battlegroundTypeId + -1);
return 0;
}
```
Archived author: robinsch • Posted: 2022-12-21T15:31:22.684000+00:00
Original source
If you use it with 7 it should send the correct CMSG_BATTLEFIELD_LIST to the server, which then the server responses with SMSG_BATTLEFIELD_LIST which will set your "client field" to the correct state to allow to queue for arena with JoinBattlefield
Archived author: Thiaz • Posted: 2022-12-21T15:31:45.898000+00:00
Original source
/run RequestBattlegroundInstanceInfo(7) tags me into Arathi
Archived author: Thiaz • Posted: 2022-12-21T15:31:47.847000+00:00
Original source
x)
Archived author: Rymercyble • Posted: 2022-12-21T15:41:39.933000+00:00
Original source
im still trying to guess what did u want to say.....maybe place like this ? https://github.com/azerothcore/azerothco....cpp#L1069
Archived author: Rymercyble • Posted: 2022-12-21T15:43:29.024000+00:00
Original source
probably even inside `Unit::CombatStart`