Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Did this not work too by giving the "dual wield" spell to the npc?

[DiscordArchive] Did this not work too by giving the "dual wield" spell to the npc?

[DiscordArchive] Did this not work too by giving the "dual wield" spell to the npc?

rektbyfaith
Administrator
0
06-23-2022, 03:17 PM
#1
Archived author: Jyria • Posted: 2022-06-23T15:17:01.155000+00:00
Original source

Did this not work too by giving the "dual wield" spell to the npc?
rektbyfaith
06-23-2022, 03:17 PM #1

Archived author: Jyria • Posted: 2022-06-23T15:17:01.155000+00:00
Original source

Did this not work too by giving the "dual wield" spell to the npc?

rektbyfaith
Administrator
0
06-23-2022, 03:18 PM
#2
Archived author: whatwere • Posted: 2022-06-23T15:18:07.476000+00:00
Original source

In LoadCreatureModelInfo there's this block
```
if (item->InventoryType != INVTYPE_WEAPON &&
item->InventoryType != INVTYPE_SHIELD &&
item->InventoryType != INVTYPE_RANGED &&
item->InventoryType != INVTYPE_2HWEAPON &&
item->InventoryType != INVTYPE_WEAPONMAINHAND &&
item->InventoryType != INVTYPE_WEAPONOFFHAND &&
item->InventoryType != INVTYPE_HOLDABLE &&
item->InventoryType != INVTYPE_THROWN &&
item->InventoryType != INVTYPE_RANGEDRIGHT)```
rektbyfaith
06-23-2022, 03:18 PM #2

Archived author: whatwere • Posted: 2022-06-23T15:18:07.476000+00:00
Original source

In LoadCreatureModelInfo there's this block
```
if (item->InventoryType != INVTYPE_WEAPON &&
item->InventoryType != INVTYPE_SHIELD &&
item->InventoryType != INVTYPE_RANGED &&
item->InventoryType != INVTYPE_2HWEAPON &&
item->InventoryType != INVTYPE_WEAPONMAINHAND &&
item->InventoryType != INVTYPE_WEAPONOFFHAND &&
item->InventoryType != INVTYPE_HOLDABLE &&
item->InventoryType != INVTYPE_THROWN &&
item->InventoryType != INVTYPE_RANGEDRIGHT)```

rektbyfaith
Administrator
0
06-23-2022, 03:18 PM
#3
Archived author: whatwere • Posted: 2022-06-23T15:18:36.389000+00:00
Original source

Should be what does the trick server side at least.
rektbyfaith
06-23-2022, 03:18 PM #3

Archived author: whatwere • Posted: 2022-06-23T15:18:36.389000+00:00
Original source

Should be what does the trick server side at least.

rektbyfaith
Administrator
0
06-23-2022, 04:13 PM
#4
Archived author: HelloKitty • Posted: 2022-06-23T16:13:33.763000+00:00
Original source

When you click the button it will call SetDungeonDifficulty which sends opcode MSG_SET_DUNGEON_DIFFICULTY and there is a core check using define MAX_DUNGEON_DIFFICULTY which you need to change if you go higher than ID 3. However, this is not enough clientside because for some reason there is a hardcoded check in the client in function lua_SetDungeonDifficulty:0x00526050 which you need to patch out.
rektbyfaith
06-23-2022, 04:13 PM #4

Archived author: HelloKitty • Posted: 2022-06-23T16:13:33.763000+00:00
Original source

When you click the button it will call SetDungeonDifficulty which sends opcode MSG_SET_DUNGEON_DIFFICULTY and there is a core check using define MAX_DUNGEON_DIFFICULTY which you need to change if you go higher than ID 3. However, this is not enough clientside because for some reason there is a hardcoded check in the client in function lua_SetDungeonDifficulty:0x00526050 which you need to patch out.

rektbyfaith
Administrator
0
06-23-2022, 04:14 PM
#5
Archived author: Matth • Posted: 2022-06-23T16:14:37.592000+00:00
Original source

I've see that opcode, but when you add your custom choice, it doesn't seem to trigger anything on server side
rektbyfaith
06-23-2022, 04:14 PM #5

Archived author: Matth • Posted: 2022-06-23T16:14:37.592000+00:00
Original source

I've see that opcode, but when you add your custom choice, it doesn't seem to trigger anything on server side

rektbyfaith
Administrator
0
06-23-2022, 04:14 PM
#6
Archived author: HelloKitty • Posted: 2022-06-23T16:14:49.658000+00:00
Original source

Yes, because there is a hardcoded check in the client in function lua_SetDungeonDifficulty:0x00526050 (3.3.5) which you need to patch out.
rektbyfaith
06-23-2022, 04:14 PM #6

Archived author: HelloKitty • Posted: 2022-06-23T16:14:49.658000+00:00
Original source

Yes, because there is a hardcoded check in the client in function lua_SetDungeonDifficulty:0x00526050 (3.3.5) which you need to patch out.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)