Commit Graph

1259 Commits

Author SHA1 Message Date
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
Melledy
662c9d4ec2
Merge pull request #1215 from Grasscutters/stable
oooo dev branch forgor this 💀
2022-06-07 03:46:09 -07:00
Melledy
610d24d84c
Merge branch 'development' into stable 2022-06-07 03:35:32 -07:00
Melledy
1136a5dd4f Delete BuildConfig.java 2022-06-07 03:27:43 -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
leonier-test
61f849dbd8 Ruin Guards/Hunters/Graders should drop Chaos Device series instead of Chaos Gear series. 2022-06-03 06:12:25 -07:00
leonier-test
262c9c4bf4 Fix default Shop.json (for Mondstadt General Goods) 2022-06-03 06:12:04 -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
zhaodice
87e7d225cd
Arresting small creature support (#1150)
* Arresting small creature support

* add InsectCaptureManager

* use EnvAnimalGatherExcelConfigData.json

* Update InsectCaptureManager.java
2022-06-03 00:51:51 -07:00
Magix
f548ae8972
Update NoStaminaCommand.java 2022-06-02 19:02:26 -04:00
tamilpp25
3d6331a3f5
Adding toggle feature to "nostamina" command similar to "godmode" command (#1152)
* stamina command enhancement

* added "ns" as command aliases for NoStaminaCommand
2022-06-02 03:33:46 -07:00
ImmuState
f6d0192818 Make sure no player already has the reserved UID when creating and account. 2022-06-01 16:14:18 -07:00
zhaodice
3312a894ff
Fix receiving reward repeatedly (#1140)
* Fix receiving reward repeatedly

fix #1105 (just fix "无限发送领取请求")

* Fix dead code and prevent getting item repeatedly

* fix again
2022-06-01 16:13:48 -07:00
Tesutarin
c5c7e388a0 WeatherCommand: Make it clear 2022-06-01 06:27:07 -07:00
zhaodice
8742e8de06 Fix deforestation protocol and add a new field
I don't understand the reason why ** makes two same positions data
2022-06-01 04:50:46 -07:00
zhaodice
8f1273d1b7 ? 2022-06-01 04:32:30 -07:00
zhaodice
7fe6c9658b Fix deforestation protocol on 2.7 2022-06-01 04:32:30 -07:00
Tesutarin
4beb4f904c Language: Update translation 2022-05-31 22:06:47 -07:00
line-bear
2e90e744d9
Fix stuck when talking to npc seller (#1128)
* Fix zero length array check method

* Import grasscutter logger
2022-05-31 02:42:16 -07:00
tester233
7c85609865 Update translation 2022-05-31 02:41:43 -07:00
tester233
40ad81215f Usage: Unified specification 2022-05-31 02:41:43 -07:00
lhhxxxxx
e8aec2fab9 Update default config to match the one in Koko-boya/Grasscutter_Resources 2022-05-31 02:07:18 -07:00
Melledy
a930fc4c94 Fix players not setting their nickname properly after the opening cutscene 2022-05-31 02:06:40 -07:00
Elapse
5bc4f8a434 fix banner title display 2022-05-30 21:22:42 -07:00
Elapse
bc85099281 Update Banners.json 2022-05-30 20:15:11 -07:00
Elapse
a515bbb376 Delete data directory 2022-05-30 20:15:11 -07:00
Melledy
110d7812cf Limit spawn amount if too many entities are in the world
Can be controlled in the config with `sceneEntityLimit`
2022-05-30 20:06:25 -07:00
Anush
f4c1904e34 Fix Aqua Simulacra & Fading Twilight not given by GiveAll command 2022-05-30 20:06:25 -07:00
ImmuState
01910214fd Add energy generation probabilities to WeaponType. 2022-05-30 20:06:25 -07:00
line-bear
d2288d4489 Fix starglitter/stardust exchange error (#1108) 2022-05-30 20:06:25 -07:00
Melledy
9e19a5c160 Fix weapon curve excels and camel case relic affix ecels 2022-05-30 20:06:25 -07:00
Melledy
310ac82fa2 Refactor WeaponType and MonsterType into enums 2022-05-30 20:06:25 -07:00
ImmuState
1985ef6f07 Make NA/CA energy not scale with ER. 2022-05-30 20:06:25 -07:00
ImmuState
db2c0c47fd Make sure the hit target is actually a monster. 2022-05-30 20:06:25 -07:00
ImmuState
39b985b37c Add a rough implementation for NA/CA energy generation. 2022-05-30 20:06:25 -07:00
Melledy
2eaf991bfb Change schedule id in banners 2022-05-30 20:06:25 -07:00
xmplay
9cef853fb9 add 2.7 banners (first half) 2022-05-30 20:06:25 -07:00
line-bear
f2fe581ff6 Add skill particle generation info for Yelan and Kuki Shinobu (#1097)
* Fix enter tower dungeons

* Add skill particle generation info for Yelan and Kuki Shinobu

* Update SkillParticleGeneration.json
2022-05-30 20:06:25 -07:00
linebear
649d600fd5 Fix enter tower dungeons 2022-05-30 20:06:25 -07:00