ImmuState
4649680101
Fix traveller not being able to gain energy.
2022-05-22 12:55:55 -07:00
ImmuState
28323fed66
Move energy-related logic to a new EnergyManager.
2022-05-22 12:55:55 -07:00
ImmuState
1d2fde40d5
Make energy usage configurable, and preserve current behavior as the default.
2022-05-22 12:55:55 -07:00
ImmuState
531683f370
Make sure to use absolute energy to deplete burst.
2022-05-22 12:55:55 -07:00
ImmuState
8f5bd2f220
Give correct amount of energy for collecting particles/orbs, and consume energy on burst cast.
2022-05-22 12:55:55 -07:00
ImmuState
1df9acbb6a
Generate energy particle of the correct element for abilities.
2022-05-22 12:55:55 -07:00
tester233
2d2dc5d0a8
Update translation keys
2022-05-22 12:55:45 -07:00
Luke H-W
0ae3c3d7da
Allow commands to target offline players ( #1022 )
...
* Add targetRequirement annotation for Command
* Added MTL lines for other langs
* Fix TargetRequirement enum scoping
* Adjust commands to targetRequirement system
* Add translation message sugar to prevent future messages from being translated for wrong player
* Temporarily disable offline targeting on /permission and /clear
* Preliminary README cleanup
* Readme commands cleanup
* Clean up command table in README, including column shuffle
Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>
2022-05-22 01:02:11 -07:00
Kimi
fa0344d1f9
Traditional Chinese | Translation Patches
2022-05-22 01:01:56 -07:00
Benjamin Elsdon
5bd88d596b
More Web Static Languages
2022-05-20 19:33:29 -07:00
7c899ce1d0
Fix dataloader not getting path correctly
2022-05-20 19:32:27 -07:00
Benjamin Elsdon
d1775b130f
Attempt to fix untranslated login window
2022-05-20 05:52:15 -07:00
Няшик Няшный
e6514f7ad1
Added banner start and end time checks
2022-05-20 05:51:44 -07:00
Няшик Няшный
1662278586
Changing how banners work
2022-05-20 05:51:44 -07:00
zrll_
eb54dcec0e
Update FileUtils.java
...
fix: Error when checking files & always checking "/default/data" instead of folder
2022-05-20 05:49:28 -07:00
4Benj_
92f1a93ba2
Server Log Events ( #996 )
...
* Server Log Event
* LogEventAppender Encoder
2022-05-20 05:48:20 -07:00
ButterCookies
9125bacfce
Set the maximum number of player on the server through the config.json ( #1001 )
...
* Show server status to three-party game launcher
* Set the maximum number of player on the server through the config.json
* modify the logical order and show the number of maxplayer to API /status/server
* Now even players who have token already cannot bypass the maxPlayer check
2022-05-20 05:47:47 -07:00
zhaodice
2a467a48dc
Fix connection bugs without removing binding address ( #993 )
...
* Fix connection bugs according to #921
Fix this for connect to game by local device or remote devices according to #921
* Fix connection bugs according to #921
same
* Update GameServer.java
* fix build
* Update GameServer.java
2022-05-19 08:35:14 -07:00
tester233
cf7c4832fe
Remove outdated text & update zh-CN.json
2022-05-19 08:34:58 -07:00
Melledy
1282e1388f
Add error message in case data files in resources could not be found
2022-05-19 03:06:07 -07:00
Melledy
86dee4bae7
Fix dataloader not getting path correctly
2022-05-19 03:01:21 -07:00
Melledy
a088ea9b6b
Fix dataloader with eclipse
2022-05-19 01:06:20 -07:00
7fb26c3843
Autogenerate document files
2022-05-18 23:19:13 -07:00
2bllw8
e3ed396889
Add web documentation
...
- '/documentation': home page with all links
- '/documentation/handbook': html version of the gm handbook
- '/documentation/gachamapping': json document with the gacha mappings
2022-05-18 15:41:19 -07:00
linebear
827044b3da
Fix this does not look like a tar archive error when extract log file
2022-05-18 15:38:26 -07:00
tester233
efe459e17f
Fix punctuation & update zh-CN.json ( #976 )
...
* Fix punctuation & update zh-CN.json
* Fix error
2022-05-18 13:46:47 -07:00
tester233
b8cb6e108b
Improve text & update zh-CN.json
2022-05-18 05:48:17 -07:00
AZthemute
e45ef7de51
General housekeeping and clarification of en-us.json file
2022-05-17 21:11:10 -07:00
YukariChiba
d15c32df23
Add OAuth in AuthenticationSystem
2022-05-17 12:25:59 -07:00
muhammadeko
0c6521806c
add CommandResponseEvent
2022-05-17 12:21:17 -07:00
Benjamin Elsdon
10fe5d11ca
AuthenticationSystem::verifyUser now returns the user's Account instead of a boolean
2022-05-17 05:30:22 -07:00
YukariChiba
cc98c56916
Do not add default region if there are already regions
2022-05-17 04:30:28 -07:00
tester233
d0ab5fa5df
Add translation key
2022-05-17 04:24:18 -07:00
tester233
263369af9a
Modify usage
2022-05-17 04:24:18 -07:00
tester233
b5632aa62d
Fix usage & remove outdated text
2022-05-17 04:24:18 -07:00
Benjamin Elsdon
ef63708675
Change BANNED_PACKETS to HashSet instaed of List
2022-05-17 04:24:01 -07:00
Benjamin Elsdon
fffa5a9c47
Fix "Attempt to get java.util.List field 'PacketOpcodes.BANNED_PACKETS' with illegal data type conversion to int"
2022-05-17 04:24:01 -07:00
Benjamin Elsdon
20feb75c86
Permanent fix for version.json stuff (causes 4206)
2022-05-17 04:11:50 -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
1adffc21c0
Enhance the default permissions logic
2022-05-16 21:55:47 -07:00
RDsatan
21478b0a33
fixed
2022-05-16 21:53:16 -07:00
RDsatan
34ea3089b6
Optimize the join and remove commands to team
2022-05-16 21:53:16 -07:00
muhammadeko
5ddf67d9e5
add config to enable/disable console
2022-05-16 17:57:14 -07:00
Magix
3e2ff211ec
Merge pull request #928 from 6ixfalls/dispatch-fix
...
Fix "/" Route
2022-05-16 12:56:13 -04:00
Elapse
58a5ad4909
update opcodes, correct op names, and update relative codes
2022-05-16 06:20:34 -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
6ixfalls
c71842c9d0
Fix "/" Route
2022-05-15 09:41:10 -07:00
Melledy
eb64b25f12
Implement quest rewards
2022-05-15 03:48:47 -07:00
AnimeGitB
f5cdedcc88
Fix logic error in remove command
2022-05-15 01:17:26 -07:00
AnimeGitB
efd7467a71
Fix targeting on Join and Remove commands
2022-05-15 01:17:26 -07:00
muhammadeko
05e13d81ad
Modify chat manager to give plugin ability to change it
2022-05-14 23:27:36 -07:00
lsCoding666
7a66f22827
fix join command and remove command bug and update docs ( #904 )
...
* feat:new command "join" and "remove" to force join or remove avatar in your current team
* fix:change MaxAvatarsInTeam from 9 to 4
* feat:update & merge branch.Translate fix
* fix(command):fix remove command a stupid bug.Loop delete element bug.
* fix(command):fix join command. When adding avatars, repeat avatars skip and non repeat avatars join.
* fix(language):fix join command remove command translate
* fix(ReadMe):update README.md join and remove command.
2022-05-14 23:27:23 -07:00
muhammadeko
b05a5f85f6
fix permission command
2022-05-14 21:06:57 -07:00
Hotaru
3a216bf1bb
Move gacha files to separate directory and refactor file serving
2022-05-14 20:07:08 -07:00
HotaruYS
159feb4064
Properly handle static assets for announcements ( #891 )
2022-05-14 20:05:19 -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
6ec27cd17a
Update routes
2022-05-14 12:41:49 -04:00
KingRainbow44
04d9613fac
External authentication
2022-05-14 12:39:21 -04:00
KingRainbow44
5d7edc389e
Implement PR #657
2022-05-14 12:21:55 -04:00
KingRainbow44
0dcf0862f8
JavaDoc Fix
2022-05-14 12:13:41 -04: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
lsCoding666
741e5749ad
new command join and remove to force join or remove avatars into your current team ( #549 )
...
* feat:new command "join" and "remove" to force join or remove avatar in your current team
* fix:change MaxAvatarsInTeam from 9 to 4
* feat:update & merge branch.Translate fix
2022-05-14 06:28:02 -07:00
zrll_
470007a6c0
Fix connot execute quest command in console
2022-05-14 05:28:57 -07:00
luluxiaoyu
3c654cf030
Update zh-TW.json
2022-05-13 22:12:14 -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
ShiroSaki
20e3b8ffda
add support for announcement page
2022-05-13 16:48:37 -07:00
Melledy
248b655f07
Use scene types instead of hardcoding scene ids for checking enter reason
2022-05-13 16:35:03 -07:00
tester233
82698d5623
Improve text
2022-05-13 16:33:18 -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
Yazawazi
19ee983c08
feature(serenitea pot): Implementation of the entry function
...
It's being perfected, so don't worry. (probably)
2022-05-13 16:32:52 -07:00
KingRainbow44
840f4706b5
Refactor dispatch (now called HTTP) server (pt. 1)
2022-05-13 11:39:40 -04:00
KingRainbow44
a0067b664e
Add JSON-related methods to Utils.java
2022-05-13 11:38:54 -04:00
KingRainbow44
39f23a0c47
Add new authentication system
2022-05-13 11:38:17 -04: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
Kimi
891c70e5ea
Traditional Chinese | Translation Patches
2022-05-13 05:35:21 -07:00
kyoko12
d4eb686fe2
Don't silently delete config.json if there is an error.
2022-05-13 05:34:59 -07:00
AnimeGitB
395da1ebcb
Fix gachadetails
2022-05-13 05:34:14 -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
3c55aa64eb
fix: LEAK: ByteBuf.release() was not called
2022-05-13 00:21:26 -07:00
Hotaru
92b103d529
Fix UTF-8 encoding in announcements
2022-05-12 17:54:50 -07:00
tester233
12c7c8f8c1
Improve text
2022-05-12 14:54:53 -07:00
tester233
4d9c2becb5
Improve text
2022-05-12 14:54:53 -07:00
tester233
28f4f73dbe
Improve text
2022-05-12 14:54:53 -07:00
Akka
00ea35b81f
add docs for tower
2022-05-12 14:54:44 -07:00
Hotaru
2451d2c897
Build region_list and cur_region dynamically
2022-05-12 14:54:33 -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
7befebe37f
Add quest ids to handbook
2022-05-11 12:47:16 -07:00
Melledy
5d4f245293
Merge branch 'development' into dev-quests
2022-05-11 12:39:28 -07:00
ImmuState
e5a85f81c2
Insert language setting based on the player's account.
2022-05-11 12:02:45 -07:00
ImmuState
57c7f7a43b
Add gacha details page.
2022-05-11 12:02:45 -07:00
mingjun97
570635ea02
Revise version format
2022-05-11 11:52:56 -07:00
mingjun97
895e2bc44a
Display version info at console starting
2022-05-11 11:52:56 -07:00
mingjun97
a77ae0bc3c
Introduce -version
argument to display version
2022-05-11 11:52:56 -07:00
tester233
9fc18151c9
Improve text
2022-05-11 11:51:24 -07:00
tester233
99de46e261
Improve text & remove extra punctuation
2022-05-11 11:51:24 -07:00
Benjamin Elsdon
c932f9c7e5
Add verifyUser to AuthenticationHandler
2022-05-11 11:51:11 -07:00
Secretboy-SMR
9ed1bb9b94
It will use the english as default rather than tell you the value is not exist if there's no translation for currently language
2022-05-11 11:50:53 -07:00
KingRainbow44
03a2876233
Add plugin loggers
2022-05-11 11:46:36 -04:00
KingRainbow44
d215035fc8
Refactor config database settings
2022-05-11 11:38:30 -04:00
ayy lmao
3c0d85621e
Fix InRouting on dispatch server
2022-05-11 17:35:52 +03:00
Melledy
dfd8fcb250
Fix build error from merge
2022-05-11 04:01:38 -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
Secretboy-SMR
e3fd2eaa17
Removed invalid code in getLanguageFileDescription,When the language is not discovered, it will use the built-in language fallback mechanism to fall back,At the same time, we also fix the issue that using language in the server does not save the settings of the server side locale
2022-05-11 03:11:10 -07:00
coooookies
7e3bfed003
Show server status to three-party game launcher
2022-05-11 02:45:21 -07:00
Secretboy-SMR
04f6e73447
fixed language not found prompt
2022-05-11 01:18:10 -07:00
mingjun97
8ad6bda3b2
Bug fixes.
...
* Fix default port for the game server
* Fix the returning region info
2022-05-11 01:17:51 -07:00
gentlespoon
37e1ffed28
Fix incorrect ascension level in givechar command
2022-05-11 01:17:10 -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
812f4b372c
Fix ClassDefNotFound
& NullPointerException
errors
2022-05-11 01:23:18 -04:00
KingRainbow44
0b3e2b3017
Remove config file
2022-05-11 00:48:40 -04:00
KingRainbow44
bd9e207a8c
Remove old config & migrate legacy configs
2022-05-11 00:46:49 -04:00
KingRainbow44
11161227ab
Convert to the far superior config system
2022-05-11 00:30:07 -04:00
KingRainbow44
c274907e9a
Create new config class
2022-05-10 22:49:25 -04:00
gentlespoon
54cf45a72e
Claymore charged attack stamina cost
2022-05-10 17:25:18 -07:00
Magix
099e45b581
Merge pull request #688 from HotaruYS/patch-3
...
Improve logging pattern by including caller class name
2022-05-10 20:17:13 -04:00
KingRainbow44
5d49323c37
my poor, poor, language system (Formatting refactor)
2022-05-10 20:00:47 -04:00
Secretboy-SMR
a26afe7d47
Fix language switching prompt and save
2022-05-10 13:36:57 -07:00
tester233
f92e839ad1
Improve text
2022-05-10 06:36:19 -07:00
Secretboy
94409b8635
fixed pr780, uploaded LanguageCommand.java ( #782 )
...
* 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
* I forgot to git add...sorry,,this pr is to fix pr780, uploaded LanguageCommand.java
2022-05-10 06:35:37 -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
99dbac8ad3
Add UTF8 charset in dispatch server HTML template.
2022-05-10 05:21:21 -07:00
Kinesis
b1bd0a5a95
fixed KillCharacter help command description typo case
2022-05-10 05:21:13 -07:00