github-actions
6e5d986687
Fix whitespace [skip actions]
2022-09-03 03:36:51 +00:00
Melledy
4eaedae0b7
Move the remaining HttpUtils
function over to Router
2022-09-01 13:20:42 -07:00
Melledy
fee34c515d
Clean up http server content types
2022-09-01 13:20:42 -07:00
Benj
b5bed6ceef
Update HttpServer & AuthenticationSystem to use Javalin
2022-09-01 13:20:42 -07:00
GanyusLeftHorn
712d17631f
Custom Teams ( #1731 )
...
* Add support for creating and deleting custom teams.
* Add support for creating and deleting custom teams.
* Move some logic to TeamInfo::toProto
2022-08-31 17:21:47 -07:00
AnimeGitB
6d65b71512
Show accessAddress in bold yellow on startup
...
This should make it easier to help people troubleshoot networked setups.
Consider telling people to try connecting to the address with a web browser on the client's machine.
2022-08-25 21:37:49 +09:30
AnimeGitB
40eeba9d90
refactor some itemdepot lookups for later
2022-08-25 14:45:57 +09:30
AnimeGitB
fbf3dbbf77
Move vehicle fightprop hacks
2022-08-25 00:23:00 +09:30
Benj
1767833ebe
Remove asset names from json and comments
2022-08-24 11:34:26 +09:30
Benj
6949711e09
Actually fix RegionHandler
2022-08-24 11:34:26 +09:30
Benj
cc50baf26a
versionFix must be >= 50 not == 50 in RegionHandler
2022-08-24 11:34:26 +09:30
Benj
6f7e240482
Add Sumeru expeditions.
...
Original Commit Message: Add Sumeru expeditions.
Gitea Author: GanyusLeftHorn
Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
2022-08-24 11:34:26 +09:30
Benj
6aa013d7d8
Add scene tag for Vanarana.
...
Original Commit Message: Add scene tag for Vanarana.
Gitea Author: GanyusLeftHorn
Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
2022-08-24 11:34:26 +09:30
Benj
e8e3fcbc9c
Fix RegionHandler versions
2022-08-24 11:34:26 +09:30
Benj
c096d255fd
Update classes to match protos
2022-08-24 11:34:26 +09:30
AnimeGitB
36b71d0198
Clean up some Position usage to avoid unneccessary unpacks
2022-08-22 17:08:34 +09:30
github-actions
c517b8a2c9
Fix whitespace [skip actions]
2022-08-21 11:33:54 +00:00
AnimeGitB
4b03770ec1
Hide resin from map when disabled
2022-08-21 19:38:38 +09:30
akatatsu27
77f2bcf5bf
small quest fixes ( #1677 )
...
* small quest fixes
* uncomment hack
2022-08-21 00:08:37 -07:00
赵怡然
abd1e7569e
Blossom Implement ( #1606 )
...
* Blossom!
* rename
* delete SpawnBlossomEntry.java
* use MAP
* use List
* use LIST
* use List
* useCondensedResin
* useCondensedResin
* fix build
* enhance
* fix bug
* REMOVE BOSS
* fix condensed resin
* fix condensed resin
* use POSITIVE_INFINITY
* use RewardPreviewData
* fix build
* fix resources
* add BLOSSOM_MONSTER_FIGHTING_VOLUME
* edit monster score
* edit monster score
* fix bug
* fix bug
* improve logic
* fix monsters level
* Deleted comment blocks
* nitpick
* Fix compilation problems
* nitpick
* Refactor + nitpick
* Clean up overall diff to develop
* Clean up other usage of condensed resin
* Clean up overall diff to develop
* Lombokify Scene.java
* Missed an odd getter name
* Unhardcode reward previews
* EDIT NAME
* remove leyline 1
* remove leyline 2
* Update BlossomManager.java
Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-08-20 23:19:59 -07:00
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
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
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
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
AnimeGitB
46223c8976
Refactor Json helper functions to JsonUtils
2022-08-11 17:59: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
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
AnimeGitB
9c66ba137f
Unify gacha mappings 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
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
cf2832ae72
Add EntityDamageEvent
and implementations
2022-08-04 21:36: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
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
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
c35705010a
Fix remaining traces of Player#getPos
2022-07-24 13:27:43 -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
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
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
Melledy
e5ff253624
Add unlockall
command to unlock all openstates
2022-07-22 09:26:00 -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
2cfbe78184
Refactor Command usage and description strings
2022-07-22 19:08:26 +09:30
Melledy
c0418067d6
Add kcpInterval
to the config
2022-07-21 18:39:39 -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
github-actions
ae2d1fe438
Fix whitespace [skip actions]
2022-07-21 00:22:26 -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
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
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
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
e14d1cedde
Hack for GAA unlock
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
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
Akka
910008216f
quest fix & personal line impl
2022-07-10 17:52:47 +09:30
akatatsu27
c79ca3028f
Added more server debug options ( #1444 )
...
Original commits:
* 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
2022-07-09 03:01:29 +09:30
GanyusLeftHorn
6338c17189
Add reliquary decomposition (aka strongbox).
2022-07-05 22:59:19 -07:00
AnimeGitB
e8371677bd
Add gachaTimesLimit for beginner banner
...
Also add some more return codes
2022-07-04 15:22:46 +09:30
Akka
b92cc6a882
fix some region errors
2022-07-03 11:40:09 -07:00
Akka
9bafc2c5d5
Implement server announcement ( #1420 )
...
* implement server announcement
* Update src/main/java/emu/grasscutter/command/commands/AnnounceCommand.java
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
* Added arg numbers check
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
2022-07-02 06:43:22 -07:00
GanyusLeftHorn
13a7f08665
Add character's specialty food.
2022-07-01 23:14:36 -07:00
GanyusLeftHorn
d95a30a1a5
Cooking and unlocking recipies.
2022-07-01 23:14:36 -07:00
GanyusLeftHorn
a957b8c5b8
Notify client of unlocked recipies on login.
2022-07-01 23:14:36 -07:00
Akka
9951bec6b7
optimize npc group load & fix some NPE in suite
2022-07-01 23:13:26 -07:00
zhaodice
efd30593a1
Fireworks support ( #1393 )
...
* Firework Implement
* add legacy function
* remove obfusucated names
* remove obfusucated names
* remove obfusucated names
* remove obfusucated names
Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-06-29 14:33:21 -07:00
Akka
a8690ef720
fix bug
2022-06-29 05:23:02 -07:00
Akka
12146ff09c
implement the music game
2022-06-29 05:23:02 -07:00
Akka
977f1ca2ea
implement the activity system
2022-06-29 05:23:02 -07:00
zhaodice
2462da2ede
Big World Resources Collection Implement ( #1368 )
...
* init
* init
* init
* revoke
* fix error
* mining support
* mining support
* Roks endurance support
* Roks endurance support
* Timed refresh
* upgrade resource data
* Timed refresh support
* remove null gadget
* Coordination
* full synchronized
* oh no, my math teacher will hit me!
* synchronized onInteract
* remove break;
* supply re-spawn time , thanks to @wl23333
* Clean up and integrate collection spawns into SpawnDataEntries
Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-06-29 04:53:50 -07:00
GanyusLeftHorn
7cb4c9fee2
Remove comments
2022-06-26 21:38:35 -07:00
GanyusLeftHorn
b0d19e54db
Implement selection chests for BP rewards.
2022-06-26 21:38:35 -07:00
KingRainbow44
e842c23539
Move registering packet handlers to debug
2022-06-26 12:40:34 -04:00
zhaodice
541c38b74c
Avoid disconnection notification
2022-06-26 02:34:45 -07:00
zhaodice
d5866dd36d
Update HandlerPlayerForceExitReq.java
2022-06-25 22:39:32 -07:00
zhaodice
6e90067101
Logout immediately
2022-06-25 22:39:32 -07:00
zhaodice
0144e55d3a
Lunch Support ( #1373 )
...
* PacketSetUpLunchBoxWidgetRsp
* HandlerSetUpLunchBoxWidgetReq
2022-06-25 22:19:59 -07:00