Commit Graph

1044 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Melledy
73fadfb767 Fix map mark issues from updating from 2.6
Close #1086
2022-05-30 20:06:25 -07:00
Melledy
0453f387ac Fixed constellation issues from new binout 2022-05-30 20:06:25 -07:00
Melledy
ea980428bf Fixed dungeon entries not working with new binout 2022-05-30 20:06:25 -07:00
Melledy
eaee7cfeb2 Fix quest data parser 2022-05-30 20:06:25 -07:00
Melledy
8ef99db9d3 Rename excel classes 2022-05-30 20:06:25 -07:00
Yazawazi
91f8381fb1 [Anime Game Version update] Support 2.7 (#1072)
* feature(2.7 version): support 2.7 version & upload new protos

1. Support GC in GI 2.7.0;
2. Upload new protos;
3. Fix some bugs cuz by new protos.

BREAKING CHANGE: all

* fix(database helper): fix player uid issues

* fix(ability embryo): uint32 to fixed32

* fix(proto): map mark

rename MAP_MARK_FROM_TYPE_NOE to MAP_MARK_FROM_TYPE_NONE

* fix(game version): change game version to 2.7.0

* perf(proto): remove unused protos

1. Remove unused protos;
2. Temporarily commented out some of the proto fields.

* fix(proto): uint32 to fixed32
2022-05-30 20:06:25 -07:00
zhaodice
dc1741ce6d
Hunting and deforestation support. (#1083)
* add drops for animals wild pig,fishes,foxes,birds

* append fox

* Deforestation Support

implement drop woods when attacking tree

* Deforestation support (remove prints)

implement drop woods when attacking tree

* Deforestation support (remove prints)

implement drop woods when attacking tree

* add AutoRecycleHashMap

Map's KEY is automatic expire if key long time no use (query or modify from HashMap)

* use AutoRecycleHashMap in case of memory leak

* fix bug

* remove prints

* static AutoRecycleHashMap

* fix problems

* Delete AutoRecycleHashMap.java

* remove log

* fix build

* improve

* remove unnecessary information

Co-authored-by: Albedo <105265570+arub3do@users.noreply.github.com>

Co-authored-by: Albedo <105265570+arub3do@users.noreply.github.com>
2022-05-29 06:16:49 -07:00
tester233
71dfaaceb6 Update translation 2022-05-28 21:34:38 -07:00
tester233
d64685b9ec CoopCommand: Fix usage 2022-05-28 21:34:38 -07:00
tester233
8ec55de107 Complement usage 2022-05-28 16:01:21 -07:00
KingRainbow44
0c6e63d889
Merge remote-tracking branch 'origin/development' into development 2022-05-28 18:52:56 -04:00
KingRainbow44
9452adfa1e
Use static reference instead of local 2022-05-28 18:52:47 -04:00
Yazawazi
ce07f56f9d fix(database helper): fix player uid issues 2022-05-28 04:28:36 -07:00
tester233
bcee255554 Update translation keys 2022-05-28 04:22:53 -07:00
Luke H-W
2cb18e2457
Fix setstats command feedback for targeting others (#1079)
Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-05-28 13:03:31 +02:00
ImmuState
b504866d84 Make sure energy drops are only processed for actual monsters. 2022-05-27 23:48:54 -07:00
KingRainbow44
a0deb2c1f8
Fix OAuth Authenticator 2022-05-27 20:09:13 -04:00
KingRainbow44
16846b46df
[BREAKING] Refactor OAuth handler 2022-05-27 19:58:04 -04:00
Melledy
141b1913cb Refactor accounts to not use a player uid 2022-05-27 00:22:55 -07:00
ProxyismGH
fc687a3bde TeamManager avatar add refactor. 2022-05-26 22:54:36 -07:00
logictc
e152728ddc fix no melee attach and adjust skill particle amount 2022-05-26 15:26:47 -07:00
ImmuState
cb2d6da2c5 Some refactoring. 2022-05-26 03:41:19 -07:00
ImmuState
35ad284c42 Introduce a simpler way to get the original owner of an EntityClientGadget 2022-05-26 03:41:19 -07:00
logictc
24dc2c47a6 remove debug msg 2022-05-25 21:10:10 -07:00
logictc
bdbdbd53b9 change indentation to tab 2022-05-25 21:10:10 -07:00
logictc
a5ab979418 fix indentation 2022-05-25 21:10:10 -07:00
logictc
eb5ff22464 implement skill particle generation 2022-05-25 21:10:10 -07:00
Akka
5d0610b6f2 Fixed excessive memory usage of Spatial Index 2022-05-25 00:42:52 -07:00
Akka
e1770b5a68 Support spawn NPC 2022-05-24 21:43:51 -07:00
ImmuState
ef20177a6b
Energy: Particle/Orb Drops from Monsters (#1054)
* Generate energy drops for monsters + make sure picking up particles honors their count.

* Use drop info from excels instead.

* Remove double newline.

* Remove commented code.
2022-05-24 21:43:04 -07:00
logictc
c45dd92ba5 don't take effect if energyUsage is false 2022-05-24 14:43:02 -07:00
logictc
40129ab346 clear energy on death 2022-05-24 14:43:02 -07:00
logictc
8f6f30c813 implement persist energy 2022-05-24 14:43:02 -07:00
tester233
8c45c25da5 Update zh-CN.json 2022-05-24 14:19:24 -07:00
tester233
920891e2bb Fix usage & update zh-CN.json 2022-05-24 14:19:24 -07:00
ShiroSaki
74649f28f6 Fix new account can't load codex datas 2022-05-23 23:55:46 -07:00
ShigemoriHakura
ec7a6aec50 remove unused import 2022-05-23 15:46:21 -07:00
ShiroSaki
0d5dc5ec31 Fix the bug that can't kill command-generated monsters
Command-generated monsters do not have spawnentry so we have to get data from getMonsterData
2022-05-23 15:46:21 -07:00
Akka
862bfa0611 remove unused imports 2022-05-23 15:46:17 -07:00
Akka
57260415b0 refactor the challenge 2022-05-23 15:46:17 -07:00
ShiroSaki
3a39545e34 Refactor support for codex(aka archive) animal, weapon, reliquary 2022-05-23 02:46:50 -07:00
Luke H-W
e433b46ef5
Fix team command (#1035)
* Fix logic error in team command

* Sugar team command messages

Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-05-23 02:45:03 -07:00