Commit Graph

73 Commits

Author SHA1 Message Date
Bryce Allen
2730e46f52 move scripts to bin 2015-03-20 21:26:44 -05:00
Bryce Allen
661a055d5c move code into mhapi package 2015-03-20 21:10:38 -05:00
Bryce Allen
e92b5c71ad add option to disable db cache 2015-03-20 20:54:18 -05:00
Bryce Allen
2b4e299ef5 add missing carve fix 2015-03-20 20:52:54 -05:00
Bryce Allen
591ac4bdeb refactor expected value calculations
Output should be the same as before refactor, except for max cap
reward for quests. The fix for using carving god on tail carves
in the cap calculation was only applied to the
print_monsters_and_rewards copy of the code. It should be less than
the previous value by the differece between min and max for tail
carve.
2015-03-20 19:15:26 -05:00
Bryce Allen
ddfefc99c4 fix cap totals 2015-03-19 23:32:59 -05:00
Bryce Allen
1dd1b98fdc make web a package 2015-03-19 23:21:08 -05:00
Bryce Allen
e289a24aa6 fix content type typo 2015-03-19 23:20:47 -05:00
Bryce Allen
51fab8170b fix for gypceros fake death carves 2015-03-19 20:00:22 -05:00
Bryce Allen
16df6773d9 refactor, tweak html layout 2015-03-19 19:59:45 -05:00
Bryce Allen
6d585a39d8 update quest reward counts for 4u estimate 2015-03-18 21:10:28 -05:00
Bryce Allen
33493b67b1 fix fixed rewards
Fixed rewards for the matching item will be listed on a separate
output line from non-fixed rewards for the same item in the same
quest reward slot.
2015-03-18 21:05:20 -05:00
Bryce Allen
805a2a3362 web: fix fcgi, use thread local db 2015-03-18 20:51:27 -05:00
Bryce Allen
bbff48fb75 add basic webapp 2015-03-18 20:02:01 -05:00
Bryce Allen
a607186abc add standalone monster hunt rewards
Some items can't be acquired via quest rewards, and it's useful
to see a summary of the hunt rewards at the top even when the item
is available from quest rewards. Lots of copy paste, needs heavy
refactoring...
2015-03-18 18:12:25 -05:00
Bryce Allen
f1237db190 output: use / 100 instead of % for clarity
Many people associate '%' with probability, so using it in the
output for expected value can lead to confusion.
2015-03-15 14:01:43 -05:00
Bryce Allen
8d533e49c4 doc: add capture values explanation 2015-03-15 10:07:01 -05:00
Bryce Allen
3fd32752fe doc: add math section, more explanation of output 2015-03-15 10:02:39 -05:00
Bryce Allen
b125822172 improve doc, exit codes 2015-03-15 09:51:05 -05:00
Bryce Allen
dcd1ee46e5 Add db, licenses, better output and not found 2015-03-15 09:12:41 -05:00
Bryce Allen
835aec3406 use db to calculate best quest for item 2015-03-14 00:25:23 -05:00
Bryce Allen
45ad33d7cd improve output, var names 2015-03-13 12:36:40 -05:00
Bryce Allen
aa148ce21a add quest reward script, readme 2015-03-13 12:20:16 -05:00