Commit Graph

253 Commits

Author SHA1 Message Date
Rat
6fe36efe0f *apply trinity style to whole source
*comment out all mangos to trinity defines
*this will make merging a little harder, but code will be more clear

--HG--
branch : trunk
2009-12-20 15:20:04 +01:00
win32
7c9f6b4bc3 Merge MaNGOS, Gossip System. Autor NoFantasy.
* DB support required
* Closes #859

--HG--
branch : trunk
2009-12-20 13:35:08 +02:00
n0n4m3
243f33b5ea Implement new visibility system, based on Silverice patch for mangos
--HG--
branch : trunk
2009-12-19 10:12:40 +01:00
maximius
dc1207139a *Cleanup, proper indentation, and remove some wrong/irrelevant comments copied from custom patches..
--HG--
branch : trunk
2009-12-18 13:41:30 -08:00
n0n4m3
eccf162be2 Fixed compile errors and some typos
--HG--
branch : trunk
2009-12-17 14:06:20 +01:00
n0n4m3
89656d5749 Restore some commits from trinitycore2 3.1.3
--HG--
branch : trunk
2009-12-17 13:07:38 +01:00
n0n4m3
f20b25d1c9 Update some code for 322a
--HG--
branch : trunk
2009-12-17 12:36:55 +01:00
n0n4m3
863fca80eb Removed some redundant player->SaveToDB calls, original autor balrok
--HG--
branch : trunk
2009-12-17 07:56:20 +01:00
win32
bf2c3fd8cf MaNGOS merge: Mail System.
* Store loot in mail_loot_template indexed by mail template ids.
* Implement proper creating mail text copy item from mail template based mail.
* Move send functions to new MailDraft class from WorldSession.
* Implement mails sending at player levelup.
* Autor VladimirMangos, converted by me.

--HG--
branch : trunk
2009-12-16 18:58:36 +02:00
spp
5268f8b5ef Fix expansion in queued login, by Zor. Related: #743
--HG--
branch : trunk
2009-12-13 03:47:59 +01:00
spp
fa92132dca Fix queue login, by TOM_RUS (Mangos), closes #743
--HG--
branch : trunk
2009-12-13 03:08:21 +01:00
Kudlaty
223d7d8116 Apply #456
Removed Essence of Wintergrasp from OutdoorPvP and implementation using the spell system.
This will affect Wintergrasp and all Northrend zones, dungeons and raids.
Note: need database support.
Patch by Spp

--HG--
branch : trunk
2009-11-27 03:16:49 +01:00
maximius
461e8d134f *Fix a typo, thanks thmarth. Closes #388
--HG--
branch : trunk
2009-11-21 19:47:33 -08:00
maximius
654519d1a6 *Some cleanup (mostly whitespace changes)
--HG--
branch : trunk
2009-11-20 19:11:28 -08:00
maximius
3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
ad91c3a94b * Wintergrasp: Elementals/Revenants only visible outside Wartime. By Spp
*Wintergrasp: Fixed Towers, weren't giving rewards. By Spp
*Wintergrasp: Cosmetic changes to make code easier to follow. By Spp (idea by Biglad)
*Wintergrasp: Building are immune to damage outside Wartime. By Spp (Original code by Biglad)
*Wintergrasp: Modified Custom Honor (Honor and marks) to fit with rank level. By Spp (Thanks to Gyullo and Magnarion)
*Some cleanup.

--HG--
branch : trunk
2009-10-17 02:06:12 -07:00
maximius
ae3a82feed *Wintergrasp: Cannons only visible during wartime, by Spp
*Wintergrasp: Custom Honor system now gives marks and completes achievements, by Spp

--HG--
branch : trunk
2009-10-14 22:35:09 -07:00
Machiavelli
43b3f834cf * Allow the initialization of the Wintergrasp OutdoorPvP enviroment to be disabled if configured.
--HG--
branch : trunk
2009-10-06 20:46:58 +02:00
maximius
f980dd9ac6 *Merge [8524] New cell search algorithm implemented. You can now choose different
visibility distances on continents, in BG/Arenas and instances. Author: Ambal
*Some warning cleanup

--HG--
branch : trunk
2009-09-27 02:24:25 -07:00
maximius
906b00465a *add 11 new event hooks to the OnEvents system, by Hawthorne
--HG--
branch : trunk
2009-09-23 20:19:21 -07:00
Chaz Brown
7aa91dd81b * AHBot rewritten to cause less lag spikes when checking for bids and when adding new auctions.
* AH Deposit function rewritten to generate deposits closer to official.
* AH Mail system rewritten to fix some bugs.
* MULTI_THREAD_MAP enabled by default (I have no idea why this was commented out before)
* CLIENT_VER added for allowing parts of the code to be enabled/disabled depending on the client version supported.
  Only used in AHBot for now.
* Various code cleanups.

--HG--
branch : trunk
2009-09-22 20:40:34 -04:00
Chaz Brown
c7cc007950 Add Server revision to realmd.uptime table
--HG--
branch : trunk
2009-09-15 01:09:36 -04:00
maximius
b4a13eff51 *Missed some changes
--HG--
branch : trunk
2009-09-11 13:42:39 -07:00
Machiavelli
5bd67d1b4b Allow Wintergrasp honor rewards to be customized. Please update your trinitycore.conf.
--HG--
branch : trunk
2009-09-11 17:51:32 +02:00
maximius
5633ea57d1 *MrSmite's PetAI patch, plus Hawthorne's Instant Flight Paths (now with actual code! >_<)
--HG--
branch : trunk
2009-09-10 09:59:16 -07:00
megamage
dc68c2b269 [8433] Implement proper store and use character specific account data.
* Base at TOM_RUS reseach save/load character specific account data in new table `character_account_data`
    * Move its in sql update from `account_data` to new table.
    * For client packets that can be send in loggined state or just after logout but assocualted
      with recently logout character add new login status STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT
    * Store low guid for loggedin player or recently logout into WorldSession.

Author: VladimirMangos, TOM_RUS

--HG--
branch : trunk
2009-09-01 16:47:49 -05:00
maximius
1646b0bcef *More updates to Rate.MoveSpeed, thanks megamage
--HG--
branch : trunk
2009-08-30 21:33:17 -07:00
maximius
054aa05201 *Should fix some things with Rate.MoveSpeed, thanks megamage
--HG--
branch : trunk
2009-08-30 21:10:31 -07:00
maximius
aab7742e38 *Add Rate.MoveSpeed (aka speedpatch) to core
--HG--
branch : trunk
2009-08-30 19:00:19 -07:00
Chaz Brown
055acc4b8a Replace switch with more proper way of checking allowSecurityLevel, and a few other minor changes.
--HG--
branch : trunk
2009-08-29 08:51:24 -04:00
Chaz Brown
2345c5ca8d Change default MOTD text in load from conf (how did this get overlooked?) comment out some nonsense in SetPlayerLimit that was causing the allowedSecurityLevel in realmd to be reset. (I think someone got confused between setting a limit on number of players allowed and the allowed security limit...) You can now Block Players from connecting to certain realms by setting the allowedSecurityLevel in the realmlist - Thanks, raczman for nudging me in the right direction
--HG--
branch : trunk
2009-08-29 05:17:55 -04:00
megamage
90b55ff7b1 [8424] Added support for strict chatmessage validation Author: arrai
--HG--
branch : trunk
2009-08-27 19:57:35 -05:00
megamage
6e8009446d [8402] Optimalized guild_eventlog and guild_bank_eventlog loading from database.
Added config options to set count of eventlog records stored in DB.
    Attached SQL files will DROP existing and create new tables. Make sure you create backup (if you need old data).
    Renamed few variables in Guild class.
    Signed-off-by: Triply <triply@getmangos.com>

*Note: existing guild bank log will be removed.

--HG--
branch : trunk
2009-08-24 19:23:31 -05:00
maximius
eb81138e6d *Add a config option for .die command behavior
--HG--
branch : trunk
2009-08-20 13:22:07 -07:00
Machiavelli
6b6963c66d * Change CONFIG_OFFHAND_CHECK_AT_TALENTS_RESET to CONFIG_OFFHAND_CHECK_AT_SPELL_UNLEARN, and change behaviour related to the value.
Note: Update your configuration file.

