Commit Graph

1234 Commits

Author SHA1 Message Date
Melledy
bc701cfad0 Add missing scene load state to PacketPlayerEnterSceneNotify 2022-07-21 00:21:00 -07:00
Melledy
b9b0f00232 Move PlayerManagers and GameServerSystems around 2022-07-21 00:21:00 -07:00
Melledy
8b4212ffb9 Refactor PacketOpcodesUtil to be more... useful 2022-07-21 00:21:00 -07:00
Melledy
52ee229e96 Split config debugLevel into logPackets (Game) and logRequests (Dispatch) 2022-07-21 00:21:00 -07:00
Melledy
408fa90728 Move config java files to their own package 2022-07-21 00:21:00 -07:00
Melledy
55541fa1da Add a loadReader helper function to DataLoader
Also minor name changing on a few DataLoader methods
2022-07-21 00:21:00 -07:00
Melledy
f22b92b08f Add a save() function to player managers 2022-07-21 00:21:00 -07:00
Melledy
abccec785b Delete AccountManager.java
This file was never used by anyone. RIP.
2022-07-21 00:21:00 -07:00
Melledy
fc16f9d694 Refactor out InsectCaptureManager 2022-07-21 00:21:00 -07:00
Melledy
f020cefd80 Set default player position to be the starting position 2022-07-21 00:21:00 -07:00
Melledy
5feabc8f9a Add Entity::OnInteract 2022-07-21 00:21:00 -07:00
Melledy
1a2f7fb5a7 Forgot to remove extra player variable from AbilityManager 2022-07-21 00:21:00 -07:00
Melledy
cc5b292bc3 Refactor Player::GetPos() -> Player::GetPosition() 2022-07-21 00:21:00 -07:00
Melledy
2e19e70fe1 Refactor game server managers to systems 2022-07-21 00:21:00 -07:00
Melledy
d20e9d1f72 Refactor player managers 2022-07-21 00:21:00 -07:00
AnimeGitB
3957616b6c Fix 2.8 banners, readd Beginner's banner 2022-07-18 22:29:00 -07:00
AZthemute
3eb85b82a7 Updated banners for 2.8, added comments to the banners and removed beginner's banner (it was breaking things) 2022-07-18 13:40:58 -07:00
GanyusLeftHorn
b266854c72 Handle existing players who might already have passed a level. 2022-07-18 11:20:33 -07:00
GanyusLeftHorn
af7bbdaadd Set certain OpenStates on level-up. 2022-07-18 11:20:33 -07:00
zhaodice
6c49fab137 Block loader (sort and merge gadgets into different blocks) (#1517)
Original commits:

* block loader
* fix
* fix
* fix foolish bug
* add scales
* rename
* set to 600
* nitpick

Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-07-18 19:43:55 +09:30
Melledy
7f898417b0 Fix a few null pointer issues. 2022-07-18 02:33:13 -07:00
Melledy
2e85834e9c Update OpenState protos and rework OpenStateManager
OpenState map no longer contains default openstates, they should not be saved in the database for efficiency reasons.
2022-07-18 02:28:38 -07:00
akatatsu27
b5a4ab7524 Open state framework (#1483)
* Added more server debug options

* made server debug code prettier

* fixed initialization bug

* Enables logging of packets contained in UnionCmdNotify, when debug level is WHITELIST or BLACKLIST

* Fully Implement OpenState Framework

* added devOpenStates

* Commented out newPlayerOpenStates

* Removed OPEN_STATE_NONE from devOpenStates
2022-07-18 01:33:57 -07:00
Yazawazi
ae8b5e30ac Full support for both parties 2022-07-17 13:43:45 +09:30
真心
0a557ccfcd Update GameConstants.java 2022-07-17 13:43:45 +09:30
AnimeGitB
591ca4805a Some proto name changes 2022-07-17 13:43:45 +09:30
AnimeGitB
bc2c5deb48 Add Dispatch Password authentication 2022-07-17 13:43:45 +09:30
AnimeGitB
413f11d504 PacketOpcodes 2022-07-17 13:43:45 +09:30
AnimeGitB
e14d1cedde Hack for GAA unlock 2022-07-17 13:43:45 +09:30
AnimeGitB
4103558272 Bump game version 2022-07-17 13:43:45 +09:30
kyoko
80f9346983 Fix the chat history not correctly showing. 2022-07-17 13:43:45 +09:30
AnimeGitB
d7742d94db Add dispatch keys 2022-07-17 13:43:45 +09:30
Luke H-W
8843276c41 Language linting (#1382) 2022-07-11 16:21:05 +02:00
AnimeGitB
bb84432b4c Add maximum level/refinement/rank to clear command 2022-07-11 23:45:24 +09:30
GanyusLeftHorn
fbf80e7156 Fix crafting for mystic enhancement ores. 2022-07-11 16:07:19 +02:00
GanyusLeftHorn
4cbd3c7bde Add missing dungeons for dungeon drops. 2022-07-10 18:16:49 +09:30
Akka
910008216f quest fix & personal line impl 2022-07-10 17:52:47 +09:30
Tesutarin
7bae35f51b Update translation & bug fix (#1472)
Original commits:

* Update translation

* Bug fix

* Update translation

* Update Announcement.json
2022-07-09 23:09:40 +09:30
akatatsu27
c79ca3028f Added more server debug options (#1444)
Original commits:

* Added more server debug options

* made server debug code prettier

* fixed initialization bug

* Enables logging of packets contained in UnionCmdNotify, when debug level is WHITELIST or BLACKLIST
2022-07-09 03:01:29 +09:30
dragon
0196231c7e Merge branch 'Grasscutters:development' into development 2022-07-08 12:53:52 +08:00
dragon
a96f7f4de1 Update DatabaseHelper.java
fix account delete
2022-07-08 12:37:40 +08:00
shädam
a4a87fe75b Don't send success upon failure 2022-07-07 22:40:58 +09:30
Typhoon
730d112a0f Update ro-RO.json
A couple small errors
2022-07-07 20:02:39 +09:30
RBNXI
2923187b0b Fix some typos in spanish translations (#1456)
Original commits:

* Fix some typos and fixes from original Readme

* Fix some typos
2022-07-07 20:02:14 +09:30
Luke H-W
ad02dacdfd Apply suggestions from code review 2022-07-07 16:43:09 +09:30
haxxorer
1f62792074 Create ro-RO.json 2022-07-07 16:43:09 +09:30
GanyusLeftHorn
6338c17189 Add reliquary decomposition (aka strongbox). 2022-07-05 22:59:19 -07:00
loulou310
952448220d Update translation (#1438)
Original commits:
* Update translation

* Update traslation

* Fix typo
2022-07-05 11:08:27 +09:30
AnimeGitB
c848db607f Add beginner banner to default banners 2022-07-04 15:22:46 +09:30
AnimeGitB
e8371677bd Add gachaTimesLimit for beginner banner
Also add some more return codes
2022-07-04 15:22:46 +09:30
Someone999
fe50a42a3c Added permission information to help command (#1427)
Original commits:
* Added command CommandPermissionCommand. Added permission information in HelpCommand.

* Removed command CommandPermissionCommand

* Display permission for single command when use help.

* Display permission targeted when use help.
2022-07-04 13:51:41 +09:30
Akka
b92cc6a882 fix some region errors 2022-07-03 11:40:09 -07:00
Akka
4cd31af011 fix announcement interval 2022-07-03 19:27:23 +09:30
Akka
9bafc2c5d5 Implement server announcement (#1420)
* implement server announcement

* Update src/main/java/emu/grasscutter/command/commands/AnnounceCommand.java

Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>

* Added arg numbers check

Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
2022-07-02 06:43:22 -07:00
AnimeGitB
a80302cdcd Fix commands in party chat, re-add optional positional item quantity to give command, error out and print usage if excess arguments given to give command 2022-07-02 06:41:56 -07:00
GanyusLeftHorn
13a7f08665 Add character's specialty food. 2022-07-01 23:14:36 -07:00
GanyusLeftHorn
d95a30a1a5 Cooking and unlocking recipies. 2022-07-01 23:14:36 -07:00
GanyusLeftHorn
a957b8c5b8 Notify client of unlocked recipies on login. 2022-07-01 23:14:36 -07:00
GanyusLeftHorn
8484a535f4 Load recipe excels. 2022-07-01 23:14:36 -07:00
Akka
9951bec6b7 optimize npc group load & fix some NPE in suite 2022-07-01 23:13:26 -07:00
Magix
bd40ecee2a Add the es-ES language
By: `Blue#7596` or `<@470933959929364481>`
2022-07-01 18:17:23 -04:00
zhaodice
f90b65120a Fix no static gadget in the map,example: no tree but a fruit in the air (#1415)
* fixGadget

* fixGadget

* add gadgetObject

* fix bug
2022-07-01 11:41:53 -07:00
loulou310
b703201598 Update translation 2022-07-01 23:58:59 +09:30
zhaodice
efd30593a1 Fireworks support (#1393)
* Firework Implement

* add legacy function

* remove obfusucated names

* remove obfusucated names

* remove obfusucated names

* remove obfusucated names

Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-06-29 14:33:21 -07:00
Tesutarin
8267d796db Update translation 2022-06-30 00:54:57 +09:30
Akka
a8690ef720 fix bug 2022-06-29 05:23:02 -07:00
Akka
12146ff09c implement the music game 2022-06-29 05:23:02 -07:00
Akka
977f1ca2ea implement the activity system 2022-06-29 05:23:02 -07:00
Melledy
5d35cb49b4 Change -debug to only output grasscutter debug info
The old -debug flag is now -debugall
2022-06-29 05:02:49 -07:00
zhaodice
2462da2ede Big World Resources Collection Implement (#1368)
* init

* init

* init

* revoke

* fix error

* mining support

* mining support

* Roks endurance support

* Roks endurance support

* Timed refresh

* upgrade resource data

* Timed refresh support

* remove null gadget

* Coordination

* full synchronized

* oh no, my math teacher will hit me!

* synchronized onInteract

* remove break;

* supply re-spawn time , thanks to @wl23333

* Clean up and integrate collection spawns into SpawnDataEntries

Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-06-29 04:53:50 -07:00
GanyusLeftHorn
17fb19ebc9 Add BP login trigger to daily reset. 2022-06-28 04:04:35 -07:00
GanyusLeftHorn
54c4f60abb Fix next sunday. 2022-06-26 21:38:35 -07:00
GanyusLeftHorn
7cb4c9fee2 Remove comments 2022-06-26 21:38:35 -07:00
GanyusLeftHorn
0c8db8f00e Remove comments 2022-06-26 21:38:35 -07:00
GanyusLeftHorn
b0d19e54db Implement selection chests for BP rewards. 2022-06-26 21:38:35 -07:00
GanyusLeftHorn
8104378b95 Add daily and weekly mission reset. 2022-06-26 21:38:35 -07:00
GanyusLeftHorn
814d4819d4 Unlock Gnostic Hymn 2022-06-26 21:38:35 -07:00
KingRainbow44
422e25e0e4 Enable complete debugging info with -debug 2022-06-26 13:07:43 -04:00
KingRainbow44
f5bc750150 Clean up the server's logger. 2022-06-26 13:03:10 -04:00
KingRainbow44
f86b4bec11 Reformat 2022-06-26 13:00:23 -04:00
KingRainbow44
269149bb1f Formatting changes 2022-06-26 12:50:58 -04:00
KingRainbow44
163c6bf47d Move drop data loading to debug 2022-06-26 12:42:37 -04:00
KingRainbow44
7e0c19021c Move expedition rewards loading to debug 2022-06-26 12:42:14 -04:00
KingRainbow44
e842c23539 Move registering packet handlers to debug 2022-06-26 12:40:34 -04:00
KingRainbow44
a896928e61 Move energy data loading to debug 2022-06-26 12:36:17 -04:00
KingRainbow44
286d6289b2 Move banner loading to debug 2022-06-26 12:34:56 -04:00
KingRainbow44
5895439a3f Move shop data messages to debug 2022-06-26 12:34:03 -04:00
KingRainbow44
19d81463bc Merge remote-tracking branch 'origin/development' into development 2022-06-26 12:33:03 -04:00
KingRainbow44
71b118dd9f Add a start and finish message to resource loading 2022-06-26 12:31:09 -04:00
KingRainbow44
2dcdb839c4 Move resource loading messages to the debug level 2022-06-26 12:26:39 -04:00
KingRainbow44
091d8c69a3 Add a debug flag for the logger 2022-06-26 12:23:07 -04:00
KingRainbow44
447360594d Log script messages to debug instead of info. 2022-06-26 12:20:48 -04:00
Paimon2022
46916b8216 Fix healing abilities for Q skill of Hu Tao 2022-06-26 22:29:06 +08:00
zhaodice
541c38b74c Avoid disconnection notification 2022-06-26 02:34:45 -07:00
xingluo233
b5fd8c1acd Update TowerSchedule.json 2022-06-26 02:34:24 -07:00
zhaodice
d5866dd36d Update HandlerPlayerForceExitReq.java 2022-06-25 22:39:32 -07:00
zhaodice
6e90067101 Logout immediately 2022-06-25 22:39:32 -07:00
Paimon2022
57e0f7ba40 Fix healing abilities for Q skill of Kokomi, Qiqi and Barbara. 2022-06-25 22:20:26 -07:00
zhaodice
0144e55d3a Lunch Support (#1373)
* PacketSetUpLunchBoxWidgetRsp

* HandlerSetUpLunchBoxWidgetReq
2022-06-25 22:19:59 -07:00
AnimeGitB
9425f672e0 Remove BPLevel, GodMode, NoStamina, SetWorldLevel, UnlimitEnergy, UnlockTower commands 2022-06-25 22:19:29 -07:00