This script is for testing the quality of loot on current ServUO Random Item Generator enabled servers. There are several commands, designed to give shard owners a good idea of the range of quality of loot that is dropped. There are several commands:
Each test will create 1000 sample items of the given parameters. If you worry about item count on your server, I would suggest you do this on a test copy of your server and not the live one.
TestLootArmor/TestLootWeapon/TestLootJewel/TestLootHast: Tests the given item type. You need 2 parameters for these commands, budget and raw luck, or displayed luck. This does not take into account any bonuses for Facets. This will be recorded in LootScore.log in your servers main directory.
TestLootTarget: Target a monster to have its potential loot tested. It will take your luck and facet into account during loot evaluation. This will be recorded in LootScore.log in your servers main directory.
Difficulty: Gets the difficulty of a monster targeted. This value determines the base budget a monster will provide.
GenerateDifficultyTable: Generates a list of all monster types on your server, and seperates them based on difficulty. See above. This will be recorded in CreatureDifficulty.log in your servers main directory.
A couple of things to note. Monster difficulty is determined in GetDifficultyFor method in RunicReforging.cs. I have also added MinBaseBudget, MaxBaseBudget, MaxMods, etc to the loot configuration. These will be the main things if you'd like to tweak the formulas a bit.
Each test will create 1000 sample items of the given parameters. If you worry about item count on your server, I would suggest you do this on a test copy of your server and not the live one.
TestLootArmor/TestLootWeapon/TestLootJewel/TestLootHast: Tests the given item type. You need 2 parameters for these commands, budget and raw luck, or displayed luck. This does not take into account any bonuses for Facets. This will be recorded in LootScore.log in your servers main directory.
TestLootTarget: Target a monster to have its potential loot tested. It will take your luck and facet into account during loot evaluation. This will be recorded in LootScore.log in your servers main directory.
Difficulty: Gets the difficulty of a monster targeted. This value determines the base budget a monster will provide.
GenerateDifficultyTable: Generates a list of all monster types on your server, and seperates them based on difficulty. See above. This will be recorded in CreatureDifficulty.log in your servers main directory.
A couple of things to note. Monster difficulty is determined in GetDifficultyFor method in RunicReforging.cs. I have also added MinBaseBudget, MaxBaseBudget, MaxMods, etc to the loot configuration. These will be the main things if you'd like to tweak the formulas a bit.
Attachments
Last edited: