Commit Graph

294 Commits

Author SHA1 Message Date
Lucca Faria Ferri
f72ff60965 Command and settings changes.
Attribute for checking if command is for in-game only;
Added CommandException.cs and InvalidParametersException.cs
Added NecroSkeletonCount to GameServerConfig.cs, thus the amount of necro skeletons can now be set.
Added new quest command: !quest set [questId] [stepId] to fast-forward to a specific quest.
2023-02-13 07:28:00 -08:00
Lucca Faria Ferri
aa05ae4988 Update Currency removed useless bloodshard query, and some cleanup. 2023-02-12 19:52:32 -08:00
Lucca Faria Ferri
50cc3a2d45 Update Currency removed useless bloodshard query, and some cleanup. 2023-02-12 19:52:20 -08:00
Lucca Faria Ferri
d75605027d Minor: Cleanup 2023-02-12 19:42:17 -08:00
Lucca Faria Ferri
cbe44933bf Minor: Cleanup and translations... 2023-02-12 19:40:47 -08:00
Lucca Faria Ferri
8b442f9db8 Improved some commands, cleanup,... 2023-02-12 19:07:26 -08:00
Lucca Faria Ferri
e76fcb31ec Logging update. 2023-02-12 11:25:59 -08:00
Lucca Faria Ferri
2b3016189e Fixed all items transmogGBID 2023-02-12 09:52:34 -08:00
Lucca Faria Ferri
4d3272ca88 ForceMinimapVisibility on GameServerConfig.cs 2023-02-12 05:13:13 -08:00
Lucca Faria Ferri
fc360945e5 WorldCommand.cs changed interpolated string. 2023-02-12 04:53:11 -08:00
Lucca Faria Ferri
74d18bf535 Cleanup ActorFactory 2023-02-12 04:52:29 -08:00
Lucca Faria Ferri
60c3ad5317 More world info;
Improved static code InventoryGrid.cs
2023-02-12 04:50:54 -08:00
Lucca Faria Ferri
7b214381a1 Spawn show actorsno 2023-02-12 04:36:47 -08:00
Lucca Faria Ferri
1c399545d2 Improved actor id not found on enum 2023-02-12 04:14:41 -08:00
Lucca Faria Ferri
0909087177 fixing attribute parsing. 2023-02-11 13:45:18 -08:00
DeKaN
18e1e7bb7b
Introduce default values for GameAttribute constructor parameters. Move list of attributes to separated static class 2023-02-10 22:42:12 +04:00
Lucca Faria Ferri
9fec1491e7 parsing fix. 2023-02-10 10:15:42 -08:00
Lucca Faria Ferri
d9328a69e4 Logging with TimeStampFormat; rest improvement, etc. 2023-02-10 09:56:30 -08:00
Lucca Faria Ferri
b8c68c3db8 GameAttribute.List.cs name fix and made dependent on GameAttribute.cs 2023-02-09 22:51:26 -08:00
Lucca Faria Ferri
e2d3344974 Rifts improvement.
- Finishes the rift automatically if config.ini has NephalemAutoFinish is set to true, if it's true, if there are less than NephalemRiftAutoFinish monsters alive, finishes rift (and goes to boss). Disabled by default.
- Added NephalemRiftOrbsChance (rate at which a orb is spawned).
- SpawnGenerator.cs added hexmaze
- DeathPayload.cs improvement
2023-02-09 22:48:41 -08:00
Lucca Faria Ferri
0f807d56b0 World generation cleanup 2023-02-09 21:44:45 -08:00
Lucca Faria Ferri
6657f17730 Changelog:
GameServerConfig.cs and Player.cs:
- StrengthMultiplier / StrengthParagonMultipler
- DexterityMultiplier / DexterityParagonMultiplier
- IntelligenceMultiplier / IntelligenceParagonMultiplier
- VitalityMultiplier / VitalityParagonMultiplier
CommandManager.cs and CommandsConfig.cs:
- Added a command group disable parameter (DisabledGroups). A ranking system should be added later on.
RestSession.cs and Http.cs:
- Added battlenet login POST and GET;
- If no page is found on DEBUG, it returns 502 (Bad GW - if on NAT it could be useful for stopping bots of retrying connection with the server) otherwise returns 404
Others:
!drop minor changes
Cleanups
2023-02-09 21:22:41 -08:00
Lucca Faria Ferri
3d123f409f Fixed waypoints appearing unlocked even though they were reportedly locked
It would only set in DEBUG mode to unlock all, so I've changed to a config in the [Game-Server] section named "UnlockAllWaypoints".
2023-02-08 05:18:53 -08:00
Lucca Faria Ferri
61005bb1b9 Small changes relating to config class names. 2023-02-06 10:36:40 -08:00
Lucca Faria Ferri
a0ddd8f8c9 Small changes relating to config class names. 2023-02-06 10:27:38 -08:00
Lucca Faria Ferri
6b5fcda1dd Small change. 2023-02-06 04:38:09 -08:00
Lucca Faria Ferri
241d596178 Small change. 2023-02-06 04:19:08 -08:00
Lucca Faria Ferri
d670871a4f Changed config files to their own name;
DrinkHealthPotion.cs configurable;
Cleanup
2023-02-06 04:08:12 -08:00
Lucca Faria Ferri
f54f91cfad just simple cleanup. 2023-02-05 08:32:14 -08:00
Lucca Faria Ferri
a083065fbd Fixed animations issue + cleanup.
Added a fallback IN CASE something goes wrong - shouldn't, but left a nice log for debugging purposes.
2023-02-04 13:59:14 -08:00
Lucca Faria Ferri
48c7fc7de5 Fixed animations issue + cleanup. 2023-02-04 13:40:36 -08:00
Lucca Faria Ferri
60b50263b1
Merge pull request #121 from goremykin/update_readme
Added instructions how to build the project without VS
2023-02-04 16:45:29 -03:00
Lucca Faria Ferri
43ba284d8d command file segregation 2023-02-04 11:15:54 -08:00
Lucca Faria Ferri
ba357de3b5 Nothing huge, just log changes on a mis-interpreted logging and changed ActorsCommand.cs descriptions. 2023-02-04 11:13:49 -08:00
Stepan Goremykin
8773e31c52 Added instructions how to build the project without VS 2023-02-04 16:41:17 +01:00
Lucca Faria Ferri
614031d550 Fixed #116 - Community branch cannot save gold
See #116 for more info about the gold change issue.

