Commit Graph

2087 Commits

Author SHA1 Message Date
KingRainbow44
71a8ca2a8a
Implement scripting: SetEntityServerGlobalValueByConfigId
w/ help from: Moistcrafter#9172
2023-04-11 21:07:29 -04:00
KingRainbow44
c1ea2b04ec
Add wiki content from Grasscutter-Quests to documentation 2023-04-11 18:13:35 -04:00
KingRainbow44
68561369f3
Move services loggers to 'debug-all' 2023-04-11 17:58:57 -04:00
ghjbvvgh
d1686bd4db
Fix fields (#2102) 2023-04-11 16:55:22 -04:00
KingRainbow44
5851761d59
Enable 'big world scripts' by default
this uses significantly more system resources, but in turn allows for the *quest* system to work!
2023-04-11 02:12:33 -04:00
KingRainbow44
76be70d4a8
Fix grid parsing
now compatiable with Yukki's resources!
2023-04-11 02:05:38 -04:00
KingRainbow44
990b36cbce
Move scripting-related logger messages to debug 2023-04-11 02:05:12 -04:00
KingRainbow44
54b7d1251e
Fix order of logging scene group loading errors 2023-04-10 23:44:22 -04:00
KingRainbow44
06cbae31fa
Fix player fields not being set
line seps r weird
2023-04-10 22:46:19 -04:00
KingRainbow44
5e56b5e3a8
Merge branch 'development' into unstable-quests
# Conflicts:
#	src/generated/main/java/emu/grasscutter/net/proto/ResinChangeNotifyOuterClass.java
#	src/main/java/emu/grasscutter/game/managers/ResinManager.java
#	src/main/java/emu/grasscutter/game/player/Player.java
#	src/main/java/emu/grasscutter/game/props/ItemUseAction/ItemUseAddItem.java
#	src/main/java/emu/grasscutter/server/http/dispatch/RegionHandler.java
#	src/main/java/emu/grasscutter/server/packet/send/PacketResinChangeNotify.java
#	src/main/java/emu/grasscutter/utils/Crypto.java
2023-04-10 22:13:50 -04:00
tamilpp25
3c60f792ca
reject clients on version mismatch (#2106) 2023-04-10 20:05:11 -04:00
Moistcrafter
c905d493af
Add co-op lyre support (#2105) 2023-04-10 01:43:26 -04:00
Colleiflower
9dbca6dc1b
Remove outdated and grammatically incorrect instructions from PR template (#2100) 2023-04-10 00:14:21 -04:00
hamusuke
caf9521013
feat: add ability to buy resin with primogems (#2104)
* feat: add ability to buy resin with primogems

* ResinManager#buy returns RetCode value
2023-04-09 20:20:12 -04:00
KingRainbow44
e20c7c151b
Lint code 2023-04-09 14:50:59 -04:00
KingRainbow44
bb6569b736
Add language keys for new commands 2023-04-09 14:46:55 -04:00
KingRainbow44
644f1b3ab9
Continue merging quests (pt. 2) 2023-04-09 14:35:45 -04:00
KingRainbow44
97ee71bcf4
Continue merging quests (pt. 1)
Finished last at: `World.java`, line `player.setAvatarsAbilityForScene(newScene);`
2023-04-09 13:25:16 -04:00
KingRainbow44
c64cc7d5e2
Merge branch 'development' into unstable-quests
# Conflicts:
#	src/generated/main/java/emu/grasscutter/net/proto/AvatarUpgradeRspOuterClass.java
2023-04-05 21:28:52 -04:00
KingRainbow44
c40908c5eb
Format updated protocol classes 2023-04-05 21:27:35 -04:00
Thoronium
ea91bf9eb7
Fix switched fields (#2098) 2023-04-05 21:27:24 -04:00
Thoronium
7254f55762
Fix switched fields (#2098) 2023-04-05 21:19:04 -04:00
KingRainbow44
a3970f8e43
Format code 2023-04-02 21:34:07 -04:00
KingRainbow44
b03870ab48
Merge branch 'development' into unstable-quests
# Conflicts:
#	src/main/java/emu/grasscutter/net/packet/PacketOpcodes.java
#	src/main/java/emu/grasscutter/utils/Utils.java
2023-04-02 21:33:33 -04:00
hamusuke
9181d1cbfd
fix: mail system (#2096)
* fix: mail

* Simplify the mail handler

---------

Co-authored-by: KingRainbow44 <kobedo11@gmail.com>
2023-04-02 21:32:30 -04:00
KingRainbow44
b2c9e8de3e
Merge branch 'unstable' into unstable-quests 2023-04-02 21:31:39 -04:00
KingRainbow44
d77ded560a
Merge branch 'development' into unstable 2023-04-02 21:31:00 -04:00
KingRainbow44
95e1d77b65
Merge branch 'fixmail' into unstable
# Conflicts:
#	src/main/java/emu/grasscutter/game/mail/Mail.java
#	src/main/java/emu/grasscutter/net/packet/PacketOpcodes.java
#	src/main/java/emu/grasscutter/server/packet/recv/HandlerGetAllMailReq.java
#	src/main/java/emu/grasscutter/server/packet/send/PacketGetAllMailRsp.java
#	src/main/java/emu/grasscutter/utils/Utils.java
2023-04-02 21:30:52 -04:00
KingRainbow44
90fb606f68
Simplify the mail handler 2023-04-02 21:23:02 -04:00
KingRainbow44
8b4471ee54
Check if the scene has a config 2023-04-02 20:42:12 -04:00
Lê Huy Giang
27a9ded4bc
Update README_vi-VN.md (#2094)
* Fix `#Building` anchor

Fixed `vi-VN`, `ja-JP` & `NL`'s `#Building` anchor

* Update `README_vi-VN.md`

Updated `README_VI-VN.md` for better translation
2023-04-02 20:41:01 -04:00
ハムスケ ハム
ddafeb9ed3 fix: mail 2023-04-03 00:18:48 +09:00
KingRainbow44
9fbb7fb3be
Continue updating/refactoring classes
Most code is matched from `Grasscutter-Quests`.
2023-04-01 22:17:10 -04:00
KingRainbow44
772532515e
Comment-out unknown packet handlers/encoders
These are mostly related to the teapot, music game, and custom teams
2023-04-01 20:00:08 -04:00
KingRainbow44
3e6aa79eb8
Add additional protocol classes
Using `gc-quest-fix`
2023-04-01 19:54:11 -04:00
KingRainbow44
29956421f0
Fix existing protocol classes
Using `gc-quest-fix`
2023-04-01 19:53:46 -04:00
KingRainbow44
daa51e53b7
Copy some files from Grasscutter-Quests
NOT completely finished, nor is it completely done. Protocol issues remain! (including lack of packet IDs)
2023-04-01 18:06:30 -04:00
KingRainbow44
262ee38ded
Create files from Grasscutter-Quests
these files are NOT directly compatible with Grasscutter, and require additional modifications to the codebase to work.
2023-03-31 23:58:12 -04:00
KingRainbow44
86aad96125
Add task for gradle test 2023-03-31 23:37:50 -04:00
KingRainbow44
c8288d1446
Add the improved KCP library 2023-03-31 23:37:25 -04:00
KingRainbow44
e636fda14f
Run Spotless on src/test 2023-03-31 22:34:19 -04:00
KingRainbow44
6d9a81ba1c
Run Spotless on src/generated 2023-03-31 22:32:25 -04:00
KingRainbow44
fc05602128
Run Spotless on src/main 2023-03-31 22:30:45 -04:00
KingRainbow44
99822b0e22
Remove reflowLongStrings
Causes an issue with Spotless!
2023-03-31 22:25:47 -04:00
KingRainbow44
877937bfbb
Create a basic test for Grasscutter's HTTP server 2023-03-31 22:15:28 -04:00
KingRainbow44
2081087c76
Format build.gradle and add dependency for JUnit tests 2023-03-31 22:14:56 -04:00
KingRainbow44
bbe51fb945
Add support for unit testing
- Add argument `-testing`, which allows for a threaded console
2023-03-31 22:13:58 -04:00
KingRainbow44
31465c0172
Force Git to use LF for line separation 2023-03-31 17:19:46 -04:00
KingRainbow44
15e2f3ca34
Run IntelliJ IDEA code formatter 2023-03-31 17:19:26 -04:00
KingRainbow44
5bf5fb07a2
Move scripts away from the root directory 2023-03-31 17:05:12 -04:00