Scripting and Extensions/Combat Simulator: Difference between revisions

From Melvor Idle
(Updated page info, even though the mod is yet to be updated for V1.1)
(Update for v1.1.2)
Line 1: Line 1:
{{V|1.1}}
{{V|1.1.2}}
{| class="warningbox"
[https://mod.io/g/melvoridle/m/combat-simulator-reloaded Combat Simulator] is a mod that can be used to simulate many {{Icon|Combat}} scenarios such as fights against particular [[Monsters]], [[Slayer#Slayer Tier Monsters|Slayer tasks]], or [[Dungeons|dungeon]] clears with a loadout (equipment set, levels, pets, prayers, etc.) of the user's choice. Each simulation produces various metrics, allowing the user to determine things such as:
| The Combat Simulator mod is still in the process of being updated due to significant technical changes that occurred with the [[V1.1]] release of Melvor Idle. Please be patient while the developer works to update the mod.
|}
 
[https://github.com/visua0/Melvor-Idle-Combat-Simulator-Reloaded Combat Simulator] is a mod that can be used to simulate many {{Icon|Combat}} scenarios such as fights against particular [[Monsters]], [[Slayer#Slayer Tier Monsters|Slayer tasks]], or [[Dungeons|dungeon]] clears with a loadout (equipment set, levels, pets, prayers, etc.) of the user's choice. Each simulation produces various metrics, allowing the user to determine things such as:
* If monsters or dungeons can be safely idled
* If monsters or dungeons can be safely idled
* Optimal loadouts for maximizing XP rates, GP rates, drop rates, or dungeon clear rates
* Optimal loadouts for maximizing XP rates, GP rates, drop rates, or dungeon clear rates
* Which monster provides the highest XP rates with a given loadout
* Which monster provides the highest XP rates with a given loadout


The Combat Simulator can also give necessary data to calculate an important metric - the Adjusted Clear Time, being the time taken to clear a dungeon inclusive of time taken to gather all resources necessary to achieve that dungeon clear. The production of food and ammunition might take more time than the encounter itself, which can lead to interesting outcomes such as a {{Icon|Melee}} build that clears a dungeon twice as slow but can still have better Adjusted Clear Time than a {{Skill|Magic}} build that consumes a lot of [[Food]]. An example of calculating this metric can be found in [[Dragons Den/Guide#Adjusted clear time]].
The Combat Simulator can also give necessary data to calculate an important metric - the Adjusted Clear Time, being the time taken to clear a dungeon inclusive of time taken to gather all resources necessary to achieve that dungeon clear. The production of food and ammunition might take more time than the encounter itself, which can lead to interesting outcomes such as a {{Icon|Melee}} build that clears a dungeon twice as slow but can still have better Adjusted Clear Time than a {{Skill|Magic}} build that consumes a lot of [[Food]]. An example of calculating this metric can be found in the [[Dragons Den/Guide#Adjusted Clear Time|Adjusted Clear Time section]] of the {{ZoneIcon|Dragons Den}} guide.


==FAQ==
==FAQ==
Line 19: Line 15:
Question: I loaded the simulator like in the instructions, but there's no Tools section and no Combat Simulator button anywhere else. Am I doing something wrong?
Question: I loaded the simulator like in the instructions, but there's no Tools section and no Combat Simulator button anywhere else. Am I doing something wrong?


''Answer: It's likely because the Combat Simulator wasn't updated to the recent game version. You can track the updates on the [https://github.com/visua0/Melvor-Idle-Combat-Simulator-Reloaded/releases/ releases] page - there might be some pre-release builds available.''
''Answer: It's likely because the Combat Simulator hasn't yet been updated for the most recent game version. The latest available version and changelog can be viewed via the in-game mod manager or from [https://mod.io/g/melvoridle/m/combat-simulator-reloaded mod.io].


{{Menu}}
{{Menu}}

Revision as of 14:38, 16 May 2023

This page was last updated for (v1.1.2).

Combat Simulator is a mod that can be used to simulate many Combat scenarios such as fights against particular Monsters, Slayer tasks, or dungeon clears with a loadout (equipment set, levels, pets, prayers, etc.) of the user's choice. Each simulation produces various metrics, allowing the user to determine things such as:

  • If monsters or dungeons can be safely idled
  • Optimal loadouts for maximizing XP rates, GP rates, drop rates, or dungeon clear rates
  • Which monster provides the highest XP rates with a given loadout

The Combat Simulator can also give necessary data to calculate an important metric - the Adjusted Clear Time, being the time taken to clear a dungeon inclusive of time taken to gather all resources necessary to achieve that dungeon clear. The production of food and ammunition might take more time than the encounter itself, which can lead to interesting outcomes such as a Melee build that clears a dungeon twice as slow but can still have better Adjusted Clear Time than a Magic build that consumes a lot of Food. An example of calculating this metric can be found in the Adjusted Clear Time section of the Dragons Den guide.

FAQ

Question: The result says "No valid simulation data: simulated X/1000 trials". How do I fix this?

Answer: It means that due to the set limit, the program was only able to simulate X trials out of 1000 in this time limit. In order to increase the time limit, click on the gear icon on the upper right side and increase the value of the "Max ticks" parameter.


Question: I loaded the simulator like in the instructions, but there's no Tools section and no Combat Simulator button anywhere else. Am I doing something wrong?

Answer: It's likely because the Combat Simulator hasn't yet been updated for the most recent game version. The latest available version and changelog can be viewed via the in-game mod manager or from mod.io.