Commit Graph

18728 Commits

Author SHA1 Message Date
Trond B Krokli
329006d310 Core/authserver.conf.dist: missing description line (#17038)
This line is missing from authserver.conf.dist :
`#                     MySQL server and their own thread on the MySQL server.`

I have copied this description text line from the matching description in
`worldserver.conf.dist` (line 108 in the 3.3.5 worldserver source file).

This line is also missing in bnetserver.conf.dist , but the files are different
in line number, filename and folder, so bnetserver needs a separate commit.
2016-04-25 23:26:04 +01:00
Mikhail Redko
d5f04f5a38 Core/Misc: Move STOP_TIME_FOR_PLAYER value to config. (#17024) 2016-04-25 22:33:26 +01:00
Aokromes
aa9129f55d Update worldserver.conf.dist 2016-04-25 11:54:21 +02:00
Rushor
e869ccb297 Merge pull request #16503 from Rushor/evading
[3.3.5][6.x]Core/Unit: Do not remove auras from Pets and Guardians after evading
2016-04-25 11:46:00 +02:00
jackpoz
ebafa2fdea Merge pull request #16494 from Rushor/calc
Core/Spell: Magic Absorption Calculation
2016-04-25 10:32:02 +02:00
joschiwald
9e371b766c Core/Utils: replaced std::random_shuffle with our own implementation using SFMT random generator 2016-04-24 01:15:56 +02:00
jackpoz
3e73ba9da5 Core/Misc: Fix issues reported by static analysis 2016-04-23 18:20:18 +02:00
Naios
2698d1ff48 Core/Common: Fix a std::string -> char* -> std::string conversion
* Thanks jackpoz for noticing
2016-04-23 18:13:42 +02:00
DevQuad
5ac000f1e9 Core/Scripts: Process the reset of Mandokir (ZulGurub)
* Closes #16640
2016-04-23 17:20:55 +02:00
Naios
dadc02d77a Core/Updater: Correct the config key hint of a log message 2016-04-23 17:13:38 +02:00
joschiwald
25da16ba44 Core/SpellScripts: allow to modify target destination of all target type 2016-04-23 16:13:12 +02:00
lafoniz
a05a871d7c Core/SmartScripts: Improve SMART_EVENT_DISTANCE_CREATURE so it can be used with SMART_TARGET_ACTION_INVOKER
Closes #16752
2016-04-23 14:45:05 +02:00
joschiwald
64675dc03a Merge pull request #16876 from chaodhib/move_chase_follow_repositioning_fix
Core/Movement: Fix a bug related to unit movements
2016-04-23 14:41:54 +02:00
joschiwald
029527365f Scripts/Spells: fixed Decahedral Dwarven Dice and Worn Troll Dice
#Closes 16866
2016-04-23 13:53:07 +02:00
joschiwald
9ee67b42f3 Core/Authserver: removed obsolete code 2016-04-23 12:25:34 +02:00
Patrick L
514b908170 Core/PacketIO: Missing changes from 548aa119ac that could result in a crash due to double Locking (#17008)
Socket will be closed because of ReadDataHandlerResult::Error.
2016-04-20 17:03:40 +02:00
Lopfest
5cdc870acc Core/Spells: enabled SPELL_EFFECT_160 (#16987)
(cherry picked from commit ff3e176eb1)
2016-04-19 12:05:19 +01:00
DDuarte
91671a26e8 Scripts: Add missing override 2016-04-19 01:31:19 +01:00
Gacko
eda6254d47 Scripts: Add missing overrides.
(cherry picked from commit aac868a6d9)
2016-04-19 00:37:34 +02:00
Naios
86b0fcf67a Core/Scripting: Use the path of the worldserver executable to search for the scripts dir
* Fixes issues when starting the worldserver not in the bin directory
  or the CMAKE_INSTALL_PREFIX directory using the -c option.
2016-04-18 21:02:01 +02:00
Naios
081720b5dd Core/Scripting: Use the systems temporary path for caching shared libs
* Disables the shared library caching on platforms completely which
  never block files on usage (like linux).
2016-04-18 21:02:00 +02:00
Naios
3271f328de Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header 2016-04-17 19:30:13 +02:00
Naios
11b5de63cb Core/Scripting: Add the info how much time the system took to reload 2016-04-17 18:11:05 +02:00
Naios
1fe4e09d1f Core/Scripting: Change the INFO logger of the hotswap system to enabled 2016-04-17 01:12:50 +02:00
Naios
1e0a93d3d8 Core/Scripting: Improve the error message when the script reloader fails to create a cache entry
(cherry picked from commit 8fa52860ab)
2016-04-16 22:09:25 +02:00
DDuarte
0257aa0528 Core/Items: Move Item::GetSkill to ItemPrototype::GetSkill
Also moved some methods of ItemPrototype to .cpp

Thanks to Yehonal for the original patch

Closes #16884
2016-04-16 20:57:50 +01:00
tkrokli
acdfc36a4e Core/Scripts: zone_shattrath_city cleanup
- restore missing text lines for Sal'salabim and Raliq the Drunk
- replace hardcoded text with DB gossip ID enum sections
- move gossip ID, quest ID, spell ID (and so on) into enum
- remove core script for Ishanah, High Priestess of the Aldor

Closes #16684
2016-04-16 18:58:47 +01:00
Henry Gordon
1670d310b5 Core/Instances: If a boss kills itself, still save the group to the instance (#16978)
(cherry picked from commit a4b0088671)
2016-04-16 16:52:55 +01:00
Vincent-Michael
fe90fdcba1 Core: Removed Whitespaces
(cherry picked from commit 3cd19d3b30)

# Conflicts:
#	src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
#	src/server/game/Handlers/NPCHandler.cpp
#	src/server/game/Server/Packets/ChatPackets.cpp
#	src/server/game/Server/Packets/NPCPackets.h
#	src/server/game/Server/Packets/PartyPackets.h
#	src/server/game/Server/Packets/PetPackets.cpp
#	src/server/game/Server/Packets/PetPackets.h
#	src/server/game/Server/Packets/TicketPackets.h
#	src/server/game/Server/Packets/VoicePackets.h
#	src/server/game/Server/Packets/WardenPackets.h
#	src/server/scripts/Commands/cs_cheat.cpp
2016-04-16 16:52:23 +01:00
Gustavo
d1a053e4f5 Core/Quests Fix Quests Borrowed Technology, Volatility and The Solution Solution (#16968) 2016-04-16 15:42:07 +02:00
treeston
b115458001 Merge branch '3.3.5-gluth' into 3.3.5 (PR #14865) 2016-04-16 11:16:28 +02:00
chaodhib
383cc4d94b Scripts/Naxxramas: Rework of Gluth
1) Gluth should be able to eat zombies close to him, one at the time, during the whole fight.
2) Gluth should be able to eat zombies at an accelerated rate after each Decimate.
3) The zombies should put the "Infected Wound" debuff on their auto-attack targets.
4) Zombies should have a normal threat table before decimate and should loose all kind of aggro behavior and walk toward Gluth after decimate.
5) Gluth shouldn't be affected by the decimate damage.
6) Newly poped zombies should have all players in their aggro list as soon as they spawn. So far, they were not moving and were only aggroed by proximity.
7) and several minor fixes (emotes, useless data in db).
2016-04-16 10:54:13 +02:00
Treeston
9ad952c3bc Merge pull request #16736 from r00ty-tc/map_height
Solve many of the creature falling through floor issues.
2016-04-16 10:43:57 +02:00
treeston
37067ad390 Merge remote-tracking branch 'sirikfoll/bossAhune' into 3.3.5 (PR #14884) 2016-04-16 01:47:45 +02:00
treeston
75f7b5ae4b Merge remote-tracking branch 'sirikfoll/geddon' into 3.3.5 (PR #16975) 2016-04-16 01:44:42 +02:00
Chaouki Dhib
dc3327f9c5 Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
2016-04-16 01:36:32 +02:00
Treeston
22c0a54264 Merge pull request #16896 from Treeston/3.3.5-fixpetaggression
Entities/Unit: Fix pet-vs-creature aggression checks
2016-04-16 01:27:45 +02:00
Andrew Letson
ff33469645 Core/AHBot: Improve AHBot seller math (#16123)
Eliminates edge cases with low values that would round to zero
due to using uint32 in the calculation of sell price and buyout price.
(cherry picked from commit 45ea01fe5c)

# Conflicts:
#	src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp
2016-04-15 20:57:19 +01:00
chaodhib
0a964b8547 Movement bug fix. Npc mistakenly move away from its new target. 2016-04-15 21:27:11 +02:00
sirikfoll
918b2fafae Core/Spells Fix Spell Inferno, used by boss Baron Geddon
This is based on the cmangos fix 7556165b3e

Also correct the spellId of Armageddon spell
2016-04-15 13:19:19 -03:00
Naios
ea627589d6 Core/Scripting: Fix a typo in b970a684 2016-04-14 22:14:06 +02:00
Naios
b970a68473 Core/Scripting: Wait until the debugger is detached before rebuilding scripts.
* Thanks Shauren for the IsDebuggerPresent() hint.
2016-04-14 21:27:39 +02:00
Naios
42eeb28a8b Core/Scripting: Disallow the build directory to contain spaces
* I wasn't able to work arround a path which contains spaces,
  since it seems like a CMake specific issue.
* Closes #16947
2016-04-14 20:31:04 +02:00
Naios
9e43e50fa7 Core/Worldserver: Correct the default comment of HotSwap.EnableReCompiler
* Thanks jackpoz for noticing
2016-04-14 20:31:03 +02:00
Naios
ff8a54ab92 Core/Build: Provide an interface target for game
* Increases the build time because dependent projects can build
  without waiting for the game project.
2016-04-14 20:30:55 +02:00
r00ty-tc
87b4533046 [Core/Maps] Activate creatures and objects during opening cinematics and other flyby
cameras (sunwell etc).

Requires re-running map extractor to extract camera m2 files from data
files. These are very small.

Closes #4755
Closes #16772
2016-04-14 01:34:17 +02:00
Aokromes
afaa8e2c60 Update worldserver.conf.dist 2016-04-13 21:49:32 +02:00
Naios
10bc41c91e Core/Scripting: Fix detection of source changes when using inotify.
* This fixes the source change detection in linux.
* Also simplifies the detection of observed modules
* Fixes the script rebuilding on linux
* Escape windows paths to (maybe) fix paths with spaces (#16947)
2016-04-13 13:59:24 +02:00
Vlad
fcbbc60b93 Core/Players: Fix flight form & fall damage (#16955) 2016-04-13 12:33:49 +02:00
Shauren
e2687b31ed Core/Entities: Ported byte field offset naming from 6.x 2016-04-12 20:06:04 +02:00