Commit Graph

435 Commits

Author SHA1 Message Date
Melledy
250a192b30 Random cleanups in the gameserver and player 2022-06-24 07:43:43 -07:00
Melledy
4bbcc4c9ca Implement battle pass triggers/rewards 2022-06-24 01:12:52 -07:00
KingRainbow44
ca27c3917f Formatting changes 2022-06-24 01:22:18 -04:00
KingRainbow44
48a8c45a18 Hardcode EventType.GAME for ServerLogEvent 2022-06-24 01:22:11 -04:00
KingRainbow44
a5620e4632 Add & implement EntityMoveEvent 2022-06-24 01:21:41 -04:00
KingRainbow44
13c2037899 Add entity event base class 2022-06-24 01:21:06 -04:00
KingRainbow44
a93f28c2f8 Merge remote-tracking branch 'origin/development' into development 2022-06-24 01:06:57 -04:00
KingRainbow44
7f584f7a85 Replace CommandResponseEvent with ReceiveCommandFeedbackEvent 2022-06-24 01:06:19 -04:00
Luke H-W
d0eb905631 Merge branch 'development' into Weather 2022-06-24 00:47:14 +09:30
Magix
362dd67470 Change plugin manager logic
Merge pull request #1346 from Grasscutters/plugin-priority
2022-06-23 11:13:15 -04:00
KingRainbow44
699d59cd92 Fix PlayerCreationEvent to match expected logic 2022-06-23 00:28:13 -04:00
Magix
3b5e0bb6fe Merge branch 'development' into plugin-priority 2022-06-23 00:06:31 -04:00
AnimeGitB
4e3467366e Move weather from Scene to Player 2022-06-23 02:32:38 +09:30
KingRainbow44
5b76ef7dfa Fix event 2022-06-22 00:48:04 -04:00
KingRainbow44
897a38b45b Re-implement scheduler system (check #1321) 2022-06-22 00:46:34 -04:00
KingRainbow44
640f3fee6c Update EventHandler with new register syntax 2022-06-22 00:22:50 -04:00
GanyusLeftHorn
f42334411b Bring back dungeon drops. 2022-06-21 19:49:46 -07:00
Melledy
23d7ef8378 Migrate battlepass to its own db collection 2022-06-21 07:59:10 -07:00
诗音澄鸢 镜苑芳依
d8f2421832 implement BattlePass (Except missions) (#1316)
* BattlePass

* BattlePass
2022-06-21 07:18:13 -07:00
Tesutarin
51533ad4e7 Update 2.7 second half banners 2022-06-21 02:43:21 -07:00
Akka
fe2799c1fd MonsterInvestigation (boss icon in map) 2022-06-18 08:04:06 -07:00
诗音澄鸢 镜苑芳依
af6c27a002 Fix daily dungeon didn't display in note(笔记) (#1296)
* Fix Daily dungeon didn't display in note(笔记) -- Buggy

* 123
2022-06-17 23:50:55 -07:00
Melledy
4501db1135 Merge branch 'dev-world-scripts' of https://github.com/Grasscutters/Grasscutter into development 2022-06-17 23:35:45 -07:00
Melledy
9daf89b953 Move ban check to GetPlayerTokenReq 2022-06-17 19:42:42 -07:00
Yazawazi
50f0a38e21 no more bin 2022-06-17 19:42:42 -07:00
Yazawazi
1ebd8f6810 feat(ban): Implementing ban.
Rough code, not based on permission.
2022-06-17 19:42:42 -07:00
Akka
148395de67 fix the rot of furniture 2022-06-17 18:15:49 -07:00
Akka
d35ff068cf implement furniture make system 2022-06-17 18:15:49 -07:00
Akka
a695d0c33e npc/animals arrangement & support enter room scene 2022-06-17 18:15:49 -07:00
Akka
1c0d869ee5 Implement the Home System (Serenitea Pot) 2022-06-17 18:15:49 -07:00
zhaodice
0b672f9a17 Fix friend request pending list 2022-06-16 23:45:40 -07:00
Melledy
ac3214f10a Refactor gacha banner proto creation to not do a lookup on the database 2022-06-16 08:18:24 -07:00
CamChua_VN
8f4f1887d9 Update Epitomized Path (#1254)
* Update Epitomized Path

* Update Epitomized Path

* Update Epitomized Path

* Refactor doRarePull

* Update Epitomized Path

Co-authored-by: AnimeGitUserB <AnimeGitUserB@bigblueball.in>
2022-06-16 08:01:27 -07:00
Melledy
0e6e950734 Cleanup package names 2022-06-16 07:57:57 -07:00
Melledy
8fdf9bfddf Add embryos for all skill depots for the main characters 2022-06-16 07:54:53 -07:00
Tesutarin
0a56245b84 Gacha Records: Support multiple languages 2022-06-15 23:44:57 -07:00
zhaodice
b3f1103292 [Ready]Replace deprecated KCP library (#1237)
* Replace deprecated KCP library

support get srtt

Waiting server to establish

logicThread

Print Bad Package Information

Avoid orphan data

improve conv id security

* Improve connection subsequence
2022-06-15 04:13:35 -07:00
ImmuState
bba7afa24e Don't show internal server error on gacha with full inventory. 2022-06-14 18:09:02 -07:00
ImmuState
b9f6d7f70b Adapt protocol for clearing energy. 2022-06-14 18:08:55 -07:00
ImmuState
ded7ce1dcf Implement Resin (#1257)
* Basic resin usage/refresh.

* Honor resin config, move some logic to logon.

* Add resin usage to DungeonChallenge

* Make fragile and transient resin usable.

* Get resin cost from dungeon excel.

* Add ability to unlock combine diagrams.

* Refactor CombineManager to use Inventory.payItems, enabling crafting of condensed resin.

* Refactor ForgingManager to use Inventory.payItems, to prepare for eventually forging Mystic Enhancement Ores using resin.

* Remove comment

* Check resin usage in addResin
2022-06-14 01:14:15 -07:00
ImmuState
36e7e028f7 Add ForgeQueueDataNotify, unwhack UI. 2022-06-08 05:43:38 -07:00
ImmuState
e193781f0c Cancel forging and refund items. 2022-06-08 05:43:38 -07:00
ImmuState
5a58a0b765 Obtain forging results (UI is broken though). 2022-06-08 05:43:38 -07:00
ImmuState
47bcfe96f6 Add missing forging protos, add data for ongoing forges to player, handler for ForgeStartReq. 2022-06-08 05:43:38 -07:00
ImmuState
0c0719bd2a Move forging stuff to ForgingManager, make client respond to ForgeGetQueueDataReq and actually display forging queues. 2022-06-08 05:43:38 -07:00
zhaodice
9bf48ddbf7 Fix unable to save game data occasionally (#1194)
* Fix unable to save game data occasionally

* No self-kicking

* Game data synchronization

* finally

* prevent duplicated saving

* reverse changing

* keep the previous code

* Update GameServerInitializer.java

* Update GameSession.java

* remove sanity check because of try block

* a session needs can be created without a pipeline.
2022-06-05 04:23:19 -07:00
AZ
d4bb7c95b6 List game & server version when starting server (#1181)
* When the server starts, it now outputs the game and server version. Too dumb to not hardcode it - sorry!

* ...

* sorry i dropped my spaghetti, I'll help clean that

* Doing simple stuff: now without hardcoding!

* Restored Git hash functionality

* Fixed other languages and made the output more useful.

* Forgot this file lol
2022-06-04 02:41:18 -07:00
zhaodice
bade510c09 Incompletely implement about QuickUseWidgetReq
WARNING: with the consuming of material widget ( Example: bomb ),
this is just a implement designed to the decreasing of count

### Known Bug: No effects after using item but decrease. ###

If you know which Packet could make the effects, feel free to contribute!
2022-06-03 00:52:32 -07:00
ImmuState
4a676aa168 Persist unlocked blueprints to the database. 2022-06-03 00:52:22 -07:00
ImmuState
9d10b81b95 Unlock forging blueprints. 2022-06-03 00:52:22 -07:00