Powered by Jitbit .Net Forum free trial version.

HomeFallen London » The Bazaar

This is the place to discuss playing the game. Find tips, debate the best places to find certain items and share advice.

Item Conversion Calculator Messages in this topic - RSS

rahv7
rahv7
Posts: 294

10/10/2015
Hi there,

based on a discussion in another forum, I wrote a calculator for item conversions in Fallen London, i.e. you specify the amount of a certain item you want and the programme gives all possible conversions, required number of input items and the number of actions it will take. I'm not sure if this of interest to other players, but if you want to try it, you can download it here.

I uploaded screenshots of what it looks like (example1, example2) and here's a bit of information on what it does exactly.

User-Guide: extract the zip file and run the executable. There might be dll-errors. If there are, you need to install the Microsoft Visual Studio 2013 Redistributable (vcredist_x86.exe).

Dev-Guide: I wrote this in C++. I suppose a web-based application would be better, but I don't have all that much experience with JavaScript or other relevant languages/scripts. If anyone would like to set one up, feel free to use the algorithm in my code. The source code is available if you want to tinker around a bit. I only provided a Windows executable, but the code should also compile on Mac or Linux. All Fallen London related information on item conversions is stored in text-files, so these can be changed without changing the code.

If you notice any bugs, let me know and I'll try to fix them.

(I am not a regular to this forum so if my post violates any rules, please feel free to delete the post or let me know.)
edited by rahv7 on 10/16/2015

--
It's possible people have forgotten that there is an actual devil in the actual Lord Mayor's office. A devil who is promising to look after people's souls. What is wrong with everybody?

https://www.fallenlondon.com/profile/rahv7
+14 link
rahv7
rahv7
Posts: 294

10/16/2015
@Cecil: I considered your suggestion but I think that is a bit too much for my little programme.

There are two basic problems:
1. If it's not conversions from the inventory page, the programme would somehow need to make clear where conversions can be found in-game. That would require a completely different structure for the output. (Which requires creativity and time, both of which I'm a little short of)
2. Calculating the effort to actually do the conversions (i.e. the number of actions required as well as subsequent EPA calculations) becomes pretty much impossible. Either because it's dependent on the RNG (in case of opp-cards) or because additional actions are required to reach the location where the conversion can be done.

I am by no means saying that this is a bad idea! If somebody else would do it, I would probably love it. But for that little programme it would just require too many changes, too much time and would also shift the focus a bit towards possible conversions/item sources.

I will include the Copy of the Crimson book conversion, though. That one fit's perfectly, even though I've never heard of it before. I should probably start grinding for more Tears of the Bazaar (I currently only have one bottle) to have my Master's Blood ready by February.
edited by rahv7 on 10/16/2015

--
It's possible people have forgotten that there is an actual devil in the actual Lord Mayor's office. A devil who is promising to look after people's souls. What is wrong with everybody?

https://www.fallenlondon.com/profile/rahv7
+2 link
Travers
Travers
Posts: 98

10/10/2015
Thanks for the calculator! If you plan on adding features, it would be nice if the actual result was displayed (e.g., 5 x Blackmail Material instead of the 2 desired when converting from 25 x An Identity Uncovered!) for EPA purposes but this is not necessary at all so don't feel pressured.

--
http://fallenlondon.storynexus.com/Profile/Professor~Travers~Durward
+2 link
RandomWalker
RandomWalker
Posts: 948

10/14/2015
Love the calculator, thanks.

There may be a problem with EPA calcs for Presbyterate Passphrases, as it tells me I can get 102.5 EPA by converting Mysteries of the Elder Continent into them... (It thinks you get 51 of them from the conversion, rather than 10, I think)
+2 link
John Savage
John Savage
Posts: 198

11/25/2015
Doesn't work for me at all.... d__n!

Windows HATES it to start.... I have to "Run as admin" and then pull up the "Run anyway" box..... but even then, it sits in a constant state of loading....

I HATE Bill Gates....

Sounds like a GREAT calculator, but I guess I'll never know

EDIT: Looks like I'll have to re-boot to even close the folder now..... perpetual "working" cursor.....
edited by John Savage on 11/25/2015

--
If at first you don't succeed, shoot it again.
http://fallenlondon.storynexus.com/Profile/John~Savage

Scandal and suspicion! Suspicion and scandal! I miss the old days when only blood mattered.
+2 link
rahv7
rahv7
Posts: 294

11/25/2015
Thanks for letting me know. I have no idea where this is coming from.
I just tried downloaded/extracting/running it on my system and neither Security Essentials nor Avira reacted in any way.

Does it say which file contains a virus? If it's the executable, I could try to do some minor changes so checksums and such would change when I recompile it.

--
It's possible people have forgotten that there is an actual devil in the actual Lord Mayor's office. A devil who is promising to look after people's souls. What is wrong with everybody?

https://www.fallenlondon.com/profile/rahv7
+1 link
Grenem
Grenem
Posts: 2067

11/25/2015
John Savage wrote:
Amélie Vaincœur wrote:
@John Savage: Win 8.1 is SHIT, upgrade to 10 asap. Seriously. Even if you have an older machine, it'll run a lot better with 10!
edited by Amélie Vaincœur on 11/25/2015


