-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
auction
command with subcommands for look different auc…
…tion stores from anywhere.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ALTER TABLE db_version CHANGE COLUMN required_10252_01_mangos_reputation_reward_rate required_10256_01_mangos_command bit; | ||
|
||
DELETE FROM command WHERE name IN ('auction','auction aliance','auction goblin','auction horde'); | ||
INSERT INTO command (name, security, help) VALUES | ||
('auction',3,'Syntax: .auction\r\n\r\nShow your team auction store.'), | ||
('auction aliance',3,'Syntax: .auction aliance\r\n\r\nShow aliance auction store independent from your team.'), | ||
('auction goblin',3,'Syntax: .auction goblin\r\n\r\nShow goblin auction store common for all teams.'), | ||
('auction horde',3,'Syntax: .auction horde\r\n\r\nShow horde auction store independent from your team.'); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "10255" | ||
#define REVISION_NR "10256" | ||
#endif // __REVISION_NR_H__ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#ifndef __REVISION_SQL_H__ | ||
#define __REVISION_SQL_H__ | ||
#define REVISION_DB_CHARACTERS "required_10254_01_characters_auctionhouse" | ||
#define REVISION_DB_MANGOS "required_10252_01_mangos_reputation_reward_rate" | ||
#define REVISION_DB_MANGOS "required_10256_01_mangos_command" | ||
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version" | ||
#endif // __REVISION_SQL_H__ |
4 comments
on commit 5af49be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
compile error on linux (ubuntu server)
In file included from ../../../src/game/AuctionHouseMgr.cpp:26:
../../../src/game/AuctionHouseMgr.h:144: error: expected ‘;’ before ‘(’ token
../../../src/game/AuctionHouseMgr.cpp:481: error: no ‘const AuctionHouseEntry* AuctionHouseMgr::GetAuctionHouseEntry(Unit_)’ member function declared in class ‘AuctionHouseMgr’
make[3]: *_* [AuctionHouseMgr.o] Erreur 1
make[3]: quittant le répertoire « /home/eric/Sources/mangos/objdir/src/game »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/eric/Sources/mangos/objdir/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/eric/Sources/mangos/objdir »
make: *** [all] Erreur 2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have to include "Unit.h" in your "src/game/AuctionHouseMgr.h".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact not need include, but just forward class declaration.
Must be fixed in [10264]
Just a little something, I found it sometime ago and someone even created a patch file in "... under review" section. Hoped you push this with a version of ahbot to mangos main hint, hint :-)
Vladimir you do a hell of a job here!