Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp
index 9ee7bc4..aecff33 100644
--- a/src/server/game/Entities/Player/Player.cpp
+++ b/src/server/game/Entities/Player/Player.cpp
@@ -12443,12 +12443,13 @@ void Player::QuickEquipItem(uint16 pos, Item* pItem)
}
}
+extern uint32 GetItemEnchantVisual(Player* player, Item* item);
void Player::SetVisibleItemSlot(uint8 slot, Item* pItem)
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp
index 9ee7bc4..6ff16be 100644
--- a/src/server/game/Entities/Player/Player.cpp
+++ b/src/server/game/Entities/Player/Player.cpp
@@ -14358,7 +14358,7 @@ void Player::PrepareGossipMenu(WorldObject* source, uint32 menuId /*= 0*/, bool
break;
case GOSSIP_OPTION_VENDOR:
{
- VendorItemData const* vendorItems = creature->GetVendorItems();
+ VendorItemData const* vendorItems = itr->second.ActionMenuId ? sObjectMgr->GetNpcVendorItemList(itr->second.ActionMenuId) : creature->GetVendorItems();
===================================================================================================
From: Walkline
Fixed by : SymbolixDEV
Complete : 91%
Fully working Arena Spectator is for sale !
===================================================================================================
diff --git a/sql/arena-spectator/spectator.sql b/sql/arena-spectator/spectator.sql
new file mode 100644
index 0000000..39cff15
From 2df4e359d486ea9135f2534f02843edeee283721 Mon Sep 17 00:00:00 2001
From: SymbolixDEV <[email protected]>
Date: Tue, 18 Mar 2014 23:35:10 +0200
Subject: [PATCH] Hunter: Master Call Fix
---
src/server/scripts/Spells/spell_hunter.cpp | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
/*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
*
* Copyright (C) 2009-2014 DSS Mortos <[email protected]>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
@devovh
devovh / gist:26f01a77679aaf992cd13e13450240de
Created November 16, 2019 11:29 — forked from irancore/crossfaction.patch
Crossfaction Battlegrounds For Last Revision Trinity
From 05af526143c365d0af4ee43408a79b0957bbe2cd Mon Sep 17 00:00:00 2001
From: irancore <[email protected]>
if you need last update contact us : +989154422565 or https://t.me/Am7R21
Date: Sat, 23 Sep 2017 17:52:39 +0330
Subject: [PATCH] crossfaction battleground
---
sql/av_fix.sql | 3 +
src/server/database/Database/MySQLConnection.cpp | 4 +-
src/server/game/Battlegrounds/Arena.cpp | 4 +-
@devovh
devovh / 90-mkinitcpio-install.hook.patch
Last active July 13, 2022 08:54 — forked from heri16/90-mkinitcpio-install.hook.patch
Enable Linux Secure Boot with TPM 2.0 (Archlinux) - rEFInd
--- /usr/share/libalpm/hooks/90-mkinitcpio-install.hook 2020-03-05 12:45:41.000000000 +0800
+++ /etc/pacman.d/hooks/90-mkinitcpio-install.hook 2020-06-13 23:08:32.861202141 +0800
@@ -8,5 +8,7 @@
[Action]
Description = Updating linux initcpios...
When = PostTransaction
-Exec = /usr/share/libalpm/scripts/mkinitcpio-install
+Exec = /usr/local/share/libalpm/scripts/mkinitcpio-install
+Depends = sbsigntools
+Depends = x11-ssh-askpass
@devovh
devovh / README.md
Last active March 31, 2023 18:37
Nvidia GPU & Firewall CSGO Laptop - Arch Linux.
# Download Arch Linux Plasma Pure x64: 
https://osdn.net/projects/arch-linux-gui/downloads/77558/archlinux-gui-plasma-pure-2022.07-x86_64.iso/
# Create bootable USB:
Rufus(Windows) or Multi Writer(Linux)
# Install System and boot to Desktop.
@devovh
devovh / README.md
Created October 22, 2022 15:15
WoW Arch Linux Nvidia.
[multilib]
Include = /etc/pacman.d/mirrorlist
sudo pacman -S lutris
sudo pacman -S wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader
sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils nvidia-settings vulkan-icd-loader lib32-vulkan-icd-loader
sudo pacman -S lib32-gnutls lib32-libldap lib32-libgpg-error lib32-sqlite lib32-libpulse
@devovh
devovh / README.md
Last active October 25, 2022 19:02
Simplewall Firewall - Config File.