no one I know likes 10..... they all call it a virus in itself.... except my friends who work for Microsoft of course....

EDIT: Me, personally..... until they bring back 3.1 I will never like Windows..... "upgrading" was the worst move I ever made on my old system
edited by John Savage on 11/25/2015

10 is buggier, but generally better, than 8.1. now, 10 is what you get if you poorly combine 7 & 8, so if you love 8, don't upgrade, if you love 7, don't upgrade.

10 is a decent windows, and they're still updating it. I'm not upgrading, but i've used 10- it's really not that bad.

--
Married!:http://fallenlondon.storynexus.com/Profile/takuza
I will accept all social actions that do not consume free evenings- and i will provide patronage to anyone who requests it, though it will be split between all requesters.
On psudeo-hiatus. Will be inactive and active and fluctuate without warning.
Grinding Favors without cards: http://community.failbettergames.com/topic22266-storylet-favors-grinding.aspx
+1 link
rahv7
rahv7
Posts: 294

11/26/2015
@John Savage: I've ran the programme on windows 8 system at work and everything was fine. I can only imagine that it is some weird conflict between my programme and other programmes/drivers/services you are running. Sorry.

@Amélie: If everything is working for you now I won't change anything. In addition to Avira and Security Essentials, I also tested it with Spybot and with McAfee Antivius and none of those complain on any of the machines I've tested this on.



--
It's possible people have forgotten that there is an actual devil in the actual Lord Mayor's office. A devil who is promising to look after people's souls. What is wrong with everybody?

https://www.fallenlondon.com/profile/rahv7
+1 link
Ludovico Santiago
Ludovico Santiago
Posts: 14

10/14/2015
Thanks for the calculator. It's very handy. There's one conversion chain which doesn't appear, but I'm not sure if you left it out deliberately. Since a Memory of Light converts directly to 25 Cryptic Clues, this could be an effective way of generating Mysteries items.

--
http://www.fallenlondon.com/Profile/Ludovico%20Santiago
+1 link
rahv7
rahv7
Posts: 294

10/14/2015
I added all conversions accessible from the inventory. I didn't leave this one out deliberately but simply didn't think of it. (I also missed Long Boxes into Identities Uncovered, but that is probably much less common.)
I am actually not sure if it will work since it's the first "downward" conversion I've come across. Another problem is the "correct" calculation of EPA, since trading/converting at the bazaar is free. Currently it is assumed that every conversion automatically equals one action.
All of this is solvable, I am just not sure how much I'll have to change the algorithm. I'll take a look over the weekend.

--
It's possible people have forgotten that there is an actual devil in the actual Lord Mayor's office. A devil who is promising to look after people's souls. What is wrong with everybody?

https://www.fallenlondon.com/profile/rahv7
+1 link
rahv7
rahv7
Posts: 294

10/15/2015
@Parelle: As I mentioned in my original post, I also think that this would be better as a webseite. However, I don't have all that much experience with web-based technologies so it'd probably be too time-consuming for me to do right now.
But the source code is available and if anyone wants to port it or use it as inspiration for their own project, by all means, feel free to do so!

edited by rahv7 on 10/15/2015

--
It's possible people have forgotten that there is an actual devil in the actual Lord Mayor's office. A devil who is promising to look after people's souls. What is wrong with everybody?

https://www.fallenlondon.com/profile/rahv7
+1 link
rahv7
rahv7
Posts: 294

10/15/2015
I updated the programme once more, the newest version is this.

There was an issue with the EPA calculation of high-level items that is fixed now.
I also used Ludovico's suggestion and added the two Bazaar-based conversions (Memories of Light into Cryptic Clues and Long-boxes into Identities Uncovered, both for 0 actions).

(In case you're wondering, I also updated the link for yesterdays version a few posts up because of the bug)

--
It's possible people have forgotten that there is an actual devil in the actual Lord Mayor's office. A devil who is promising to look after people's souls. What is wrong with everybody?

https://www.fallenlondon.com/profile/rahv7
+1 link
malthaussen
malthaussen
Posts: 1060

11/25/2015
So there is. My apologies for being inattentive.
Ah, this is excellent. It beats all to hell clicking on stuff to see what it cross-converts too.

-- Mal
edited by malthaussen on 11/25/2015

--
"Of two choices, I always take the third."
Will do all socials except Loitering or Private Evenings (all my Free Evenings are accounted for), and Affluent Photographer Betrayals only, please. I am not currently accepting calling cards.
http://fallenlondon.storynexus.com/Profile/malthaussen
+1 link
Rupho Schartenhauer
Rupho Schartenhauer
Posts: 787

10/10/2015
Thanks a lot dude, this is awesome! (especially for someone who's super-bad at maths)
So, 50 Correspondence Plaques can get me 5 Collated Research with only 5 actions -- or a Primeval Hint with 6 actions -- finding that out would have taken me at least 10 minutes research on the wiki....
edited by Rupho Schartenhauer on 10/10/2015

--
Rupho Schartenhauer has killed a Master, well: most of it.
Cortez the Killer has killed a Master, definitely.
Deepdelver has become the progenitor of London's brightest star. It's... complicated.
Dr. Kvirkvelia, gone NORTH on 23/12/1894.
+1 link




Powered by Jitbit Forum 8.0.2.0 © 2006-2013 Jitbit Software