ImmuState
5db5c90a8b
Start a new forge (no checking for now).
2022-06-08 05:43:38 -07:00
ImmuState
9d6bc2a910
Change active forges in player to list.
2022-06-08 05:43:38 -07:00
ImmuState
8db0500e9d
Add missing forging protos, add data for ongoing forges to player, handler for ForgeStartReq.
2022-06-08 05:43:38 -07:00
ImmuState
3fc63c2c4b
Move forging stuff to ForgingManager, make client respond to ForgeGetQueueDataReq and actually display forging queues.
2022-06-08 05:43:38 -07:00
zhaodice
ecf7a81ad1
Fix unable to save game data occasionally ( #1194 )
...
* Fix unable to save game data occasionally
* No self-kicking
* Game data synchronization
* finally
* prevent duplicated saving
* reverse changing
* keep the previous code
* Update GameServerInitializer.java
* Update GameSession.java
* remove sanity check because of try block
* a session needs can be created without a pipeline.
2022-06-05 04:23:19 -07:00
liizfq
934fb5873a
add new command (unlimitenergy):toggle energyusage for each player ( #1186 )
...
* add new command (unlimitenergy):toggle energyusage for each player while energyusage is ture in config.json
* Solve the problem of layout and naming errors
* make currentActiveTeam's Avatar full-energy while turn on the ule.
* Resolve language document errors
* add config_error message while player try to execute UnlimitEnergyCommand in GAME_OPTIONS.energyUsage == false
2022-06-04 19:14:52 -07:00
Paimon2022
a19e7c6db6
Spawn default monsters with different levels according to data/Spawns.json when worldLevelOverride is not zero.
...
For example, in world with worldlevel 8, base monster level is 90 according to resources/ExcelBinOutput/WorldLevelExcelConfigData.json,
monster level bias in data/Spawns.json belongs to [1,32], so the monster level would belong to [69, 100].
2022-06-03 03:20:07 -07:00
zhaodice
73a1c5762a
skipping right characters panel for Android
2022-06-03 02:42:17 -07:00
ImmuState
e140284d37
Persist unlocked blueprints to the database.
2022-06-03 00:52:22 -07:00
ImmuState
f243c10157
Unlock forging blueprints.
2022-06-03 00:52:22 -07:00
zhaodice
01481fd524
Arresting small creature support ( #1150 )
...
* Arresting small creature support
* add InsectCaptureManager
* use EnvAnimalGatherExcelConfigData.json
* Update InsectCaptureManager.java
2022-06-03 00:51:51 -07:00
line-bear
28b505e187
Fix stuck when talking to npc seller ( #1128 )
...
* Fix zero length array check method
* Import grasscutter logger
2022-05-31 02:42:16 -07:00
ImmuState
2e167d2d78
Add energy generation probabilities to WeaponType.
2022-05-30 20:06:25 -07:00
Melledy
ef6e16aaf5
Refactor WeaponType and MonsterType into enums
2022-05-30 20:06:25 -07:00
ImmuState
b9ca4a5dbd
Make NA/CA energy not scale with ER.
2022-05-30 20:06:25 -07:00
ImmuState
635e342a3d
Make sure the hit target is actually a monster.
2022-05-30 20:06:25 -07:00
ImmuState
febdb99855
Add a rough implementation for NA/CA energy generation.
2022-05-30 20:06:25 -07:00
linebear
18df521347
Fix enter tower dungeons
2022-05-30 20:06:25 -07:00
Melledy
0ba13ef7ff
Fix map mark issues from updating from 2.6
...
Close #1086
2022-05-30 20:06:25 -07:00
Melledy
a23b29b65a
Rename excel classes
2022-05-30 20:06:25 -07:00
Yazawazi
f139818224
[Anime Game Version update] Support 2.7 ( #1072 )
...
* feature(2.7 version): support 2.7 version & upload new protos
1. Support GC in GI 2.7.0;
2. Upload new protos;
3. Fix some bugs cuz by new protos.
BREAKING CHANGE: all
* fix(database helper): fix player uid issues
* fix(ability embryo): uint32 to fixed32
* fix(proto): map mark
rename MAP_MARK_FROM_TYPE_NOE to MAP_MARK_FROM_TYPE_NONE
* fix(game version): change game version to 2.7.0
* perf(proto): remove unused protos
1. Remove unused protos;
2. Temporarily commented out some of the proto fields.
* fix(proto): uint32 to fixed32
2022-05-30 20:06:25 -07:00
zhaodice
a95002fd40
Hunting and deforestation support. ( #1083 )
...
* add drops for animals wild pig,fishes,foxes,birds
* append fox
* Deforestation Support
implement drop woods when attacking tree
* Deforestation support (remove prints)
implement drop woods when attacking tree
* Deforestation support (remove prints)
implement drop woods when attacking tree
* add AutoRecycleHashMap
Map's KEY is automatic expire if key long time no use (query or modify from HashMap)
* use AutoRecycleHashMap in case of memory leak
* fix bug
* remove prints
* static AutoRecycleHashMap
* fix problems
* Delete AutoRecycleHashMap.java
* remove log
* fix build
* improve
* remove unnecessary information
Co-authored-by: Albedo <105265570+arub3do@users.noreply.github.com>
Co-authored-by: Albedo <105265570+arub3do@users.noreply.github.com>
2022-05-29 06:16:49 -07:00
ImmuState
cb3f3b92f5
Make sure energy drops are only processed for actual monsters.
2022-05-27 23:48:54 -07:00
Melledy
243ad3abe5
Refactor accounts to not use a player uid
2022-05-27 00:22:55 -07:00
ProxyismGH
880d177034
TeamManager avatar add refactor.
2022-05-26 22:54:36 -07:00
ImmuState
b57cf83bbd
Some refactoring.
2022-05-26 03:41:19 -07:00
ImmuState
de8b0be36e
Introduce a simpler way to get the original owner of an EntityClientGadget
2022-05-26 03:41:19 -07:00
logictc
fa90e37da3
remove debug msg
2022-05-25 21:10:10 -07:00
logictc
baef25680f
change indentation to tab
2022-05-25 21:10:10 -07:00
logictc
c26bf08d90
fix indentation
2022-05-25 21:10:10 -07:00
logictc
95bc655882
implement skill particle generation
2022-05-25 21:10:10 -07:00
Akka
5a3e9bc34e
Fixed excessive memory usage of Spatial Index
2022-05-25 00:42:52 -07:00
Akka
d95708ec03
Support spawn NPC
2022-05-24 21:43:51 -07:00
ImmuState
2a76e904ad
Energy: Particle/Orb Drops from Monsters ( #1054 )
...
* Generate energy drops for monsters + make sure picking up particles honors their count.
* Use drop info from excels instead.
* Remove double newline.
* Remove commented code.
2022-05-24 21:43:04 -07:00
logictc
5811556630
don't take effect if energyUsage is false
2022-05-24 14:43:02 -07:00
logictc
af381dcf42
clear energy on death
2022-05-24 14:43:02 -07:00
logictc
e0593554b6
implement persist energy
2022-05-24 14:43:02 -07:00
ShiroSaki
c8a7aea78b
Fix new account can't load codex datas
2022-05-23 23:55:46 -07:00
ShigemoriHakura
9e8b6eff09
remove unused import
2022-05-23 15:46:21 -07:00
ShiroSaki
fef5c06a29
Fix the bug that can't kill command-generated monsters
...
Command-generated monsters do not have spawnentry so we have to get data from getMonsterData
2022-05-23 15:46:21 -07:00
Akka
5a4a708931
remove unused imports
2022-05-23 15:46:17 -07:00
Akka
791b9534b7
refactor the challenge
2022-05-23 15:46:17 -07:00
ShiroSaki
2b799958d2
Refactor support for codex(aka archive) animal, weapon, reliquary
2022-05-23 02:46:50 -07:00
ImmuState
922ae91771
Fix EnergyManager indentation.
2022-05-22 12:55:55 -07:00
ImmuState
ab1341f0d9
Make sure offFieldPenalty does not go below 0.1
2022-05-22 12:55:55 -07:00
ImmuState
88781fdd82
Remove debug stuff
2022-05-22 12:55:55 -07:00
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
Няшик Няшный
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
Akka
717c2d1dd7
Support Boss Chest
2022-05-19 23:36:13 -07:00
Melledy
8c860308ba
Fix bad casting exceptions with scene garbages objects
2022-05-19 02:28:25 -07:00
Melledy
0dac404f0d
Fix issue with groups that dont have any suites
2022-05-19 02:19:18 -07:00
Melledy
cd77fb90a3
Move gadget/monster creation events to after they are spawned in scene
2022-05-19 00:36:38 -07:00
Akka
bad853573c
optimized the Lua func binding so that the script will not eval again
2022-05-18 20:51:39 -07:00
Melledy
a8f38ad995
Move chest rewards to new data format
2022-05-18 15:54:55 -07:00
Melledy
fe4e599014
Merge branch 'development' into dev-world-scripts
2022-05-18 15:54:35 -07:00
Melledy
3cffdd9773
Cleanup and remove business_type filter
2022-05-18 05:33:00 -07:00
Melledy
4b5f5b3db5
Only load groups that have a business type of 0
2022-05-18 05:10:45 -07:00
Melledy
b375881a3e
Fix errors caused by merge + Refactor chests into GadgetChest
2022-05-18 02:36:50 -07:00
Melledy
94997276db
Merge branch 'dev-world-scripts' of https://github.com/Grasscutters/Grasscutter into dev-world-scripts
2022-05-18 02:24:00 -07:00
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
xtaodada
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