Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: Calculator for pandoras for HOTA
Thread: Calculator for pandoras for HOTA
PartTimeButche
PartTimeButche

Tavern Dweller
posted October 02, 2022 05:12 PM
Edited by PartTimeButche at 21:41, 21 Jan 2023.

Calculator for pandoras for HOTA

Hello, I managed to create a simplified version of program that calculates probablity of objects spawning.

I edited post, the whole program recived a major update

Algorithm behind probability calculation is still not optimised, be aware when doing too complex calculations it can take considerate amout of time to get results.

Added complex objects, they are ment to be used for calculation when you have object with undefined value (for example you have crystal in group but don't know if it's resource or random resource)

Complex objects can't be used for "Guard" calculation, only others.

Advanced mode button is disabled, this option will be added in future update



Added more templates to calculator.
Full list of templates:
Jebus Cross
mt_Jebus
1DeaL
h3dm1
h3dm3
mt_Adnromeda 2.1
Nostalgia
Mini-Nostalgia
6lm10a


Download link:
https://files.fm/u/btpwecapd

Presentation on youtube:
https://www.youtube.com/watch?v=SBceITJiuZo

Calculating guard:

1. Select "Guard" option in "Calculator" tile
2. Set in game date in "Date" tile
3. Select proper option in "Monster Strenght" tile
4. Select proper option in "Zone Strenght" tile
5. Select proper guard "Guard Faction > Guard", info about selected guard will be provided in "Monster info" tile.
6. Select value of guarded object group, you can either do it by "Object category > Object" tiles (you need to select "Zone faction" and adjust "Zones" to get proper value for "Dwelling", "Pandora's box" and "Quest artifact" categories) or by setting value for "Custom object" in "Extra treasure" tile and pressing "Add" button. Frequency does not matter for this calculation mode, but must be >0 for value to be accepted.
7. Press "Calculation", it will spawn "Guard" tile which will prowide info about selected setting, average roll, max roll and min roll, if selected monster is invalid for object group, it will prowide that information at the bottom of tile.

Calculating Pandora's box / Quest artifact / Prison / Spell Scroll:
1. Select desired calculation mode in "Calculator" tile.
2. Set current in game date in "Date" tile.
3. If using "Pandora's box" or "Quest artifact" calculator adjust "Zone" tile, you will also need to do it for "Prison" and "Spell scroll" calculator if you want to add object from category "Dwelling, "Pandora's box", "Quest artifact"
4. Select template in "Template" tile, it will spawn list of avaible zones in template, select zone in "Zone" tile.
5. If using "Pandora's box" or "Quest artifact" calculator select one in "Zone Faction" tile, you will also need to do it for "Prison" and "Spell scroll" calculator if you want to add object from category "Dwelling, "Pandora's box", "Quest artifact". If rewards in zone are set to neutral, select "Neutral" option.
6. Select proper guard "Guard Faction > Guard", info about selected guard will be provided in "Monster info" tile.
7. If you want to know probability of objects spawning for specific roll or roll range set values in "Guard roll" tile. You can skip it, but calculator won't provide probabilities, fill only roll/range roll (calculator will provide probability for given info) or fill both roll and roll range (calculator will provide separate info about probabilities for both roll and roll range)
8. Add other objects in object group by "Object category > Object" or using "Custom object" in "Extra treasure" tile, if you are interested in probability add every object separatly for maximum accuracy.
9. Press "Calculation"

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
ArdentWyrm
ArdentWyrm


Famous Hero
King of the Elder Dragons
posted January 21, 2023 10:51 PM

gnollking already has a "HoTA guard" calculator thread, but good work anyway, I suppose.
____________
Torment is blinding. It lies. Its pollution steals my sense. It promises: destroy everything and the pain will cease.
- Kralkatorrik
https://dragcave.net/user/ArdentWyrm

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gnollking
gnollking


Supreme Hero
posted January 21, 2023 11:17 PM

