Commit Graph

77 Commits

Author SHA1 Message Date
KingRainbow44
70e448d8bc
Revert "Add the lombok Gradle plugin & run delombok"
This reverts commit 1f999113
2023-01-15 03:30:53 -05:00
KingRainbow44
56ac097c21
Bump to version 1.4.6 2023-01-15 03:14:43 -05:00
KingRainbow44
1f99911305
Add the lombok Gradle plugin & run delombok
`delombok` is ran only when generating JavaDocs due to how `@__` was introduced into the project
2023-01-15 03:13:54 -05:00
Simplxs
92fbaa8670
Update gc to 3.3 (#1981)
* replace the deprecated api

* update proto

* delete music game

* fixed codes

* fix costume switch

* fix mail bug

* Bump version number.

* Re-add max boss chest number

Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
2022-12-23 22:12:02 +01: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
2dd644f28b Version 1.4.3-dev [skip actions] 2022-10-26 12:31:30 +00:00
github-actions
229303f934 Version 1.4.2
Update languages [skip actions]
Fix whitespace [skip actions]
Update README and fil-PH (#1901)
Remove references to old repo
Make Player lazyload correct Account (should fix #1900)
Lombokify Grasscutter.java some more
Update ru-RU.json (#1895)
Extend setConstCommand "all" (#1884)
add Quest command alias (#1891)
Added zh-CN translaton for non-translated strings (#1890)
Updated Polish Translation (#1889)
Added "s" alias to SpawnCommand (closes #1840)
fix: unlocking home bgm doesn't work. (#1886)
Fix edge case on FileUtils::getFilenameWithoutPath
Medicine revival&Login white screen (#1883)
Save avatar in forceConstellationLevel (closes #1881)
Fix IllegalStateException when execute toMap (#1879)
Fix StackOverFlow when execute /give all (#1878)
Version 1.4.2-dev [skip actions]
2022-10-26 12:31:30 +00:00
github-actions
c5d30c44eb Version 1.4.2-dev [skip actions] 2022-10-18 14:56:27 +00:00
github-actions
6146d14dc1 Version 1.4.1
Fix whitespace [skip actions]
Restore ability to run without jar (#1875)
Avoid NPE on CookingCompoundManager init
Extend give command "skill level" & shortening /talent all (#1865)
Remove stale item handling code
Fix gacha avatars (fixes #1870)
Refactor out some EntrySets
send CompoundDataNotify on Login;fix spelling mistakes. (#1869)
Change logging level on item use from info to debug
feat:cooking food ingredient(aka:compound) implementation (#1858)
Remove constellation charge and talent level bonuses from db
Fix ambiguous command regexes
feat: set emoji collection in chat screen (#1864)
feat: set friend enter home option (#1860)
Add a dictionary for Encryption public keys (#1862)
Refactor handbook generation to not use naked textmap getter
Accept resource enums of form "1"
Update ru-RU.json (#1855)
Version 1.4.1-dev [skip actions]
2022-10-18 14:56:27 +00:00
github-actions
06fe05bcf7 Version 1.4.1-dev [skip actions] 2022-10-13 13:32:11 +00:00
github-actions
23f1298d6c Version 1.4.0
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (#1852)
Refactor GameData, remove deprecated getGsonFactory - Fix day-of-week dungeons - AvatarSkill max level enforcement from excels - Partial fix to bonus levels (need packet on talent update)
Lombokify and sort GameData
Extend talent command "all" (#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (#1848)
fix: ConcurrentModificationError by removing gadget (#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (#1843)
fix costumes are unable to be unlocked. (#1842)
Fix food decreasing (#1834)
Fix showing ban message box (#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (#1813)
[BREAKING] Deobfuscate codex field, slight refactor (#1809)
3.1 Support (#1808)
refactor HandlerWidgetDoBagReq
Update README.md
Fixed a tons of errors to make the drop system to accord with that in the actual game
Allow loading Resources from zip files Move Resources loading from String filenames to Paths Add zip support
Add `-game` and `-dispatch` startup arguments that override the run mode in the config
Use reflection to map database classes and add missing mapped classes to the dispatch datastore
Version 1.3.2-dev [skip actions]
2022-10-13 13:32:11 +00:00
github-actions
794350aa63 Version 1.3.2-dev [skip actions] 2022-09-16 17:04:45 +00:00
github-actions
ad64d71165 Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (#1777)
character and companionship exp gain to party not active character fixes #1787
fixed gadget hp properties and invincibility handling (#1773)
Add support for propperly showing activity shops (#1774)
Improve team respawn (#1752)
Update README.md (the origin) (#1736)
Update banners (closes #1760)
Update zh-CN.json (#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
2022-09-16 17:04:45 +00:00
github-actions
6cf83b30ee Version 1.3.1-dev [skip actions] 2022-09-03 03:36:52 +00:00
github-actions
155501058f Version 1.3.0
Update languages [skip actions]
Fix whitespace [skip actions]
Add version increments to lint branch
Plugin Manager localisation
Update ru-RU.json
fix serenitea pot main building
Add command targeting by account username
Fix elementless Traveler depotValue
[BREAKING] dummy commit for Express -> Javalin
Update contributing guidelines
Move the remaining `HttpUtils` function over to `Router`
Clean up http server content types
Replace express with javalin in logger
Update HttpServer & AuthenticationSystem to use Javalin
Remove ``java-express``. Add javalin as dependency
Custom Teams (#1731)
Console output player command (#1722)
Clean up adding extra embryo logic in Avatar::recalcStats
Clean up OpenStateData onLoad logic
Update default Banners.json (#1719)
fix serenitea pot (#1726)
fix: avatar energy transform in proudskill
Update README.md Sequel (#1717)
Add permission clear and list commands (#1715)
Fix offline account deletion (fixes #1716)
maybe drop my dev domain and use `grasscutter.io`
Fix up some japanese references
add dendro resonance
Update README_NL.md
Update readme interlinks
Jp support (#1712)
Update translation (#1711)
Merge pull request #1710 from pfyy/development
fix dungeon
Dutch language updates For README (#1709)
Fix weird conditional in `EquipAffixData`
partial fix of dungeon
Update `AvatarCostumeData` naming
Fix `ReliquarySetData` naming
Update README_zh-CN.md
Show accessAddress in bold yellow on startup This should make it easier to help people troubleshoot networked setups. Consider telling people to try connecting to the address with a web browser on the client's machine.
Update SetPropCommand strings, send cmd usage on target fail
refactor some itemdepot lookups for later
Fix account deletion
Fix HelpCommand missing aliases
Prevent material type from being null
Move vehicle fightprop hacks
Consolidate random point offsets
De-hardcode ChestBatchUse
Remove asset names from json and comments
Actually fix RegionHandler
Add new 3.0 Reliquary and SkillParticleGeneration data
versionFix must be >= 50 not == 50 in RegionHandler
Update game version to 3.0.0
Add Sumeru expeditions.
Add scene tag for Vanarana.
Make PointData compatible with alternative PointData
Fixed Gadget Spawning
3.0 Opcodes
Fix RegionHandler versions
Update classes to match protos
Update 3.0 protos
Fix QuestEncryptionKeys Path (#1696)
Update README.md (#1695)
More literate README_ru-RU.md
Avoid potential NPE on WL0 (#1693)
Make lint workflows ignore generated folder But run them on linter and workflow changes
Clean up some Position usage to avoid unneccessary unpacks
Fix healing skills being able to heal dead characters
Fix null pointer in `Avatar` if skill level map didnt already contain skill id
Delete quests from the player if there are errors loading them from the db
update zh-CN.json (#1684)
Update ru-RU.json
Rename lint_commit's job, don't fail on no changes
Fix lint commit reference
Allow adding constellations to playerless avatars Fixes #1682
Fix whitespace [skip actions]
Don't lint src/generated
Make TalentCommand show off new Translate function
Improve translate function Make commands pass ints and floats instead of manually casting them to string first
Hide resin from map when disabled
Replace protos with generated protos
small quest fixes (#1677)
Blossom Implement (#1606)
Merge pull request #1680 from 4Benj/development
Remove uncompiled protos from compiled jar
Remove crazy high AEXP drops from default chest rewards
Fix talentcommand message key
Refactor avatar skilldepot and constellation/talent changing Ensures Traveler retains talent levels and constellations on inactive elements when switching elements. Relevant for any other skillDepot-changing activities like Windtrace too, though keeping those in the db might not be as useful.
Add README_fil-PH.md (#1675)
Avoid allocations on Map::putIfAbsent usage Map::computeIfAbsent only runs the passed constructors when it needs to
Add iterable payItems methods Shame they could never be fully generic, but oh well
Change unlocked scenes from lists to sets
Handbooks: use some sorted maps
Stop vendoring fastutil
Lombokify some more getters
Remove erroneous references to excel skilldata instead of avatar skilldata Refactor team resonances and correct login behaviour and less-than-full-party behaviour
Add README_ko-KR.md (#1673)
Don't use UIDs as initial capacity for chat history
ChatSystem nitpick
Fix chat welcome messages and some slight refactoring.
Fix deprecated chat references
update zh-CN.json (#1662)
Refactoring (#1660)
chore: typo fix
Bump config version.
Update ConfigContainer.java (#1646)
make fishhook_tp configurable
Refactor Json helper functions to JsonUtils
Funnel all gson calls into helper functions
Remove beta message
Fix TalentCommand for Traveler
fix:command player said to server won't be shown at chat history (#1643)
Update install_without_dependencies.sh
Fixed install_without_dependencies.sh script
Handle Unlocking of Waypoints and Statues (#1608)
Stop language linter from fighting the main linter on \n
Fix an edge case that breaks embryos if resources are loaded early
Introduce a new arguments parser (#1629)
Fix Claiming BP Reward Chests (#1634)
Make missing languages not throw warnings
Unify gacha mappings generation
Remove vestigial references to gacha_mappings
Remove language hack from handbook generation
Generate handbooks on every launch, fix html docs
Refactor handbook generation, remove singular handbook
Cache used strings from TextMaps
Load in all the textmaps!
Implement working* burst/ultimate invincibility
Added Indonesian README
Added install_without_dependencies.sh file
Add invoke-level invulnerability for bursts.
Invoke `AbilityManager#onSkillStart` and `AbilityManager#onSkillEnd`
Add a method to be invoked on skill perform and end
Update README_pl-PL.md
Update README_ru-RU.md
Update README_es-ES.md
Update README_fr-FR.md
Update README_zh-TW.md
Update README_zh-CN.md
Update README.md
fix typo
Added Indonesian language
Added install_without_dependencies.sh file
Improve some documentation and JSON (#1618)
Add `EntityDamageEvent` and implementations
Add more events
Update HandlerSceneTransToPointReq.java
Update src/main/java/emu/grasscutter/server/packet/recv/HandlerSceneTransToPointReq.java
Update src/main/java/emu/grasscutter/game/managers/mapmark/MapMarksManager.java
Update src/main/java/emu/grasscutter/server/packet/recv/HandlerTryEnterHomeReq.java
Polish README and setConst translation (#1614)
Update ru-RU.json
Create ko-KR.json
Add `PlayerUseFoodEvent` and implementations
Move `PlayerTeleportEvent` occurrences into `World`
Merge branch 'development' into more-events
Clean-up the energy manager
Explicitly declare the charset of a `FileReader` in `ConfigContainer`
Update zh-CN.json
Changed charset of FileReader in ConfigContainer from default to utf-8.
Add files via upload
Auto language lint
Add explicit encoding on manage_languages.py for windows users
Add lock function to SetStatsCommand
Improve message formatting to clients Replaces tab indents with an extra linebreak. Also adds / to the start of command usage. Neither of these changes affect messages to the server console log.
Update zh-CN.json
Update zh-CN.json
Merge pull request #1586 from Birdulon/development
Suppress stacktrace on missing questkeys file
Change loading quest keys from `info` to `debug`.
Update zh-CN.json
Fix an NPE in `EntityGadget` when `draft_id` isn't set
SceneScriptManager fix nullPointer error
Move `QuestEncryptionKeys` to `resources/`
Traditional Chinese | Translation Patches
fix nullPointer error
small nullpointer fix in EntityGadget, in case meta gadget is not set
Update ru-RU.json
Add spanish translation for constellation commands
Merge pull request #1553 from akatatsu27/questing
token fix
Merge branch 'development' into questing
Update ru-RU.json
[Bug] New avatars always created with C0 constellation Fixes #1552
2.7+ prerendered cutscene support
two small activity/event fixes * fixed GetAcitivityInfoReq proto * added draft to gadget Scene gatget, to let the client know the propper minigame for some entities
Set Constellation Command (#1565)
Update French translation
Fix remaining traces of `Player#getPos`
Attempt to fix the `teleport` command.
Add `PlayerTeamDeathEvent` and implementations
Add `EntityDeathEvent` and implementations
Add a `Location` class (Scene + Position)
Remove deprecated class
Merge branch 'development' into more-events
call deregisterRegion appropriately
Merge branch 'development' into questing
Read Open States from Excels (#1557)
and misc bug fixes
Major questing improvements
Merge branch 'development' into more-events
Translated new changes in languages files to Spanish
Fix taking battle pass rewards
Add `unlockall` command to unlock all openstates
Fix battle pass manager saving with 0 id
Set `setChooseAvatarGuid` properly
Implement food buffs
Use sorted containers for commands & aliases
Change commands to use new usage message method.
Refactor Command usage and description strings
Updated Russian localization (#1543)
Refactor excel datas (Mainly item data)
Add `kcpInterval` to the config
Rename `hasSentAvatarDataNotify()` to `hasSentLoginPackets()`
Fix host team size not changing when a player joins their world for the first time
Lower kcp interval to 20
Bump project version
Add `PlayerTeleportEvent`
Update to support `PlayerMoveEvent`
Remove `Cancellable` from `PlayerMoveEvent`
Implement `PlayerMoveEvent`
2022-09-03 03:36:52 +00:00
Benj
b5bed6ceef Update HttpServer & AuthenticationSystem to use Javalin 2022-09-01 13:20:42 -07:00
Benj
bf9606222e Remove `java-express`. Add javalin as dependency 2022-09-01 13:20:42 -07:00
Magix
1a801192da
maybe drop my dev domain and use grasscutter.io 2022-08-26 11:11:19 -04:00
Benj
825517c2ec Remove uncompiled protos from compiled jar 2022-08-21 11:39:21 +08:00
AnimeGitB
b3c80db417 Stop vendoring fastutil 2022-08-18 22:05:51 +09:30
Magix
a07b3f21e6 Bump project version 2022-07-21 11:36:49 -04:00
zhaodice
6c49fab137 Block loader (sort and merge gadgets into different blocks) (#1517)
Original commits:

* block loader
* fix
* fix
* fix foolish bug
* add scales
* rename
* set to 600
* nitpick

Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-07-18 19:43:55 +09:30
Melledy
3eb9a44e51 Update dependencies 2022-07-18 01:56:26 -07:00
AnimeGitB
5e6a1f399c Replace Spotless with simple python lint script 2022-07-11 16:03:45 +02:00
AnimeGitB
425590156c Spotless code autoformatting 2022-07-10 21:46:45 +09:30
AnimeGitB
f1b63c56b1 Replace deprecated gradle properties 2022-07-10 21:45:16 +09:30
KingRainbow44
19d81463bc Merge remote-tracking branch 'origin/development' into development 2022-06-26 12:33:03 -04:00
KingRainbow44
3447d5e91e Change 'injectGitHash' task to properly format 'BuildConfig' 2022-06-26 12:22:10 -04:00
AnimeGitB
40dcde66e4 Add more lombok to keep VSCode happy 2022-06-25 22:19:29 -07:00
Magix
3585fd597b Merge branch 'development' into plugin-priority 2022-06-23 00:06:31 -04:00
Benj
b5c6b4795e Set up publishing to 4benj-maven for dev builds 2022-06-22 19:23:51 +08:00
KingRainbow44
aa43943025 Bump server version 2022-06-22 00:21:12 -04:00
Melledy
30c7bb9443 Merge branch 'dev-world-scripts' of https://github.com/Grasscutters/Grasscutter into development 2022-06-17 23:35:45 -07:00
Akka
e16633e34b Implement the Home System (Serenitea Pot) 2022-06-17 18:15:49 -07:00
Magix
93d49a7a2c Change the version to 1.2.1-dev 2022-06-10 15:56:38 -04:00
Akka
5a3e9bc34e Fixed excessive memory usage of Spatial Index 2022-05-25 00:42:52 -07:00
Akka
593de83847 optimized the lua serializer 2022-05-16 21:30:04 -07:00
Akka
6dc30e4def Enable script in big world (#884)
* add docs for tower

* fix: LEAK: ByteBuf.release() was not called

* enableScriptInBigWorld

* not print log when loaded scripts from cache

* revert the change of server tick

* revert the change of server tick

* fix

* optimize the performance: lazy load & cache

* fix the refresh group

* fix NPE

Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-05-15 04:19:24 -07:00
KingRainbow44
a2ff8c8470 Merge development into plugin-auth 2022-05-14 12:08:33 -04:00
KingRainbow44
0b21a43900 Update project to 1.1.2-dev 2022-05-13 11:37:49 -04:00
KingRainbow44
e131c3c5ed Add lombok 2022-05-13 11:37:17 -04:00
Hotaru
f441d0665a Allow to override final jar filename using project property 2022-05-12 14:54:27 -07:00
mingjun97
c105c71e53 Fix building error 2022-05-11 11:52:56 -07:00
mingjun97
41de6bd229 Make injectGitHash as a task 2022-05-11 11:52:56 -07:00
mingjun97
170db70b6f Fix github action build issue
* Move `BuildConfig.java` from `/src/generated`to `/src/main` to accomplish the building pipeline

* Add BuildConfig.java to the .gitignore
2022-05-11 11:52:56 -07:00
mingjun97
a77ae0bc3c Introduce -version argument to display version 2022-05-11 11:52:56 -07:00
真心
01a33906d3 Update build.gradle 2022-05-09 23:15:01 -07:00
Akka
9fc4b916c8 Persist Tower Data && Set The Tower Schedule 2022-05-08 06:06:32 -07:00
Magix
1beddf16c1 Update build.gradle (in prep for 1.1.0) 2022-05-07 18:17:32 -04:00