Commit Graph

1780 Commits

Author SHA1 Message Date
KingRainbow44 886c2e2f43 Add `EntityDeathEvent` and implementations 2022-07-24 13:20:42 -04:00
KingRainbow44 a13725b1cb Add a `Location` class (Scene + Position) 2022-07-24 12:17:38 -04:00
KingRainbow44 7397c7f300 Remove deprecated class 2022-07-24 12:08:59 -04:00
KingRainbow44 90cded16d9 Merge branch 'development' into more-events 2022-07-24 12:05:35 -04:00
akatatsu27 44d8a6482e call deregisterRegion appropriately 2022-07-24 13:33:48 +03:00
akatatsu27 29bdb7f3f6 Merge branch 'development' into questing 2022-07-24 12:16:22 +03:00
GanyusLeftHorn d0edd39465 Read Open States from Excels (#1557)
* Make sure we never access PlayerOpenStateManager::map directly.

* Read OpenStates from excels.

* Add defaultState

* Replace hardcoded open states with the ones read from excels.

* Don't send change notify when unlocking on login.

* Add open state blacklist for default unlocks.

* Add a way to temporarily set open states for dev

* Remove old OpenState.java

* Fix UnlockAllCommand

* Change condType to an enum.
2022-07-24 00:12:07 -07:00
akatatsu27 8050f0cc07 and misc bug fixes 2022-07-23 12:28:49 +03:00
akatatsu27 02a56fcec4 Major questing improvements 2022-07-23 12:27:14 +03:00
KingRainbow44 956d4023c7 Merge branch 'development' into more-events
# Conflicts:
#	src/main/java/emu/grasscutter/command/commands/TeleportAllCommand.java
#	src/main/java/emu/grasscutter/game/entity/EntityAvatar.java
#	src/main/java/emu/grasscutter/game/entity/GameEntity.java
#	src/main/java/emu/grasscutter/game/managers/mapmark/MapMarksManager.java
2022-07-22 17:52:58 -04:00
RBNXI 89717f3c15 Translated new changes in languages files to Spanish
Just realized that some commits have changed the language files to add some new things, so this is the Spanish translation of those... things.
2022-07-23 03:01:58 +09:30
Melledy f4d1537aab Fix taking battle pass rewards 2022-07-22 09:47:41 -07:00
Melledy e5ff253624 Add `unlockall` command to unlock all openstates 2022-07-22 09:26:00 -07:00
Melledy 705bee0595 Fix battle pass manager saving with 0 id 2022-07-22 08:35:37 -07:00
Melledy 7254fe1612 Set `setChooseAvatarGuid` properly 2022-07-22 08:30:11 -07:00
Melledy 0d17c4a088 Implement food buffs 2022-07-22 03:46:59 -07:00
AnimeGitB e9a95b89cf Use sorted containers for commands & aliases 2022-07-22 19:08:26 +09:30
AnimeGitB 104e04f70a Change commands to use new usage message method. 2022-07-22 19:08:26 +09:30
AnimeGitB 2cfbe78184 Refactor Command usage and description strings 2022-07-22 19:08:26 +09:30
Miralyn e9464784bb Updated Russian localization (#1543)
* updated russian localization

* Update ru-RU.json
2022-07-22 02:17:58 -07:00
Melledy f15262dd3e Refactor excel datas (Mainly item data) 2022-07-22 00:53:12 -07:00
Melledy c0418067d6 Add `kcpInterval` to the config 2022-07-21 18:39:39 -07:00
Melledy 8651cdd12b Rename `hasSentAvatarDataNotify()` to `hasSentLoginPackets()` 2022-07-21 16:27:43 -07:00
Melledy b505b0825a Fix host team size not changing when a player joins their world for the first time 2022-07-21 16:24:04 -07:00
Melledy 62e54010ad Lower kcp interval to 20 2022-07-21 16:23:59 -07:00
Magix a07b3f21e6 Bump project version 2022-07-21 11:36:49 -04:00
Melledy c9c45e4c32 Partial fix for player attacks in co-op not working 2022-07-21 03:42:16 -07:00
AnimeGitB ad0225df3a Make Lint_Commit not fail on no commit 2022-07-21 01:40:27 -07:00
Melledy 5e041b333b Forgot to remove extra player var from TeamManager 2022-07-21 01:19:28 -07:00
Melledy 7189e3701d Use `getOpenStateMap()` in PlayerOpenStateManager 2022-07-21 01:06:17 -07:00
github-actions f87088f4f4 Update languages [skip actions] 2022-07-21 00:22:26 -07:00
github-actions ae2d1fe438 Fix whitespace [skip actions] 2022-07-21 00:22:26 -07:00
Melledy 510d564bcb Dont use discriminator for `PlayerCollectionRecords` 2022-07-21 00:21:00 -07:00
Melledy bc701cfad0 Add missing scene load state to PacketPlayerEnterSceneNotify 2022-07-21 00:21:00 -07:00
Melledy b9b0f00232 Move PlayerManagers and GameServerSystems around 2022-07-21 00:21:00 -07:00
Melledy 8b4212ffb9 Refactor `PacketOpcodesUtil` to be more... useful 2022-07-21 00:21:00 -07:00
Melledy 52ee229e96 Split config `debugLevel` into `logPackets` (Game) and `logRequests` (Dispatch) 2022-07-21 00:21:00 -07:00
Melledy 408fa90728 Move config java files to their own package 2022-07-21 00:21:00 -07:00
Melledy 55541fa1da Add a `loadReader` helper function to DataLoader
Also minor name changing on a few DataLoader methods
2022-07-21 00:21:00 -07:00
Melledy f22b92b08f Add a `save()` function to player managers 2022-07-21 00:21:00 -07:00
Melledy abccec785b Delete AccountManager.java
This file was never used by anyone. RIP.
2022-07-21 00:21:00 -07:00
Melledy fc16f9d694 Refactor out `InsectCaptureManager` 2022-07-21 00:21:00 -07:00
Melledy f020cefd80 Set default player position to be the starting position 2022-07-21 00:21:00 -07:00
Melledy 5feabc8f9a Add `Entity::OnInteract` 2022-07-21 00:21:00 -07:00
Melledy 1a2f7fb5a7 Forgot to remove extra player variable from `AbilityManager` 2022-07-21 00:21:00 -07:00
Melledy cc5b292bc3 Refactor `Player::GetPos()` -> `Player::GetPosition()` 2022-07-21 00:21:00 -07:00
Melledy 2e19e70fe1 Refactor game server managers to systems 2022-07-21 00:21:00 -07:00
Melledy d20e9d1f72 Refactor player managers 2022-07-21 00:21:00 -07:00
AnimeGitB 3957616b6c Fix 2.8 banners, readd Beginner's banner 2022-07-18 22:29:00 -07:00
AZthemute 3eb85b82a7 Updated banners for 2.8, added comments to the banners and removed beginner's banner (it was breaking things) 2022-07-18 13:40:58 -07:00