2123 Commits

Author SHA1 Message Date
hartie95
27c7a8a97d Small personalLine handling refactoring to store which are unlocked and allow using accept conditions for unlocking the quests 2022-12-22 02:56:29 +01:00
hartie95
88d2b63758 check if level is bigger then for ContentPlayerLevelUp 2022-12-22 02:42:10 +01:00
hartie95
4c39a5e28a add new item notification for new items added ( thx @mjolsic ) 2022-12-22 02:29:23 +01:00
hartie95
3a1fff76c0 Automatically add replacement costumes for charaters ( thx @mjolsic ) 2022-12-22 02:27:50 +01:00
hartie95
68f4529391 add QUEST_EXEC_SET_OPEN_STATE 2022-12-22 02:12:48 +01:00
hartie95
8aff743f94 add missing logic types and handle empty progress arrays 2022-12-22 02:00:51 +01:00
hartie95
667ea4814c move accept cond filling to QuestData.onLoad() 2022-12-22 01:59:59 +01:00
hartie95
5599f2e78b Small dungeon and Challange enum refactoring
* moved dungeon enums to dungeons.enums.*
* moved challange enums to dungeons.challenge.enums.*
* added some missing Enums
  * ChallengeCondType
  * ChallengeEventMarkType (also used in ScriptLoader)
  * ChallengeRecordType.java
  * FatherChallengeProperty (also used in ScriptLoader)
  * DungeonEntrySatisfiedConditionType
  * DungunEntryType
