Manuel Progress (the relay version)

fronobulax

Developer
Staff member
Try this.

It goes in dist\relay\mp_assets\script

If I had realized how trivial the edits were I would not have waited.
 

Attachments

  • mp_main.ash
    30.6 KB · Views: 42

matt.chugg

Moderator
Updated GIT main.ash from fonobulax - props

@fronobulax thanks for looking after this for me, I seem to have some time again these days so might get round to some updates on this, in the interests of preventing abandoned scripts (i've seen some other threads) I'm happy to give you collab access to this one, dm me your git username if you have one
 

matt.chugg

Moderator
Updated to include dinos and wildfire paths and possibly some other paths that were waiting to be committed
Fixed a bug where NaN in appearance_rates() caused to_json() to fail
 

Magus_Prime

Well-known member
Thanks for the update. I got the following error after updating:
(mp_main.ash, line 556)
Script execution aborted (org.json.JSONException: JSON does not allow non-finite numbers.): (mp_main.ash, line 556)
running svn delete and then reinstalling fixed the problem.
 

fronobulax

Developer
Staff member
(mp_main.ash, line 604)
Script execution aborted (org.json.JSONException: JSON does not allow non-finite numbers.): (mp_main.ash, line 604)

This is after a svn delete and a reinstall.
 

matt.chugg

Moderator
(mp_main.ash, line 604)
Script execution aborted (org.json.JSONException: JSON does not allow non-finite numbers.): (mp_main.ash, line 604)

This is after a svn delete and a reinstall.
Interesting, that was something I thought I had fixed in the previous update, it was caused by something in the monster frequency data being null, there must be something else in the data structure that is null but it isn't coming from the monster frequency, I'll have a look
 

gausie

D̰͕̝͚̤̥̙̐̇̑͗̒e͍͔͎͈͔ͥ̉̔̅́̈l̠̪̜͓̲ͧ̍̈́͛v̻̾ͤe͗̃ͥ̐̊ͬp̔͒ͪ
Staff member
Should we fix NaN being in appearance_rates? Can you give an example
 

matt.chugg

Moderator
Code:
> ash appearance_rates($location[The Hedge Maze])

Returned:    aggregate float [monster]
none => -1.0
topiary gopher => NaN
topiary    duck => NaN
topiary chihuahua herd => NaN
topiary kiwi => NaN

Code:
> ash appearance_rates($location[The Hedge Maze]).to_json()

()
Script execution    aborted (org.json.JSONException: JSON does not allow non-finite numbers.):    ()
Returned: void
 

gausie

D̰͕̝͚̤̥̙̐̇̑͗̒e͍͔͎͈͔ͥ̉̔̅́̈l̠̪̜͓̲ͧ̍̈́͛v̻̾ͤe͗̃ͥ̐̊ͬp̔͒ͪ
Staff member
And merged, and thus fixed :)
 

matt.chugg

Moderator
updated to version 1.52

Replaced bosses for AOSOL path
Completely made up version number, since it was using svn revision number previously, think it was somewhere around 50
Updated first post to use git checkout instead of svn

If not showing version 1.52 when running this script please remove and reinstall using

Code:
svn delete matt-chugg-manuel_progress

Code:
git delete matt-chugg-manuel_progress

Code:
git checkout https://github.com/matt-chugg/manuel_progress.git
 

fronobulax

Developer
Staff member
Rene C Corman was renamed in mafia for ease in disambiguation. Sadly the script now fails because the monster is no longer recognized.
 

fronobulax

Developer
Staff member
Since I like the GUI presentation I have to ask if there is a planned update to recognize and group WereProfessor monsters similar to other paths? Thanks.
 

matt.chugg

Moderator
There certainly is, I only completed 2 runs of that path due to work and me hating it, I'll have to do one more for the factoids but I'm probably going to come back to it after the current challenge path, which looks like it has factoids too, I'll get an update in the next 10 days I reckon

Edit - happy to add collaborators from the KoLmafia dev team or hand over ownership, I think we have a KoLmafia dev managed set of scripts? I'll always play KoL in some way but I managed to miss this question for 20 days!
 

fronobulax

Developer
Staff member
I played my first run without Darts and hated it. I got Darts and am finishing my 6th run. The Darts are overpowered, IMO, but with them the remaining player choices are more fun and interesting than not. You will need 6 runs to get all the factoids since both war bosses can be different.

If you want the script to be included on the list of scripts that KoLmafia itself will tell you about and let you install just ask and someone can add data to a mafia file.

If you want collaboration you will need to grant someone else access to your archive which is usually archive/host specific. I'm not volunteering since some of your technologies are out of my ever shrinking comfort zone.
 

matt.chugg

Moderator
Updated to 1.5.4 to add WereProfessor monster

I forgot about darts, that makes sense, thanks, that will help with the last 4 runs!
 
Top