372 Commits

Author SHA1 Message Date
Zyres
620cd3f4f3 Move hardcoded aiscripts to database for map 542
Related to #1113
2023-07-11 19:57:26 +02:00
Zyres
7793951d37 Move hardcoded aiscripts to database for map 585
Related to #1113
2023-07-10 22:25:57 +02:00
aaron02
e4a5c365e3 Fix Taxi for Cata and above, Fix Pathgenerator for all Versions (#1114)
* Fix Taxi for Cata and above, Fix Pathgenerator for all Versions, Add Flightmovement Generator

* mop build
2023-07-10 18:21:50 +02:00
Zyres
af2017742e Move hardcoded aiscripts to database for map 534
Related to #1113
2023-07-09 11:48:57 +02:00
Zyres
a671a0eb9d Move hardcoded aiscripts to database for map 565
@aaron02  there are some scripts left, check it out maybe we can move them too.
Related to #1113
2023-07-09 10:44:50 +02:00
Zyres
01c34cf071 Move hardcoded aiscripts to database for map 564
@aaron02 can you check pls
2023-07-09 09:47:10 +02:00
schnek
eb0efd440c adding localization files (locales_creature) 2023-05-19 14:40:30 +03:00
schnek
32b9748984 Resolved errors in cmake / added comments
Removed active triggers they are not used (invisibility type -15)
Increased maximum build id 48107, 12555
Removed std::string LogFileName, bool bLogChat - not used
Renamed men -> man
2023-03-04 23:02:06 +03:00
Zyres
37e1451fea Add additional feedback to trainer_properties and trainer_properties_spellset
Close #962
2023-02-11 07:35:54 +01:00
Zyres
baa5800a59 Corrected all points from #962 2023-01-31 19:10:06 +01:00
Zyres
2b2e82e745 Added trainer_properties and trainer_properties_spellset tables
* use spellsets for trainer spell definitions
* reduce amount of data in our world db
NOTE: leave the old tables there to check if something went wrong.
2023-01-28 11:27:02 +01:00
Zyres
d80fa7402f Add table origine to gameobject_spawns
Remove/Update duplicate go spawns from db
Update go commands to reflect the origine of a spawn
2022-12-21 15:09:58 +01:00
aaron02
e5cc4e3919 vio + ramparts 2022-11-10 22:24:47 +01:00
Zyres
affefd56bb Update world-db, related to #1048 2022-10-18 20:04:47 +02:00
aaron02
dd60faa8b9 Gameobjects (#1035)
* split up Gameobject Data

* some work on gos

* change respawn handling

* respawning now should be done

* respawns for non Database Objects

* put this in the cpp file

* Update Object.cpp

* go saving to db

* Fix header build

* fix errors

* change guid generation

* wrong guid

* Update GameObject.cpp

* Revert "Update GameObject.cpp"

This reverts commit 518227caf4267f3953f3cca2e2b9604874a601bf.

* Revert "wrong guid"

This reverts commit 1da2b8bb52f4bbc01f8941ff8c82d512c2666251.

* Revert "change guid generation"

This reverts commit 0bd67338c699abe29189b1b815cbc42fb282f05c.

* fix build

* fix gameobjects

* fix couple of bugs

* fix scripts

* fix fishing bobber i broke

* fix fishing

* codestyle

* Update GameObject.cpp

* codestyle

* Update GameObject.cpp

* Fix fishing splash animation

* fix event gameobjects

* Update GameEvent.cpp

* Some codestyle

* dont rename this

* More codestyle

* Move loot stuff under Gameobject_Lootable

* Fix problems with runeforging

* Add SQL files

* remove unused code

* Update GameObject.cpp

* fix spawn save to sql

* Update SQL file

* mapwide objects

* Fix build after rebase

* fix crash when respawning

* fix respawns for gameobjects loaded from database

* Update LootHandler.cpp

* fix build

* Update LootHandler.cpp

* add min max versions and override saving to database

* Update sql files

* forgot saving to database rearanging string

* fix a crash when despawning gameobjects

design flaw how i loaded gameobjects, reverted my changes and iterate trough spawnStore to find the entry i want for now

* codestyle

* make isLootable an override

* Refactor object owner

* Fix build

* codestyle

* codestyle

* rework saveToDB

Co-authored-by: Appled <346848+Appled@users.noreply.github.com>
2022-07-04 08:05:37 +02:00
Appled
67820de55b Fix spawns in Death Knight starting place for cata and mop 2022-06-12 02:42:04 +03:00
aaron02
a34872801c sql 2022-05-31 23:21:55 +03:00
Appled
5dd8bfb233 Fix spell channel in DK quest 2022-05-31 23:18:49 +03:00
schnek
2261854be5 disabled movement of npc spirit healer (#1027)
deleted double spawn id =134897, 310414, 310662
2022-05-28 07:43:57 +02:00
aaron02
83e98c09ba a rogues deal quest (#1023)
* a rogues deal quest

* Update Quest_TirisfalGlades.cpp

* Update Quest_TirisfalGlades.cpp

* correct quest for npc

* typo

* fix questgiver showing quests we already have.
2022-05-23 08:30:35 +02:00
Appled
d96e393728 Objects: Refactor building object updates
- Proper gameobject sparkling
- Loot works after relog and out of range
- Trigger npcs are properly invisible
2022-05-16 15:51:51 +03:00
aaron02
d1f180970f Map Management (#1011)
* initial commit

* Fix build after rebase and add missing changes

* transports now should teleport fine

* Creatures and gameobjects on transport should have normal view distance

* transport creatures/gos visible distance

* feels better now

* comments

* icc transport remove us

* transport removal for instance cases

* passengers also should mount on player mounts :P

* Slight edit in transport removal code

* Fix crash in group loot code

* Make sure CompleteLoading is called also when map is invalid

* atempt to fix vehicles

* had a crash here so lets check if its inside the container

* rework some encounter related stuff

* encounter rework pt2

* Crashfix in unit enter and leave combat

* tbc and cata support

* Fix tbc and cata includes

* fix build cata

* respawn rework pt1

* fix some commands

* fix crash at reset instance

maybe dont use casts in the future stick to spawnid only

* fix crash

* Fix some warnings

* One more warning

* One more

* added gm command back

* fixed instance saves

* Update date for character db sql file

* fix sql error

* Update InstanceMgr.cpp

* fix areatrigger messages and added istance lockout

* define number

* fix build cata

* build tbc

* mop build

* cata fix modelscale

we can safely use getScale instead of the dbc value here

* fix crash in getCollisionHeight

* cata activate areatrigger opcode

* _t

* rename

* fix tbc instance difficulty data

* fix classic build

* correct max players

* fix crash and added instance bind response

* Fix todo

* Fix mutexes around object in range sets

* Fix sql charsets

* Fix crash when updating area auras

* change threading

* Update WorldMap.cpp

* fix random crash on startup

* change name

* delete a bunch of now unused mutexes

* correct misstake

* perfect update cycle

* Remove redundant mutex

* Some changes to map updating

* Fix timers for sessions and gameobjects

* Use c++17 locking method

* Some style changes

* delete no longer used MapMgrUpdater

* fix Respawn Handling on Continents

* More style and warning fixes

* Add in range container mutexes back

* Use shared lock around player container

* fix error msg

* Some test code for that startup crash

* fix Startup Crash

* Delete Redundant Cell Loading

now we load all Cells by default for Instances no need to call it again

* fix message

* 1 more attempt to fix it

* increase visibility of destructible buildings

* fix instance save message

* fix animtier

* Fix object visibility when dead

* Fix crash and areatrigger packet

* Remove EventMgr stuff from transporters

* change delayed transport update

* change mutex at insert and remove

* Revert "change mutex at insert and remove"

This reverts commit d7b15bb27d2bdef1a08dd5aee3a923f82d88c05e.

* fix bg crash

* execute new Map

* load cells in bgs

* remove the model on despawn

* fix crash when removing a map

* fix removing players

* Update GameObject.cpp

* fix vmap liquid issue

* Fix transporter delayed action mutex issue

* Update spell min/max range functions

* Revert unnecessary change

* Possible fix for startup crash

* Call for correct override method in GameObject despawn

* Fix some issues in finding correct area entry

* Fix typo

* Change threading to AEThread

* Port missing changes to cata extractors

* Remove unused includes

* fix battlegrounds ending soon

* remove unused function

* fix crash where object is nullptr

* Fix crash on map shutdown

* Revert unnecessary change

* review from appled pt 1

* review from appled pt2

* fix build  cata and mop

* pch build attempt

* Add more missing includes for non PCH build

* Fix non pch build

* review from appled

Co-authored-by: Appled <346848+Appled@users.noreply.github.com>
Co-authored-by: Zyres <mr@eichbuehlerhof.de>
2022-05-10 17:58:38 +02:00
schnek
d674693601 add data for table locales_creature 2022-04-06 17:06:59 +03:00
aaron02
1e7e13766d Vehicle Handling (#987)
* vehicle handling

* Spells: Handle custom base points correctly

* fix Vehicle and Movement
fix Vehicle Position Updates, Fix Vehicles make no Damage

* Units: Add functions to handle unit spell immunity

* fix a crash on respawn
vehicles shouldnt chase

* fix cata vehicles
Fix Not able to switch seats from Acessory to Base
crashfixes and codestyle

* Auras: Aura effects should be properly updated on aura refresh

* review from appled

* review from appled

Co-authored-by: Appled <346848+Appled@users.noreply.github.com>
2022-01-27 07:45:28 +01:00
Appled
f652f88d45 Players: Correct home bind position 2022-01-16 04:42:13 +02:00
Appled
0ac2968064 SQL: Move some player starting spells to starting skills 2022-01-13 12:43:36 +02:00
aaron02
8ce5875f37 requested changes by appled and added void storage 2021-11-23 23:23:00 +01:00
Appled
2c0f8f10de Spells: Correct some player starting spells
Spells: Correct two mage passive spells in Cata
2021-11-12 01:46:50 +02:00
Zyres
b1f2885dd0 Remove invalid world-db updatefiles 2021-11-10 14:52:27 +01:00
schnek
a574ca0f0e added localization of the table "locales_creature" 2021-11-08 23:40:35 +03:00
Appled
ea1547bc32 Players: Players should now start with correct class spells and skills in all versions 2021-11-08 16:22:34 +02:00
Zyres
5b129e9291 Fix sql update file
*Note ID 91 was an duplicate. Please test your update files before committing.
2021-10-31 10:01:48 +01:00
aaron02
5c458bf597 Update Raid_Magtheridons_Lair.cpp
nearly fully scripted magtheridon
2021-10-31 00:34:48 +03:00
aaron02
bdeba95cc3 Deleted all Magtheridon Scripts
Unstable, Buggy, Not Working

Some more cases for Creature Respawns
2021-10-31 00:34:20 +03:00
aaron02
cbf22d29a1 Update 20211015-01_fuelling_the_project.sql 2021-10-17 11:50:26 +02:00
aaron02
f9aa97b46c Merge branch 'quests' of https://github.com/aaron02/AscEmu into quests 2021-10-17 11:48:06 +02:00
aaron02
e6687c12c5 update sql 2021-10-17 11:47:51 +02:00
Zyres
e8d0ad75ce Merge branch 'develop' into quests 2021-10-17 08:10:50 +02:00
aaron02
fc9c4284a4 removed redundant newline 2021-10-17 00:32:57 +02:00
aaron02
b385c3fa91 sql 2021-10-17 00:27:12 +02:00
aaron02
a7771c75b8 hellfire_ramparts mobgroups and formations 2021-10-15 23:35:49 +02:00
aaron02
fd1651f524 corrected sql 2021-09-30 20:39:46 +02:00
aaron02
6f37b37dab sql file 2021-09-30 20:37:57 +02:00
Zyres
45ea4ad058 Update creature_spawns with new paths/movetype 2021-09-08 21:30:42 +02:00
Zyres
8ca920d3b7 Finish all possible moveable classic instance scripts to db
* fix ai_agents data
* fix already moved scripts (event changed from 0 to 5)
* undo onLoad function in 5f81bf2264
@aaron02  check out the already moved data and tell us if it is correct or not.
2021-08-29 12:39:27 +02:00
Zyres
f401616fbc Move hardcoded scripts to db 2021-08-25 22:11:39 +02:00
Zyres
2e2a357c6f Corrections for multiversion db loading 2021-08-25 11:33:47 +02:00
Zyres
675420a707 Update 20210818-01_creature_ai_scripts.sql 2021-08-18 22:47:58 +02:00
Zyres
34d4049d13 Update 20210818-01_creature_ai_scripts.sql
delete id 87 from table world_db_version to automatically reapply the db update file
2021-08-18 22:00:08 +02:00
Zyres
652ab6b535 Merge data from creature_ai_texts into new creature_ai_scripts 2021-08-18 20:19:11 +02:00