2022-12-22 01:26:32 +01:00
유여름
8b83dbf58c
Update Korean translation (#1977)
* updated ko-KR.json

Update Korean translation

* Update ko-KR.json
2022-12-11 01:22:34 +10:30
Baguette
d6fef3252f
Formalizing and changing untranslated words (#1973)
Changing non-formal word of "Sebahagian" to "Sebagian", Changing untranslated word, Making stuff slightly more clear
2022-12-10 10:26:46 +10:30
hartie95
8860acd898 Fix TalkId -> Quest mapping 2022-12-10 00:35:02 +01:00
Alexander Hartmann
ab0416ad72
Merge pull request #37 from Hartie95/routes
Now with 50% more routes (implement routes framework)
2022-12-06 17:06:51 +01:00
Alexander Hartmann
6d2d19d152
Merge pull request #34 from mjolsic/trial-avatar-for-quest-only
Added support for granting trial avatars (Quest Exec Only)
2022-12-06 16:54:30 +01:00
hartie95
34cde3add4 moved protos to grasscutter package
small cleanups
2022-12-06 16:44:32 +01:00
hartie95
e1198607ab Now with 50% more routes
Implemented configRoutes + platform refactoring
* EntityGadget now has the fieldRouteConfig, which is used to manage routes
* Implemented routes system, adds:
  * ConfigRoute (routes based on config id, mostly handled by the client)
  * AbilityRoute (routes based on abilities, those are still hardcoded)
  * PointArrayRoute (not implemented since resources for them are missing)
* EVENT_PLATFORM_REACH_POINT lua event still missing
2022-12-05 23:33:04 +01:00
Tesutarin
e73984bd41
Update CHS translation (#1965) 2022-12-02 10:25:15 +10:30
AnimeGitB
553e22ead8 Add more explicit NoSuchFileException message for excels 2022-11-28 21:04:39 +10:30
AnimeGitB
5878cb6f8d Accidentally left recent banner on test string 2022-11-26 16:50:56 +10:30
AnimeGitB
100d08ec5d Fix up pity tallies for new BannerTypes
Also fixes Beginner banner using Standard pity.
2022-11-26 02:03:11 +10:30
AnimeGitB
83b84408a1 Bake banner defaults into BannerType enum, and add every historic banner 2022-11-25 23:25:22 +10:30
AnimeGitB
da3981089d Add Position JsonAdapter for [x,y,z] format
Also add serializers for existing JsonAdapters
2022-11-25 00:29:26 +10:30
AnimeGitB
ad502a8568 Finally enforce deprecation of ancient Banners.json fields
Also add costItemId10 column so people know it exists, and removeC6FromPool column because it's a cool setting nobody knows about.
2022-11-24 23:56:13 +10:30
AnimeGitB
f6c84fdfbf Forgot about a 5star character that was added to the standard pool 2022-11-24 23:17:10 +10:30
AnimeGitB
1c4d263dd2 Add Data TSJ loading, replace and update Banners 2022-11-24 23:09:55 +10:30
WQJ
28a9f24501 Cleaned up code based on comments as well as added some missing implementation in ScriptLib
* changed addTrialAvatarForQuest() in Player.java to accept Grant Reason as another param
* changed removeTrialAvatar() in Player.java to remove trial avatar based on trialAvatarId instead of clearing the entire team
* modified Avatar.java to not save avatar to DB if it is a trial avatar
* modified relevant files
-> GameItem.java
-> TeamManager.java
-> ExecGrantTrialAvatar.java
-> ExecRemoveTrialAvatar.java

* added implementation for ScenePlayerSoundNotify in ScriptLib
* added implementation for ShowClientGuideNotify in ScriptLib
* added relevant files
-> ScenePlayerSoundOuterClass.java
-> ShowClientGuideNotifyOuterClass.java
-> VectorOuterClass.java
-> GuideTriggerData.java
-> PacketScenePlayerSoundNotify.java
-> PacketShowClientGuideNotify.java
* modified relevant files
-> GameData.java
2022-11-24 19:28:02 +11:00
AnimeGitB
35962542af Fix oversight on EnumTypeAdapterFactory 2022-11-24 01:36:58 +10:30
Luke H-W
0b5329514b
TSJ and TSV parsing (#1962)
* Deserialization support for tsv files

* Benchmarking

* Apparently moving the setter out of the lambda fixed the setAccessible issue

* Thread it

* Use AllArgsConstructor instead of field reflection

* Clean up AllArgsConstructor TSV deserialization

* Refactor TsvUtils

* Remove AllArgsConstructors from Excels

* Set field accessible

* [WIP] TSJ improvements

* [WIP] More TSV stuff

* [WIP] More TSV stuff

* Working TSV parser (slow)

* Load Excels in TSJ > JSON > TSV priority
2022-11-24 00:18:57 +10:30
Xotak
46b0c7cf93
Work on French localization (#1958)
* Work on French localization

* Apply suggestions from code review
2022-11-22 20:48:39 +10:30
Sinon
1e932ce144
added IT redeirect on all ReadME and typo fix (#1954)
* Added it-IT translaton

* added Italian readme

* readme redirect

add "it-IT" redirect on all readme

* added "it-IT" redirect on README.md

* Add files via upload

* added it to jp readme

* fix

* fix whitspasces

(vscode)
2022-11-20 22:45:43 +10:30
Xiaorunyu2541
b1a9ed0226
Update DeforestationManager.java (#1955)
* Update DeforestationManager.java

* Update src/main/java/emu/grasscutter/game/managers/deforestation/DeforestationManager.java
2022-11-20 18:25:36 +10:30
WQJ
0c7b8a34b3 Added support for granting trial avatars (Quest Exec Only)
- Added files
-- ExcelData
* TrialAvatarData.java
* TrialAvatarTemplateData.java
* TrialReliquaryData.java

-- OuterClass
* AvatarDelNotifyOuterClass.java

-- Packets
* PacketAvatarDelNotify.java to remove trial avatar appearing in player's bag

-- QuestExec
* ExecGrantTrialAvatar.java
* ExecRemoveTrialAvatar.java

- Modified files
-- ExcelData
* GameData.java to cache excel data
* QuestData.java to read trial avatar list

-- Game files
* Avatar.java to set trial avatar information
* Player.java to send corresponding packages for trial avatar
* TeamManager.java to add trial avatar to temporary team
* GameQuest.java to remove trial avatar on quest fail
* World.java to not send extra startDungeon() which is already handled by dungeon system

-- Packets
-- PacketAvatarTeamUpdate.java to selectively send trial team or player's team information
2022-11-19 15:55:13 +11:00
Sinon
676ed32a12
Added it-IT translaton (#1946)
* Added it-IT translaton

* added Italian readme
2022-11-14 11:19:35 +10:30
Alexander Hartmann
5e3c647b68
Merge pull request #32 from Hartie95/quest-enum
Quest Trigger refactoring+accept cond cache
2022-11-12 17:31:35 +01:00
hartie95
ab1efab4fb directly use owner instead of mainQuest 2022-11-08 17:56:13 +01:00
hartie95
e08ce413c8 Added acceptCond cache
Split apart QuestTrigger enum
Handle unknown QuestTrigger values different
2022-11-08 17:43:42 +01:00
Alexander Hartmann
546189c3ce
Merge pull request #25 from mjolsic/main
Quest fix 357 (mainly 35722 Dvalin fight)
2022-11-08 12:31:27 +01:00
Jeez
05fe62b49a
[FIX] Language es-ES (spanish) (#1941) 2022-11-08 14:54:15 +10:30
WQJ
658c8daeec Quest fix 357 (mainly 35722 Dvalin fight)
- Added outer class and packets for quest transmit (teleportation during quest), cleaned up related files
-- QuestTransmitReqOuterClass.java (newly added)
-- QuestTransmitRspOuterClass.java (newly added)
-- HandlerQuestTransmitReq.java (newly added)
-- PacketQuestTransmitRsp.java (newly addded)
-- TeleportData.java (read teleport data in quest shared config)

- Read extra files to display Boss name and cleaned up related files
-- MonsterSpecialNameData.java (newly read)
-- MonsterDescribeData.java (cleaned up)
-- MonsterData.java (cleaned up)
-- EntityMonster.java (cleaned up to display the special titles)

- Read extra files to use extra abilities for certain scene and cleaned up related files
-- ConfigLevelEntity.java (newly read)
-- SceneData.java (from here map to ConfigLevelEntity)
-- AvatarData.java (moved part of ability embryo code to function to be reused in Player.java)
-- Player.java (rebuild and add ability embryo if any)

- Modified Grasscutter.java
-- to init ScriptLoader before ResourceLoader.loadAll() since quest shared config are in luas

- Modified ResourceLoader.java to load new data
-- function loadQuestShareConfig (rewind and teleport data)
-- function loadConfigLevelEntityData (ability embryo for certain scene)

- Modified GameData.java
-- to cache all the newly read data

- Modified GameMainQuest.java
-- to read rewind positions from cahced, rather than saving to DB

- Modified World.java
-- to rebuild and add ability embryo for every new scene
-- to give more teleport reason

- Modified PlayerTeleportEvent
-- to map to client transmit reason
2022-11-06 14:50:39 +11:00
github-actions
b781e560e4 Version 1.4.4-dev [skip actions] 2022-11-05 12:49:35 +00:00
github-actions
5c4c62c1ed Version 1.4.3
Update languages [skip actions]
Fix whitespace [skip actions]
Refactor Entity data
Clean up excels
Make PlayerBuffManager::removeBuff actually remove buff
Remove LinkedList usage https://twitter.com/joshbloch/status/583813919019573248
Add FIGHT_PROP_CUR_DEFENSE alias to setstats (closes #1929)
Update gradle wrapper (closes #1076)
Add warnings to ancient deprecated Banners.json fields Will probably turn these into runtime errors in 1.5.0, people need to stop sharing configs with dead fields and especially stop making PRs with them.
3.2 First Half Banners (closes #1932)
Reimplement namecard claiming (fixes #1882)
Kill console on IOError
Refactor command kwarg parsing
Update roomSceneId obfuscated names (#1926)
Add the new keys (3.2 Support) (#1923)
Update README_ja-JP.md (#1922)
Fix Mail SendToAll Freeze (#1913)
Remove deprecated constructor call
Debug system (#1894)
[Security][Bugfix] Fix directory traversal exploit (#1907)
Updated spanish translations (#1911)
Don't override en-us gacha strings with vietnamese
Fix gacha history internal server error
Fix CONTIBUTING typo in protect_files.yml
Remove compilation warning on Language.java
Version 1.4.3-dev [skip actions]
2022-11-05 12:49:35 +00:00
github-actions
e2b59fbd8d Update languages [skip actions] 2022-11-05 12:49:35 +00:00
github-actions
84bf783243 Fix whitespace [skip actions] 2022-11-05 12:49:35 +00:00
AnimeGitB
4d8caf5a8c Refactor Entity data 2022-11-05 23:18:33 +10:30
AnimeGitB
a30f16b0e1 Clean up excels 2022-11-05 23:12:03 +10:30
AnimeGitB
65915b7666 Make PlayerBuffManager::removeBuff actually remove buff 2022-11-05 17:26:20 +10:30
AnimeGitB
1ceda2a455 Remove LinkedList usage
https://twitter.com/joshbloch/status/583813919019573248
2022-11-05 17:04:15 +10:30
AnimeGitB
09f392bb5b Add FIGHT_PROP_CUR_DEFENSE alias to setstats (closes #1929) 2022-11-05 15:36:52 +10:30
hartie95
7a98865f3e fix LuaSerializer handling of lists in classes 2022-11-05 06:01:49 +01:00
AnimeGitB
944bfb76f3 Update gradle wrapper (closes #1076) 2022-11-05 15:03:00 +10:30
AnimeGitB
dc7b8d8ca6 Add warnings to ancient deprecated Banners.json fields
Will probably turn these into runtime errors in 1.5.0, people need to stop sharing configs with dead fields and especially stop making PRs with them.
2022-11-05 14:22:17 +10:30