Jump to content

[fix][7314] Guild Master money withdraw fix


Auntie Mangos

Recommended Posts

What bug does the patch fix? What features does the patch add?

Small fix for a bug that prevented guild masters from withdrawing money from guild bank.

For which repository revision was the patch created?

7310

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

http://getmangos.eu/community/viewtopic.php?id=1154

Who has been writing this patch? Please include either forum user names or email addresses.

Zerg2000

MaNGOS core patch:

diff --git a/src/game/Guild.h b/src/game/Guild.h
index d1c1e32..4c0388f 100644
--- a/src/game/Guild.h
+++ b/src/game/Guild.h
@@ -51,11 +51,11 @@ enum GuildRankRights
    GR_RIGHT_VIEWOFFNOTE        = 0x00004040,
    GR_RIGHT_EOFFNOTE           = 0x00008040,
    GR_RIGHT_MODIFY_GUILD_INFO  = 0x00010040,
-    GR_RIGHT_REPAIR_FROM_GUILD  = 0x00020000,               // unused in 2.4.x?, Remove money withdraw capacity
+    GR_RIGHT_WITHDRAW_GOLD_LOCK = 0x00020000,               // remove money withdraw capacity
    GR_RIGHT_WITHDRAW_REPAIR    = 0x00040000,               // withdraw for repair
    GR_RIGHT_WITHDRAW_GOLD      = 0x00080000,               // withdraw gold
    GR_RIGHT_CREATE_GUILD_EVENT = 0x00100000,               // wotlk
-    GR_RIGHT_ALL                = 0x001FF1FF
+    GR_RIGHT_ALL                = 0x001DF1FF
};

enum Typecommand

Database fix (characters table):

UPDATE `guild_rank` SET `rights` = `rights` & ~(131072) WHERE 1

Link to comment
Share on other sites

  • 39 years later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use