Commit Graph

1010 Commits

Author SHA1 Message Date
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
4Benj_
802fb09e1d Custom Permission Handler (#1282)
Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-06-16 08:00:03 -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
Paimon2022
1644040370 Fix issue: skill recovery value of a character should benefit from his/her own property,
not the character he/she treats.
2022-06-15 23:10:17 -07:00
ImmuState
34b6caafa8 Fix giveall and givechar giving broken characters. 2022-06-15 23:10:04 -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
yuyuko
a329b3bdac Fix multi server function 2022-06-14 18:28: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
ed290b6a39 Only send full clear notification on burst cast. 2022-06-14 18:08:55 -07:00
ImmuState
b9f6d7f70b Adapt protocol for clearing energy. 2022-06-14 18:08:55 -07:00
saucebing
f10dc1cf8d fix healing ability of some characters to some extent (#1201)
* fix healing ability of some characters to some extent

* using SerialName to replace replaceAll in avatar ability files reading

* add class HealAbilityManager

* move codes in onAbilityInvoke of class AbilityManager to class HealAbilityManager
2022-06-14 04:36:53 -07:00
Tesutarin
f2f6993b3d KickCommand: Remove unnecessary subpermission 2022-06-14 01:14:33 -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
Luke Hubmayer-Werner
2560b14557 Partial revert of #1245 2022-06-12 21:49:47 -07:00
Tesutarin
794750827d Command: Add permissionTargeted or targetRequirement 2022-06-12 17:55:19 -07:00
ImmuState
52e9c05440 Add alternate name for tranSceneId, and fix inconsistent indentation. 2022-06-11 19:42:11 -07:00
zhaodice
7126b1569e make sure towerData is not null (#1240)
* make sure towerData is not null

* Update Player.java

* add notice
2022-06-11 04:34:25 -07:00
zhaodice
f67649e56f Fix inconformity of Player Object at TowerManager (#1226)
* Fix inconformity of Player Object at TowerManager

Fix inconformity of Player Object at TowerManager class from GameSession

* fix with a reasonable resolution

* Make sure towerManager'player is online player

* Make sure towerManager'player is online player

* Obsolete storage

* Fix build

* fix build

* fix build

* add @Entity

* set record map

* replace tab with space

* add Entity to TowerData

* make infomater more accurate

* move player register to onLogin
2022-06-09 13:38:53 -07:00
ImmuState
6149e326ba Make UI for blueprint unlocking behave. 2022-06-08 05:43:38 -07:00
ImmuState
51637ab01e Make calculation for partial claims better. 2022-06-08 05:43:38 -07:00
ImmuState
840bea2b0f Make the UI behave. 2022-06-08 05:43:38 -07:00
ImmuState
e30516d698 Send periodic notifications to the client for ongoing forges. 2022-06-08 05:43:38 -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
8a3c25ff8e Consume material. 2022-06-08 05:43:38 -07:00
ImmuState
8840f22bba Check materials and mora 2022-06-08 05:43:38 -07:00
ImmuState
aae799f9a7 Start a new forge (no checking for now). 2022-06-08 05:43:38 -07:00
ImmuState
4ffda39b12 Add handling for ForgeExcelConfigData. 2022-06-08 05:43:38 -07:00
ImmuState
d7a4209138 Change active forges in player to list. 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
liizfq
36fb08095f add new command (unlimitenergy):toggle energyusage for each player (#1186)
* add new command (unlimitenergy):toggle energyusage for each player while  energyusage is ture in config.json

* Solve the problem of layout and naming errors

* make currentActiveTeam's Avatar full-energy while turn on the ule.

* Resolve language document errors

* add config_error message while player try to execute UnlimitEnergyCommand in GAME_OPTIONS.energyUsage == false
2022-06-04 19:14:52 -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
Melledy
e6fa00e55d Refactor and optimize DatabaseHelper::checkIfPlayerExists 2022-06-03 19:32:10 -07:00
AZthemute
40bb4daa38 Fixed sendmessage command output.
Also clarified coop command in help command.
2022-06-03 19:11:47 -07:00
Tesutarin
8b6da510dc Language: Update translation 2022-06-03 10:16:45 -07:00
Paimon2022
1496553c44 Spawn default monsters with different levels according to data/Spawns.json when worldLevelOverride is not zero.
For example, in world with worldlevel 8, base monster level is 90 according to resources/ExcelBinOutput/WorldLevelExcelConfigData.json,
monster level bias in data/Spawns.json belongs to [1,32], so the monster level would belong to [69, 100].
2022-06-03 03:20:07 -07:00
Paimon2022
5ba2ee1b50 Add coordinate support for spawn command (monster only)
Now the spawn command is: spawn <entityID> [amount] [level(monster only)] <x> <y> <z>(monster only, optional)
The coordinate is optional
2022-06-03 03:19:59 -07:00
zhaodice
ac50e78b2c skipping right characters panel for Android 2022-06-03 02:42:17 -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
zhaodice
fe3e3e2b21 Fix Irreversible equipping
Fix that can not detach equipment after attached
2022-06-03 00:52:10 -07:00