1778 Commits

Author SHA1 Message Date
90cded16d9 Merge branch 'development' into more-events 2022-07-24 12:05:35 -04:00
44d8a6482e call deregisterRegion appropriately 2022-07-24 13:33:48 +03:00
29bdb7f3f6 Merge branch 'development' into questing 2022-07-24 12:16:22 +03:00
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
8050f0cc07 and misc bug fixes 2022-07-23 12:28:49 +03:00
02a56fcec4 Major questing improvements 2022-07-23 12:27:14 +03:00
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
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
f4d1537aab Fix taking battle pass rewards 2022-07-22 09:47:41 -07:00
e5ff253624 Add unlockall command to unlock all openstates 2022-07-22 09:26:00 -07:00
705bee0595 Fix battle pass manager saving with 0 id 2022-07-22 08:35:37 -07:00
7254fe1612 Set setChooseAvatarGuid properly 2022-07-22 08:30:11 -07:00
0d17c4a088 Implement food buffs 2022-07-22 03:46:59 -07:00
e9a95b89cf Use sorted containers for commands & aliases 2022-07-22 19:08:26 +09:30
104e04f70a Change commands to use new usage message method. 2022-07-22 19:08:26 +09:30
2cfbe78184 Refactor Command usage and description strings 2022-07-22 19:08:26 +09:30
e9464784bb Updated Russian localization (#1543)
* updated russian localization

* Update ru-RU.json
2022-07-22 02:17:58 -07:00
f15262dd3e Refactor excel datas (Mainly item data) 2022-07-22 00:53:12 -07:00
c0418067d6 Add kcpInterval to the config 2022-07-21 18:39:39 -07:00
8651cdd12b Rename hasSentAvatarDataNotify() to hasSentLoginPackets() 2022-07-21 16:27:43 -07:00
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
62e54010ad Lower kcp interval to 20 2022-07-21 16:23:59 -07:00
a07b3f21e6 Bump project version 2022-07-21 11:36:49 -04:00
c9c45e4c32 Partial fix for player attacks in co-op not working v1.2.2-dev 2022-07-21 03:42:16 -07:00
ad0225df3a Make Lint_Commit not fail on no commit 2022-07-21 01:40:27 -07:00
5e041b333b Forgot to remove extra player var from TeamManager 2022-07-21 01:19:28 -07:00
7189e3701d Use getOpenStateMap() in PlayerOpenStateManager 2022-07-21 01:06:17 -07:00
f87088f4f4 Update languages [skip actions] 2022-07-21 00:22:26 -07:00
ae2d1fe438 Fix whitespace [skip actions] 2022-07-21 00:22:26 -07:00
510d564bcb Dont use discriminator for PlayerCollectionRecords 2022-07-21 00:21:00 -07:00
bc701cfad0 Add missing scene load state to PacketPlayerEnterSceneNotify 2022-07-21 00:21:00 -07:00
b9b0f00232 Move PlayerManagers and GameServerSystems around 2022-07-21 00:21:00 -07:00
8b4212ffb9 Refactor PacketOpcodesUtil to be more... useful 2022-07-21 00:21:00 -07:00
52ee229e96 Split config debugLevel into logPackets (Game) and logRequests (Dispatch) 2022-07-21 00:21:00 -07:00
408fa90728 Move config java files to their own package 2022-07-21 00:21:00 -07:00
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
f22b92b08f Add a save() function to player managers 2022-07-21 00:21:00 -07:00
abccec785b Delete AccountManager.java
This file was never used by anyone. RIP.
2022-07-21 00:21:00 -07:00
fc16f9d694 Refactor out InsectCaptureManager 2022-07-21 00:21:00 -07:00
f020cefd80 Set default player position to be the starting position 2022-07-21 00:21:00 -07:00
5feabc8f9a Add Entity::OnInteract 2022-07-21 00:21:00 -07:00
1a2f7fb5a7 Forgot to remove extra player variable from AbilityManager 2022-07-21 00:21:00 -07:00
cc5b292bc3 Refactor Player::GetPos() -> Player::GetPosition() 2022-07-21 00:21:00 -07:00
2e19e70fe1 Refactor game server managers to systems 2022-07-21 00:21:00 -07:00
d20e9d1f72 Refactor player managers 2022-07-21 00:21:00 -07:00
3957616b6c Fix 2.8 banners, readd Beginner's banner 2022-07-18 22:29:00 -07:00
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
b266854c72 Handle existing players who might already have passed a level. 2022-07-18 11:20:33 -07:00
af7bbdaadd Set certain OpenStates on level-up. 2022-07-18 11:20:33 -07:00
6c49fab137 Block loader (sort and merge gadgets into different blocks) (#1517)
Original commits:

* block loader
* fix
* fix
* fix foolish bug
* add scales
* rename
* set to 600
* nitpick

Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-07-18 19:43:55 +09:30