--HG--
branch : trunk
2009-08-17 03:17:14 +02:00
maximius
b6e7065d41 *Add config option to change minimum level required to Dual Spec
--HG--
branch : trunk
2009-08-15 13:39:40 -07:00
megamage
372655d862 [8365] Small description clarify for new config option. Author: Fog
--HG--
branch : trunk
2009-08-14 14:36:11 -05:00
megamage
1211aabb28 [8364] Implement possibility reset client cache data from server side. Author: Fog
Implemented 2 way set cache data "version":
    * New db_version.cache_id field let set cache data version by DB content creators.
      This can be used for content releases by seting some unique value at each release.
      This value used by default.
    * New mangosd.conf config option let set (overwrite DB value) or use 0 for ignore.
      This can be used by serever admin for reset cache at some local changes.

    Note: values use at client login and then must be unique for long period time to avoid ignored
          at login some long not connected client with old same cache version value.

--HG--
branch : trunk
2009-08-14 14:34:46 -05:00
megamage
d575793f6d [8343] Extand level allowed range for item use to upper values if it end at max player level. Author: VladimirMangos
Also add DEFAULT_MAX_LEVEL define for store current used client expection about max player level.
    For example for current supported this is 80.

--HG--
branch : trunk
2009-08-12 20:30:17 -05:00
Anubisss
18f712f52b *Read AutoBroadcast's messages from cache instead of from DB every times.
--HG--
branch : trunk
2009-08-10 17:03:11 +02:00
maximius
64ee35bd94 *Added autoannounce to core, and optimized autobroadcast db query to put less strain on MySQL
--HG--
branch : trunk
2009-08-08 15:05:21 -07:00
maximius
fe3ba612d9 *Emalon the Stormwatcher fully scripted, by Necroo (boss needs to be spawned and ScriptName needs to be updated)
*Added config options: DurabilityLoss.OnDeath and DurabilityLoss.InPvP, optimized Rate.RepairCost

--HG--
branch : trunk
2009-08-07 12:12:42 -07:00
Chaz Brown
b9eb4ddf2e AHBot rewrite, pulled from TC2-3.0.9 repo, in no particular order.
*Any file named README.Something (including the original README) will be copied to the build directory when compiled with VS
*Converted AuctionHouseBot to class structure, implemented Singleton for class
*Moved global variables inside of AuctionHouseBot class,
*Minor code cleanups, reformated headers, fixed switch logic errors
*Parts of this code are from Naicisum's Mangos version.
*Prevent endless looping condition where Item Quality has no percentage
*Fix situation where items in the AH would be less than the maxitems setting
*Move AHBot item filters to initialization so the items that are not allowed only get evaluated once.
*Change the way Bid prices are calculated, along with Maximius' uint64 fix, prices should look a lot better now.
*Includes a fix for grey items from MrSmite

--HG--
branch : trunk
2009-08-06 03:00:45 -04:00
megamage
0fcadd9d25 *Replace "LoginDatabase" with "loginDatabase"
--HG--
branch : trunk
2009-07-31 11:29:28 +08:00
megamage
0a2af88cb4 [8252] Move DB scripting code from global World to Map. Author: Ambal
This one more step to pre-map events proccesing and parallel in future.

    [8256] Restore DB script loading broken after [8252]. Author: VladimirMangos

    Also propetly decrease scheduled DB script actions at map unloading.
    Some code style restore.

--HG--
branch : trunk
2009-07-31 10:48:34 +08:00
QAston
9c52a12e08 Backed out changeset 6ba74f274cb9 - mangos [8249]
--HG--
branch : trunk
2009-07-30 11:44:23 +02:00
megamage
7121d98480 [8249] Implement support spell_proc_item_enchant table for ppm item enchantments triggering at hit.
* Added a new SQL table, spell_proc_item_enchant, for "custom" ppmRates on Item Enchants that do not use auras.
      With table data this must fix ppm for effect from 8033 and ranks enchanting, and item 6947/10918 and ranks enchanting.

    * Implemented SPELLMOD_FREQUENCY_OF_SUCCESS (26).
      That must fix work talent 14113, spell 32645 with ranks, glyph 41094 and item set effect 64917 in frequency part.

    Thanks to MaS0n as author alternative patch that partly used in this patch.
    Thanks to Thenecromancer as author alternative patch that ideas inspire MaS0n's patch writing and then this patch also.

Author: nos4r2zod

*Note: has been implemented before. Only use part of the patch.

--HG--
branch : trunk
2009-07-30 11:33:28 +08:00
megamage
f481e7b14d [8191] Drop code related to use long time empty spell_affect table. Author: XTZGZoReX
After switch to 3.x.x all data get explcitly from ClassMask fields in spell.dbc
    and no need in custom values.

--HG--
branch : trunk
2009-07-23 09:30:05 +08:00