Commit Graph

1139 Commits

Author SHA1 Message Date
zhaodice
e32fcefcd9
Lunch Support (#1373)
* PacketSetUpLunchBoxWidgetRsp

* HandlerSetUpLunchBoxWidgetReq
2022-06-25 22:19:59 -07:00
AnimeGitB
d3012d0f1b Remove BPLevel, GodMode, NoStamina, SetWorldLevel, UnlimitEnergy, UnlockTower commands 2022-06-25 22:19:29 -07:00
AnimeGitB
09f7a2e69d PlayerProperty Refactor 2022-06-25 22:19:29 -07:00
AnimeGitB
8876c1c99d Remove GiveAll, GiveArt, GiveChar commands 2022-06-25 22:19:29 -07:00
AnimeGitB
a48e2e7000 Remove Drop, ChangeScene, Restart, Broadcast commands 2022-06-25 22:19:29 -07:00
AnimeGitB
dca4093369 Small putItem refactor 2022-06-25 22:19:29 -07:00
AnimeGitB
34c18bebbc Allow PermissionCommand to target offline players again 2022-06-25 02:12:33 -07:00
AnimeGitB
9b1db9604a Allow offline Player objects to return their Account 2022-06-25 02:12:33 -07:00
AnimeGitB
e9c65c0adf Add permission to BanCommand, rework its targeting 2022-06-25 02:12:33 -07:00
GanyusLeftHorn
371e701dd9 Remove logging. 2022-06-24 17:51:30 -07:00
GanyusLeftHorn
c8fcff2ede Reset forge points every day to enable crafting of enhancement ores. 2022-06-24 17:51:30 -07:00
GanyusLeftHorn
e117bfac91 Move worldlevel for World to Player::setWorldLevel 2022-06-24 17:51:30 -07:00
AnimeGitB
c426f8bba3 Add initializers to GameServer 2022-06-25 00:58:09 +09:30
Melledy
250a192b30 Random cleanups in the gameserver and player 2022-06-24 07:43:43 -07:00
Melledy
7cb424863d Implement weekly points for the battle pass 2022-06-24 07:34:24 -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
Tesutarin
10d1241688 Update translation 2022-06-23 21:23:27 -07:00
GanyusLeftHorn
f7aaa7c093 Set world level automatically on level up. 2022-06-23 21:23:14 -07: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
@Roly
1621e34e6f Fix chest types 2022-06-23 05:38:38 -07:00
Akka
7e7f1e11e0 add region entity 2022-06-23 03:14:38 -07:00
Akka
e499601283 fix gadget infinity create 2022-06-22 22:39:54 -07:00
KingRainbow44
0db12d6e9c
Merge remote-tracking branch 'origin/development' into development 2022-06-23 00:28:35 -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
bcab81af22 Tweak messages 2022-06-23 02:38:04 +09:30
AnimeGitB
4e3467366e Move weather from Scene to Player 2022-06-23 02:32:38 +09:30
Magix
44fd5086fd
Enable development repository for artifacts
Uploading dev builds to 4Benj Repo via Jenkins for plugin developers.
2022-06-22 11:08:55 -04:00
Luke H-W
63a1a0ba30
Update src/main/resources/languages/en-US.json
Co-authored-by: Tesutarin <105267106+Tesutarin@users.noreply.github.com>
2022-06-22 23:41:14 +09:30
AnimeGitB
4ef5bf2e43 Deduplicate some translation keys 2022-06-22 23:20:16 +09:30
AnimeGitB
d4fe9c0b16 Add default Climates per weather 2022-06-22 22:41:07 +09:30
14eyes
50f75bd6c8
Add missing lua constants (#1342)
* Add missing script constants

* Fix formating
2022-06-22 05:00:22 -07:00
Magix
8f617ddd2f
Revert deprecation of registerCommand
i was going to make commands plugin specific but then decided against it
2022-06-22 02:59:45 -04:00
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
d511d51ca9
Fix method of loading dependant plugins 2022-06-22 00:22:51 -04:00
KingRainbow44
640f3fee6c
Update EventHandler with new register syntax 2022-06-22 00:22:50 -04:00
KingRainbow44
239d44c244
Fix issue when exiting server when plugin manager hasn't loaded 2022-06-22 00:22:49 -04:00
KingRainbow44
6058e2b254
Fix Player on this branch 2022-06-22 00:22:23 -04:00
KingRainbow44
0157c72de8
Fix filenames issue (pt. 2) 2022-06-22 00:21:46 -04:00
KingRainbow44
ce8344a545
Fix filenames issue 2022-06-22 00:21:43 -04:00
KingRainbow44
7308a70222
Separate aliases from the command map 2022-06-22 00:21:10 -04:00
KingRainbow44
fe78d2c295
Plugin-specific listeners & dependency loading 2022-06-22 00:20:15 -04:00
KingRainbow44
9add61ff74
Add loadAfter plugin setting 2022-06-22 00:19:43 -04:00
GanyusLeftHorn
f42334411b Bring back dungeon drops. 2022-06-21 19:49:46 -07:00
Benj
25bdfbe3bc Refix Javadoc and readd getPlugin comments 2022-06-22 09:24:11 +08: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
loulou310
5c80146aaa
French translation for ban and unban and typos fix (#1337)
* Fixed french readme's typos, and the Discord server link

* Translated ban and unban commands for French
2022-06-21 07:14:47 -07:00
Tesutarin
51533ad4e7 Update 2.7 second half banners 2022-06-21 02:43:21 -07:00
Kimi
ed9170f340
Traditional Chinese | Translation Patches (#1310)
* Traditional Chinese | Translation Patches

* Update zh-TW.json

* Update zh-TW.json

* Update zh-TW.json
2022-06-18 23:29:28 -07:00
Miralyn
53e8a7ac91
Fixed some mistakes in the ru json (#1312)
* Don't know what Dispatch means and can't really find it in Russian anywhere, not a specialist anyway so decided to not invent things.

* lost some symbols accidentally

* accidentally messed up some escape characters. translated a bit more
2022-06-18 23:28:07 -07:00
Akka
fe2799c1fd MonsterInvestigation (boss icon in map) 2022-06-18 08:04:06 -07:00
Miralyn
d1606eb7d0
Add Russian translation for server software (#1304)
* Don't know what Dispatch means and can't really find it in Russian anywhere, not a specialist anyway so decided to not invent things.

* lost some symbols accidentally
2022-06-18 15:02:21 +00: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
45438cd2a7 2.7 Merge 2022-06-17 23:36:16 -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
51df48ee14 2nd null check 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
1b9e39dcab a little fix 2022-06-17 18:15:49 -07:00
Akka
89ba8f5d01 a little fix 2022-06-17 18:15:49 -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
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
xlpmyxhdr
73013eb497 Fixed the issue that the Ancient Rock Dragon Lizard spawned too much at once
Fixed the issue that the Ancient Rock Dragon Lizard spawned too much at one time, so that one Ancient Rock Dragon Lizard was generated at a time, and the attributes were different
2022-06-14 18:08:43 -07:00
loulou310
2a03aaff5e Added fr-FR.json 2022-06-14 21:44:42 +02: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
Tesutarin
ef9d96b6d8 Language: Update translation 2022-06-10 21:20:50 -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