AnimeGitB
b3a7cde76c
Remove crazy high AEXP drops from default chest rewards
2022-08-20 14:06:28 +09:30
AnimeGitB
48d31e45ed
Fix talentcommand message key
2022-08-19 16:52:02 +09:30
AnimeGitB
fb1bacb0f8
Refactor avatar skilldepot and constellation/talent changing
...
Ensures Traveler retains talent levels and constellations on inactive elements when switching elements.
Relevant for any other skillDepot-changing activities like Windtrace too, though keeping those in the db might not be as useful.
Refactor avatar talent upgrade and access
Refactor skillExtraCharges
2022-08-19 16:43:57 +09:30
AnimeGitB
7d523efd41
Avoid allocations on Map::putIfAbsent usage
...
Map::computeIfAbsent only runs the passed constructors when it needs to
2022-08-19 12:47:50 +09:30
AnimeGitB
0cb75aeb5f
Add iterable payItems methods
...
Shame they could never be fully generic, but oh well
2022-08-18 23:02:26 +09:30
AnimeGitB
efa69c007d
Change unlocked scenes from lists to sets
2022-08-18 22:38:55 +09:30
AnimeGitB
c3450e8905
Handbooks: use some sorted maps
2022-08-18 22:06:08 +09:30
AnimeGitB
9e0d6538e9
Lombokify some more getters
2022-08-17 21:11:40 +09:30
AnimeGitB
02deeb2852
Remove erroneous references to excel skilldata instead of avatar skilldata
...
Refactor team resonances and correct login behaviour and less-than-full-party behaviour
2022-08-17 21:07:29 +09:30
AnimeGitB
48cd9f6be2
Don't use UIDs as initial capacity for chat history
2022-08-17 03:20:06 +09:30
AnimeGitB
fab7e4a461
ChatSystem nitpick
2022-08-17 00:17:41 +09:30
GanyusLeftHorn
dc153572dd
Fix chat welcome messages and some slight refactoring.
2022-08-17 00:12:27 +09:30
AnimeGitB
97779fd35a
Fix deprecated chat references
2022-08-16 15:13:51 +09:30
2y8e9h22
c115fe1abe
update zh-CN.json ( #1662 )
...
Original commits:
* .
* Apply suggestions from code review
2022-08-16 10:11:26 +09:30
Luke H-W
dc9cef8ab7
Refactoring ( #1660 )
...
* Refactor a couple of iterators
* Use side-effect instead of second iterator
* Make World::onTick return shouldDelete instead of success
* Replace Shop iterator with side effects
* Scene
* Clean up Expeditions
* Refactor Expeditions
* Clean up Expeditions, Player
* Limit Expeditions by AR
* Lombokify props
Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-08-15 23:19:13 +09:30
Magix
3ec411b11a
Bump config version.
2022-08-14 11:00:29 -04:00
dragon
3bd00fcb07
Update ConfigContainer.java ( #1646 )
...
make it more similar to official behavior.
2022-08-11 21:27:45 +09:30
dragon
823980046e
make fishhook_tp configurable
2022-08-11 21:21:30 +09:30
AnimeGitB
46223c8976
Refactor Json helper functions to JsonUtils
2022-08-11 17:59:08 +09:30
AnimeGitB
c6323e9759
Funnel all gson calls into helper functions
...
Add deprecated getGsonFactory for plugin compat until 3.0
2022-08-11 17:59:08 +09:30
Luke H-W
76fcbb477b
Remove beta message
2022-08-11 16:21:59 +09:30
AnimeGitB
325fe6c44a
Fix TalentCommand for Traveler
2022-08-11 16:21:27 +09:30
dragon
edd4c8ca88
fix:command player said to server won't be shown at chat history ( #1643 )
...
Original commits:
* fix:command player said to server won't be shown at chat history
* Update ChatManager.java
2022-08-11 15:20:08 +09:30
GanyusLeftHorn
04f0fae898
Handle Unlocking of Waypoints and Statues ( #1608 )
...
Original commits:
* Add necessary protos for scene point/area unlocking.
* Rename PlayerOpenStateManager to PlayerProgressManager and move data to Player.
* Handle unlocking of waypoints.
* Add primo rewards for waypoint unlock.
* Statue unlocking.
* Add statue quest on player login.
* I forgor to add an unlock command.
* Give EXP as reward, fire quest trigger, make EXP UI show up.
2022-08-10 19:33:47 +09:30
AnimeGitB
c624479439
Fix an edge case that breaks embryos if resources are loaded early
2022-08-10 17:00:43 +09:30
Magix
3121e3e67d
Introduce a new arguments parser ( #1629 )
...
Original commits:
* Clean-up
* Introduce a new application arguments parser & handler
* Clean-up and deprecate `Tools#getLanguageOption`
* Fix `-debug` and `-debugall` parameters
* found this while debugging, ...why
* Remove deprecated parameters
* Invoke startup argument parser before handbook generation
* Move command map instantiation to `Grasscutter `(prevent making 3 instances on startup)
* Ensure \n at EOF
Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-08-10 11:54:43 +09:30
GanyusLeftHorn
e20b185dc0
Fix Claiming BP Reward Chests ( #1634 )
...
Original commits:
* Fix claiming BP chests.
* Remove logging.
2022-08-10 11:04:22 +09:30
AnimeGitB
a2cdec02af
Make missing languages not throw warnings
2022-08-09 04:57:44 -07:00
AnimeGitB
9c66ba137f
Unify gacha mappings generation
2022-08-09 20:59:11 +09:30
AnimeGitB
ef805f26cc
Remove vestigial references to gacha_mappings
2022-08-09 20:59:11 +09:30
AnimeGitB
0091fb87ea
Remove language hack from handbook generation
2022-08-09 20:59:11 +09:30
AnimeGitB
c1ff7332fe
Generate handbooks on every launch, fix html docs
2022-08-09 20:59:11 +09:30
AnimeGitB
e963419956
Refactor handbook generation, remove singular handbook
2022-08-09 20:59:11 +09:30
AnimeGitB
0994417261
Cache used strings from TextMaps
2022-08-09 20:59:11 +09:30
AnimeGitB
4790158ac6
Load in all the textmaps!
2022-08-09 20:59:11 +09:30
KingRainbow44
6ec372e64f
Add invoke-level invulnerability for bursts.
2022-08-06 23:35:57 -04:00
KingRainbow44
7df41f616b
Invoke AbilityManager#onSkillStart
and AbilityManager#onSkillEnd
2022-08-06 23:35:09 -04:00
KingRainbow44
6420428660
Add a method to be invoked on skill perform and end
2022-08-06 23:34:35 -04:00
Kawaa
352aa7d689
Improve some documentation and JSON ( #1618 )
...
Original commits:
* Updated instructions
* 更新说明
* 更新说明
* 更新说明
* 更新说明
* 更新说明
* Updated instructions
* Updated instructions
2022-08-05 19:05:44 +09:30
KingRainbow44
cf2832ae72
Add EntityDamageEvent
and implementations
2022-08-04 21:36:00 -04:00
Magix
d05b3207e5
Add more events
...
Merge pull request #1516 from Grasscutters/more-events
2022-08-04 13:57:00 -04:00
Magix
a3e0f7f5f0
Update HandlerSceneTransToPointReq.java
2022-08-04 13:49:38 -04:00
Magix
d24c10eec5
Update src/main/java/emu/grasscutter/server/packet/recv/HandlerSceneTransToPointReq.java
...
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
2022-08-04 13:45:02 -04:00
Magix
164baa7251
Update src/main/java/emu/grasscutter/game/managers/mapmark/MapMarksManager.java
...
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
2022-08-04 13:44:56 -04:00
Magix
9cb9fe099c
Update src/main/java/emu/grasscutter/server/packet/recv/HandlerTryEnterHomeReq.java
...
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
2022-08-04 13:44:50 -04:00
Penelopeep
9a104f6f69
Polish README and setConst translation ( #1614 )
...
Original commits:
* setConst translation
* New pl README link
* Polish README
* fix
2022-08-04 18:02:34 +09:30
Abdul
1a2f25d67b
Update ru-RU.json
2022-08-04 18:01:26 +09:30
유여름
1b3963a83a
Create ko-KR.json
2022-08-02 22:45:49 +09:30
KingRainbow44
faeb96927a
Add PlayerUseFoodEvent
and implementations
2022-08-01 21:32:30 -04:00
KingRainbow44
89575f587e
Move PlayerTeleportEvent
occurrences into World
2022-08-01 21:25:29 -04:00
KingRainbow44
1de402bd6f
Merge branch 'development' into more-events
2022-08-01 21:13:19 -04:00
KingRainbow44
b9b4b6f428
Clean-up the energy manager
2022-08-01 21:12:57 -04:00
Magix
f25fb62942
Explicitly declare the charset of a FileReader
in ConfigContainer
...
Changed charset of FileReader in ConfigContainer from default to utf-8.
Merge pull request #1600 from Someone999/development
2022-07-31 07:17:46 -04:00
millet6
5df46dab86
Update zh-CN.json
...
修正 用户登录提示
2022-07-30 13:57:27 +09:30
Someone999
f3baa0b8e7
Changed charset of FileReader in ConfigContainer from default to utf-8.
2022-07-29 19:08:07 +08:00
RBNXI
66dadece8a
Add files via upload
2022-07-28 21:07:17 +09:30
AnimeGitB
cb8b21d03d
Auto language lint
2022-07-28 04:23:58 -07:00
AnimeGitB
b80126fdda
Add lock function to SetStatsCommand
2022-07-28 04:23:58 -07:00
AnimeGitB
0fa3d0e8d1
Improve message formatting to clients
...
Replaces tab indents with an extra linebreak.
Also adds / to the start of command usage.
Neither of these changes affect messages to the server console log.
2022-07-28 00:16:41 -07:00
Magix
24dfac65b2
Update zh-CN.json
...
Merge pull request #1584 from millet6/patch-1
2022-07-27 13:33:40 -04:00
Magix
f25dc4d2fc
Update zh-CN.json
2022-07-27 13:32:11 -04:00
AnimeGitB
0d9116225c
Suppress stacktrace on missing questkeys file
2022-07-27 21:10:32 +09:30
Magix
6ba4846e58
Change loading quest keys from info
to debug
.
...
Please for the love of god use `debug` for information not important to the enduser when starting the server.
2022-07-26 14:49:45 -04:00
millet6
d8f8aed816
Update zh-CN.json
...
更新汉化内容
Update Chinese content
2022-07-27 01:38:24 +08:00
Magix
9781d5e6c9
Fix an NPE in EntityGadget
when draft_id
isn't set
...
Merge pull request #1579 from Hartie95/nullfix
2022-07-26 12:14:08 -04:00
Magix
107111d3fc
SceneScriptManager fix nullPointer error
...
Merge pull request #1581 from akatatsu27/development
2022-07-26 12:02:14 -04:00
Melledy
7600f706b5
Move QuestEncryptionKeys
to resources/
2022-07-26 08:22:27 -07:00
Kimi
2fe6bcf2cf
Traditional Chinese | Translation Patches
...
Added missing some commands translation, and fixing up another mainlander's CHS = CHT mindset.
2022-07-27 00:28:44 +09:30
akatatsu27
7ca947b05f
fix nullPointer error
2022-07-26 17:58:28 +03:00
ah
964e73f0f6
small nullpointer fix in EntityGadget, in case meta gadget is not set
2022-07-26 16:09:52 +02:00
Abdul
bb8ae4c443
Update ru-RU.json
...
- Add unlockall translations
2022-07-26 06:29:57 -07:00
RBNXI
5a3dfcd4b4
Add spanish translation for constellation commands
2022-07-26 22:56:36 +09:30
akatatsu27
8bdcfb8908
token fix
2022-07-26 14:28:39 +03:00
akatatsu27
92aeb79ac3
Merge branch 'development' into questing
2022-07-26 14:17:42 +03:00
Abdul
1c5c3633d1
Update ru-RU.json
2022-07-26 18:58:15 +09:30
AnimeGitB
883b6f1fcc
[Bug] New avatars always created with C0 constellation
...
Fixes #1552
2022-07-26 17:56:49 +09:30
hartie95
ffeff92dd6
2.7+ prerendered cutscene support
2022-07-26 16:55:53 +09:30
hartie95
938b54c2ee
two small activity/event fixes
...
* fixed GetAcitivityInfoReq proto
* added draft to gadget Scene gatget, to let the client know the propper minigame for some entities
2022-07-26 16:49:52 +09:30
lactose
59a412cc83
Set Constellation Command ( #1565 )
...
Original commits:
* create `SetConstCommand` class and translations
* (partially) functional `setconst` command
* fixed punctuation
* added success message
* implemented `SetConstCommand`
* added translation keys
* update keys
* refactor + automatic reload
* Nitpick (Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>)
2022-07-26 16:44:17 +09:30
loulou310
63fd4dfe3a
Update French translation
2022-07-26 10:35:05 +09:30
KingRainbow44
c35705010a
Fix remaining traces of Player#getPos
2022-07-24 13:27:43 -04:00
KingRainbow44
41ec2316e4
Attempt to fix the teleport
command.
2022-07-24 13:23:51 -04:00
KingRainbow44
818bfb8c5b
Add PlayerTeamDeathEvent
and implementations
2022-07-24 13:20:58 -04:00
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
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
Melledy
c9c45e4c32
Partial fix for player attacks in co-op not working
2022-07-21 03:42:16 -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
GanyusLeftHorn
b266854c72
Handle existing players who might already have passed a level.
2022-07-18 11:20:33 -07:00
GanyusLeftHorn
af7bbdaadd
Set certain OpenStates on level-up.
2022-07-18 11:20:33 -07:00
zhaodice
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
Melledy
7f898417b0
Fix a few null pointer issues.
2022-07-18 02:33:13 -07:00
Melledy
2e85834e9c
Update OpenState protos and rework OpenStateManager
...
OpenState map no longer contains default openstates, they should not be saved in the database for efficiency reasons.
2022-07-18 02:28:38 -07:00
akatatsu27
b5a4ab7524
Open state framework ( #1483 )
...
* Added more server debug options
* made server debug code prettier
* fixed initialization bug
* Enables logging of packets contained in UnionCmdNotify, when debug level is WHITELIST or BLACKLIST
* Fully Implement OpenState Framework
* added devOpenStates
* Commented out newPlayerOpenStates
* Removed OPEN_STATE_NONE from devOpenStates
2022-07-18 01:33:57 -07:00
Yazawazi
ae8b5e30ac
Full support for both parties
2022-07-17 13:43:45 +09:30
真心
0a557ccfcd
Update GameConstants.java
2022-07-17 13:43:45 +09:30
AnimeGitB
591ca4805a
Some proto name changes
2022-07-17 13:43:45 +09:30
AnimeGitB
bc2c5deb48
Add Dispatch Password authentication
2022-07-17 13:43:45 +09:30
AnimeGitB
413f11d504
PacketOpcodes
2022-07-17 13:43:45 +09:30
AnimeGitB
e14d1cedde
Hack for GAA unlock
2022-07-17 13:43:45 +09:30
AnimeGitB
4103558272
Bump game version
2022-07-17 13:43:45 +09:30
kyoko
80f9346983
Fix the chat history not correctly showing.
2022-07-17 13:43:45 +09:30
AnimeGitB
d7742d94db
Add dispatch keys
2022-07-17 13:43:45 +09:30
KingRainbow44
f6b4016f1b
Add PlayerTeleportEvent
2022-07-15 16:18:46 -04:00
KingRainbow44
02ca5cf23c
Update to support PlayerMoveEvent
2022-07-15 16:12:22 -04:00
KingRainbow44
1b8df002d1
Remove Cancellable
from PlayerMoveEvent
2022-07-15 12:48:55 -04:00
KingRainbow44
80e75fd023
Implement PlayerMoveEvent
2022-07-15 12:43:49 -04:00
Luke H-W
8843276c41
Language linting ( #1382 )
2022-07-11 16:21:05 +02:00