Talk:Development

From Cities

Jump to: navigation, search

Contents

New Interface

Perhaps we should move some of the scripts that have been rendered obsolete by the new layout to their own section?--LimeHan 19:06, 28 September 2008 (BST)

That sounds good, at least until they're fixed. PotatoEngineer 21:34, 28 September 2008 (BST)
Well, not just broken ones, persay, but scripts that aren't needed anymore because their functionality has been added to the game (Like the third column one or button masher)--LimeHan 23:27, 28 September 2008 (BST)
Button Masher is not obsolete! Please bring it back in the Newfangled Interface! -- Sertularian 23:39, 28 September 2008 (BST)

Inline health bar

My screen capture is playing up - could someone else possibly post one here?

  • Tested on opera 9.00 (windows) and it works for a player who doesn't wear all kind of garments. Thanks jmb. Now to tune it up... --Solune 18:31, 10 September 2006 (BST)
and a screenshot for you
thanks! jmb 19:47, 10 September 2006 (BST)
  • I've fixed the bug that made it not work for starter characters.

TODO (maybe):

  • Add bars for other visible characters, if you have the skill to see their health.
    • Would that include monsters? - Isambard 02:53, 11 September 2006 (BST)
      • Hmm. I wasn't planning on doing it for monsters - if for no other reason, the information within the page doesn't give their MaxHP, so you can't figure a percentage. I guess it could look it up somewhere, but that's a whole 'nother barrel of code. The best other attempt would be to note the HP it had when you first encountered it, and treat that as its MaxHP. Incorrect, but would show a decreasing bar as you go...
    • It already seems to do this... --BlaisedeC 19:45, 25 May 2007 (BST)
  • For total beginners could you tell me how I go about using this script with firefox - do I need to fiddle around with the tools or option menus? Looks very cool, but I can't work out how to run the script. Platypus 22:02, 11 September 2006 (BST)
    • You need to have Greasemonkey installed first. Click on the link to the script; then, in later versions of Firefox, you get a coloured banner across the top of the page, and a button that says "install". In earlier versions, you use menu Tools - Install This User Script...

earl player

I just tried it with an earl, and noticed that it cancels the italic effect. If I find time I'll try to find where the bug is.--Solune 12:36, 2 October 2006 (BST)

Bug: it changes the text color for duellists, making their info invisible (black on black). --BlaisedeC 19:45, 25 May 2007 (BST)

Aha! I had wondered why duellists were looking odd, it's my own darn fault. Now I have to find a duellist to check it out... any volunteers? - jmb 13:52, 29 September 2007 (BST)

Don't Break It

More thoughts on this script, which I think could be worth its weight in GP...

  • Catch more dangerous actions
  • Close shop (well, ok, there's a base ui for it now)
  • Various "Discard"s
  • Various High-AP actions - collecting huge amounts of sand, for example
This is certainly doable. I'll take a look at it when I have some time. (Which isn't right now, but might be this weekend.) Ironically, after putting up the script and before you posted this, I went into AP debt by gathering lots of sand when I didn't mean to.... --Dragon 07:50, 21 February 2007 (GMT)
  • Have a checkbox to re-enable the button
  • Or maybe it would be possible to have the button itself do the job? Some sort of click countdown - this would require a snippet of javascript to be injected.
I'm not sure who you are, but disabling the script is as easy as right-clicking the Greasemonkey icon at the bottom of the browser, clicking on the script, and refreshing the page. That should be easy enough for the rare occasions when you want to break something important. PotatoEngineer 22:42, 20 February 2007 (GMT)
Sorry - completely forgot to sign - jmb/royan - jmb 10:29, 26 February 2007 (GMT)
A checkbox might be worth it (and would be significantly easier to implement using the disabled-button code than the replacement-text code). I don't know what you mean by having the button itself do the job, but I suspect I wouldn't like that UI. PE is right that it's just a few clicks to enable/disable the script, but the checkbox is certainly a possibility. --Dragon 07:50, 21 February 2007 (GMT)

All of the above (with the exception of closing shops, which, as noted, has been taken care of in game code) are in v2.0. (Also, Alchemists, which was a feature request from IRC.) Check it out! --Dragon 05:47, 26 February 2007 (GMT)

Great script, but one additional thought: Is there a way to allow stones to be breakable? Right now, I have to disable the script to break an elemental stone or Brighthelm Rock. Given how common those activities are, disabling and renabling is a bit of a pain... -- Thog 21:29, 19 March 2007 (GMT)

Just click the "Enable Everything" button. This immediately makes the stone breakable, and the effect lasts just one click. So, immediately after you break that Brighthelm Rock, things are happily disabled again. (I believe there's also a way to configure it so that your Brighthelm Rocks are always breakable, but I'm too lazy to bother.) -- Sertularian 21:44, 19 March 2007 (GMT)
If you're using the 2.0 version of the script, there should be an "Enable Everything" button, which as Sert mentioned enables everything on the page once. There is also a "Show Config" button that will allow you to do permanent configuration (e.g. if you never want aligned stones to be disabled). Although the script shouldn't be disabling Brighthelm Rocks--that is, unless you've changed the AP threshhold, but then you'd already have been in the config menu...the displayed options in the linked image are the defaults. --Dragon 02:22, 20 March 2007 (GMT)

XML Development

My name starts with an odd character. Maybe it only breaks a little, but so far nothing works for me. Thoughts, suggestions? #13785 - 03:47, 1 May 2007 (BST)

Use "%23" instead of #. (as in, "%2313785") --Dragon 07:01, 1 May 2007 (BST)
Yay! Thanks, Dragon. - #13785 18:04, 1 May 2007 (BST)
Have you clicked the button labelled - Show Info to Others on your me page and your Show Inventory to Others button on your inventory page? According to the relevant XML pages you havent. - Timekeeper.
I just couldn't get to them without the "%23" trick. Thanks for lookin' out for me though. - #13785 18:04, 1 May 2007 (BST)

I'm not sure whether new tag requests should go here, Talk:Development/XML Tags, Suggestions/UI Improvements, or Suggestions/Other. It would be useful to add "last totem connected" and "next totem" to info.xml. --BlaisedeC 19:09, 24 May 2007 (BST)

Dead-o-Matic

I've completely rewritten it to use the avatar id string to find the logged-in user instead hunting for the user's name. I'll be happy to send my revision to Eyepeel; let me know an email address to use. --BlaisedeC 18:25, 1 May 2007 (BST)

Personal tools