Commit Graph

2341 Commits

Author SHA1 Message Date
KingRainbow44
5167253136
fix(5.0): Update GameConstants.java with 5.0 changes 2024-09-28 18:48:51 -04:00
KingRainbow44
3c8d1263e5
fix: Re-add handbook_auth.html
its still used by handbook authenticator; i won't judge anyone if they're still loading the handbook
2024-09-28 18:47:43 -04:00
KingRainbow44
c663b60c1d
misc(README.md): Put quick-start guide in a collapsable block 2024-09-28 18:39:39 -04:00
KingRainbow44
540c2e9c4b
feat(5.0): Update README.md to include game download links
this is also a misc patch to update to java 21
2024-09-28 18:36:03 -04:00
KingRainbow44
b625d4e8ec
misc(build.gradle): Bump version & Java target compatability
this also includes an update to the Dockerfile which bumps the Java version to 21
2024-09-28 18:31:17 -04:00
KingRainbow44
d5756f2559
feat(5.0): Update KCP library
taken from GC fork, don't want to name here tho
2024-09-28 18:14:29 -04:00
KingRainbow44
261319f348
misc(README.md): Add credits block
i want to credit ppl. but:
1. i don't want to get people in trouble
2. don't know who wants credit/not
2024-09-28 18:02:13 -04:00
KingRainbow44
5bdfc8770b
misc(InfoCommand.java): Update credits 2024-09-28 17:58:08 -04:00
KingRainbow44
0999038e33
misc(build.gradle): Remove Ben4J repo publishing & Update the artifact license 2024-09-28 17:45:50 -04:00
KingRainbow44
70bb5ca5b5
misc: Remove the handbook from the main repository
sorry guys, i just wanted to do something cool...
2024-09-28 17:45:21 -04:00
KingRainbow44
ab0ec0a0e0
fix(Ability.java): Remove unsafe cast 2024-09-28 17:34:41 -04:00
KingRainbow44
abb3242e20
fix(GachaSystem.java): Remove use of deprecated code 2024-09-28 17:32:58 -04:00
KingRainbow44
255d0a041c
feat(5.0): Remove field setters which aren't available
these have comments indicating why they were removed/unset
2024-09-28 17:30:01 -04:00
KingRainbow44
45a3cf0b8b
feat(5.0): Update protocol definitions 2024-09-28 17:29:15 -04:00
KingRainbow44
f9d46ace7f
misc(gradle): Update plugin versions 2024-07-06 23:09:12 -04:00
github-actions
36346f87f9 Update languages [skip actions] 2024-07-07 03:04:15 +00:00
KingRainbow44
ea84789c47
Merge remote-tracking branch 'origin/unstable' into unstable 2024-07-06 23:04:06 -04:00
KingRainbow44
85719b9aeb
fix(ci): Upgrade GitHub Actions to Java 21 2024-07-06 23:02:44 -04:00
KingRainbow44
e5b3d65916
fix(lang): Add language key for password crypto failure
this was copilot generated lmfao
2024-07-06 23:01:18 -04:00
github-actions
93df2d0b0e Format code [skip actions] 2024-07-07 02:59:06 +00:00
KingRainbow44
e7ed66477f
fix(networking): Prevent hanging the network loop if an exception occurs 2024-07-06 22:54:10 -04:00
KingRainbow44
af70de316e
fix(SceneScriptManager.java): Catch Lua groups NPE
this is a weird issue; found it while testing networking stack and it also crashed the network thread
2024-07-06 22:47:37 -04:00
KingRainbow44
f29189be8f
misc: Update package versions
this also moves some packages to a general number set in `gradle.properties`
2024-07-06 22:34:10 -04:00
KingRainbow44
4ced11d567
fix(auth): Skip further decryption if encrypted password fails to decrypt
this should only occur if the wrong RSA key is used on the client, otherwise the patch probably forgot to set `is_crypto` to false
2024-07-06 22:33:46 -04:00
KingRainbow44
446e994ff0
fix(handbook): Skip reading handbook from resources if it is disabled 2024-07-06 22:25:18 -04:00
KingRainbow44
655016c92e
fix(Grasscutter.java): Exclude compiled protos package from being scanned by reflections 2024-07-06 22:24:56 -04:00
KingRainbow44
d0e3720748
feat(networking): Abstract game session networking
includes:
- abstracted form of session handling
- existing implementation using new abstracted system
- general clean-up of GameSession.java
2024-07-06 22:14:26 -04:00
KingRainbow44
db4542653a
misc(gradle): Allow support with Java 21 2024-07-06 19:30:13 -04:00
Ign1s_Reiga
76fd5b2e9c
Update README_ja-JP.md (#2516) 2024-06-05 21:14:11 -04:00
KittenPixel
4022267888
Configuration Update - Shown Email (#2509)
* This version will allow the private server owner to show a different email then "@grasscutter.io" if they want.

* Update src/main/java/emu/grasscutter/config/ConfigContainer.java

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>

* Update src/main/java/emu/grasscutter/game/Account.java

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>

* Update src/main/java/emu/grasscutter/game/Account.java

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>

---------

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2024-05-13 21:58:46 -04:00
Magix
f1f5b54939
(fix:docker) Fix uploading to container registry 2024-03-16 23:09:40 -07:00
Jordan Jones
f871f261e1
Add Docker Support (#2486)
* chore(docker): add build workflow

* chore(docker): update gradle image

* chore(docker): this really shouldnt be running on raspberry pi's right now.

* chore(docker): not sure why we need unzip here

* chore(docker): attempt to add nodejs to allow the handbook to build

* chore(docker): whoops, needs to be done during build

* chore(docker): i dont know if this is going to work

* chore(docker): replace my username with repo org as I am no longer testing this

* chore(docker): version will change in the future, so fix it now.
2024-03-17 01:57:39 -04:00
Gaobaiawa
eeaccf32c4
add some client download link and fix readme (#2475)
* Update README.md

* Update README_zh-CN.md

* Update README_hn-IN.md
2024-03-17 01:14:10 -04:00
OmegaPobretón
6e1913aacb
Add documentation on 404 error page. (#2463)
* Update HttpServer.java

* Update HttpServer.java

---------

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2024-01-18 23:30:03 -05:00
Thoronium
9e17e4aacb
Update client link (#2470) 2024-01-18 23:15:13 -05:00
github-actions
770a793c69 Format code [skip actions] 2023-12-14 05:36:30 +00:00
longfruit
c4402cc287
Fix some more dungeons (#2449)
* Monds weapon mats domain: Fix time between kill not refreshing
* Inaz husk domain: Fix broken domain challenge
    * `EVENT_ANY_MONSTER_LIVE` is likely sent on tick, not on create. See scene40801_group240801001.lua:
        1. `condition_EVENT_ANY_MONSTER_LIVE_1023` checks for mob 1008 to spawn AND for variable `challenge` to be 1
        2. Mob 1008 spawns during `action_EVENT_SELECT_OPTION_1003`, at `ScriptLib.AddExtraGroupSuite(context, 240801001, 2)`
        3. This spawn triggers `EVENT_ANY_MONSTER_LIVE` for mob 1008 but still fails the condition because `challenge` is still 0.
        4. `challenge` is set to 1 at the end of `action_EVENT_SELECT_OPTION_1003`. By now, `EVENT_ANY_MONSTER_LIVE` for mob 1008 no longer fires, causing the domain challenge to fail to start.
2023-12-14 00:34:50 -05:00
KingRainbow44
5ebad71e9d
Bump to version 1.7.4 2023-11-30 23:41:55 -05:00
Ign1s_Reiga
564b609028
Update README_ja-JP.md (#2438)
* Update README_ja-JP.md

* fix sentences correctly
2023-11-19 19:34:14 -05:00
github-actions
cdb0dc560a Format code [skip actions] 2023-11-17 04:58:02 +00:00
longfruit
d8c3da8fcd
Handle mob summon and limbo state (#2432)
Mob summon: Something like Monster_Apparatus_Perpetual can summon helper mobs. Ensure these helpers actually get summoned and, on their defeat, possibly change the summoner's mob state. Like, temporarily enter weak state.
* Take summon tags from BinOutput/Monster/ConfigMonster_*.json and put them in SceneMonsterInfo
* Handle Summon action in ability modifiers from BinOutput/Ability/Temp/MonsterAbilities/ConfigAbility_Monster_*.json
* On summoner's kill, also kill the summoned mobs

Limbo state: Something like Monster_Invoker_Herald_Water should be invulnerable at a certain HP threshold. Like, shouldn't die when creating their elemental shield. Or, Monster_Apparatus_Perpetual's helper mobs shouldn't die before their summoner.
* Look through ConfigAbility (AbilityData in GC) like Invoker_Herald_Water_StateControl. If any AbilityModifier within specifies state Limbo and properties.Actor_HpThresholdRatio, account for this threshold in GameEntity::damage.
* Don't let the entity die while in limbo. They will be killed by other events.
2023-11-16 23:56:37 -05:00
github-actions
13c40b53a7 Format code [skip actions] 2023-11-10 02:57:50 +00:00
hamusuke
f1c1a84683
fix: NPE related to teapot when player logs in. (#2429)
* fix: NPE related to home when player logs in.

* fix: NPE related to home when player logs in.

* forgot to save player after fixing module id
2023-11-09 21:56:21 -05:00
github-actions
2bcbd41026 Format code [skip actions] 2023-11-09 02:16:38 +00:00
ender non
adf8031684
Fix a typo from "culivation" to "cultivation" in readme EN, zh-CN, zh-TW (#2431)
* fix a singular typo in readme.md

fixed "culivation" to cultivation

* Update README_zh-CN.md

culivation to cultivation

* Update zh-TW to fix "culivation"

Cultivation from culivaton
2023-11-08 21:15:57 -05:00
longfruit
0bbeaf254b
Fix tower mob level and hp scaling (#2430) 2023-11-08 21:15:10 -05:00
github-actions
1fac319eb2 Format code [skip actions] 2023-11-05 19:58:28 +00:00
longfruit
d224178a64
Only deduct energy when elemental burst actually fires (#2424) 2023-11-05 14:57:17 -05:00
github-actions
d461ee2eb3 Format code [skip actions] 2023-11-03 02:02:24 +00:00
longfruit
24874e7fba
Implement abyss defense objective (#2422) 2023-11-02 22:00:05 -04:00