Commit Graph

90 Commits

Author SHA1 Message Date
AzerothCoreBot 18f498304b chore(DB): import pending files
Referenced commit(s): 28d1913276
2022-10-20 12:41:36 +00:00
schell244 28d1913276 fix(Core/Event): Rework STV Fishing Extravaganza (#12506)
* rework riggle bassbait script

* make sure STV_FISHING_HAS_WINNER gets reset

* add script for npc Jang, some improvements for Riggle script. TODO: Jang quest menu and Fishbot5000 quest condition

* fix jang not offering quest

* script fishbot 5000

* some cleanup

* some more cleanuo

* endline

* minimum fishing req for quests is 150

* min fishing skill for flyer is 150

* link box to correct event

* riggle: broadcast texts, announcement happens when pools despawn

* remove redundant code

* Convert Fishbot5000 to db, cleanup comments

* add missing end line - finished now.

* attempt to fix event not launching in real time

* fix condition for world states, when value is 0, convert jang to db

* keep jang gossip also when event has a winner

* small further improvements

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* apply suggestions

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* apply suggestions

* apply one more suggestion

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/World/npcs_special.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* apply suggestion

* use Talk() instead of Yell()

* use Yell() without passing LANG_UNIVERSAL

Co-authored-by: schell244 <>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-10-20 08:39:30 -04:00
AzerothCoreBot 7ee14d44bf chore(DB): import pending files
Referenced commit(s): 08d74c5d1c
2022-10-13 19:11:12 +00:00
M'Dic 08d74c5d1c fix (updates\sql): Move orientation to pending (#13399) 2022-10-13 15:09:04 -04:00
AzerothCoreBot 8987b8f035 chore(DB): import pending files
Referenced commit(s): 1c6eab5856
2022-08-07 21:24:09 +00:00
UltraNix 1c6eab5856 fix(Core): Crashfix. (#12643) 2022-08-07 18:22:12 -03:00
AzerothCoreBot 4378493acc chore(DB): import pending files
Referenced commit(s): 572a680c16
2022-08-02 02:23:19 +00:00
UltraNix 572a680c16 fix(Core/Movement): Improvements to taxi flight movement generator: (#12347)
Changed multi-segment taxi paths to fly nearby flight masters along the way, not directly through them.
Taxi cost on multi-segment paths is now charged per segment when it is started.
Properly send taxi node status on login, as well as if the taxi master is out of range.
Apply reputation discount to all points in multi-segment paths.
Properly clean up list of taxi destinations upon arrival at final node.
Teleport players to the destination taxi node location instead of their current ground position.
Don't start a spline with just 1 point in FlightPathMovementGenerator
Source: TrinityCore.
2022-08-01 23:21:11 -03:00
AzerothCoreBot a4af113685 chore(DB): import pending files
Referenced commit(s): a6a2ca8ef7
2022-05-24 13:35:53 +00:00
Hanabi a6a2ca8ef7 feat(Core/GameObjects): Instance gameobject save data implementation (#11113)
* fix(Core): Save gameobject state on instances

Currently, azerothcore doesn't save gameobject states on instances.
Whenever there's a re-start or crash, the instance's gameobjects and
their states aren't saved, producing un-wanted behaviours and blocking instances at times.

Implemented CRUD for new table `instance_saved_data` that holds the states of gameobjects.

- When worldserver launches and gameobjects are loaded, this will check
  if this object's state exists on the DB and sets the previous state.
- On instance deletion (reset) these states are also removed based on
  the instance ID.
- Whenever a gameobject state changes inside a dungeon or raid, we save
  on the database the set state.

* Select query to synchronous and used FindMap()

* loading gameobject states on create

* reseting instance saved data

* missing reset methods and on create state

* database structure

* Update src/server/game/Entities/GameObject/GameObject.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Entities/GameObject/GameObject.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Entities/GameObject/GameObject.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Entities/GameObject/GameObject.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Entities/Player/PlayerMisc.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Groups/Group.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* codestyle

* table changes

* table style

* codestyle

* table changes for columns

* data sanitization

* todo:

- Finish loading db data into the containers
- Using containers to find data
- How to get data from ObjectMGR inside Gameobject?

* loading on start up and db changes

* Removing unused data structure

* Uninitialised integer

* Whitespace

* clean-up and hooks to save states on memory

* Codestyle MySQL deprecated backticks

* i dont understand codefactor

* build

* Update data/sql/updates/pending_db_world/rev_1643395587559675400.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/Globals/ObjectMgr.h

Co-authored-by: Kargatum <dowlandtop@yandex.com>

* review changes

* unecessary removal

* pushback instead of emplace

* wrong database update

* Update ObjectMgr.cpp

* missing check

* removing entry from the PR

* missing removals

* last delete

* build

* aha! Found the culprit for the sudden assert errors

* type safety, save only important gameobjects

* static cast to unsigned short

* Update data/sql/updates/pending_db_characters/rev_1643629468629316100.sql

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* type changes

* queries fix

* fix build

* enabling which gameobjects to save on the database

* deadmines iron clad door

* Adjustment to gameobject onj create state and instances:

- Gnomeregan doors and Grubbis boss state
- Deadmines missing doors
- Stratholme gameobjects state saved

* forgot emi blastfuse change to despawn

* Leaving group logic

* codestyle

* fixing merge issues

* prevent bad behaviour

* brain meltdown

* Update data/sql/updates/pending_db_characters/rev_1643629468629316100.sql

* Update data/sql/updates/pending_db_world/rev_1649359139539727000.sql

Co-authored-by: Claudiodfc <54484196+claudiodfc@users.noreply.github.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Kargatum <dowlandtop@yandex.com>
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2022-05-24 10:33:45 -03:00
AzerothCoreBot 9a34d981da chore(DB): import pending files
Referenced commit(s): 026941c39e
2022-04-28 17:39:45 +00:00
Kitzunu 026941c39e refactor(DB): Handle SQL files in a new way (#11494)
* refactor(DB): Handle SQL files in a new way

* remove proof that it works files

* Update rev_1650721405699287200.sql

* Update rev_1650721339143444200.sql

* Update rev_1650721386624384400.sql

* fix build

* fix
2022-04-28 14:37:37 -03:00
AzerothCoreBot 97a65f9628 chore(DB): import pending files
Referenced commit(s): ad520391d0
2022-04-24 14:00:19 +00:00
Kitzunu b4bcdd94d1 feat(DB): release ACDB 6.0.0 (#11515) 2022-04-24 15:56:31 +02:00
AzerothCoreBot 61de612641 chore(DB): import pending files
Referenced commit(s): 7ecd738674
2022-04-19 21:45:04 +00:00
Kitzunu 7ecd738674 feat(Core/Mail): Server mail (#10628) 2022-04-19 23:43:14 +02:00
AzerothCoreBot 9b49bf65f6 chore(DB): import pending files
Referenced commit(s): 130bebe4fe
2022-03-01 12:59:43 +00:00
UltraNix 73957b95f6 fix(Core/Mail): do not show expired mails in packets (#10560)
Fixed #5920
2022-03-01 13:57:37 +01:00
AzerothCoreBot faf88c7f9c chore(DB): import pending files
Referenced commit(s): fa02edb0ae
2022-02-16 22:13:56 +00:00
Francesco Borzì fa02edb0ae fix(Core/Battleground/PvPstats): correct bracket_id for AV (#10677) 2022-02-16 23:11:58 +01:00
AzerothCoreBot 5ee89ebfba chore(DB): import pending files
Referenced commit(s): a689775891
2022-01-29 13:37:12 +00:00
Kargatum a689775891 feat(DB): release ACDB 5.0.0 (#10292)
* auth

* char

* world

* archive

* new files

* v

* correct auth db

* add support get last file from archive

* correct world updates

* fix auth

* pendinig to normal

* add pending auth

* add pendings

* smallint

* MEDIUMINT
2022-01-29 10:35:10 -03:00
AzerothCoreBot 2fec54c442 chore(DB): import pending files
Referenced commit(s): 18c2b07609
2022-01-25 20:59:48 +00:00
Bogir[rus] 18c2b07609 fix(Core/Logs): improve log money (#10297)
* Fixed wrong decription of error

The Logger was pointing to the wrong table. Text is missing not in `broadcast_text_locale`, but in `broadcast_text`.

* fix(DB/Logger): fix logs topics and types

Correction of texts in the topic and the type of logged action. Getting rid of `<>` tags, which can cause certain difficulties when processing logs by the administrator. Now we can sort entries by the type of logged actions

* fix log_money

* fix log_money

* fix log_money

* fix log_money

* Update ObjectMgr.cpp

* Update rev_1642821969869259834.sql

* reduce memory usage

* Update AuctionHouseMgr.cpp

* Update Guild.cpp

* Update MailHandler.cpp

* Update TradeHandler.cpp

* fix typo

* Update data/sql/updates/pending_db_characters/rev_1642821969869259834.sql
2022-01-25 17:58:08 -03:00
AzerothCoreBot 03c218b31e chore(DB): import pending files
Referenced commit(s): d4963f3b83
2021-12-26 16:31:35 +00:00
Skjalf d4963f3b83 chore(DB/SQL): fix SQL imports #9886 2021-12-26 13:29:47 -03:00
AzerothCoreBot 8ec0fbee18 chore(DB): import pending files
Referenced commit(s): 58302e4196
2021-12-26 11:40:52 +00:00
Skjalf 58302e4196 feat(Core/Player): Implement player specific settings (#9483) 2021-12-26 08:39:15 -03:00
AzerothCoreBot 97effd83d1 chore(DB): import pending files
Referenced commit(s): 70d8b88f3b
2021-11-06 13:07:47 +00:00
UltraNix 70d8b88f3b feat(Core/Modules): Preparation to implement progression-system module. (#8837) 2021-11-06 10:06:12 -03:00
AzerothCoreBot 9e3949232c chore(DB): import pending files
Referenced commit(s): 410c5e7d34
2021-10-14 12:05:13 +00:00
Kargatum 410c5e7d34 feat(DB): add support squash db for archive dir (#8496)
* feat(DB): add support squash db for archive dir

* added hash

* added archive path
2021-10-14 14:03:10 +02:00
AzerothCoreBot 792b99cbc9 chore(DB): import pending files
Referenced commit(s): 26f1aaa0c8
2021-09-25 17:13:02 +00:00
UltraNix 26f1aaa0c8 fix(Core/Players): Properly save resting state to DB. (#8014)
Fixes #7782
2021-09-25 18:16:10 +02:00
AzerothCoreBot bd956b5a57 chore(DB): import pending files
Referenced commit(s): 7406a01ac3
2021-09-13 18:59:16 +00:00
UltraNix 7406a01ac3 fix(Core/Spells): several improvements to cooldowns (#7559)
- Reworked spell category cooldowns.
- Implemented category cooldowns for pets.
- Properly shows pet spell cooldowns in player's UI.
- Corrected pet spell cooldowns with infinity duration.
- Do not add/remove infinity spell cooldown on aura apply/remove if casted by item.
- Closes #5263
2021-09-13 20:57:48 +02:00
AzerothCoreBot b7332b9305 chore(DB): import pending files
Referenced commit(s): a3e3fd029f
2021-07-21 10:06:40 +00:00
robinsch a3e3fd029f fix(Core/Item): prevent possible items dupe (#6943) 2021-07-21 12:05:12 +02:00
AzerothCoreBot 6fa2ad4e33 chore(DB): import pending files
Referenced commit(s): d488acd29b
2021-07-08 15:06:36 +00:00
Necropola d488acd29b fix(DB/character_skills): Fix Riding Skill messed up by PR #6015 (#6768)
- Closes #6634
2021-07-08 17:05:04 +02:00
AzerothCoreBot 5f74bd8ebb chore(DB): import pending files
Referenced commit(s): ac1d8b440b
2021-07-06 10:04:50 +00:00
Kitzunu ac1d8b440b fix(Script/Spell): update character_skill to have riding max 300 (#6671)
Co-Authored-By: Ariel Silva <ariel-@users.noreply.github.com>
2021-07-06 12:03:10 +02:00
AzerothCoreBot 7ff977cce5 chore(DB): import pending files
Referenced commit(s): c6173e88bd
2021-06-30 18:09:33 +00:00
Axel Cocat c6173e88bd feat: reorder character selection screen (#6555)
* feat: reorder character selection screen
2021-06-30 20:08:06 +02:00
AzerothCoreBot 4eaa4229e6 chore(DB): import pending files
Referenced commit(s): 32b7ba5500
2021-06-23 10:49:00 +00:00
UltraNix a9b2ddba7a fix(Core/Mail): cleanup pending auction sale mail (#6022) 2021-06-23 12:46:48 +02:00
AzerothCoreBot 2a2e54d8c5 chore(DB): import pending files
Referenced commit(s): 57911957ad
2021-06-22 00:53:10 +00:00
UltraNix 2dbb1c6e96 fix(DB/ItemLoot): Killed MYSQL error introduced in 289f140ab. (#6446)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2021-06-21 23:34:08 +02:00
AzerothCoreBot 4d20442a1e chore(DB): import pending files
Referenced commit(s): 18a02e9c03
2021-06-18 19:50:37 +00:00
UltraNix 289f140ab1 fix(Core/Loot): Fixed loading conditioned item loot. (#6337)
- Fixes #6326
2021-06-18 17:07:24 +02:00