* [Security][Bugfix] Fix directory traversal exploit
1.The first slash will act as root path when resolving local path, so directory traversal is possible
2.Filter the illegal payload to prevent directory traversal
3.This also fix the bug about not loading the files in data folder when querying `/hk4e/announcement/`
* Fix formatting
* Update src/main/java/emu/grasscutter/server/http/handlers/AnnouncementsHandler.java
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]
* made it more c l e a r e r
* add .
* Update README.md
* Capitalised HTTPS
* update actions to build
* fixed typo
Fixed the bullet point spacing, removed http://mitm.it as the download page don't exist anymore, added `mitmproxy-ca-cert.cer` and save script into the instruction.
* added additional info about mitmproxy
* minor fixes
* Update README_fil-PH
Synced with the README
Removed bad words, insults like saying the user has skill issues
Added some professionally
* grammar fix
* Extend give command "talent"
* Update src/main/java/emu/grasscutter/data/excels/AvatarSkillDepotData.java
Shorten IntStream for getCombatSkills
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
* Fix setSkillLevel to work during avatar construction
Shortening getCombatSkills
* changeSkillLevel now acts as intermediate operation to fetch skillIds
* setSkillLevel changes to allow out of range levels to be normalized
* Update src/main/java/emu/grasscutter/command/commands/GiveCommand.java
Removing recalcStats since it's redundant
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
* Major changes and cleanup:
- AvatarSkillDepotData: removed getCombatSkills since it's unused
- TalentCommand: shortened /talent all using getSkillsAndEnergySkill
- GiveCommand: changed changeSkillLevel to setSkillLevel
- Avatar: delete changeSkillLevel and moved the operation inside setSkillLevel,updated skillId to Integer to catch special cases from GiveCommand
* Small cleanup:
Removed the special case from Avatar to be handled inside of GiveCommand
* Added "all" parameter to SetConst
* Changed all to [all] int SetConstCommand usage
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
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]
* Extend give command "talent"
* Update src/main/java/emu/grasscutter/data/excels/AvatarSkillDepotData.java
Shorten IntStream for getCombatSkills
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
* Fix setSkillLevel to work during avatar construction
Shortening getCombatSkills
* changeSkillLevel now acts as intermediate operation to fetch skillIds
* setSkillLevel changes to allow out of range levels to be normalized
* Update src/main/java/emu/grasscutter/command/commands/GiveCommand.java
Removing recalcStats since it's redundant
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
* Major changes and cleanup:
- AvatarSkillDepotData: removed getCombatSkills since it's unused
- TalentCommand: shortened /talent all using getSkillsAndEnergySkill
- GiveCommand: changed changeSkillLevel to setSkillLevel
- Avatar: delete changeSkillLevel and moved the operation inside setSkillLevel,updated skillId to Integer to catch special cases from GiveCommand
* Small cleanup:
Removed the special case from Avatar to be handled inside of GiveCommand
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
* feat:cooking food ingredient(aka:compound) implementation
Implement food ingredient(compound) feature.Need a thorough test and still has some work to do.
* small bug fix;implement fish processing
* Update src/main/java/emu/grasscutter/server/packet/send/PacketItemAddHintNotify.java
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
* Update Inventory.java
* Update Inventory.java
Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
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]
-De-hardcode elemental orb values
-De-hardcode exp items
-Change ShopChest format (temporary, drop system overhaul will replace it entirely)
-Food healing actually uses Ability data for real HP amounts