Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend spawn command #1777

Merged

Conversation

Hartie95
Copy link
Contributor

Description

This extends the spawn command to allow better testing and debuging, while it also lets it use the same pattern as give and clear.
It also fixes the type of non vehicle entities spawned via spawn Command, adds some missing EntityTypes and moves some common patterns and methods from some commands to a new CommandHelpers class.

Type of changes

  • Bug fix
  • New feature
  • Enhancement
  • Documentation

Checklist:

  • My code follows the style guidelines of this project
  • My pull request is unique and no other pull requests have been opened for these changes
  • I have read the Contributing note and Code of conduct
  • I am responsible for any copyright issues with my code if it occurs in the future.

@Hartie95 Hartie95 changed the title Spawn entities command Extend spawn command Sep 14, 2022
@GanyusLeftHorn
Copy link
Contributor

Suggestion: Maybe we could also add the ability to spawn monsters (1) with a set amount of HP, which might be very large/infinite, (2) with the AI turned off. This would effectively make it possible to spawn a test dummy monster.

Something like that would have been very useful while working on energy, for example, and would also be useful for testing if certain passives etc. work.

@Hartie95
Copy link
Contributor Author

Suggestion: Maybe we could also add the ability to spawn monsters (1) with a set amount of HP, which might be very large/infinite, (2) with the AI turned off. This would effectively make it possible to spawn a test dummy monster.

Something like that would have been very useful while working on energy, for example, and would also be useful for testing if certain passives etc. work.

Sound certainly usefull, I will look into it.

* move common command patterns and methods to CommandHelpers
* let the spawn command detect the entityType instead of spawning every entity as EntityVehicle
* add extra options for spawning gadgets for better debuging and testing
@Hartie95
Copy link
Contributor Author

Updated the pr, it now allows settings the stats of monsters and gadgets, overwriting the ai Id of monsters(e.g. 12001001 would be a non attacking but moving monster) and moves the int parameter handling to the CommandHelpers.

