Commit Graph

54 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
8b442f9db8 Improved some commands, cleanup,... 2023-02-12 19:07:26 -08:00
Lucca Faria Ferri
fc360945e5 WorldCommand.cs changed interpolated string. 2023-02-12 04:53:11 -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
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
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
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
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
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
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
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
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
4c5126e5da Updated !quest command 2023-01-30 15:43:01 -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
Stepan Goremykin
284b0b2d7b Optimize a lot of checks for emptiness 2023-01-29 13:46:18 +01: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
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
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
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
4580658f6f Updated acts/quests, ActI/72095/32 updates, added reference to Spectre 2023-01-27 02:33:54 -08:00
Lucca Faria Ferri
3e7a4f033d Added !powerful - useful for testing;
Testing quests, small changes (having a default objective;
Checking #101
2023-01-26 21:52:15 -08:00
Lucca Faria Ferri
2aecf414ef Fixed SRP6a.cs for .NET 7 (BigInt);
Added Success logging;
Small improvements
2023-01-26 20:23:54 -08:00
Lucca Faria Ferri
0e62c1083d Unidentified items 2023-01-26 18:11:41 -08:00
Lucca Faria Ferri
9ef1ec0a6a Added !info and !followers <dismiss> commands
Improved commands;
Lowered more logger outputs from Info/Trace to Debug.
2023-01-26 17:29:14 -08:00
Lucca Faria Ferri
54f135eac1 Summary of logger types, changes in AccountCommands.cs 2023-01-26 17:06:25 -08:00
Lucca Faria Ferri
8b2b385b0c Changed !help description in CommandManager.cs 2023-01-26 16:58:53 -08:00
Lucca Faria Ferri
24618b0119 Command Attribute Listing: using new() instead of new T(). 2023-01-26 16:58:08 -08:00
Lucca Faria Ferri
602960b8f2 Lowered some loggers (from Logger.Trace to Logger.Debug);
Update on GameCommands.cs
2023-01-26 16:57:16 -08:00
Lucca Faria Ferri
4c7b9e9351 typo 2023-01-26 14:53:04 -08:00
Lucca Faria Ferri
7c8f95fdfd Get current difficulty. 2023-01-26 12:53:41 -08:00
Lucca Faria Ferri
70da7c4486 !difficulty <set|up|down>
removed Not Implemented Exception in Item.cs
2023-01-26 12:35:06 -08:00
Lucca Faria Ferri
4043e01339 Added new commands, added option to spawnrandomequip to generate with a biased toonclass, added some minrank requirements to some commands 2023-01-26 09:15:38 -08:00
Lucca Faria Ferri
d044a9c1fd Fixed issue while compiling GameCommands.cs 2023-01-26 07:59:35 -08:00
pr701
4c80e59125
Merge pull request #90 from iamdroppy/useful-methods-player-manager
Useful methods player manager
2023-01-23 23:10:43 +03:00
Lucca Faria Ferri
14b2a0164e
Merge branch 'community' into fixed-attributes 2023-01-22 20:43:12 -08:00
Lucca Faria Ferri
c3578a0bcd
Merge branch 'community' into useful-methods-player-manager 2023-01-22 20:37:37 -08:00
Lucca Faria Ferri
a1180e6178 typo 2023-01-23 05:27:29 +03:00
Lucca Faria Ferri
33b096de32 Added fixed attributes, added Invulnerability command, fixed compilation issue, more translations 2023-01-23 05:24:50 +03:00
Lucca Faria Ferri
55da2d1691 Reformat of GameCommand.cs 2023-01-22 10:26:35 -08:00
Lucca Faria Ferri
1efa5a7624 Speed modifier with persistent attributes. 2023-01-22 10:20:04 -08:00
Lucca Faria Ferri
38464f4777 typo 2023-01-22 09:52:07 -08:00
Lucca Faria Ferri
b11eb31c51 Added fixed attributes, added Invulnerability command, fixed compilation issue, more translations 2023-01-22 09:43:32 -08:00
Lucca Faria Ferri
236d2f5f7f Translation update 2023-01-21 18:05:13 -08:00