Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the object.h portion of the fix for summoning gameobjects from creatures. #13

Open
wants to merge 2,364 commits into
base: develop
Choose a base branch
from

Conversation

Swater96
Copy link

No description provided.

VladimirMangos and others added 30 commits April 26, 2011 20:56
Command show default calculated and DB stored coefficients for spell direct/dot heal/damage.

(based on master commit 25fd98b)

Re-apply with typo fix.

(based on commit fda1f1d)
…st spell.

(based on master commit 1710ac7)

Drop some code not removed in original backport.

(based on commit cefdbd8)
(based on master commit b0a9a93)

(based on commit 4e9a71c)
(based on master commit 253d373)

This is not need (unknown cases) for pre-3.x because absent BoA items
but better have in sync with mangos master branch.

(based on commit 14ebdf5)
…tions set.

Signed-off-by: NoFantasy <[email protected]>

(based on master commit 7e92078)

(based on commit 310fd15)
(based on master commit 7468bb0)
(based on master commit f5f52d9)

(based on commit b03583a)

Single missing case added.
* Some spells have StackAmount > 255, for example 22735
* Cleanup some weird type casts in _LoadAuras

(based on master commit f425f61)

(based on commit 5313734)
For leak detection you can also use tools like Valgrind.

If you really want to use VLD you can revert this commit and remove the comments in MemoryLeaks.cpp and MemoryLeaks.h.
The VLD version which has been shipped with MaNGOS is *heavily* outdated and I thus suggest you to use a newer version of it, if you really plan to use it. You can find the newest version on github in its official repository: https://github.com/dmoulding/vld

(based on master commit d88b5ee)

(based on commit 7e12ed2)
…es to CRLF line endings.

Signed-off-by: DasBlub <[email protected]>

(based on master commit f0ecccf)

(based on commit f04b302)
(based on master commit 565963c)

(based on commit ef81dcc)
(based on master commit a88d2b6)

Posisble you will need install VC100 runtime. Look at Microsoft site.

Signed-off-by: VladimirMangos <[email protected]>

(based on commit 3376535)
Signed-off-by: DasBlub <[email protected]>

(based on master commit 57a6b30)

(based on commit 8109576)
Sometime levelup possible for dead player, prevent reset health in this case.

(based on master commit b12d6ce)

(based on commit fd45383)
Also make the -DPREFIX work on Win/MSVC

Signed-off-by: Neo2003 <[email protected]>

(based on master commit d4b156b)

(based on commit 76d022d)
(based on commit dcbdc40)

Also remove not existed in One files.

(based on commit 8f736db)

Also fix constant rebuild src/shared/Hmac.cpp
…quests. Should improve player save performance + lower MySQL server CPU usage.

Note: PostgreSQL does not have prepared statements implemented using native APIs.

Huge thanks to Undergarun, kero99 and Vinolentus.

Signed-off-by: Ambal <[email protected]>

(based on master commit bfdc943)
(based on master commit 84358c5)

(based on commit 2915c89)
(based on master commit 0b25669)

(based on commit 4b7f742)

Also simplify Spell::WriteSpellGoTargets using 1.x work specific.
Signed-off-by: VladimirMangos <[email protected]>

(based on master commit a1f07bf)

(based on commit e52dd88)
Signed-off-by: NoFantasy <[email protected]>

(based on master commit 4215442)

(based on commit e6028b9)
…rdinates. Possibly can help with freezes when 'DetectPosCollision = 1'.

Signed-off-by: Ambal <[email protected]>

(based on master commit a79ca96)

(based on commit e1fed58)
- Unit::CalculateSpellDuration split into two functions
    - CalculateSpellDuration taking into account combo points and caster-side spell mods
    - Unit::CalculateAuraDuration taking into account target-side spell mods
- Diminishing is now applied before duration reduction mods
- Implement saving per-effect periodic timers to DB (required for auras affected by haste)

(based on master commit 09090ac)
(based on master commit 458f9ef)
(based on master commit 8c56f30)

(based on commit 0a82f06)
(based on commit 81bf612)
Signed-off-by: NoFantasy <[email protected]>

(based on master commit 94cc133)

(based on commit e13f4d6)
Signed-off-by: Ambal <[email protected]>

(based on master commit b19cd2e)

(based on commit ca857d8)
…of ignoring case.

Thanks Ambal for finding i though...

(based on master commit 48b130a)

(based on commit 28849b0)
Signed-off-by: NoFantasy <[email protected]>

(based on master commit 48111f9)

(based on commit c7aac5e)
… to do the emote

Also allow play emote on Player when player is source.
Gameobject may be source of script but are only allowed as searcher for creature when defined.

Signed-off-by: NoFantasy <[email protected]>

(based on master commit 817a786)

(based on commit f407a77)
Reserve at server startup some guods follow last used in static DB spawns guid
for creatures/gameobjects for use in .npc add/.gobject add commands.
This allow safe select guids not used in all map copies. Guids for temporary spawns
used from range frollow after reserved guids range.

This also let select new static spawns guids (added in game chat command) near to already used static guids.
So it let avoid gaps in static guids lists.

Amount reserved guids set in new GuidReserveSize.* config options.

(based on master commit 761ca7a)
(based on master commit 3e2a49e)
(based on master commit 3ae892b)
(based on master commit c2321b1)

(based on commit 9a2ccef)
../docs/script_commands.txt updated for details

Signed-off-by: NoFantasy <[email protected]>

(based on master commit 3826557)
(based on master commit dd564ce)

(based on commit fc46751)
Signed-off-by: NoFantasy <[email protected]>

(based on master commit 86d0319)

(based on commit 02128cb)
VladimirMangos and others added 30 commits September 17, 2011 18:42
* DB connection
* chat/console password changes commands.

(based on commit 655d84a)

Signed-off-by: Salja <[email protected]>
Signed-off-by: VladimirMangos <[email protected]>

By unknown reason added in last weeks or longer period gameobject
visually moved only after relogin. GO removed from client view and readded
at same place _but_ have and send to client new coordinates as debuged.
This problem researched and not comnnected directly with fixed bug.

(based on commit edc4328)

Signed-off-by: Salja <[email protected]>
Signed-off-by: VladimirMangos <[email protected]>

(based on commit cc294e2)

Signed-off-by: Salja <[email protected]>
Signed-off-by: VladimirMangos <[email protected]>

(based on commit e94efc6)

Signed-off-by: Salja <[email protected]>
(based on commit 887acde)

Signed-off-by: Salja <[email protected]>
…messages.

(based on commit cb77118)

Signed-off-by: Salja <[email protected]>
(based on commit b0ff049)

Signed-off-by: Salja <[email protected]>
Signed-off-by: Laise <[email protected]>

(based on commit 5eb8855)

Signed-off-by: Salja <[email protected]>
In 1.12.1 we don't need to take care about multiple such spells as there is only one, spell 26802

(based on commit b58b29c)

Signed-off-by: Salja <[email protected]>
This reverts commit 6076ee78743386269f6a5e5d5781e6763283c5cf.

Signed-off-by: Salja <[email protected]>
Also
* Move item comvert code from spell effect to new function.
* Some code style cleanups.

Signed-off-by: Salja <[email protected]>
Also drop battleground case that just same check in fact.

Original patch and research provided by Den.

Signed-off-by: Salja <[email protected]>
Removed references to TBC spell modifiers, and fixes compilation.

Signed-off-by: TheLuda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.