[DiscordArchive] <@151411715769106432> How do you use the mobile banks stuff in your AzerothCore-Additions?
[DiscordArchive] <@151411715769106432> How do you use the mobile banks stuff in your AzerothCore-Additions?
Archived author: Sodie Pops • Posted: 2025-05-28T21:43:19.549000+00:00
Original source
<@151411715769106432> How do you use the mobile banks stuff in your AzerothCore-Additions?
Archived author: Ryan Turner • Posted: 2025-05-28T21:45:22.585000+00:00
Original source
Hasn't been complety implemented, only the Teles are fully implemented
Archived author: Sodie Pops • Posted: 2025-05-28T21:45:36.276000+00:00
Original source
Ah. But it looks like it's going to use the pet?
Archived author: Sodie Pops • Posted: 2025-05-28T21:45:56.356000+00:00
Original source
Or companion. Whatever non-hunter pets are called.
Archived author: Ryan Turner • Posted: 2025-05-28T21:46:48.996000+00:00
Original source
Yes the idea is using companion because then it can have an interaction (gossip) unlike pets
Archived author: Ryan Turner • Posted: 2025-05-28T21:47:42.174000+00:00
Original source
Was something I made for my gf local machine just never cleaned it up fully for the github
Archived author: Yuppls • Posted: 2025-05-28T21:55:36.056000+00:00
Original source
```local ITEM_ID = 9242
-- Trigger when player uses the item
local function OnUseBankItem(event, player, item, target)
player:SendShowBank(player) -- Opens the bank window
player:SendBroadcastMessage("You access your bank.")
return true
end
RegisterItemEvent(ITEM_ID, 2, OnUseBankItem) -- 2 = EVENT_TYPE_USE
```
save this as a .lua
Replace item ID with any item that is right clickable (add a dummy spell to it)
Archived author: Yuppls • Posted: 2025-05-28T21:55:44.122000+00:00
Original source
can access bank from anywhere
Archived author: Yuppls • Posted: 2025-05-28T21:56:39.731000+00:00
Original source
i use 9242 because its a grey item you can easily remove from drop tables, keeps the inventory icon
run this query ontop of acore_world
Archived author: Yuppls • Posted: 2025-05-28T21:56:55.905000+00:00
Original source
```-- Remove item 9242 from all creature, gameobject, and reference loot templates
DELETE FROM `creature_loot_template` WHERE `item` = 9242;
DELETE FROM `gameobject_loot_template` WHERE `item` = 9242;
DELETE FROM `reference_loot_template` WHERE `item` = 9242;
-- Optionally remove from fishing loot too, if applicable
DELETE FROM `fishing_loot_template` WHERE `item` = 9242;
-- Optionally remove from pickpocket loot
DELETE FROM `pickpocketing_loot_template` WHERE `item` = 9242;
-- Optionally remove from skinning loot
DELETE FROM `skinning_loot_template` WHERE `item` = 9242;
```