Game Mods - Json + Configuration migration
- Changed the Game Mods config to a json file - Created a .ini migration for the json file - Better ANSI readability - Improved some methods
This commit is contained in:
parent
f3ccab713e
commit
7275551ab9
29
README.md
29
README.md
@ -51,23 +51,18 @@ The currently supported version of the client: **2.7.4.84161**
|
|||||||
### Compile and run
|
### Compile and run
|
||||||
1. Install [.NET 7 SDK and runtime](https://dotnet.microsoft.com/en-us/download/dotnet/7.0) (just runtime, not asp.net or desktop)
|
1. Install [.NET 7 SDK and runtime](https://dotnet.microsoft.com/en-us/download/dotnet/7.0) (just runtime, not asp.net or desktop)
|
||||||
2. Go to the repo directory and compile the project using this command:
|
2. Go to the repo directory and compile the project using this command:
|
||||||
```shell
|
```shell
|
||||||
dotnet publish ./src/DiIiS-NA/Blizzless.csproj --configuration Release --output ./publish
|
dotnet publish ./src/DiIiS-NA/Blizzless.csproj --configuration Release --output ./publish
|
||||||
```
|
```
|
||||||
3. __Skip this stage for local game__ Copy the [config.ini](https://github.com/blizzless/blizzless-diiis/blob/community/src/DiIiS-NA/config.ini) file to the publish folder (It overwrites the default settings):
|
3. __Skip this stage for local game__ Copy the [config.mods.json](https://github.com/blizzless/blizzless-diiis/blob/community/configs/config.mods.json) file to the folder, and modify however you want. A file will be generated automatically from the `config.ini` for now.
|
||||||
- Update the parameter entries with your IP record on the network: `BindIP` and `PublicIP`.
|
4. Update your `config.ini` file on the published folder with your network's IP records (`BindIP` and `PublicIP`)
|
||||||
4. Go to the publish folder, launch Blizzless executable, wait until server start - it creates a hierarchy.
|
5. Go to the publish folder, launch Blizzless executable, wait until server start - it creates a hierarchy.
|
||||||
5. Create user account(s) using console: `!account add Login Password Tag`
|
6. Create user account(s) using console: `!account add Login Password Tag`
|
||||||
|
- Example:
|
||||||
#### Example:
|
- `!account add username@ YourPassword YourBattleTag`
|
||||||
|
- Creates an account with Login `username@`, password `YourPassword` and BattleTag `YourBattleTag`
|
||||||
> !account add username@ YourPassword YourBattleTag
|
- `!account add username@ YourPassword YourBattleTag owner`
|
||||||
|
- Creates an account with Login `username@`, password `YourPassword` and BattleTag `YourBattleTag` with rank `owner`
|
||||||
Creates an account with Login `username@`, password `YourPassword` and BattleTag `YourBattleTag`
|
|
||||||
|
|
||||||
> !account add username@ YourPassword YourBattleTag owner
|
|
||||||
|
|
||||||
Creates an account with Login `username@`, password `YourPassword` and BattleTag `YourBattleTag` with rank `owner`
|
|
||||||
|
|
||||||
## Prepare Client
|
## Prepare Client
|
||||||
|
|
||||||
|
|||||||
60
configs/config.mods.json
Normal file
60
configs/config.mods.json
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
{
|
||||||
|
"Rate": {
|
||||||
|
"Experience": 1.0,
|
||||||
|
"Money": 1.0,
|
||||||
|
"Drop": 1.0,
|
||||||
|
"ChangeDrop": 1.0
|
||||||
|
},
|
||||||
|
"Health": {
|
||||||
|
"PotionRestorePercentage": 60.0,
|
||||||
|
"PotionCooldown": 30.0,
|
||||||
|
"ResurrectionCharges": 3
|
||||||
|
},
|
||||||
|
"Monster": {
|
||||||
|
"HealthMultiplier": 1.0,
|
||||||
|
"DamageMultiplier": 1.0
|
||||||
|
},
|
||||||
|
"Boss": {
|
||||||
|
"HealthMultiplier": 6.0,
|
||||||
|
"DamageMultiplier": 3.0
|
||||||
|
},
|
||||||
|
"Quest": {
|
||||||
|
"AutoSave": false,
|
||||||
|
"UnlockAllWaypoints": false
|
||||||
|
},
|
||||||
|
"Player": {
|
||||||
|
"Multipliers": {
|
||||||
|
"Strength": {
|
||||||
|
"Normal": 1.0,
|
||||||
|
"Paragon": 1.0
|
||||||
|
},
|
||||||
|
"Dexterity": {
|
||||||
|
"Normal": 1.0,
|
||||||
|
"Paragon": 1.0
|
||||||
|
},
|
||||||
|
"Intelligence": {
|
||||||
|
"Normal": 1.0,
|
||||||
|
"Paragon": 1.0
|
||||||
|
},
|
||||||
|
"Vitality": {
|
||||||
|
"Normal": 1.0,
|
||||||
|
"Paragon": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Items": {
|
||||||
|
"UnidentifiedDropChances": {
|
||||||
|
"HighQuality": 30.0,
|
||||||
|
"NormalQuality": 5.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Minimap": {
|
||||||
|
"ForceVisibility": false
|
||||||
|
},
|
||||||
|
"NephalemRift": {
|
||||||
|
"ProgressMultiplier": 1.0,
|
||||||
|
"AutoFinish": false,
|
||||||
|
"AutoFinishThreshold": 2,
|
||||||
|
"OrbsChance": 2.0
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
user.block.title