* Moved remaining patterns from GiveCommand and ClearCommand to CommandHelpers
* Added patterns for hp, maxhp, atk, def and (monster)ai for the spawn command
* Moved intParam parsing via regex to the CommandHelpers
* Read most of EntityVehicle stats from the ConfigGadget instead of hardcoding them
@Birdulon Birdulon merged commit 08f3619 into Grasscutters:development Sep 16, 2022
github-actions bot added a commit that referenced this pull request Sep 16, 2022
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]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 9, 2022
Fix whitespace [skip actions]
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 12, 2022
Fix whitespace [skip actions]
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 12, 2022
Fix whitespace [skip actions]
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 12, 2022
Fix whitespace [skip actions]
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 13, 2022
Fix whitespace [skip actions]
Lombokify and sort GameData
Extend talent command "all" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 13, 2022
Fix whitespace [skip actions]
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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 13, 2022
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (Grasscutters#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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 15, 2022
Accept resource enums of form "1"
Update ru-RU.json (Grasscutters#1855)
Version 1.4.1-dev [skip actions]
Version 1.4.0
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (Grasscutters#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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 15, 2022
Refactor handbook generation to not use naked textmap getter
Accept resource enums of form "1"
Update ru-RU.json (Grasscutters#1855)
Version 1.4.1-dev [skip actions]
Version 1.4.0
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (Grasscutters#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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 15, 2022
Fix whitespace [skip actions]
Add a dictionary for Encryption public keys (Grasscutters#1862)
Refactor handbook generation to not use naked textmap getter
Accept resource enums of form "1"
Update ru-RU.json (Grasscutters#1855)
Version 1.4.1-dev [skip actions]
Version 1.4.0
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (Grasscutters#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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 17, 2022
Fix whitespace [skip actions]
Fix ambiguous command regexes
feat: set emoji collection in chat screen (Grasscutters#1864)
feat: set friend enter home option (Grasscutters#1860)
Add a dictionary for Encryption public keys (Grasscutters#1862)
Refactor handbook generation to not use naked textmap getter
Accept resource enums of form "1"
Update ru-RU.json (Grasscutters#1855)
Version 1.4.1-dev [skip actions]
Version 1.4.0
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (Grasscutters#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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 17, 2022
Fix whitespace [skip actions]
Remove constellation charge and talent level bonuses from db
Fix ambiguous command regexes
feat: set emoji collection in chat screen (Grasscutters#1864)
feat: set friend enter home option (Grasscutters#1860)
Add a dictionary for Encryption public keys (Grasscutters#1862)
Refactor handbook generation to not use naked textmap getter
Accept resource enums of form "1"
Update ru-RU.json (Grasscutters#1855)
Version 1.4.1-dev [skip actions]
Version 1.4.0
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (Grasscutters#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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 17, 2022
Fix whitespace [skip actions]
Change logging level on item use from info to debug
feat:cooking food ingredient(aka:compound) implementation (Grasscutters#1858)
Remove constellation charge and talent level bonuses from db
Fix ambiguous command regexes
feat: set emoji collection in chat screen (Grasscutters#1864)
feat: set friend enter home option (Grasscutters#1860)
Add a dictionary for Encryption public keys (Grasscutters#1862)
Refactor handbook generation to not use naked textmap getter
Accept resource enums of form "1"
Update ru-RU.json (Grasscutters#1855)
Version 1.4.1-dev [skip actions]
Version 1.4.0
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (Grasscutters#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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 17, 2022
Fix whitespace [skip actions]
Refactor out some EntrySets
send CompoundDataNotify on Login;fix spelling mistakes. (Grasscutters#1869)
Change logging level on item use from info to debug
feat:cooking food ingredient(aka:compound) implementation (Grasscutters#1858)
Remove constellation charge and talent level bonuses from db
Fix ambiguous command regexes
feat: set emoji collection in chat screen (Grasscutters#1864)
feat: set friend enter home option (Grasscutters#1860)
Add a dictionary for Encryption public keys (Grasscutters#1862)
Refactor handbook generation to not use naked textmap getter
Accept resource enums of form "1"
Update ru-RU.json (Grasscutters#1855)
Version 1.4.1-dev [skip actions]
Version 1.4.0
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (Grasscutters#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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
github-actions bot added a commit to Birdulon/Grasscutter that referenced this pull request Oct 18, 2022
Fix whitespace [skip actions]
Fix gacha avatars (fixes Grasscutters#1870)
Refactor out some EntrySets
send CompoundDataNotify on Login;fix spelling mistakes. (Grasscutters#1869)
Change logging level on item use from info to debug
feat:cooking food ingredient(aka:compound) implementation (Grasscutters#1858)
Remove constellation charge and talent level bonuses from db
Fix ambiguous command regexes
feat: set emoji collection in chat screen (Grasscutters#1864)
feat: set friend enter home option (Grasscutters#1860)
Add a dictionary for Encryption public keys (Grasscutters#1862)
Refactor handbook generation to not use naked textmap getter
Accept resource enums of form "1"
Update ru-RU.json (Grasscutters#1855)
Version 1.4.1-dev [skip actions]
Version 1.4.0
Fix whitespace [skip actions]
[BREAKING] Item Usage Overhaul
Updated MAX_FRIENDS (Grasscutters#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" (Grasscutters#1850)
fix: Solar Isotoma Elevator doesn't work in multiplayer mode (Grasscutters#1848)
fix: ConcurrentModificationError by removing gadget (Grasscutters#1849)
Add DynamicFloat class
fix: albedo elevator doesn't work (Grasscutters#1845)
Update GM Handbook with Spincrystal names and Monster strings
feat: unlock homeworld bgm and set homeworld bgm. (Grasscutters#1844)
Flatten language translation keys in-memory
feat: set namecards in profile editing. (Grasscutters#1843)
fix costumes are unable to be unlocked. (Grasscutters#1842)
Fix food decreasing (Grasscutters#1834)
Fix showing ban message box (Grasscutters#1826)
Don't need full Java stacktrace on Lua errors
Move Data, Plugin, Script, Packet access from Strings to Paths (Grasscutters#1839)
Add `shutdown` alias to StopCommand
Update Banners.json (Grasscutters#1813)
[BREAKING] Deobfuscate codex field, slight refactor (Grasscutters#1809)
3.1 Support (Grasscutters#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]
Version 1.3.1
Fix whitespace [skip actions]
Extend spawn command (Grasscutters#1777)
character and companionship exp gain to party not active character fixes Grasscutters#1787
fixed gadget hp properties and invincibility handling (Grasscutters#1773)
Add support for propperly showing activity shops (Grasscutters#1774)
Improve team respawn (Grasscutters#1752)
Update README.md (the origin) (Grasscutters#1736)
Update banners (closes Grasscutters#1760)
Update zh-CN.json (Grasscutters#1762)
Calculate Banner.previewPrefabPath
Forbid PRs from modifying certain files
Added a directive to fix some minor bugs (Grasscutters#1744)
remove accidentally committed symlink
Version 1.3.1-dev [skip actions]
GanyusLeftHorn pushed a commit that referenced this pull request Dec 11, 2022
* add missing EntityTypes

* small command refactorings and improvements
* move common command patterns and methods to CommandHelpers
* let the spawn command detect the entityType instead of spawning every entity as EntityVehicle
* add extra options for spawning gadgets for better debuging and testing

* More spawn command additions and cleanups+EntityVehicle changes
* Moved remaining patterns from GiveCommand and ClearCommand to CommandHelpers
* Added patterns for hp, maxhp, atk, def and (monster)ai for the spawn command
* Moved intParam parsing via regex to the CommandHelpers
* Read most of EntityVehicle stats from the ConfigGadget instead of hardcoding them

Co-authored-by: hartie95 <mail@hartie95.de>
GanyusLeftHorn pushed a commit that referenced this pull request Dec 11, 2022
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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants