Commit Graph

158 Commits

Author SHA1 Message Date
XTZGZoReX
6a21fbbc65 * Tiny cosmetic fix for last two commits.
--HG--
branch : trunk
2010-01-14 20:09:19 +01:00
Brian
5fd047cd90 * Added sanity check for > 100 waypoints since levels > 100 aren't supported
* Author Kaelima

--HG--
branch : trunk
2010-01-14 15:39:11 -07:00
Brian
bf6c5b3ee6 * Add support for waypoint wisp's level to show the point of the waypoint
* Author Kaelima
* Thanks Malcrom for the idea

--HG--
branch : trunk
2010-01-14 14:05:56 -07:00
Brian
378388d0a6 * Add support for .gobj target to output phaseMask
* Thanks to Aokromes for the original idea of adding it to .npc info output.

--HG--
branch : trunk
2010-01-10 19:03:47 -07:00
Brian
7a43ad959f * Fix the .wp add command to output proper point starting at 1
* Thanks QAston (For Malcrom with love)

--HG--
branch : trunk
2010-01-07 17:10:32 -07:00
n0n4m3
250a00cc1c Temporary revert 6743 commit. I fix this patch across 1-2 days.
--HG--
branch : trunk
2009-12-24 10:20:15 +01:00
n0n4m3
3fe0bc5254 Replaced time(NULL) on sGameTime.GetGameTime() this is used for better performance.
Original Timer.h divided into 2 parts. Shared project has no need to know about GameTime Singleton.
2 Identical structures with different types are now replaced with one generic templated structure and 2 typedefs.

--HG--
branch : trunk
2009-12-23 08:04:10 +01:00
p0wer
7590479186 * Add support for different gmlevel's for different realms.
*
* Using the value -1 will add the same value for all realms.
* Make sure to apply the updates.
* Information regarding this patch will be posted on the database forums soon.
*
* Thanks to Sundark and the Ilixiuemu team(for original patch)

--HG--
branch : trunk
2009-12-21 21:08:29 -06:00
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
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
9f45beb67e Update Map for 322a and new instance system
--HG--
branch : trunk
2009-12-17 11:30:18 +01:00
spp
51a1a0aca9 Wintergrasp: Normalization of names to fit OutdoorPvP system
--HG--
branch : trunk
2009-12-14 03:53:38 +01:00
spp
9e2c09bf09 Wintergrasp .wg command fixes. Closes #442
* .wg timer: limit to 1-60 wartime and 1-2440 not wartime
* .wg switch: timer will not be reset.

--HG--
branch : trunk
2009-12-06 18:21:00 +01:00
maximius
296d6791aa *Wintergrasp: Add number of players in ".wg status" command, by Spp. Closes #211
--HG--
branch : trunk
2009-11-17 23:51:33 -08:00
tartalo
461b90824f Wintergrasp: Fix .wg status crash, By Spp. Fixes #9
--HG--
branch : trunk
2009-11-03 14:56:31 +01:00
tartalo
46ebbdbba7 *Wintergrasp: Tower Control was not applied when entering zone, by Spp
*Wintergrasp: Announce tower and workshops being damaged/destroyed, by Spp
*Wintergrasp: Announce when a player gets rank, by Spp
*Wintergrasp: Implementation of custom commands (.wg for more info), by Spp
    Note: enable on/off will stop timer, it's not a real disable

--HG--
branch : trunk
2009-11-02 16:18:30 +01:00
maximius
b257a28fa9 *Cleanup, fix many cases of unoptimized loops, potential crashes, excessively large data types, unnecessary or wrong casts, non-standardized function calls, and so on..
*Proper Maexxna Web Spray locations (old locations sent players flying into the air)

--HG--
branch : trunk
2009-11-01 17:53:07 -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
0cf75ef9ea *Wintergrasp: Prevent defenders team to click the relic. Patch by Spp.
*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-19 12:13:08 -07:00
maximius
333f1c9d72 *[8475] fixed some gcc-warnings Author: balrok
*[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-18 14:10:37 -07:00
maximius
140ec674a0 Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--HG--
branch : trunk
2009-09-14 16:49:23 -07:00
maximius
b37f9b1e55 *Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG--
branch : trunk
2009-09-14 16:02:13 -07:00
Kudlaty
b287288888 Fix compatibility problems with PostgreSQL. Patch by Azuritus
--HG--
branch : trunk
2009-09-10 22:40:40 +02:00
megamage
0c0a7b6b0e [8444] Prevent spawn gameobjects with invalid displayid by command. Author: VladimirMangos
Also fix mangos string for not existed gameobejct entry.

--HG--
branch : trunk
2009-09-02 15:42:40 -05:00
megamage
2a4c9bcaf9 *Make position as a class;
--HG--
branch : trunk
2009-08-29 14:58:45 -05:00
megamage
6de6557bf0 *Fix a crash caused by gm command .object move and so on
--HG--
branch : trunk
2009-08-28 14:19:14 -05:00
megamage
1ee90e1022 *Update vehicle system. Make vehicle a seperate class from creature.
--HG--
branch : trunk
2009-08-23 22:09:43 -05:00
Machiavelli
e0c660d831 * Fix memory leak in WaypointStore::UpdatePath
* Correct packet size calculating mistake from 5292
* Code style cleanup in Level2.cpp (Waypoint commands)

--HG--
branch : trunk
2009-08-22 16:54:14 +02:00
Anubisss
227a1dc0be Show player's race and class in command .pinfo
--HG--
branch : trunk
2009-08-15 01:20:18 +02:00
megamage
0fcadd9d25 *Replace "LoginDatabase" with "loginDatabase"
--HG--
branch : trunk
2009-07-31 11:29:28 +08:00
QAston
2ff21d4cef *Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 (SPELL_AURA_INITIALIZE_IMAGES)
*Handle CMSG_GET_MIRRORIMAGE_DATA opcode.
*Save Minions follow angle to allow themmoving in a formation
*Improvements in SpellAI: correctly evade and select attack target for creatures without threat list
*Use SpellAI instead of PetAI for not controllable guardians
*Only guardians with SUMMON_TYPE_PET are controllable now
*Add script and template data for Mirror Image.
*Thanks to Drahy for help.

--HG--
branch : trunk
2009-07-22 17:10:30 +02:00
Anubisss
1ca3728059 *Move command lookup faction's code to the correct file.
--HG--
branch : trunk
2009-07-05 01:41:27 +02:00
Anubisss
bf697be6f3 *Change uint32 counter to bool found in lookup commands.
--HG--
branch : trunk
2009-07-05 01:19:49 +02:00
Anubisss
d78c917eff *Print the account's email in command pinfo. Based on Charlie's patch.
--HG--
branch : trunk
2009-07-05 00:37:05 +02:00
megamage
111dac5f94 [8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete Author: VladimirMangos
* Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls
    * Create Gameobject version to make GO with owner more safe for remove

--HG--
branch : trunk
2009-07-01 18:23:36 -05:00
Machiavelli
cf414bb7ca * Minor typo cleanup
--HG--
branch : trunk
2009-06-29 15:03:07 +02:00
megamage
d9ec2d2196 [8072] First step to get rid of data blob.
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table.

    The update will not work if your database contains characters with an old data field (not fitting to the actual client version).

    It's recommended to backup your character database before applying this patch.

--HG--
branch : trunk
2009-06-27 17:39:51 -05:00
Machiavelli
6fd51a0273 *Add forgotten part of previous commit
--HG--
branch : trunk
2009-06-27 17:41:07 +02:00
Machiavelli
dfe7b63899 * Fix message that gets sent to target when using .namego command.
* Re-add clean up in mute command

--HG--
branch : trunk
2009-06-27 17:38:18 +02:00
QAston
e7e79ff8a4 *Merge.
--HG--
branch : trunk
2009-06-27 16:37:29 +02:00
QAston
a74ae18739 *Merge tc1 commits 1582-1590
--HG--
branch : trunk
2009-06-27 15:29:06 +02:00
Machiavelli
4a93373c06 * Use safer way to handle recently added mute reason command
--HG--
branch : trunk
2009-06-20 23:28:47 +02:00
Machiavelli
1dd1f6db34 * Implement parameter 'reason' for mute command.
--HG--
branch : trunk
2009-06-20 14:16:42 +02:00
megamage
9049233629 *Merge.
--HG--
branch : trunk
2009-06-16 00:07:17 -05:00
Machiavelli
6ad7da569c *Integrate TicketMgr with ObjectMgr and clean up assosciated code. More features concerning ticket system are to be added soon. Please report any issues, thanks.
--HG--
branch : trunk
2009-06-15 23:58:29 +02:00
megamage
9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
Machiavelli
79c15a3d75 Remove unneeded query for renaming characters that are online, this is handled perfectly with the Player::SetAtLoginFlag and Player::SaveToDB functions already.
--HG--
branch : trunk
2009-06-08 20:56:24 +02:00