Nephalem rift progress multiplier added to the Config.cs. Defaults to 1f (no change). Helps greatly.
`!world info` added for world information

 `!difficulty <min/max>` added

 Returning `List<T>` to `ImmutableArray<T>` on a particular method (will be changing more soon). Most List<T> on the project are read/only, best to return an array instead, less re-iteration by default, and some CLR improvements (https://devblogs.microsoft.com/dotnet/please-welcome-immutablearrayt/)

Upgraded LogLevel from Warn to Error when it's a database error (DBSession.cs)

Removed some `//Blizzless Project 2022` with regex replacement

MethodLog output enhancement.
2023-02-04 01:44:43 -08:00
Lucca Faria Ferri
0489f9e47a Revert "Animations bugfix"
This reverts commit c3d3984725.
2023-02-03 12:01:10 -08:00
Lucca Faria Ferri
c3d3984725 Animations bugfix
All AnimationSno now with their SnoFileName, to prevent issues and try to resolve animations (at least the ones that worked before).
2023-02-03 05:08:27 -08:00
Lucca Faria Ferri
8521c490c2 Patching ActorSno.cs (misplaced attributes) 2023-02-03 04:14:18 -08:00
Lucca Faria Ferri
ad7aa30e88 Color format. 2023-02-03 04:02:03 -08:00
Lucca Faria Ferri
22a56e78a1 Fixed actor SNOs. 2023-02-03 04:00:42 -08:00
Lucca Faria Ferri
97a8bfa8a3 Quests and MPQ work.
Fixed quest to find 2 orbs on the rotten forest;
Fixed load actors to load an actor file that could not be found - as many actors rely on a name which is not always provided on the enum by using a [SnoFileName("TheActual SnoFileName")];
Changed FileFormats.Actor to FileFormats.ActorData
2023-02-02 11:52:36 -08:00
Lucca Faria Ferri
78126fb119 Instance from auto property to readonly static. 2023-02-02 06:44:23 -08:00
Lucca Faria Ferri
396fc3e0f3 improvement shutdown/item gen 2023-02-02 05:18:59 -08:00
Lucca Faria Ferri
282b990ae4 Updated default config, and shutdown 2023-02-02 05:18:27 -08:00
Lucca Faria Ferri
591c2845ac Invalid levels given returns an error instead. 2023-02-01 11:04:30 -08:00
Lucca Faria Ferri
56028a9792 Each command to their own file, improvement on Necromancer.cs and NecromancerSkeleton_A.cs 2023-02-01 10:54:24 -08:00
Lucca Faria Ferri
4744222dd4 all fine now. 2023-02-01 09:36:33 -08:00
Lucca Faria Ferri
a62137c40c Small refactoring. 2023-02-01 06:45:46 -08:00
Lucca Faria Ferri
85de65c041 #115 Always save quests progress if config.ini has AutoSaveQuests = true - unless in open world. In tests. 2023-01-31 14:51:49 -08:00
Lucca Faria Ferri
7a90b4d47f Object initializer change on Objectives 2023-01-31 14:46:28 -08:00
Lucca Faria Ferri
d9df13b710 quickfix 2023-01-31 14:27:23 -08:00
Lucca Faria Ferri
66f1423ecc Small changes 2023-01-31 14:10:07 -08:00
Lucca Faria Ferri
ef89b0b732 Player/World broadcast 2023-01-31 13:41:35 -08:00
Lucca Faria Ferri
602a42042a Fixed kill leoric;
Fixed bug that opened a portal behind Leoric before killing him (and to reopen it after killing him);
MethodTrace when opening door;
Created command to open all world's doors, nearby doors, and get info about door states;
Created a GetPortals near Actor.
2023-01-31 13:15:50 -08:00
Lucca Faria Ferri
5759335f9a cleanup 2023-01-31 09:12:30 -08:00
Lucca Faria Ferri
765090c841 Improvement on FileTarget.cs 2023-01-31 09:11:22 -08:00
Lucca Faria Ferri
8c9dc3c9d5 Improvement world bosses;
Command to open all doors;
Do not show logs of colors
2023-01-31 09:09:46 -08:00
Lucca Faria Ferri
b95ab45e62 Update. 2023-01-31 07:34:32 -08:00
Lucca Faria Ferri
343fadd2c4 Merge remote-tracking branch 'origin/community' into community 2023-01-31 06:46:40 -08:00
Lucca Faria Ferri
53482f0adf Added Motd; simple refactoring 2023-01-31 06:45:26 -08:00
Lucca Faria Ferri
4c5126e5da Updated !quest command 2023-01-30 15:43:01 -08:00
Lucca Faria Ferri
6743ad3dcd Added onRemoved fixed attribute action 2023-01-30 14:40:58 -08:00
Lucca Faria Ferri
29df8c3646 UpdateCurrencies in !platinum command. 2023-01-30 11:45:33 -08:00
Lucca Faria Ferri
789b2192bd More Necromancer command skeleton updates; renamed resourcefull to resourceful 2023-01-30 10:56:44 -08:00
Lucca Faria Ferri
b6ddd67d01 Update necromancer 2023-01-30 10:17:08 -08:00
Lucca Faria Ferri
beab981a7e Necromancer update 2023-01-30 09:48:43 -08:00
Lucca Faria Ferri
eb6a0cb662 Necro command skeleton improvement. 2023-01-30 07:37:18 -08:00
Lucca Faria Ferri
568b0a48fe quick fix errorwhen parsing invalid http header 2023-01-30 07:03:36 -08:00
Lucca Faria Ferri
69a11814ac commenting 2023-01-29 19:00:59 -08:00
Lucca Faria Ferri
eeb49270f5 Merge remote-tracking branch 'origin/community' into community
# Conflicts:
#	src/DiIiS-NA/D3-GameServer/GSSystem/PowerSystem/Implementations/HeroSkills/Necromancer.cs
2023-01-29 18:34:23 -08:00
Lucca Faria Ferri
1587c02f54 Necromancer.cs - command skeletons (done RuneA - RuneD, missing RuneC now). Needs further testing in regards to functionality, I think it's not freezing the target yet??? 2023-01-29 18:32:43 -08:00
Stepan Goremykin
e99932cf4e Fixed possible mistakes, use PickRandom extension 2023-01-29 23:55:03 +01:00
Lucca Faria Ferri
68a512cae6
Merge pull request #112 from goremykin/optimizations
Refactor random and more multiple enumerations
2023-01-29 14:22:37 -03:00
Stepan Goremykin
6f56125a09 Use random extensions and mark potential mistakes with comments 2023-01-29 18:11:26 +01:00
Lucca Faria Ferri
16ae7fd2b6 Login exception handling (JSON deserialize) 2023-01-29 08:29:02 -08:00
Stepan Goremykin
c9a70d7e63 Introduce PickRandom and TryPickRandom extensions 2023-01-29 14:53:49 +01:00
Stepan Goremykin
f39f26f7e2 Merge branch 'community' into optimizations
# Conflicts:
#	src/DiIiS-NA/D3-GameServer/GSSystem/GameSystem/Game.cs
#	src/DiIiS-NA/D3-GameServer/GSSystem/GameSystem/QuestManager.cs
2023-01-29 13:59:12 +01:00
Stepan Goremykin
284b0b2d7b Optimize a lot of checks for emptiness 2023-01-29 13:46:18 +01:00
Lucca Faria Ferri
734f35d611 New Game-Server configs, lots of improvements to items, actors (player, monster, bosses), quests, etc 2023-01-29 04:44:31 -08:00
Stepan Goremykin
d0e5d89e04 Added comment to possible error 2023-01-29 03:06:23 +01:00
Stepan Goremykin
8b16114658 Replaced slow random with fast random 2023-01-29 03:06:05 +01:00
Stepan Goremykin
b168591bf8 Removed extra space 2023-01-29 03:00:55 +01:00
Stepan Goremykin
2367f93daf Optimize random 2023-01-29 02:42:08 +01:00
Stepan Goremykin
4fd52bc31f Fixed more multiple enumerations 2023-01-29 02:20:46 +01:00
Stepan Goremykin
4da0b6373d Merge branch 'community' into optimizations
# Conflicts:
#	src/DiIiS-NA/Core/Helpers/Math/RandomHelper.cs
2023-01-29 01:45:49 +01:00
Stepan Goremykin
3cc4aeec47 Some refactoring 2023-01-29 01:45:04 +01:00
Lucca Faria Ferri
976f448152 Whoops. 2023-01-28 12:37:32 -08:00
Lucca Faria Ferri
db8552bcac Merge remote-tracking branch 'origin/community' into community
# Conflicts:
#	src/DiIiS-NA/D3-GameServer/GSSystem/GameSystem/GSBackend.cs
2023-01-28 10:37:17 -08:00
Lucca Faria Ferri
0c17b0e4bc update fix 2023-01-28 10:37:05 -08:00
Pablito
9e4a3a9dc3 Some missing brackets. 2023-01-28 15:21:11 -03:00
Enthusiast
b83e808cad
Merge pull request #110 from rgto/community2801
Command to makes you char full resources (arcane power, furia and etc.)
2023-01-28 15:10:14 -03:00
Pablito
917b4cf062 Command to makes you char full resources (arcane power, furia and etc.) 2023-01-28 15:09:05 -03:00
Lucca Faria Ferri
31b1dc8ef1 Cleanup 2023-01-28 10:08:12 -08:00
Lucca Faria Ferri
8b126a9aa7 MethodTrace replaced with CallerMemberName 2023-01-28 08:10:04 -08:00
Lucca Faria Ferri
ef393fb6c0 Small changes/static refactoring 2023-01-28 07:32:32 -08:00
Lucca Faria Ferri
790b9f6d50 Merge 2023-01-28 07:13:33 -08:00
Lucca Faria Ferri
2f921d66dc Warnings fixed: controller as HandlerController warning;
Adding MethodTrace(MethodBase) to get informations about the method. I know it's reflection but it will do for now. Plan is to track down later all the MethodTraces and quickly refactor with nameof instead.
2023-01-28 07:12:08 -08:00
Lucca Faria Ferri
8fc7021992
Merge pull request #109 from goremykin/optimizations
More multiple enumerations
2023-01-28 11:34:56 -03:00
Stepan Goremykin
66d94d0c3f Fixed some multiple enumerations 2023-01-28 15:23:03 +01:00