Commit Graph

262 Commits

Author SHA1 Message Date
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
Lucca Faria Ferri
fbb3a0295f quick rename on logger CommandGroup.cs and CommandManager.cs;
Show Min privilege on command if it's a debug mode. TODO: Change to Unknown command instead.
2023-01-28 06:19:13 -08:00
Lucca Faria Ferri
21d6ea62e8 Made attributes read-only;
Improved development conditioning;
Translations and renames;
Refactoring;
2023-01-28 06:10:54 -08:00
Lucca Faria Ferri
d43984a22f Merge remote-tracking branch 'origin/community' into community 2023-01-28 04:44:12 -08:00
Lucca Faria Ferri
932215987a Fix for #106 2023-01-28 04:44:06 -08:00
Lucca Faria Ferri
c1907ea5e7
Merge pull request #108 from DeKaN/artisan-train
Simplify artisan training, fix Zoltan and Kanai cube reveal
2023-01-28 09:43:23 -03:00
Lucca Faria Ferri
b66569abbd Refactoring, new commands, config of chances of unidentified drops (for higher and lower quality items), modified !drop command to don't allow unidentified items, some bug-prevention fixes. 2023-01-28 04:39:28 -08:00
DeKaN
4c07857980
Simplify artisan training, fix Zoltan and Kanai cube reveal 2023-01-28 15:08:09 +04:00
Lucca Faria Ferri
0ba94f6147 Some REST and Auth improvement;
Small other improvements and refactoring.
2023-01-28 02:08:51 -08:00
Lucca Faria Ferri
9750e23e24 Merge remote-tracking branch 'origin/community' into community 2023-01-27 22:44:10 -08:00
Lucca Faria Ferri
f4938cf72a Staff custom battle tag name;
Prevented unhandled exception by Json.cs;
Some REST changes, AnsiTarget.cs, etc.
2023-01-27 22:44:04 -08:00
Lucca Faria Ferri
6a36456429
Merge pull request #107 from goremykin/optimizations
Fixed some multiple enumerations
2023-01-28 03:25:12 -03:00
Stepan Goremykin
d94773aa5a Fixed some multiple enumerations 2023-01-28 01:46:56 +01:00
Lucca Faria Ferri
2bd03c532b Removed warn messages added for testing. 2023-01-27 13:23:06 -08:00
Lucca Faria Ferri
9810ed60a5 Merge remote-tracking branch 'origin/community' into community 2023-01-27 13:11:54 -08:00
Lucca Faria Ferri
18b99cd67c Fixed currencies (bugfix: they weren't being updated due to an empty stub on consumables);
Logging changed on MonsterBrain.cs
2023-01-27 13:11:46 -08:00
Enthusiast
2b69055bdb
Merge pull request #105 from rgto/community2701
Include Portal Definitions class DiIiS_NA.GameServer.MessageSystem.Message.Definitions.Portal
2023-01-27 17:57:15 -03:00
Pablito
302f943aac BossPortal class include. 2023-01-27 17:55:41 -03:00
Lucca Faria Ferri
8c63392ca5 Merge remote-tracking branch 'origin/community' into community 2023-01-27 12:51:28 -08:00
Lucca Faria Ferri
50a95ab41d Update 2023-01-27 12:51:20 -08:00
Enthusiast
31d270d221
Merge pull request #104 from goremykin/upgrade-packages
Upgrade packages & remove unused
2023-01-27 17:27:41 -03:00
Stepan Goremykin
138e5424ef Upgraded packages 2023-01-27 21:09:09 +01:00
Lucca Faria Ferri
2ebdff6c61 MonsterBrain.cs cleanup.
Removed Blizzless using comments as it clutters the dependency view.
2023-01-27 12:02:19 -08:00
Lucca Faria Ferri
a88bd4f214 Fixed #101 2023-01-27 11:38:31 -08:00
Lucca Faria Ferri
1118d8a785 FileTarget.cs remove file limit; added HasFollower to QuestProgress.cs 2023-01-27 11:35:18 -08:00
Stepan Goremykin
40fd7449c0 Removed a few unused aspnetcore packages 2023-01-27 20:32:55 +01:00
Stepan Goremykin
026df846c6 Removed some strange package 2023-01-27 20:28:49 +01:00
Stepan Goremykin
320a13a471 Remove obfuscation package 2023-01-27 20:26:43 +01:00
Stepan Goremykin
9b24ac225a Remove unused IL compiler 2023-01-27 20:25:09 +01:00
Stepan Goremykin
96377fc9c8 Removed unused ConfigurationManager package 2023-01-27 20:21:28 +01:00
Stepan Goremykin
eeaa60ed2c Removed unused Soap package 2023-01-27 20:19:10 +01:00
Lucca Faria Ferri
6325e82502 Update 2023-01-27 09:42:44 -08:00
Lucca Faria Ferri
bc90c73d99 SNO breakdown, small improvements. 2023-01-27 09:25:58 -08:00