Commit Graph

798 Commits

Author SHA1 Message Date
Yehonal
bea6f6b9fb uncommented releaseModelInstance to fix a warning 2017-09-18 03:17:35 +02:00
Yehonal
14f1c767ef Script: Fixed yogg saron Drive Me Crazy achievement 2017-09-18 03:17:20 +02:00
Yehonal
5ec07ef31f Removed more warnings, mostly related to unused-variable
issue #121

We still have to work on unused-parameter
2017-09-18 03:16:32 +02:00
Yehonal
cf627d8327 Scripts: Step 4 - Fixed all warnings inside scripts
issue #121

Next step: enabling -DWITH_WARNINGS and fix
2017-09-17 04:07:32 +02:00
Yehonal
82be574cda Core: Step 3 - removed all warnings from core
related to #121

Next step: Scripts and extractor tools
2017-09-16 19:13:21 +02:00
Yehonal
247490dc84 Core: Step 2 - Fixed warnings with clang 3.9+
issue #121
2017-09-16 15:02:33 +02:00
Yehonal
3dde305068 Core: step 1 - starting to fix core warnings
expecially from headers and some cpp files

Scripts and tools in next steps
2017-09-16 13:47:19 +02:00
Darron Lumley
584af79efa Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled (#646)
* Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled (#601)

* Fixed line spacing

* Fixed file spacing

* Revert "Fixed file spacing"

This reverts commit c32f081fe2ea59b9206887fb5aee0236c49a744c.

* Revert "Fixed line spacing"

This reverts commit 5a922bbfe819aa435a797056f30571b93503c6ae.

* Revert "Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled (#601)"

This reverts commit 0d57b3c27320df09e230553f346d850f8bb43bcd.

* Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled
2017-09-16 10:40:20 +02:00
Yehonal
4d8ae5fce3 Naming unknown data in Authsession and implemented some checks 2017-09-16 01:15:57 +02:00
Yehonal
502e2ad19a Fixed realmid on realmlist packet 2017-09-16 01:15:31 +02:00
Yehonal
9d2395e1d3 Restored behaviour about a vehicle.cpp condition
Fixing #602
2017-09-11 19:40:02 +02:00
sucofog
2aedf13593 Fix warning under GCC Linux (#616) 2017-09-10 19:57:43 +02:00
talamortis
c714f0cbb1 Pet bar should now show after /reload command. 2017-09-07 11:20:28 +01:00
Yehonal
b450ba35d8 [CORE/Command] fixed wrong db worker for IP2NATION statement 2017-08-26 00:22:24 +02:00
Yehonal
7277e4f006 importing sql 2017-08-25 11:49:51 +02:00
Yehonal
3b90286571 [Script/SAI] Fixed Shattered Hand Blood Guard Event (#579) 2017-08-25 11:48:28 +02:00
talamortis
f6ff4910c3 Added a hook for player::Update 2017-08-24 11:06:21 +02:00
Barbz
c15f15ebb0 GroupHandler: prevent cheater self-invite (#573)
* GroupHandler: prevent cheater self-invite

Author: billy1arm
From ec0393001f

* Fixed indentation
2017-08-23 10:45:08 +02:00
Yehonal
5c7834d384 importing pending sql 2017-08-22 22:33:02 +02:00
Ercules76
f5e0686b6e Fix LFG last player disband party (#574)
* [CORE/LFG] now last player disband party when left dungeon
2017-08-22 22:19:41 +02:00
Yehonal
a8166c3868 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-08-21 11:51:27 +02:00
Yehonal
0c2d0cd9c0 removed duplicated update file 2017-08-21 11:51:17 +02:00
Yehonal
5bc39840a1 Fixed old auth updates 2017-08-21 11:50:44 +02:00
Yehonal
f873100cab Revert changes to base account table
We MUST NOT change the base sql if we've the update sql file
otherwise db updating will fail
2017-08-21 11:50:11 +02:00
Кирилл
d27ee6324e [NPC] Franclorn Forgewright visibility (#568)
* DB/NPC: make Franclorn Forgewright visible only for dead players

* add a new line at the end of file
2017-08-21 01:03:08 +02:00
Кирилл
fa78d2d83e Core/Scripts: start fight with hardcode in scripts by sending pet trainers to DB from Core (#571)
* Core/Scripts: start fight with hardcode in scripts by sending pet trainers to DB from Core

* fix build(forget about it lol azetorh don't have this commit)
2017-08-20 17:31:59 +02:00
Кирилл
20fed1bc48 Core/Gossip: implement another way to do gossip macros(like in TC). (#572) 2017-08-20 17:30:13 +02:00
Yehonal
245d3f87f8 fixed linux compilation 2017-08-20 13:09:05 +02:00
Yehonal
620887fe61 fixed compilation with ENABLE_* defines disabled 2017-08-20 12:34:06 +02:00
Yehonal
0c50a6027c Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-08-20 06:04:27 +02:00
Yehonal
1ed98105a1 importing pending sql 2017-08-20 06:03:34 +02:00
Nefertumm
fd684a858c Implement ip2nation and ip2nationCountries (#518)
* Implement ip2nation and ip2nationCountries

* fix account.sql

* Tabs

* Codestyle

* More codestyle

* Maybe not. Fk travis.

* Missing field on LOGIN_SEL_ACCOUNT_INFO_BY_NAME

* Update WorldSocket.cpp
2017-08-20 06:00:00 +02:00
Yehonal
41efb63b29 Update WorldSocket.cpp 2017-08-20 05:39:17 +02:00
Yehonal
69d35aed10 Missing field on LOGIN_SEL_ACCOUNT_INFO_BY_NAME 2017-08-20 05:27:50 +02:00
Yehonal
c44dccb231 Merge branch 'master' into master 2017-08-20 05:04:58 +02:00
Yehonal
c854b65882 Merge branch 'master' into master 2017-08-20 04:59:52 +02:00
Yehonal
0dd68dfbee Another huge compilation fix
please delete cache and re-run cmake
2017-08-20 04:48:07 +02:00
talamortis
e471c1bb6a fix for PR
# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
#	src/game/DungeonFinding/LFGMgr.cpp
#	src/game/Entities/Player/Player.cpp
#	src/game/Entities/Unit/Unit.cpp
#	src/game/Entities/Vehicle/Vehicle.cpp
#	src/game/Guilds/Guild.cpp
#	src/game/Handlers/ChannelHandler.cpp
#	src/game/Handlers/GuildHandler.cpp
#	src/game/Handlers/LFGHandler.cpp
#	src/game/Handlers/LootHandler.cpp
#	src/game/Handlers/MiscHandler.cpp
#	src/game/Handlers/PetitionsHandler.cpp
#	src/game/Handlers/QueryHandler.cpp
#	src/game/Movement/MotionMaster.cpp
#	src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
#	src/game/Server/WorldSocket.cpp
#	src/game/Spells/Auras/SpellAuraEffects.cpp
#	src/game/Spells/SpellEffects.cpp
#	src/scripts/Commands/cs_modify.cpp
2017-08-20 02:33:48 +02:00
Yehonal
bf80a43d78 Fixed travis build errors with Talamortis.
# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
#	src/game/Calendar/CalendarMgr.cpp
#	src/game/Chat/Channels/Channel.cpp
#	src/game/Conditions/ConditionMgr.cpp
#	src/game/DungeonFinding/LFGMgr.cpp
#	src/game/DungeonFinding/LFGScripts.cpp
#	src/game/Entities/Player/Player.cpp
#	src/game/Entities/Unit/Unit.cpp
#	src/game/Entities/Vehicle/Vehicle.cpp
#	src/game/Guilds/Guild.cpp
#	src/game/Handlers/ChannelHandler.cpp
#	src/game/Handlers/GuildHandler.cpp
#	src/game/Handlers/LFGHandler.cpp
#	src/game/Handlers/LootHandler.cpp
#	src/game/Handlers/MailHandler.cpp
#	src/game/Handlers/MiscHandler.cpp
#	src/game/Handlers/NPCHandler.cpp
#	src/game/Handlers/PetHandler.cpp
#	src/game/Handlers/PetitionsHandler.cpp
#	src/game/Handlers/QueryHandler.cpp
#	src/game/Handlers/QuestHandler.cpp
#	src/game/Movement/MotionMaster.cpp
#	src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
#	src/game/Server/WorldSession.cpp
#	src/game/Server/WorldSocket.cpp
#	src/game/Spells/SpellEffects.cpp
#	src/scripts/Commands/cs_modify.cpp
2017-08-19 20:31:24 +02:00
Barbz
f794ad2acf Fixed these 3 fatal errors for travis build (thanks to @Talamortis )
# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
2017-08-19 19:47:35 +02:00
Yehonal
c1586e0d99 changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs 2017-08-19 19:42:48 +02:00
Yehonal
f888e8c86b Preprocessor option for logging functions (#567)
* Update showoptions.cmake

* Update config.cmake.dist

* Example of preprocessor usage

Other work must continue for PR https://github.com/azerothcore/azerothcore-wotlk/pull/519
2017-08-19 18:37:47 +02:00
Yehonal
246826e002 import all pendings sql 2017-08-19 18:28:03 +02:00
PolarCookie
f5091ead96 Various quest fixes
The Troll Cave: needs 14 kills, not 10.
http://wow.gamepedia.com/Quest:The_Troll_Cave

The Grizzled Den
The wendigos at this den, especially at the entrance, are very dense. It looks as if they're double spawned a lot. It's very hard on lvl 6-8 players, as you're forced to grab 2 at a time.

The id list is gathered from this query.

SELECT guid FROM sunwell_world.creature
WHERE id in (1134,1135) AND guid NOT IN
( SELECT A.guid
  FROM sunwell_world.creature AS A
  JOIN trinity_world.creature AS B
  ON A.guid = B.guid
  WHERE A.id in (1134,1135) AND B.id IN (1134,1135)
);
Turns out TC is a subset of AC, with this fix both are the same. This result is much more tolerable.

The Perfect Stout: Rejold's New Brew has The Perfect Stout as prequest, not the otherway around.
http://www.wowhead.com/quest=415/rejolds-new-brew#comments:id=190337

Tunnel Rat:
Currently only 1 type drop ears, when all 6 should.
Some mobs have 4/5 drop rate.
http://www.wowhead.com/quest=416/rat-catching#comments:id=74106:reply=305815
Drop rate inside the cave is way higher.
http://www.wowhead.com/item=3110/tunnel-rat-ear#comments:id=353270

Red Silk Bandanas: Follows the second to last Defias Brotherhood quest, not Red Leather Bandanas.
http://wow.gamepedia.com/Quest:Red_Silk_Bandanas

Letter to Stormpike: Has Encrypted Letter as prequest.
http://wow.gamepedia.com/Quest:Letter_to_Stormpike

Kurzen Jungle Fighter: These should also drop Jungle Remedy.
http://www.wowhead.com/item=2633/jungle-remedy#comments:id=163587

Inspecting the Ruins: Has either They Call Him Smiling Jim or James Hyal as prequest, currently only the former.

Forked Mudrock Tongue droprate:
http://www.wowhead.com/quest=1204/mudrock-soup-and-bugs
http://www.wowhead.com/item=5883/forked-mudrock-tongue#dropped-by
Currently 25%, making it 40%.
From the comments some complain it's terrible, some say it's 100% and great.
I'm getting the suspicion it depends on the type of Mudrock. In the database there's 5 different Mudrocks, but as of patch 2.3, 4 turtle types were removed in favour of 1.
http://www.wowhead.com/npc=4396/mudrock-tortoise#comments
http://www.wowhead.com/npc=4398/mudrock-burrower#comments
http://www.wowhead.com/npc=4399/mudrock-borer#comments
http://www.wowhead.com/npc=4400/mudrock-snapjaw#comments

Trouble in Winterspring!: This is a breadcrumb quest, not a prequest.
http://www.wowhead.com/quest=6603/trouble-in-winterspring#comments:id=931604

Thick Yeti Fur droprate:
Increasing drop rates from 33% across the board.
http://www.wowhead.com/quest=3783/deprecated-are-we-there-yeti#comments:id=1043214
It varies between the types, and seems it was buffed at the end of wotlk.
http://www.wowhead.com/npc=7457/
http://www.wowhead.com/npc=7458/
http://www.wowhead.com/npc=7459/
http://www.wowhead.com/npc=7460/

Flesh Eating Worm and Rotting Worm:
These are the worms that spawn when a Rotted One in Duskwood and Rotting Cadaver in Western Plaguelands respectively dies.
http://wow.gamepedia.com/File:Flesh_Eating_Worm.jpg
I reduced the size based on the image from 2008, sorta got it right.
I reduced their damage to be 50% of the associated ghoul based on http://www.wowhead.com/npc=10925/rotting-worm#comments:id=245916.

Fool's Stout: Has Report Back to Fizzlebub as prequest.
http://wow.gamepedia.com/Quest:Report_Back_to_Fizzlebub

Half-Buried Bottle loottable:
This one was dropping Raptor Eggs at 71%, I'm taking the wild guess that that's wrong and just replacing it with the trinity core table.

SELECT name, gameobject_loot_template.*
FROM item_template
JOIN gameobject_loot_template ON item_template.entry = gameobject_loot_template.item
WHERE gameobject_loot_template.entry = 2032;
Run that for a quick laugh.

Atal'Ai Artifacts
I could hardly find any of these, turns out most of them were underground, so I moved them up a little.
Found 21 artifacts and 1 mithril deposit underground and 3 double spawned artifacts that are deleted.
Run around as a dwarf with the racial tracking to see what I mean.

Blue Pearls: These only drop from the Giant Clam objects in the vile reef.
Not Giant Clam objects in other zones nor clam items from murlocs.

Black Dragonflight Molt: This item is a guaranteed drop from the Hoard of the Black Dragonflight. Currently 88.8%
2017-08-19 18:06:31 +02:00
Kizarr
d388a36cf1 [Database] Floating Corpse DK Starting/Scarlet Infantryman missing weapons (#539)
* Scarlet Infantryman missing weapons.sql

Fixes missing weapons from Scarlet Infantryman.

*  DB: Instructor Razuvious - Event with Acherus Necromancer and Death Knight Initiate.sql

*  DB: Instructor Razuvious - Event with Acherus Necromancer and Death Knight Initiate

* Fixed path and added Header to file 1

* Update path and add header to file 2

* Update path and add header to file 3

* Missing Header

* Rename \data\sql\updates\pending_db_world\rev_1503139021197350000.sql to data/sql/updates/pending_db_world/rev_1503139021197350000.sql

* Rename data\sql\updates\pending_db_world\rev_1503138647187080900.sql to data/sql/updates/pending_db_world/rev_1503138647187080900.sql

* Rename data\sql\updates\pending_db_world\rev_1503138789369120900.sql to data/sql/updates/pending_db_world/rev_1503138789369120900.sql
2017-08-19 16:16:47 +02:00
Yehonal
562f41b10b Merge pull request #504 from PolarCookie/db_minor_quest_fixes_3
minor quest fixes 3
2017-08-19 16:15:59 +02:00
Yehonal
08d23bb7d4 Merge pull request #483 from PolarCookie/db_minor_quest_fixes
minor quest fixes
2017-08-19 16:14:34 +02:00
Yehonal
5e272e6c92 Merge pull request #474 from STARRHELD/master
DB: Minor Fixes
2017-08-19 15:01:54 +02:00
Yehonal
7cef10a653 importing peding sql 2017-08-19 13:05:33 +02:00
Alan
1903bfc43d Fixed Brewfest Building is Darkmoon Faire Building and log error
* Create rev_1500226875532818300

Fixed Brewfest Building is Darkmoon Faire Building

* Fixed Brewfest Building is Darkmoon Faire Building

Fixed Brewfest Building is Darkmoon Faire Building
2017-08-19 12:59:47 +02:00