Commit Graph

605 Commits

Author SHA1 Message Date
Melledy
614477181f Fix concurrency related error while spawning monsters 2022-04-25 14:28:45 -07:00
Melledy
2228332f9d Call checkSpawns from World instead of from Player 2022-04-25 14:28:45 -07:00
Melledy
c3f9fd3ce3 Synchronize scene entity map 2022-04-25 14:28:45 -07:00
Melledy
1c691748f5 Make monsters scale off world level 2022-04-25 14:28:45 -07:00
Melledy
f28f21b061 Dont deregister scenes if the player is going to tp back into them 2022-04-25 14:28:44 -07:00
Melledy
711e6eabd0 Natural spawn test
(without luas)
2022-04-25 14:28:44 -07:00
Benjamin Elsdon
c68c75e8ce Send Mail Command!
Almost done! Wooooo!
2022-04-25 21:53:10 +08:00
Benjamin Elsdon
3f11cc41b2 More weird git stuff 2022-04-25 16:32:26 +08:00
Benjamin Elsdon
b29bcb553a Weird git stuff 2022-04-25 16:25:33 +08:00
Benjamin Elsdon
67b4c274ec Deleting mail + a bit of cleanup 2022-04-25 16:23:22 +08:00
Benjamin Elsdon
9bf94f9539 Receiving items in mail 2022-04-25 16:22:13 +08:00
Benjamin Elsdon
a548fe6c52 THE MAILBOX ACTUALLY WORKS CORRECTLY NOW 2022-04-25 16:22:12 +08:00
Benjamin Elsdon
29a3e64db0 Java-16 compatiable mail system (whoops) 2022-04-25 16:22:12 +08:00
Benjamin Elsdon
69779a0321 Added database support for mail
Send mail command now works from console (to use it from console change the uuid in the 'SendMailCommand' file
2022-04-25 16:22:12 +08:00
Asnxthaony
480374fb39 fix indent by using smart tabs 2022-04-25 00:54:11 -07:00
Asnxthaony
4e5d72a99a sanity check 2022-04-25 00:54:11 -07:00
Benjamin Elsdon
721d8b7223 Deleting mail + a bit of cleanup 2022-04-25 14:30:56 +08:00
Benjamin Elsdon
785effe8da Receiving items in mail 2022-04-25 13:51:19 +08:00
Benjamin Elsdon
94a75cf903 THE MAILBOX ACTUALLY WORKS CORRECTLY NOW 2022-04-24 19:06:52 +08:00
Benjamin Elsdon
f556bff333 Java-16 compatiable mail system (whoops) 2022-04-24 18:17:08 +08:00
Benjamin Elsdon
c25e809f5c Merge remote-tracking branch 'upstream/development' into dev-mail 2022-04-24 18:01:32 +08:00
Yazawazi
8d8866aa63 Fix fetter system 2022-04-24 15:02:31 +08:00
Yazawazi
56a1ab64ab Player Level Reward Update Notify Support! 2022-04-24 13:22:26 +08:00
Melledy
7a4de2f0d6 Merge pull request #128 from memetrollsXD/development
Use count for level for equips (dev branch)
2022-04-23 15:15:22 -07:00
memetrollsXD
fd1890b072 Merge branch 'Grasscutters:development' into development 2022-04-23 22:37:48 +02:00
Yazawazi
3baef42aac Name Card Done!!!!!!!!!!! 2022-04-23 23:48:06 +08:00
Benjamin Elsdon
9e7c9f4670 Merge remote-tracking branch 'upstream/development' into dev-mail 2022-04-23 23:07:38 +08:00
Benjamin Elsdon
cb03b654bc Added database support for mail
Send mail command now works from console (to use it from console change the uuid in the 'SendMailCommand' file
2022-04-23 23:07:18 +08:00
Yazawazi
3bc249f042 Try to give name card 2022-04-23 21:03:29 +08:00
Yazawazi
042bdc2ff2 Merge branch 'Grasscutters:development' into development 2022-04-23 19:58:17 +08:00
Jaida Wu
cd08c52b35 Fix PlayerBirthday exception
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
2022-04-23 15:39:56 +08:00
Melledy
02c852716a Merge pull request #136 from miyucchi/development
Save birthday date
2022-04-22 21:35:58 -07:00
Yazawazi
b11009f724 Merge branch 'Grasscutters:development' into development 2022-04-23 10:43:27 +08:00
Melledy
716380a078 Merge branch 'development' into java-16 2022-04-22 19:23:32 -07:00
Miyucchi
7fd0b371d0 Profile set birthday feature 2022-04-23 03:22:32 +02:00
Yazawazi
7ccecda07c AvatarFetterLevelReward 2022-04-23 06:08:37 +08:00
memetrollsXD
a52eaf9bbc Use count for level for equips 2022-04-22 23:19:58 +02:00
Yazawazi
eb70904660 setfetterlevel command 2022-04-22 23:46:24 +08:00
Yazawazi
159b10af72 AvatarFetterLevel 2022-04-22 22:27:40 +08:00
fumbling
06101f1b9c Morphia call fixes; add @Entity to more classes
1. During the conversion of Morphia calls to the new API, some of the `Filter.eq()` calls had their `field` set to `playerId` due to a copy/paste typo.

2. Morphia 2 switches to the codec system, so anything that will be serialized in the pipeline requires the `@Entity` annotation.
2022-04-21 22:19:47 -04:00
Yazawazi
376c668dd9 no more NullPointerException pls 2022-04-22 08:30:02 +08:00
Yazawazi
2350f0ebe2 ee, forget to change variables when copying from local 2022-04-22 07:49:35 +08:00
Yazawazi
044c2a3086 typo 2022-04-22 07:42:17 +08:00
Yazawazi
eedab79253 fetter try 2022-04-22 07:37:25 +08:00
Melledy
16318b3793 Merge pull request #74 from 4Benj/development
Server run modes and multi-server dispatch support
2022-04-21 15:06:57 -07:00
Melledy
e10bad5b17 Fix account dupe key error after selecting starting character 2022-04-21 14:02:17 -07:00
Melledy
4431469334 Merge pull request #84 from yarik0chka/development
Add a changing weather id
2022-04-21 11:47:13 -07:00
Yazawazi
069cb1c6d3 Teleport Small Fix 2022-04-22 02:23:02 +08:00
yarik0chka
0480f10a1a Add a changing weather id 2022-04-21 22:21:24 +05:00
Benjamin Elsdon
1500d2e885 Merge branch 'development' of https://github.com/Melledy/Grasscutter into development 2022-04-21 18:11:51 +08:00
Melledy
9cebd7be9a Merge pull request #69 from Grasscutters/dev-fixes
Dev fixes
2022-04-21 00:09:12 -07:00
KingRainbow44
0a96012f2c why is Account#onLoad THE DAMN REASON FOR HOURS OF TESTING 2022-04-21 02:07:05 -04:00
Benjamin Elsdon
83fe5818dc Restructured the config file in preperation for server run modes 2022-04-21 13:53:50 +08:00
Melledy
af1ecca963 More refactoring (player id -> player uid) 2022-04-20 21:50:33 -07:00
labalityowo
2b0831b7de Remove the stella appearance 2022-04-21 11:42:21 +07:00
Melledy
b99ca4e02f Refactor PacketSceneTransToPointRsp and add a null check when getting ScenePointEntries 2022-04-20 21:33:58 -07:00
Melledy
1250194480 Fix weapon skills (and artifact sets) not working when you equip them 2022-04-20 21:03:18 -07:00
Melledy
8a8906098e Fix not being able to join friend's world 2022-04-20 18:48:26 -07:00
Melledy
7f2de4fab8 Fix player location updates in co-op 2022-04-20 18:44:02 -07:00
KingRainbow44
d7328dda50 Update Morphia to 2.x 2022-04-20 21:11:57 -04:00
Yazawazi
6f43c0765f teleports 2022-04-21 04:45:38 +08:00
Benjamin Elsdon
41b4965aef Merge remote-tracking branch 'upstream/development' 2022-04-21 00:25:47 +08:00
KingRainbow44
69aa6130e9 Fix command map 2022-04-20 12:17:56 -04:00
Benjamin Elsdon
cb104ac79a Merge branch 'development' of https://github.com/Melledy/Grasscutter 2022-04-20 21:38:59 +08:00
Jaida Wu
63cb0a8174 Rewrite commands
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
2022-04-20 20:21:38 +08:00
Melledy
5a09c22aa1 Fix character abilities not showing for others in co-op/lasting too long 2022-04-20 03:42:59 -07:00
Benjamin Elsdon
26e1341ce9 Out of my madness and suffering I have achieved the impossible. I almost lost all hope and was about to end it all. However, it worked out in the end and now we have gacha reloading. 2022-04-20 17:14:07 +08:00
Benjamin Elsdon
28a070f19a Forgot config check 2022-04-20 16:07:18 +08:00
Benjamin Elsdon
d59799ce55 Update gradle + Work gacha reload (gs broken atm) 2022-04-20 16:05:53 +08:00
Magix
71cdd2c8e9 Merge branch 'main' into main 2022-04-19 14:07:39 -04:00
Melledy
c72891ff97 Merge pull request #26 from Yazawazi/main
unlockAvatarConstellation fix
2022-04-19 09:18:42 -07:00
Yazawazi
5fcecfc734 talentData
sorry again, forgot to add
2022-04-19 20:05:45 +08:00
Yazawazi
1db13a6fa9 Constellation fix 2022-04-19 19:48:26 +08:00
Benjamin Elsdon
058d322238 Merge remote-tracking branch 'upstream/main' 2022-04-19 19:34:02 +08:00
Melledy
2572d55c00 Merge pull request #24 from Yazawazi/main
Fix weapon refine
2022-04-19 04:14:17 -07:00
Melledy
aedfb59831 Remove duplicate function and fix stackoverflow issue 2022-04-19 04:13:38 -07:00
Melledy
06a50365d1 Merge branch 'dev-scene' 2022-04-19 04:12:53 -07:00
Yazawazi
3da79a1dc1 Fix refine 2022-04-19 18:59:43 +08:00
Benjamin Elsdon
6e14dda855 Merge branch 'main' of https://github.com/Melledy/Grasscutter 2022-04-19 18:44:10 +08:00
Benjamin Elsdon
5cea728eb7 Admin cmds, perms and descriptions for all cmds +
Additonal stuff: Fixed + refactored help command. Removed 'Usage: ' from all commands. Created 'player.hasPermission(permission)' function. Created default for Usage annotation. Created hashmap version of 'getHandlers' and renamed the original to getHandlersAsList()
2022-04-19 18:17:19 +08:00
Melledy
d9fc159550 Refactor some commands and move inventory/team limits to the config 2022-04-19 02:22:21 -07:00
SpikeHD
ed448a9f84 properly add ascension-locked talents 2022-04-19 02:06:58 -07:00
Melledy
7417a1b62c Fix issue with a player not being able to spawn when they join somone in co-op with a singleplayer team of more than the max allowed amount 2022-04-19 01:43:38 -07:00
Melledy
3cc025efe0 Grant superuser permissions to accounts created before the permissions update 2022-04-19 01:28:31 -07:00
Melledy
3ea9e15745 Make co-op players spawn into the host's scene too 2022-04-18 23:09:48 -07:00
Melledy
dd8d1752ed Deregister empty scenes if a player leaves them 2022-04-18 23:00:12 -07:00
Melledy
efc9a4b3e5 Grant superuser permissions to accounts created before the permissions update 2022-04-18 22:00:01 -07:00
Melledy
4cf734fb61 Fix permissions not saving 2022-04-18 21:38:38 -07:00
Melledy
c65443f422 Fix permissions not saving 2022-04-18 21:38:19 -07:00
Melledy
057f568a37 Merge branch 'main' into dev-scene 2022-04-18 21:35:01 -07:00
KingRainbow44
824b3a4bf4 Implement basic permission system 2022-04-18 23:46:04 -04:00
KingRainbow44
a4932c7557 Refactor method names & add / prefix 2022-04-18 22:16:20 -04:00
KingRainbow44
b35ee455e5 Add existing commands 2022-04-18 22:10:41 -04:00
KingRainbow44
25c414be1c Fix registering error & implement handling 2022-04-18 20:11:23 -04:00
KingRainbow44
9cd65046b1 Implement new command system 2022-04-18 18:24:08 -04:00
Melledy
d3eb0dcfc2 Add SceneDatas 2022-04-18 10:14:32 -07:00
Melledy
be89a6099e Simple sanity check when changing scenes 2022-04-18 09:59:00 -07:00
Melledy
a5a420da9d Merge branch 'main' into dev-scene 2022-04-18 09:40:06 -07:00
Melledy
bee654c64f Implement support for multiple scenes in a world 2022-04-18 09:39:29 -07:00
Benjamin Elsdon
ea2b2f9502 Refactored PlayerCommands, added commands and more
Added player "Help" command, added server "sendmsg" command, changed getAcccountByPlayerID to public in DatabaseHelper, and allowed player commands to be submitted with "/" and "!"
2022-04-18 23:47:26 +08:00
ayy lmao
f769ef1858 Add support for specifying a Public IP 2022-04-18 12:10:39 +03:00
Melledy
61e4491ed1 Properly level up characters with the character exp virtual item 2022-04-18 00:45:28 -07:00
Melledy
ad57bb91df Remove gadgets from world when a player leaves 2022-04-17 23:43:47 -07:00
Melledy
c919c9c9eb Limit co-op teams to 4 avatars max total 2022-04-17 23:36:47 -07:00
Melledy
7925d1cda3 Initial commit 2022-04-17 05:43:07 -07:00