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.

Fallen London - Dressing Room extension [RETIRED] Messages in this topic - RSS

Travers
Travers
Posts: 98

8/20/2015
[RETIRED]: As Failbetter added a great outfit-switching mechanic, I won't be updating this extension any further.

[APPROVED]

From my first days amongst the throngs of Fallen London, I made much use of the overworked valet. However, as I grew weary of the clashing outfits that it would choose for me, I decided to explore another way to dress oneself.

The result of that exploration is The Fallen London - Dressing Room (Firefox or Chrome) (images). By clicking on the cosmogone-enhanced 'Remember' button, one can store the items that one is currently wearing under any label of your choice. Simply choosing the relevant label from the list allows one to change into any remembered outfit. Contrariwise, by clicking on the irrigo-soaked 'Forget' button, one can lose all memory of ever wearing such an abominable ensemble.

What is actually added?
On the 'Myself' tab, a button labeled 'Dressing Room' is added above the 'Expanded Inventory' button.

The 'Dressing Room' button opens a box with:
  • a text box for naming the current outfit being worn (below the 'What am I wearing?' prompt),
  • a 'Remember' button to store the named outfit,
  • a drop-down list box used to choose between stored outfits (below the 'What to wear?' prompt),
  • a 'Change' button to switch to the selected outfit, and
  • a 'Forget' button to delete the currently chosen outfit in the list box.

Updates
1.1
  • Added sanity-check for ownership of items before trying to equip.

1.2
  • Added mechanisms so that the Expanded Inventory items can be saved and loaded alongside the rest of your items.
  • Changed the 'Remember' button so that it will cause an update of the currently selected outfit if a new outfit name is not provided.
  • Changed the database to be persistent to avoid possible deletion by browsers. As a consequence of this change, your browser may ask for permission to store the database.

1.21
  • Added case-insensitive alphabetization to outfit options.

1.30
  • Optimized changing outfits based on a contribution from marcmagus.

1.40
  • Added a dialog box that stays in place while an outfit is being changed

1.41
  • Added a 'change' button so that an outfit can be selected without changing into it.

Notes
This extension has primarily been tested in version 41.0 of Firefox.

To install in Firefox with the Greasemonkey add-on installed, one can simply go to the link provided and choose the 'Install this script' button on the page.

This extension uses a database to store your outfits. To find the database, consult the following: Where is the data stored?
edited by Travers on 10/28/2015

--
http://fallenlondon.storynexus.com/Profile/Professor~Travers~Durward
+13 link
Travers
Travers
Posts: 98

10/28/2015
Failbetter has added a great outfit-switching mechanic so I'm officially retiring this extension. It will still be available for download but I will not be updating the code from this point on.

Thanks for all the support!

--
http://fallenlondon.storynexus.com/Profile/Professor~Travers~Durward
+6 link
StarryWisdom
StarryWisdom
Posts: 35

9/27/2015
I haven't played the game long enough to have anything in my Expanded Inventory, so this extension wastes time when it flips over to add the Expanded Inventory items. Please add a setting where I can limit the code to checking just the Standard Inventory. Either that or make version 1.2 available, please.

Thanks!
+2 link
Eru Illuvatar
Eru Illuvatar
Posts: 65

8/23/2015
Kolanowski wrote:
Updated my Chrome and Dressing Room stopped working all of a sudden, and now I'm experiencing the same issue Eru Illuvatar mentioned. I'm a total layman when it comes to coding, so... where exactly do I replace that line?


Enter tampermonkey ('dashboard'). Open the 'fallen London Dressing Room'. Click 'Search', then search for this line:
var req = window.indexedDB.open(DB_NAME, {version: DB_VERSION, storage: "persistent"});
Delete it and replace it with this line:
var req = window.indexedDB.open(DB_NAME, DB_VERSION);
Then click the save icon (found above the search button)

--
Eru Illuvatar - Acceptor of social actions! Do-er of things! Collector of shiny objects!
+2 link
Travers
Travers
Posts: 98

9/25/2015
MadmanAtW wrote:
Is there a way to delete an outfit without putting it on first? I just got an Ubergoat (woooo!) and now I can't put on my "Watchful" outfit because it hangs when it can't figure out where my Overgoat went, and I can't seem to delete it from the list without putting it on.

I just uploaded version 1.41 which should solve that issue. Instead of automatically switching to a selected outfit, it now waits for you to click the 'Change' button.

--
http://fallenlondon.storynexus.com/Profile/Professor~Travers~Durward
+1 link
marcmagus
marcmagus
Posts: 168

8/20/2015
Yes, please. This is the service I always wished the valet would provide.

It seems to install with Chrome/Tampermonkey, will report back if I notice anything.

ETA: Note to other players, the Dressing Room only covers the Standard Inventory, not the Expanded Inventory. (Note to Travers, including the other might be a desirable feature to add in the future)
edited by marcmagus on 8/20/2015

--
marcmagus, a scholar of the Correspondence of some minor note and bold explorer of the new Unterzee.
+1 link
Travers
Travers
Posts: 98

8/21/2015
Thanks for the nice comments!

I uploaded a new version with some added sanity-checking to prevent a possible inconsistency (i.e., trying to wear an item that you just sold). For the future, I'm working on 1) saving the items from the Expanded Inventory as part of your outfit and 2) allowing the 'Remember' button to cause an update of a stored outfit when an outfit name is selected in the list box but a new outfit name is not provided. At the moment, to update an outfit, one must forget the old outfit and remember the new outfit.

If there are any other improvements/additions that are desired, let me know! I plan on working on this project for a while.

--
http://fallenlondon.storynexus.com/Profile/Professor~Travers~Durward
+1 link
Travers
Travers
Posts: 98

8/21/2015
I just posted version 1.2. The most notable change is support for the Expanded Inventory. The Dressing Room should now function for all of the equippable item categories. Also, as I changed the database setup, databases from the earlier version will probably not be and probably shouldn't be read.

If changing outfits seems too slow in this version, it could be because I added a rather crufty mechanism to slow the process down to decrease visual glitches (i.e., the old item still appearing to be equipped but the stats for the new item applying). If you want to change this, you can search the code for my 'crufty' comment and change the numbers in the setTimeout calls below it (e.g., change 8000 to 2000). Or, if you prefer, you can just delete the two setTimeout lines as the extension can function without them.

--
http://fallenlondon.storynexus.com/Profile/Professor~Travers~Durward
+1 link




Powered by Jitbit Forum 8.0.2.0 © 2006-2013 Jitbit Software