PDA

Просмотр полной версии : [10254] Remove dependence auction data from auctioneer guid.


newsbot
24.07.2010, 02:01
<pre>m sql/characters.sql
+ sql/updates/10254_01_characters_auctionhouse.sql
m sql/updates/Makefile.am
m src/game/AuctionHouseHandler.cpp
m src/game/AuctionHouseMgr.cpp
m src/game/AuctionHouseMgr.h
m src/game/Level3.cpp
m src/game/ObjectMgr.cpp
m src/shared/revision_nr.h
m src/shared/revision_sql.h

[10254] Remove dependence auction data from auctioneer guid.

* Field `auctioneerguid` replaced by `houseid` and table reanmed to `auction`
(it list auctions and `id` is auction id).
* Update related code.

* SQL update fill `houseid` field by old `auctioneerguid`
BUT: SQL update expect that you world DB named `mangos`.
If this not true for your case you need modify SQL update BEFORE APPLY
in 2 placed in part "mangos.creature AS c, mangos.creature_template AS ct"

* Another small possitive result: now possible easy select auctions related
to some auction store (1-3 is one team actions, 4-6 another team auction,
and 7 is neutral auction store for both teams</pre>



Дальше... (http://github.com/mangos/mangos/commit/9fda6b50752803f33afdc88962c2594356ccd7ed)