aboutsummaryrefslogtreecommitdiff
path: root/src/shared
AgeCommit message (Collapse)Author
2009-09-19*Wintergrasp: Prevent defenders team to click the relic. Patch by Spp.maximius
*Zum'Rah Area Trigger Script, Zum'Rah should become hostile when approached. By totoro. *Judgement of Light PPM based, not 100%. By Drevi. *Fix Deflection Exploit. By manuel, thanks to TheNecromancer and Gyullo. *Correct Wintergrasp Tenacity formulas, by Gyullo. *A Spirit Guide Escort Quest, code from SD2, patch by manuel. *TrullyOne/MeanMachine Waypoint System Restored. Patch by XTElite1. --HG-- branch : trunk
2009-09-19Replace useless code with more useful code.Chaz Brown
--HG-- branch : trunk
2009-09-18*[8475] fixed some gcc-warnings Author: balrokmaximius
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos *[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce *[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos *[8496] Resolve some #include cycles and unsafe code. * Common.h -> Threading.h -> Errors.h -> Common.h * Remove reduncdent #include "ByteBuffer.h" in headers * Remove redundent #include "Auth/BigNumber.h" in headers * Avoid multyply data copy at use some now dropped functions in BigNumber. * Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber. * Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos. *[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos. *[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy *[8506] Add check for IsAutoComplete() in SendPreparedQuest(). For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems. Some additional code cleanup. Author: NoFantasy *[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no> Thanks to Stryker and onkelz28! --HG-- branch : trunk
2009-09-11*Missed some changesmaximius
--HG-- branch : trunk
2009-09-11*[8463] Fixed race conditions in LockedQueue. Author: XTZGZoReXmaximius
--HG-- branch : trunk
2009-09-10Fix compatibility problems with PostgreSQL. Patch by AzuritusKudlaty
--HG-- branch : trunk
2009-09-09Fix some recently added tabs to spaces and fix mem leak - patch provided by ↵Chaz Brown
Onkelz --HG-- branch : trunk
2009-09-02[8453] Make more informative error output in case empty version tables. ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-09-02[8450] Prevented using of plaintext passwords in sql queries Author: arraimegamage
--HG-- branch : trunk
2009-09-02 [8445] Fixed redundant calculation of v and s on every login Author: arraimegamage
The SRP-6 specifications clearly say, that v and s are only to be calculated on registering a user and changing his password; calculating them on every login is plain waste. --HG-- branch : trunk
2009-09-01[8442] Fixed displaying return button in mails Author: arraimegamage
--HG-- branch : trunk
2009-08-27*Use light red in error log. By MrSmitemegamage
--HG-- branch : trunk
2009-08-28*temp fix for the new "huge icons in chat" exploitRat
*you have to enable ChatFakeMessagePreventing in config file to work --HG-- branch : trunk
2009-08-27*Fix build with GCC.QAston
--HG-- branch : trunk
2009-08-27*Add `spell_dbc` table to store dbc entries not present in clientQAston
*Remove workaround from Demonic Circle code and use the sql table instead. --HG-- branch : trunk
2009-08-24[8395] Improved TimeStringToSecs Author: arraimegamage
--HG-- branch : trunk
2009-08-19[8390] Fixed log output work after recent replace UTF8PRINT macro. Author: ↵megamage
VladimirMangos --HG-- branch : trunk
2009-08-19 [8389] Implement check really read received packet size and warning it ↵megamage
not all data read. Author: VladimirMangos * This let more easy catch packet structure chnages at client switch. * Fixed structure CMSG_GUILD_BANK_SWAP_ITEMS * Fixed structure CMSG_SPLIT_ITEM, CMSG_SELL_ITEM * Added read data amount fixes for some other packets. Thanks to TOM_RUS in help check correct packets structure. Note: not all packets possible fixed. Please report for not fixed cases at errors: "opcode %s (0x%.4X) have unprocessed tail data (read stop at %u from %u)" --HG-- branch : trunk
2009-08-19 [8388] Replaced UTF8PRINT macro by a functionmegamage
Should also fix possible color leak on Windows CLI. Signed-off-by: freghar <compmancz@gmail.com> --HG-- branch : trunk
2009-08-19 [8384] Restore build mangos at Unix/Linux. Author: VladimirMangosmegamage
* Also fixed wrong read_skip<char*>() code. * Also fixed some warnings in related code. --HG-- branch : trunk
2009-08-19 [8382] Implement ByteArray functions for skip read of fields not needed ↵megamage
for server in received packets. Author: VladimirMangos * Use this fucntions in some case. * Change some packets to form: read fields first check later for better control recieved packets structure. * Fix CMSG_STAND_STATE_CHANGE packet structure to more correct. --HG-- branch : trunk
2009-08-19 [8378] Use exceptions instead of explicit size checking for each packet ↵megamage
Author: arrai CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd could crash due to the asserts in ByteBuffer.h. That was exploitable by malicious players. Furthermore, there were duplicate checks: Additionally to CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye on not exceeding the packet boundaries - just to crash the server for sure in such a case. To prevent memory leaks or other undesirable states, please read in every handler all variables _before_ doing any concrete handling. --HG-- branch : trunk
2009-08-18*Fix server startup error from 5184.QAston
--HG-- branch : trunk
2009-08-18*Fix a typo in xp bonus auras.QAston
--HG-- branch : trunk
2009-08-15*Replace every tab with 4 spaces, checked by handmaximius
--HG-- branch : trunk
2009-08-11*Add function Unit::OutDebugInfo for debug.megamage
--HG-- branch : trunk
2009-08-08 [8328] Fixed problem with crash at startup in result destroy anti-freeze ↵megamage
thread runnable. Author: VladimirMangos * Destroy runnable only if no references. * Some code cleanups --HG-- branch : trunk
2009-08-08[8318] Deleted as expected runnable objects at related Thread deleting for ↵megamage
avoid memory leaks. Author: VladimirMangos [8319] Restore compile PGSQL support after last changes. Author: ApoC --HG-- branch : trunk
2009-08-06[8311] Prevent multiline fake messages in chat. Author: horogandrismegamage
--HG-- branch : trunk
2009-07-31*Replace "LoginDatabase" with "loginDatabase"megamage
--HG-- branch : trunk
2009-07-31[8272] Fixed typos in world 'height' by code. Author: Soryamegamage
--HG-- branch : trunk
2009-07-30 [8250] Cleanup code and data for `spell_threat` Author: nos4r2zodmegamage
* Load table data to std::map instead SQLStorage and add check loaded spell existance. * Drop from table not existed spells. --HG-- branch : trunk
2009-07-30 [8221] Removed trailing whitespacesmegamage
With excluded dep/ - as usual. Signed-off-by: freghar <compmancz@gmail.com> --HG-- branch : trunk
2009-07-28*Minor cleanup in Log::outDB - by XTZGZoReX.QAston
--HG-- branch : trunk
2009-07-25Fix build on windows and propably on centosKudlaty
--HG-- branch : trunk
2009-07-25Fix build with old ACE libKudlaty
But anyway, you should update your ACE lib --HG-- branch : trunk
2009-07-24Fix typo.Kudlaty
--HG-- branch : trunk
2009-07-24Merge [SD2]Kudlaty
r1100 Added basic AI definitions for boss sartharion (with adds, using a common AI for certain events) and intro calling drakes r1101 Correcting a few details and simplify call drakes for boss sartharion Add boss and mini-boss' abilities and add more common events to common drakes AI r1102 Drop support for Windows VC71 (2003) (ref Mangos rev 7865) r1103 Added support for quest 6481 (summon npc 11920) r1104 Restore compile after change in OnCreatureCreate(). Require Mangos 7871+ - skip (we don't merge 7871?) r1105 Remove code related to taunt immune. creature_template.flags_extra(CREATURE_FLAG_EXTRA_NOT_TAUNTABLE) must be used instead where creature should always be immune. --HG-- branch : trunk
2009-07-24Merge [SD2]Kudlaty
r1095 Correct one spellId in hyjal - skip r1096 Remove more grid search code from scripts and use functions. r1097 Remove obsolete functions redefined in 1094 r1098 Added text for bosses in map 615 r1099 Added instance script for map 615 --HG-- branch : trunk
2009-07-24Merge [SD2]Kudlaty
r1088 Add grid searcher class PlayerAtMinimumRangeAway and create ScriptedAI function GetPlayerAtMinimumRange that return player in grid with at least the defined range away from m_creature. r1089 Remove no longer needed grid search code and use function instead. - skip r1090 Rename and clarify function variables - skip r1091 Add two new grid search functions to return list of creature and gameobject. Remove unused class. r1092 Remove more grid search code in scripts and use functions instead. r1093 Remove obsolete grid search class and rename new to a more consistent name. r1094 Speed up functions GetCreature/GameObjectListWithEntryInGrid a bit --HG-- branch : trunk
2009-07-16 [8176] (skipped) Forbid using some monster movement flags (that can ↵megamage
crash client) in creature*_addon tables.moveflag tables field. Also refactoring creature addon tables loading. Author: VladimirMangos --HG-- branch : trunk
2009-07-16 [8169] Implement new optional table `spell_check` and console command ↵megamage
.debug spellcheck Author: VladimirMangos * Table expected to be store data mirror same data in code: - explicit spell ids with related expected spell properties like effects, spell family or auras - implicit requirements for select some spell sets like spell family masks, icons or visual values * For check can be used .debug spellcheck _console_ only command. * Main purpose table and related command check code parts for outdated data at client switch. It also can be used for check data in patch writing time to be sure code correctness. --HG-- branch : trunk
2009-07-16[8166] Add support for 32-bit hex format in addition to 64-bit version ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-07-12[8156] Some mail show flags use.megamage
[8155] Move unneeded include from header. Author: VladimirMangos --HG-- branch : trunk
2009-07-12[8150] Provided short name for portable format specifier for size_t values ↵megamage
Author: VladimirMangos --HG-- branch : trunk
2009-07-12Some work on PostgreSQL supportKudlaty
note: still don't work, so use mysql --HG-- branch : trunk
2009-06-27 [8080] Portability fixes for some Unix platforms. Author: VladimirMangosmegamage
* Add #include <stdio.h> to some fiels where related functions call. * Avoid template dependent lookup for fields in class LockedQueue. --HG-- branch : trunk
2009-06-27 [8079] Fixed build errors at use old ACE versions (without ↵megamage
ace/Stack_Trace.h). Author: VladimirMangos *I am not sure if something needs to be done for cmake. --HG-- branch : trunk
2009-06-27[8067] Fixed tabs and trailing whitespaces in code. Author: VladimirMangosmegamage
--HG-- branch : trunk
2009-06-27Backed out changeset 97d8a5f6449cQAston
--HG-- branch : trunk