Melledy
a48585d124
Implement local specialty spawning
2022-05-18 02:21:34 -07:00
Akka
5f13a51668
Support Open Chest
2022-05-18 01:07:06 -07:00
4Benj_
f473e44611
"Autogenerate" data files with data fallbacks and moved keys folder into jar resources ( #927 )
...
* Autogenerate keys and data files
* Update gacha html files
Accidentally pushed with old html files
* Keys no longer copied. No more manually retrieving listing files. Recursive directory creation
Removed unused code from old GC as well.
* Moved somethings and better errors
* Fixed resources from loading twice
* Data files fallback
2022-05-17 03:00:52 -07:00
Melledy
81183db104
Merge branch 'development' into dev-world-scripts
2022-05-16 22:08:28 -07:00
1adffc21c0
Enhance the default permissions logic
2022-05-16 21:55:47 -07:00
line-bear
87966b9e98
Remove the extra slash while loading resources. ( #893 )
...
* Remove the extra slash
* Update src/main/java/emu/grasscutter/Configuration.java
Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>
* Update src/main/java/emu/grasscutter/Configuration.java
Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>
* Update src/main/java/emu/grasscutter/Configuration.java
Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>
* Import java.nio.file.Paths to use Paths.get
* Mark fields as private to prevent use *FOLDER directly
* Remove unnecessary slash
Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>
2022-05-15 23:32:03 -07:00
Akka
18ef5ee7de
fix the dynamic group loading
2022-05-15 12:40:36 -07:00
Akka
6dc30e4def
Enable script in big world ( #884 )
...
* add docs for tower
* fix: LEAK: ByteBuf.release() was not called
* enableScriptInBigWorld
* not print log when loaded scripts from cache
* revert the change of server tick
* revert the change of server tick
* fix
* optimize the performance: lazy load & cache
* fix the refresh group
* fix NPE
Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-05-15 04:19:24 -07:00
Melledy
eb64b25f12
Implement quest rewards
2022-05-15 03:48:47 -07:00
muhammadeko
05e13d81ad
Modify chat manager to give plugin ability to change it
2022-05-14 23:27:36 -07:00
tiantian520
5b3c05a9a0
Add a new command "nostamina" ( #877 )
...
* Add a new command " nostamina\
* Fix
* Fix 2
* Renamed some names.
* Update zh-CN.json
Fix an existing language expression error.
2022-05-14 16:06:48 -07:00
KingRainbow44
2e7cd0b46f
Fix errors
2022-05-14 12:10:43 -04:00
KingRainbow44
a2ff8c8470
Merge development
into plugin-auth
2022-05-14 12:08:33 -04:00
Melledy
a751e71da9
Merge branch 'development' of https://github.com/Grasscutters/Grasscutter into development
2022-05-14 06:35:37 -07:00
muhammadeko
4f553f6694
remove log
2022-05-13 22:12:07 -07:00
muhammadeko
855a098aa7
fix logic and some cleaning
2022-05-13 22:12:07 -07:00
muhammadeko
922359d6e6
add negative permission check
2022-05-13 22:12:07 -07:00
KingRainbow44
3adf0d448c
Refactor dispatch (now called HTTP) server (pt. 2)
2022-05-13 23:22:30 -04:00
Melledy
248b655f07
Use scene types instead of hardcoding scene ids for checking enter reason
2022-05-13 16:35:03 -07:00
ShigemoriHakura
749ef3ff23
Add support for codexQuests ( #870 )
2022-05-13 16:33:07 -07:00
Yazawazi
ab6aa96144
fix(serenitea pot): teleport & read born pos from lua
2022-05-13 16:32:52 -07:00
Yazawazi
95a062123f
feature(serenitea pot): Implementation of enter
...
Ugly hard code
2022-05-13 16:32:52 -07:00
Melledy
83f8bec947
Implement QUEST_CONTENT_FINISH_PLOT
2022-05-13 06:33:12 -07:00
Melledy
a227b44c70
Fixed quests not finishing their questline
2022-05-13 06:24:50 -07:00
Melledy
f4770cf20a
Merge pull request #816 from Grasscutters/dev-quests
...
Implement quests
2022-05-13 05:36:30 -07:00
AnimeGitB
420801b49e
Updated cost logic and default weights
2022-05-13 05:34:14 -07:00
AnimeGitB
736ca85300
Remove debug log from gacha
2022-05-13 05:34:14 -07:00
AnimeGitB
83c46cb9c8
Custom costs for different gacha pulls
2022-05-13 05:34:14 -07:00
AnimeGitB
f83f13204e
Gacha rework
...
Add fallback stripping and C6 stripping
Converting banner definitions from pity vars to lerp arrays
Properly implement rates and pool smoothing
Also move reusable functions to Utils
2022-05-13 05:34:14 -07:00
Melledy
cbd46e9215
Add one more quest trigger
2022-05-13 05:33:43 -07:00
Melledy
631a53030c
Switch to using quest excels
2022-05-13 03:12:25 -07:00
Akka
00ea35b81f
add docs for tower
2022-05-12 14:54:44 -07:00
gentlespoon
65fcae7961
Slowly recover HP near statue
2022-05-12 02:32:39 -07:00
gentlespoon
8c71af26f0
Clean up map mark related code
...
1. Remove unnecessary manager from player collection.
2. Clean up MarkMapReq handler.
3. Remove redundant checks.
2022-05-12 02:32:11 -07:00
Melledy
9b26426e8a
Merge branch 'development' into dev-quests
2022-05-12 02:31:28 -07:00
Melledy
1231802192
Implement basic quest condition handling
...
Quests that require talking to npcs now work.
2022-05-12 02:30:34 -07:00
Yazawazi
8c32438b52
feature(widget): simple implementation of widget
...
Simple implementation of a part of the gadget support, very rough, hard code variables, I am very sorry for that. It can now handle part of the gadget rig. More features and better support await PRs from others. if no one else does, I'll give it a try.
2022-05-12 01:23:16 -07:00
AnimeGitB
f45e106b2a
Fix immutable lists
2022-05-11 21:56:53 -07:00
AnimeGitB
b787c70cb0
More usage of payItems
2022-05-11 21:56:53 -07:00
AnimeGitB
b4d457d78a
Add some usage of Inventory.payItems()
...
And add quantity to it
2022-05-11 21:56:53 -07:00
AnimeGitB
595234cc84
Add Inventory.payItems() method
2022-05-11 21:56:53 -07:00
gentlespoon
226a29f7c2
Fix logging level
2022-05-11 17:39:45 -07:00
gentlespoon
2531ae366d
Feature: vehicle stamina
...
1. Remove references.
2. Handle vehicle stamina.
2022-05-11 17:39:45 -07:00
gentlespoon
ba5635bf39
Update StaminaManager
...
1. Update function signatures to prepare for vehicle stamina.
3. Remove hard-coded skills.
2. Wind resonance -15% stamina cost.
4. Climb talent cost reduction.
5. Swim talent cost reduction.
6. Diluc will now consume stamina at full price if talent not activated.
7. Sayu's windwheel no longer consumes stamina.
2022-05-11 17:39:45 -07:00
Melledy
5d4f245293
Merge branch 'development' into dev-quests
2022-05-11 12:39:28 -07:00
ImmuState
57c7f7a43b
Add gacha details page.
2022-05-11 12:02:45 -07:00
Melledy
51844b6535
Merge branch 'development' into dev-quests
2022-05-11 03:56:59 -07:00
Melledy
e9d7d5d5f2
Implement quests
2022-05-11 03:56:40 -07:00
Magix
22cbe74875
Merge pull request #802 from Grasscutters/better-config
...
Implement a better config structure
2022-05-11 01:23:43 -04:00
KingRainbow44
11161227ab
Convert to the far superior config system
2022-05-11 00:30:07 -04:00
gentlespoon
54cf45a72e
Claymore charged attack stamina cost
2022-05-10 17:25:18 -07:00
Secretboy
ecf028d0c6
add /language command ( #780 )
...
* Fix the following issues:
1. HashMap non-thread-safe issus
2. Fix the same problem in pr621, but use a better implementation
Add the following functions:
1. There is now a language cache inside getLanguage to prepare for different languages corresponding to different time zones where the accounts in the server are located
* add /language command,each account has their own Locate
2022-05-10 05:33:45 -07:00
gentlespoon
0f1341512c
Reset first tick on new skill
2022-05-10 05:21:29 -07:00
gentlespoon
2a3708ee46
Talent moving stamina cost
2022-05-10 05:21:29 -07:00
gentlespoon
fb3c3b71c8
Temporarily set statue auto use to 1 and 100%.
2022-05-10 02:14:09 -07:00
gentlespoon
0ea0eab6b6
Stamina will be set to full if Stamina is disabled.
2022-05-10 02:13:49 -07:00
FpguDhk
d179b5c7dc
Fix the decision statement of adding map marker. ( #763 )
...
* Fix the Chinese messy code problem.
* Fix the decision statement of adding map marker.
2022-05-09 23:15:17 -07:00
Akka
2e69a4d8f7
Merge remote-tracking branch 'origin/development' into tower
2022-05-10 00:07:10 +08:00
Akka
faa3cde575
fix the Monster spawn between stage challenges
2022-05-10 00:05:01 +08:00
gentlespoon
5d917f185f
Move "if Grasscutter.getConfig().OpenStamina" to the correct place.
2022-05-09 03:46:18 -07:00
gentlespoon
ccdc3d1214
Only handle motion notify for current entity.
2022-05-09 02:28:13 -07:00
Melledy
f0aa8c2c53
Merge pull request #718 from Akka0/tower
...
Support Team Toggle in Tower & Refactor MonsterTide
2022-05-09 01:15:02 -07:00
AnimeGitB
f08a89711c
Account permission wildcards
2022-05-09 01:12:47 -07:00
Akka
47ea466054
Merge remote-tracking branch 'origin/development' into tower
2022-05-09 15:43:52 +08:00
Akka
65c93a747c
Support Team Toggle in Tower & Refactor MonsterTide
2022-05-09 15:39:49 +08:00
Akka
9fc4b916c8
Persist Tower Data && Set The Tower Schedule
2022-05-08 06:06:32 -07:00
Melledy
55389d3a5c
Optimize invoke packet handling
2022-05-08 06:05:50 -07:00
Melledy
2dfdc62743
Implement energy balls (orbs)
2022-05-08 06:05:50 -07:00
Melledy
897f082b12
Implement AbilityManager
2022-05-08 06:05:50 -07:00
Akka
219a850818
Merge remote-tracking branch 'origin/development' into tower
2022-05-08 20:56:50 +08:00
gentlespoon
d78348522e
Update StaminaManager
2022-05-08 04:39:25 -07:00
gentlespoon
a09723f07d
Fix: timer is already cancelled.
2022-05-08 04:39:25 -07:00
Akka
4b6842f006
Persist Tower Data && Set The Tower Schedule
2022-05-08 17:11:02 +08:00
gentlespoon
94a6a79b4a
Fix null reference on stamina timer when paused player disconnects.
2022-05-07 23:13:35 -07:00
Akka
eb94adb296
Monsters tide turn by turn && Ban User Skill && Lua functions
2022-05-07 18:18:27 -07:00
gentlespoon
29f9d6506a
Make stamina consumption classes public so others can use.
2022-05-07 18:18:20 -07:00
gentlespoon
836e0150b5
Stop stamina consumption on game pause
2022-05-07 18:18:20 -07:00
gentlespoon
8e99cb4f35
More reliable stamina calculation
...
by separately handling immediate one-time cost and cost over time.
2022-05-07 18:18:20 -07:00
HotaruYS
ab5131e9fd
Respect FrontHTTPS when creating URI for gacha record
2022-05-07 14:54:15 -07:00
Akka
39e8f810d2
Merge pull request #5 from Grasscutters/development
...
Development
2022-05-07 21:49:22 +08:00
Akka
6148ee8742
Monsters tide turn by turn && Ban User Skill && Lua functions
2022-05-07 21:47:13 +08:00
gentlespoon
6bba3c8477
Kamisato Ayaka and Mona talent moving costs stamina
2022-05-07 00:47:19 -07:00
gentlespoon
9b3ca239c9
Prepare MovementManager.updateStamina() for external calls.
2022-05-07 00:47:19 -07:00
gentlespoon
34df864e1c
Flight stamina cost -20% when Amber or Venti in team
...
- Reduced stamina not tested in MP.
- Stop MovementManager ticker when player goes offline.
2022-05-06 23:27:07 -07:00
Melledy
f894b96edf
Fix crash on login if the player didnt have a TowerManager
2022-05-06 19:12:54 -07:00
Magix
38fd7bb76a
Merge pull request #567 from Grasscutters/localization
...
Implement a proper language system
2022-05-06 21:05:29 -04:00
KingRainbow44
0d7f58fc25
Merge development
into localization
2022-05-06 19:40:32 -04:00
gentlespoon
6d678557ff
fix/runningAndDashingStamina
2022-05-06 16:11:51 -07:00
gentlespoon
58cb60299c
Fix #593 : Accidental death of character
2022-05-06 15:22:00 -07:00
gentlespoon
3f91fdcb71
Allow walking away from the statue within 2.5s to stop auto heal.
2022-05-06 14:49:33 -07:00
Melledy
ad84635540
Merge pull request #594 from Akka0/tower
...
Tower Dungeons Handoff between levels
2022-05-06 13:37:30 -07:00
Kinesis
8abd3ace6c
Implement Avatar Expedition System
...
Co-Authored-By: ShigemoriHakura <62388797+ShigemoriHakura@users.noreply.github.com>
Co-Authored-By: KanyeWestc <104547412+KanyeWestc@users.noreply.github.com>
Co-Authored-By: QAQ 天小络 <72185326+XTL676@users.noreply.github.com>
Co-Authored-By: nkxingxh <25559053+nkxingxh@users.noreply.github.com>
Co-Authored-By: Yazawazi <47273265+Yazawazi@users.noreply.github.com>
Co-Authored-By: wuwuwu223 <81224214+wuwuwu223@users.noreply.github.com>
Co-Authored-By: omg-xtao <100690902+omg-xtao@users.noreply.github.com>
Co-Authored-By: Sakura <104815797+Sakura@users.noreply.github.com>
Co-Authored-By: NewNeko-2022 <104819344+NewNeko-2022@users.noreply.github.com>
Co-Authored-By: JimWails <30657653+JimWails@users.noreply.github.com>
Co-Authored-By: buttercookies <19878609+ButterCookies@users.noreply.github.com>
2022-05-06 13:28:26 -07:00
Akka
f2231349bd
a little fix
2022-05-07 00:31:48 +08:00
Akka
c2d2a37fc5
Merge branch 'tower' into development
2022-05-07 00:19:51 +08:00
Akka
b58bcda0c8
Tower Dungeons Handoff between level and floor
2022-05-07 00:11:54 +08:00
gentlespoon
2e68578525
The statues will now automatically regen their HP volume over time.
...
Max is currently set to 85000 for everyone. Will update after implementing statue levels.
2022-05-06 03:26:38 -07:00
Melledy
b760fb1b26
Fix morphia error when saving player to db
2022-05-06 01:19:39 -07:00
gentlespoon
221668570e
fix: lower logging level in SotSManager
2022-05-06 00:49:08 -07:00
gentlespoon
198214ec53
Implementes auto HP recovery at the statues.
...
- Respects player setting.
- SP + MP.
- Statue has unlimited HP volume (to be updated)
2022-05-06 00:17:18 -07:00
Akka
2ad6f5934b
Add @Transient for temporary team
2022-05-06 00:12:33 -07:00
Akka
c912b8d857
Choose Avatar & Enter Tower
2022-05-06 00:12:33 -07:00
Akka
f683b222fc
Add @Transient for temporary team
2022-05-06 14:46:10 +08:00
gentlespoon
93b3265d72
Add drowning. Better movement ticking.
2022-05-05 23:42:34 -07:00
Akka
833ea1b791
Merge pull request #1 from Akka0/development
...
Updated
2022-05-06 14:16:44 +08:00
Akka
3d3f36cf56
Choose Avatar & Enter Tower
2022-05-06 14:10:23 +08:00
KingRainbow44
c0b1ec1b9e
Convert to the superior language system. (pt. 2)
2022-05-06 00:57:45 -04:00
gentlespoon
bafde8693d
Fixes #529 : fixed stamina abnormal. added fall to death.
...
Stamina is still WIP.
- Currently stamina consumption is not affected by the use of foods, talents, or the environment.
- Charged attacks do no require stamina yet.
- Will be fixed tomorrow.
2022-05-05 15:37:15 -07:00
gentlespoon
5c275c2e3c
SetPlayerPropReq Handler and player.setProperty() sanity check.
2022-05-05 00:03:42 -07:00
AnimeGitB
5aba7da7ef
Move command prefix stripping to ChatManager
2022-05-05 00:03:10 -07:00
AnimeGitB
82ec63c4e4
[WIP] Command Targeting overhaul
2022-05-05 00:03:10 -07:00
Akka
48d1e026ef
Add Support of Item Combine ( #513 )
...
* Add Support of Item Combine
* Add Support of Item Combine
Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-05-04 10:06:13 -07:00
Angda Song
06983e9e84
Implement map marking features
...
Teleport still exists on fish hook mark.
Added mapMark-related protos.
Map marking data is stored in players collection.
2022-05-04 10:01:46 -07:00
EtherealAO
5e0e65123e
Dungeon challenge success/fail notify should only be triggered once (when server spawned mob more than score)
2022-05-04 01:48:56 -07:00
Melledy
3d52964112
Fix equip swapping
2022-05-04 01:45:41 -07:00
Melledy
787f3fd45e
Fix damage number not showing up if it was the killing blow
2022-05-04 01:21:34 -07:00
Melledy
1b97b4afa0
Fixed dungeon challenge scoreboard and implement dungeon drops
...
Also fixed a few dungeon script handlers
2022-05-03 23:24:43 -07:00
Melledy
ae31e4fd98
Weapons/artifacts should not have a count of more than 1
2022-05-03 23:24:18 -07:00
86e6eef4e2
Support giftPackage BatchUse
...
Co-authored-by: pris <lilch1022@hotmail.com>
2022-05-03 02:29:04 -07:00
Melledy
a93d7c579f
Fix extra skill charges being removed if you teleport
...
Close #404
2022-05-03 02:27:18 -07:00
Melledy
7395a268ef
Fix mail not sending to offline players
2022-05-03 02:27:18 -07:00
mingjun97
0421d912fd
Enable plugins to hook server message response
...
* Add message handler so that the plugin can hook inside the `dropMessage` method for `Player` instance.
2022-05-03 02:16:44 -07:00
b253e779a2
Implement food heal function
...
Co-authored-by: pris <lilch1022@hotmail.com>
2022-05-02 22:02:11 -07:00
dogdie233
16f77ee520
Add EnterDungeonCmd, fix error when enter dungeon by changescene, import spawn cmd
2022-05-02 10:50:08 -07:00
7b591a2da0
implement shopMail giftPackage function
...
Co-authored-by: Kinesis <CCasusensa@users.noreply.github.com>
2022-05-02 02:50:24 -07:00
Melledy
fba26d2da9
Fix gacha rate for weapons
2022-05-02 02:01:24 -07:00
Melledy
19396a63c7
Move player mail to MailHandler class
...
This is so we dont have to save the entire player to the db every time we send mail
2022-05-02 02:01:01 -07:00
KingRainbow44
afa8fb7a51
Merge remote-tracking branch 'origin/development' into development
2022-05-01 20:15:27 -04:00
mingjun97
98122f3c55
Implement gacha history record subsystem
...
* Frontend is not very beautiful yet
* Didn't include too much `some anime game` data in the page to avoid being DMCA'd
2022-05-01 13:47:17 -07:00
4Benj_
0d262e2d07
Cleaned up dispatch iOS fixes ( #396 )
...
* Attempting to fix crashing on iOS devices
plus I forgot a thing in string.format
* Removed unnecessary things
2022-04-30 23:31:39 -07:00
KingRainbow44
72b5ec210c
Merge remote-tracking branch 'origin/development' into development
2022-05-01 02:14:35 -04:00
Melledy
3169e87c60
Fix constellations that give an extra charge to skills
...
Fix #228
2022-04-30 19:34:50 -07:00
KingRainbow44
e898384532
QoL changes
2022-04-30 21:52:30 -04:00
KingRainbow44
86b8f4549f
Merge remote-tracking branch 'origin/api' into api
2022-04-30 16:11:12 -04:00
KingRainbow44
b5c277234c
Move join & quit to player event
2022-04-30 16:11:00 -04:00
Magix
63d41fd79e
Merge branch 'development' into api
2022-04-30 16:07:54 -04:00
KingRainbow44
f73a713fac
Create player creation event & move join event to player
2022-04-30 16:07:12 -04:00
LDA
d133e55666
Implement viewing character details in character showcase
2022-04-30 10:49:45 -07:00
Aru
d6fa05915f
Monsters should drop items in world ( #373 )
...
* Monsters should drop items in world
fix the typo introduced in f1934c3a47
* Determine whether in dungeon scene
2022-04-30 13:18:09 +02:00
lhhxxxxx
eef216aea8
Update Account.hasPermission()
...
Add wildcard characters to permission nodes under the same namespace. (simple implementation)
2022-04-30 01:30:38 -07:00
Melledy
286ab545e9
Monsters should not drop items inside dungeons
2022-04-30 01:20:44 -07:00
Melledy
7e377dff59
Implement script region check
2022-04-30 01:20:44 -07:00
Melledy
f8f4d89cd0
Optimize GetOnlinePlayerListRsp
2022-04-30 01:20:44 -07:00
Melledy
66c2743d6e
Update how scene/dungeon map points are handled
2022-04-30 01:20:44 -07:00
KingRainbow44
4db1724d06
Merge branch 'development' into api
...
# Conflicts:
# src/main/java/emu/grasscutter/Grasscutter.java
2022-04-29 19:31:33 -04:00
lilmayofuksu
59ff79e23a
Limit the amount of vehicles that a player can spawn ( #340 )
2022-04-29 21:01:07 +02:00
赤座あかり
79165aa402
Add command to get reliquary with specific props ( #300 )
2022-04-29 16:31:22 +02:00
Melledy
6d98743025
Prevent console error spam when attacking gadgets
2022-04-29 03:33:14 -07:00
Melledy
d877d7eebc
Remove player from challenge if they are leaving the scene
2022-04-29 03:24:36 -07:00
Melledy
cb15a5dec9
Deregister scenes if no one is in them instead of deregistering when no entities are in them
2022-04-29 03:09:17 -07:00
Melledy
ae3d9a4dc1
Add a few more functions for the script engine to call
2022-04-29 02:38:25 -07:00
Melledy
1a5d4cf466
Implement lazy loading of scripts when they enter a new block
2022-04-29 02:07:25 -07:00
Melledy
14b6d3ce55
Fix monster levels in dungeons
2022-04-29 01:03:16 -07:00
Melledy
72e9a21ce3
Allow the player to finish dungeons
2022-04-29 00:49:05 -07:00
Melledy
8ab2b446cd
Clean script events
2022-04-29 00:00:23 -07:00
Melledy
30886da0ad
Fix compile error caused by merge
2022-04-28 23:09:07 -07:00
Melledy
60cfa40d7f
Merge branch 'development' into dungeon-scripts
2022-04-28 22:21:26 -07:00
Melledy
d71b7abfc3
Implement script support needed for dungeons
...
Only a few are supported right now
You will need certain script files in ./resources/Scripts
2022-04-28 22:19:14 -07:00
KingRainbow44
d359e5111a
Player events + mail receive event
2022-04-28 22:21:55 -04:00
KingRainbow44
9d9c6566ed
Player join & quit event
2022-04-28 22:12:41 -04:00
KingRainbow44
91a2a55ed9
Bug fixes & class updates
2022-04-28 21:54:51 -04:00
Kengxxiao
fcb4894387
fix shop config issue
2022-04-28 13:30:50 -07:00
Kengxxiao
275fcc7dd6
shop improvement
2022-04-28 13:30:50 -07:00
Kengxxiao
0559cc4e0b
official shop support
2022-04-28 13:30:50 -07:00
ayy lmao
0c02ce9f63
Implement HandlerVehicleInteractReq & Rsp and HandlerVehicleSpawnReq & Rsp
...
Also added opcodes related to vehicles, added LODPatternName to GadgetData and added EntityVehicle class
2022-04-28 21:21:08 +02:00
omg-xtao
31b0dd30e2
Ignore item not found error
2022-04-28 08:43:17 -07:00
Melledy
53cc1822f6
Implement dungeon entry
2022-04-28 08:20:37 -07:00
Kengxxiao
9133742eb0
fix companionship exp
...
my IDEA lint is not happy on my change
2022-04-28 06:50:37 -07:00
Kengxxiao
7bacd8ab70
do not save virtual item
2022-04-28 06:50:37 -07:00
Kengxxiao
ed98ab152d
fix exp drop issue
2022-04-28 06:50:37 -07:00
Yazawazi
0cbfcddae4
Should be OK
2022-04-28 06:40:25 +08:00
Yazawazi
02ce62422f
kill me plz
2022-04-28 03:46:24 +08:00
Yazawazi
982cbbe5d2
no headimage okay
2022-04-28 03:45:17 +08:00
Yazawazi
e55160dad6
Headimage
2022-04-28 03:40:32 +08:00
Yazawazi
9092c9b3f9
import
2022-04-28 03:31:36 +08:00
Yazawazi
f16d33b413
Player show avatar list
2022-04-28 03:21:51 +08:00
Melledy
f6db39926d
Fix co-op requests not showing up
2022-04-27 11:23:33 -07:00
Melledy
8bf17a8bdc
Fixed genesis crystals not being given to player
2022-04-27 11:23:33 -07:00
Melledy
1586bab5d7
Gacha banner tweaks
...
Removed min/maxItemType
Added configurable base weight values for banners
2022-04-27 11:23:33 -07:00
Yazawazi
2ba16cf8b2
comment & mooncard
2022-04-27 08:42:48 -07:00
Kengxxiao
669e58d9f3
Merge branch 'development' into dev-feature-drop
2022-04-27 22:54:59 +08:00
Kengxxiao
ee3a0c32fc
use better shop config structure
2022-04-27 07:35:31 -07:00
Kengxxiao
3e0ccbbbde
implement npc shop
2022-04-27 07:35:31 -07:00
Kengxxiao
8b614d8df8
implement simple drop system
2022-04-27 17:42:02 +08:00
Melledy
d1fc8c1faa
Moved some files around
2022-04-26 21:27:35 -07:00
Melledy
1c36f0785b
Renamed all references to a certain game
2022-04-26 21:27:35 -07:00
Melledy
d81895543f
Call PacketItemAddHintNotify from addItem
2022-04-26 21:27:35 -07:00
Melledy
7cf0e448cd
World level updates without needing to restart
2022-04-26 21:27:35 -07:00
Melledy
9b7293272b
Fix white screen after logging in
2022-04-26 21:27:35 -07:00
Benjamin Elsdon
cebc140228
GenshinPlayer fix (for two issues) and updated sendmail with Magix's suggestions
2022-04-27 09:03:26 +08:00
Benjamin Elsdon
0917f516ea
Merge remote-tracking branch 'upstream/development' into dev-mail
2022-04-27 08:41:10 +08:00
Benjamin Elsdon
ed3f88f013
Removed debug messages, readded protos, fixed gradle
2022-04-27 08:36:13 +08:00
Benjamin Elsdon
b9f7c657ac
Merge remote-tracking branch 'upstream/development' into dev-mail
2022-04-27 07:37:05 +08:00
Yazawazi
420f544d68
DateHelper
2022-04-27 07:01:05 +08:00
Yazawazi
49854e4514
utils
2022-04-27 06:15:59 +08:00
Yazawazi
748e64a60c
Moon Card
2022-04-27 06:04:21 +08:00
WetABQ
addfb5eb5d
[BREAKING CHANGE] proto auto compiled by gradle ( #226 )
...
* [BREAK] proto auto compiled by gradle
* [BREAK] move proto to submodule
* update gitmodules
* [BREAK] move proto to submodule
* move proto to submodule
* fix merge conflict
* fix github action after merging
* fix merge conflicts and del submodule
* upload the proto
2022-04-26 14:44:30 -07:00
Magix
627a2f1ee8
Merge branch 'api' into development
2022-04-26 11:17:02 -04:00
Benjamin Elsdon
3db1a86609
Merge remote-tracking branch 'upstream/development' into dev-mail
2022-04-26 15:45:58 +08:00
KingRainbow44
e27bdd9bb6
Add more events
2022-04-26 02:07:00 -04:00
Benjamin Elsdon
a5677a8e34
Improvements and send all mail fix
...
Mail ID no longer exists and is handled by it's position in the mail array
2022-04-26 11:57:55 +08:00
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