Commit Graph

2328 Commits

Author SHA1 Message Date
Thoronium
5fd31aece8
Fix home nulls (#2355)
* Add null checking

* Sanity check for moduleManager
2023-09-12 01:07:17 -04:00
github-actions
8de281d4da Format code [skip actions] 2023-09-10 23:21:44 +00:00
Nazrin
fbe2b138ee
Fixes for alchemy dude's quest (#2352)
* Add drops for gadgets

Gadgets only have drop_id when they are not chests (chest_drop_id). When drop_id is not set (0), handleChestDrop quickly exits

* Implement QUEST_COND_ITEM_GIVING_FINISHED

Took the oppertunity to Rename ContentFinishGivingItem to ItemGiving

* Store accept conditions like fail and finish content are

Took the oppertunity to clean up some old code as well

conditions are stored in QuestManager

* Update src/main/java/emu/grasscutter/game/quest/QuestManager.java

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

* Update ConditionItemGivingFinished.java

---------

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2023-09-10 19:20:28 -04:00
Nazrin
47c96fd964
Regular ScriptLib update! (#2349)
* Regular ScriptLib update!

* Move RefreshGroup down to debug

* Update SetGadgetEnableInteract
2023-09-09 20:49:22 -04:00
CJYKK
04370f1a21
Update CN README to game REL 4.0 (#2350) 2023-09-09 20:48:32 -04:00
github-actions
7845c54570 Format code [skip actions] 2023-09-09 03:07:29 +00:00
Pradeep
818b638bed
Added Hindi Language Support (#2347)
* Added Hindi Language Support 

Please review the code

* Update README_HE.md

* Update README_NL.md

* Update README_es-ES.md

* Update README_fil-PH.md

* Update README_fr-FR.md

* Update README_id-ID.md

* Update README_it-IT.md

* Update README_ja-JP.md

* Update README_ko-KR.md

* Update README_pl-PL.md

* Update README_ru-RU.md

* Update README_vi-VN.md

* Update README_zh-CN.md

* Update README_zh-TW.md
2023-09-08 23:07:18 -04:00
Nazrin
a9402f487f
Implement RegionShape.POLYGON and RegionShape.CYLINDER (#2348)
Also took the opportunity to sort them in order and use multiplication instead of pow.
2023-09-08 23:06:14 -04:00
github-actions
cdcdf924bd Format code [skip actions] 2023-09-08 03:35:28 +00:00
hamusuke
fc42f665a7
feat: implement teapot suite (#2344)
* feat: implement teapot suite

* fix: home animals, check respawn, etc

* fix: NPE and cancel summon events

* fix: forgot to send eventId also
2023-09-07 23:34:03 -04:00
Nazrin
83602f78ae
Update readme to 4.0 from 3.7 (#2343) 2023-09-07 23:33:13 -04:00
github-actions
8db1f597ce Format code [skip actions] 2023-09-02 23:51:35 +00:00
KingRainbow44
c08ab19d84
Various removals of '&' for Javadoc to be happy 2023-09-02 19:49:38 -04:00
KingRainbow44
34589d0128
Merge remote-tracking branch 'origin/development' into development 2023-09-02 19:48:39 -04:00
KingRainbow44
70ee3ed1a6
Remove protocol definitions from Javadoc generation 2023-09-02 19:31:58 -04:00
github-actions
88d7be86da Format code [skip actions] 2023-09-02 23:06:00 +00:00
KingRainbow44
d6abb2288d
Bump version to v1.7.1 2023-09-02 19:05:34 -04:00
KingRainbow44
416ef56101
Bump down the plugin API version
nothing major was *removed*, meaning all existing v2 plugins should still work
2023-09-02 19:05:30 -04:00
KingRainbow44
ed0e89074b
Merge remote-tracking branch 'origin/development' into development 2023-09-02 19:04:09 -04:00
hamusuke
1894296ed4
fix: home transfer (#2327)
* fix: home transfer

* Update HomeSceneItem.java
2023-09-02 19:04:02 -04:00
KingRainbow44
69a223949b
Merge remote-tracking branch 'origin/development' into development 2023-09-02 19:02:41 -04:00
github-actions
f8fb6732de Format code [skip actions] 2023-09-02 15:55:11 +00:00
hamusuke
ed97201473
fix: arrangement of main house is duplicated even if player changes module (#2325)
* fix: arrangement of main house is duplicated even if player change module

* removeIf

* Update src/main/java/emu/grasscutter/game/home/GameHome.java

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

---------

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2023-09-02 11:52:56 -04:00
github-actions
decf494234 Format code [skip actions] 2023-09-02 05:49:00 +00:00
github-actions
9c25060c78 Format code [skip actions] 2023-09-02 05:48:12 +00:00
hamusuke
a49f37edb3
feat: finish home avatar talk (#2328) 2023-09-02 01:47:06 -04:00
hamusuke
97138d8c84
feat: implement home animals (#2329) 2023-09-02 01:46:58 -04:00
KingRainbow44
314bccb7a2
Add command description for debug 2023-09-01 20:50:37 -04:00
github-actions
c1045103ed Format code [skip actions] 2023-09-02 00:37:43 +00:00
Moistcrafter
1831d5c81f
SerializedName MonsterSpecialName (#2331)
* SerializedName MonsterSpecialName

* uh add space back

* remove space

---------

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2023-09-01 20:35:54 -04:00
github-actions
717a358636 Format code [skip actions] 2023-09-02 00:33:12 +00:00
hamusuke
0db69882a3
fix: sync home avatar costume (#2326) 2023-09-01 20:31:55 -04:00
KingRainbow44
12da46b5ee
Re-order troubleshooting info 2023-09-01 20:29:25 -04:00
Magix
6fc4859f31
Merge pull request #2313 from Grasscutters/dev-4.0
Upgrade to REL4.0.x
2023-08-31 22:05:36 -07:00
KingRainbow44
89efa35f83
Disable LOG_MISSING_ABILITY_HANDLERS 2023-09-01 00:52:30 -04:00
KingRainbow44
e04df0526a
Run formatter & update protocol 2023-08-31 23:46:55 -04:00
KingRainbow44
541433c01b
Merge remote-tracking branch 'origin/dev-4.0' into dev-4.0
# Conflicts:
#	src/main/java/emu/grasscutter/game/player/Player.java
#	src/main/java/emu/grasscutter/game/player/TeamManager.java
#	src/main/java/emu/grasscutter/game/world/Scene.java
2023-08-31 21:06:13 -04:00
KingRainbow44
9295d79bc2
Reflections change & Start HTTP before game server 2023-08-31 20:59:38 -04:00
KingRainbow44
58b3570f27
De-obfuscate definitions & run formatter 2023-08-31 19:29:31 -04:00
KingRainbow44
d43e5ca608
Compile scripts to replace require with script content 2023-08-31 01:09:53 -04:00
KingRainbow44
67c0e82dfb
Logging changes (move levels down & add toString for some objects) 2023-08-30 23:28:54 -04:00
KingRainbow44
aad4529b0e
Run formatter & 'protogen' 2023-08-30 19:36:58 -04:00
hamusuke
e8f4949836
feat: add more home mark point (#2323) 2023-08-30 19:32:47 -04:00
KingRainbow44
1ca451559c
Add PlayerNpcTalkEvent 2023-08-29 23:54:34 -04:00
KingRainbow44
dbc45f36f0
Add PlayerSwitchAvatarEvent 2023-08-29 23:48:51 -04:00
KingRainbow44
e3f15bca47
Add PlayerLevelStatueEvent & PlayerUseSkillEvent 2023-08-29 23:35:58 -04:00
hamusuke
7049cfdb58
fix: player profile changes are not reflected cuz Java is object-oriented (#2322)
* fix: player profile changes are not reflected.
fix: deob FriendBrief.proto

* fix: tentatively sync profile when log out

* fix: allow offline player

* Update src/main/java/emu/grasscutter/game/friends/PlayerProfile.java

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

* Update src/main/java/emu/grasscutter/game/player/Player.java

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

* Update src/main/java/emu/grasscutter/game/player/Player.java

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

* fix: server friend

---------

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2023-08-29 23:23:46 -04:00
hamusuke
8e4e3dd89e
fix: redundant packet 'PacketTakeAchievementRewardReq' in login req (#2321) 2023-08-29 21:12:38 -04:00
hamusuke
8563d4b574
feat: support multiplayer mode in teapot (#2317) 2023-08-29 21:12:21 -04:00
KingRainbow44
48439e7e5d
Add PlayerPropertyChangeEvent 2023-08-29 17:25:48 -04:00