Pretty neat video, somehow missed this originally.

My only complaint is that nobody should be downloading a random executable from a generic file sharing site. Where can we see the source code?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
PartTimeButche
PartTimeButche

Tavern Dweller
posted January 22, 2023 09:50 PM

I checked gnollking's thread, from what I understand those 2 calculators are totaly diffrent and have almost nothing in common. Gnollking made calculator so map creators could produce maps guarded by random monsters and make monster strenght similar to those produced my random map generator. I made calculator for prediction of pandora's boxes content in maps created by random map generator, which is strictly a pvp thing.
Project is currently not open source

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
gnollking
gnollking


Supreme Hero
posted January 22, 2023 11:08 PM

PartTimeButche said:
Project is currently not open source

Aww, too bad.

And yeah, my little script is just for map makers, would have been quite interesting to see your code tho, since they're a little bit related.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted January 23, 2023 01:05 AM

You might be also interested in H3CalcGuards by Sav.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Warmonger
Warmonger


Promising
Legendary Hero
fallen artist
posted January 23, 2023 07:30 AM

I wonder if we really need players to do reverse engineering of complex formulas as they play. And if players themselves really want to spend their times on it

The game always had an unpredictability and a random factor in it, and required some luck and gambling.
____________
The future of Heroes 3 is here!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
PartTimeButche
PartTimeButche

Tavern Dweller
posted January 23, 2023 03:01 PM

If you ask me how much useful this tool is. I would answear not that much when compared to simple guard strength calculators. At start I had high hopes about it but then reality hit me straight in the face. When calculating probability of pandora's box content using roll range you can sometimes get advantage because you find a box with like ~10% chance for xp and ~50% for army so you know it's better to send side hero there instead of main hero and get ahead in tempo (and maybe you're lucky and there is really army inside), but most of time you get generic answear 50% - 60% chance for xp and then comes huge disappointment when you enter combat and check monster roll to see it has 0% chance xp. Magic pandoras have low frequency (2), so 20% chance for spells is accuatly very big and one of best spell pandoras (all lvl 4 spells) have 12500 value which make it hard to tell apart from 10k xp pandora (12000 value, 20 frequency), hard to make use of information provided by calculator. I think complex objects are great, you can use it to calculate possible rewards without lots of extra work because you would have to calculate separetly for random resource and normal resource. For adding extra pandora's box, quest artifact, prison or spell scroll it's not that useful, they have wide range of values so you get generic answear: anything can be inside. If you watch high level HoTa players you will notice they barely use any calculator, if you play enought most of the time you can tell if something should be xp or not and using calculator would be a waste of time, you just kill guard, loot pandora and save timer for next turn

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
PTimeButcher
PTimeButcher

Tavern Dweller
posted July 15, 2023 04:51 PM
Edited by PTimeButcher at 14:42, 01 Jan 2024.

Unfortunetly can't log in to account that started this thread (can't recover pass) so posting reply.

New version is ready
Features added:
-complex objects can be used for any type of calculation
-auto set zones for normal mode
-advanced mode for calculation when number of faction zones is uncertain
-zone calculation for estimation of faction zones on map
-improved calculations by adding effect of diffrent terrain types
-added factory

download link:
https://mega.nz/file/I2cwxIQB#3DZ244Oc6aLJT_QVggtClQEzueU0NQ_ZAOfEm2ZPMFk

tutorial for this version is not made yet

factory stuff is not fully tested so bugs might happen

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
PTimeButcher
PTimeButcher

Tavern Dweller
posted January 18, 2024 07:36 PM

Patched few factory bugs, everything should be fine now.
Made tutorial with examples to make calculator easier in use
https://youtu.be/2C5pQs5B_I4
download newest version:
https://mega.nz/file/Andl1Jbb#1SNYHUjnLulJB74n3_fPQ2K6eHRFjVjtX5oMe5AhWwk

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0366 seconds