Bale's Relay Overrides

I've been working on my own version of such.

Tell me what you think of this. Note that each level of quest has its own shade of highlight. I'm not sure it's pretty though. (I don't want to use blue because that is the same color as the borders.)

I don't suppose anyone knows a CSS (or java) way to blend two background-colors together so I can add a color to be shaded?
 

Attachments

Well, it's not perfect, but it does offer a simple way to average colours. I've chosen the geometric mean, since that seems to be in line with how humans perceive colours, but it can easily be changed to a linear mean.

Just play around with the inputs until you get colours you like.
 

Attachments

Hey Bale. 2 quick things:

I appended the lt&t script to add a link to the telegram adventure* if you're already on the quest, because I find it inconvenient to /use the telegram or find it in my inventory. Why did Jick say we don't like container map images, or something like that? Anyway:

Code:
	page.replace_string("</head>", style);
	page.replace_string('middle of investigating a telegram', 'middle of investigating a <a target=mainpane href="adventure.php?snarfblat=474">telegram</a>\(1\)');
	write(page);

* I linked it to the snarfblat, because linking it directly to the item causes the telegram to hang at "reading telegram". I think that's a KoL issue.

Also, I appended check_airports() in the topmenu.ash with the other 2 charters (hot & cold), because using a hot or cold 1-day on my non IotM multi didn't load the airport link. This worked fine for me:

Code:
	boolean check_airports() {
		return have_airport($item[airplane charter: Spring Break Beach], "sleaze")
			|| have_airport($item[airplane charter: Conspiracy Island], "spooky")
			|| have_airport($item[airplane charter: Dinseylandfill], "stench")
			|| have_airport($item[airplane charter: That 70s Volcano], "hot")
			|| have_airport($item[airplane charter: The Glaciest], "cold");
	}

Thanks again for the scripts and updates!
 
I appended the lt&t script to add a link to the telegram adventure* if you're already on the quest, because I find it inconvenient to /use the telegram or find it in my inventory. Why did Jick say we don't like container map images, or something like that?
I already did that a few days ago. Though I did it differently. You're probably not using an up to date copy of my LTT override.


Also, I appended check_airports() in the topmenu.ash with the other 2 charters (hot & cold), because using a hot or cold 1-day on my non IotM multi didn't load the airport link.
Oh yea, I totally forgot about that. I just needed a nudge.
 
And now, a look into my brain.

"Hm, I forgot to thank Bale for pointing out the lt&t relay script update, that had what I was looking for. Also, the Chit awol guild link is pretty sweet, I should suggest that get added to the topmenu... you know, maybe I should check first to see if... yup, already added in. Maybe I should thank Bale for reading my mind? I dunno, that sounds creepy. Well, not as creepy as having this full conversation with myself. Anyway, I'm going to post this convo. You ok with that, self?"
 
LoL! (Literally!)

Heh. I'm glad you like the ChIT guild I invented for Awol. Last night when I gave it that wonderful overhaul which shows all your skills and which ones you've learned (like a real guild) I realized that only being able to access it from the charpane, not the topmenu was a little irritating. It was weird to have my topmenu script access my charpane script, but I realized it was possible to check svn_exists("mafiachit") to decide what the guild link should be so I did it. I've never previously done that to increase inter-script cooperation so it was kinda fun.
 
It was weird to have my topmenu script access my charpane script, but I realized it was possible to check svn_exists("mafiachit") to decide what the guild link should be so I did it. I've never previously done that to increase inter-script cooperation so it was kinda fun.

This is pretty neat, so I decided to tinker with it on a superficial level:

Code:
	if(svn_exists("mafiachit"))
		results.replace_string('[<a href="topmenu.php">re</a>]',' <a href="topmenu.php"><img title="Refresh" src="images/relayimages/chit/refresh.png"></a>');

... and I really like it. I might play with that some more.
 
Hey Bale. I know not as many people use the dropdown style for the topmenu, but for consistency sake, the guild link still behaves like the older versions. This fixed it on my end:

Code:
void dropdownStyle(buffer results) {

	// Guild
	results.replace_string('<option value="guild.php">','<option value="'+guild()+'">');

Also, a random question. I've been playing with the menu an awful lot lately, mostly for learning, and I came to a brick wall with some things. Maybe you can point me in the right direction. Are there preferences for knowing what garden / shed / chateau (aside from chateauMonster) / Eudora items you have installed currently? ascend.php shows them pretty explicitly, but I can't for the life of me find where that info is stored to use.

Danke!
 
I'm all in favor of supporting dropdown style even though I don't use it, so I've added that.

To find your workshed item, check get_campground()
Code:
> ash get_campground()

Returned: aggregate int [item]
big rock => 1
Certificate of Participation => 1
E-Z Cook™ oven => 1
My First Shaker™ => 1
ice harvest => 6
Little Geneticist DNA-Splicing Lab => 1
potted tea tree => 1
haunted doghouse => 1

I'm afraid you'll have to iterate over the list of known workshed items to figure out which one is present. They are...

Code:
$items[Little Geneticist DNA-Splicing Lab, portable Mayo Clinic, snow machine, spinning wheel, warbear auto-anvil, warbear chemistry lab, warbear high-efficiency still, warbear induction oven, warbear jackhammer drill press, warbear LP-ROM burner]
 
Thanks, that was a big help, which also got me to find get_chateau(). The discussion about the clans a few months ago got me thinking about titles in the links, because sometimes I forget what part of what link goes to what section (like what part of the quest link goes to notes), so I started adding those to my local copy. Well, one thing led to another, heh:

http://imgur.com/DYNltZQ

While I would casually suggest some hover text that shows where certain links go, like the aforementioned quests or the message links, I agree with your prior assessment that it's not the best route to put dynamic information where it could be possibly be wrong without a manual refresh.

... but man, it's fun to play with, heh.
 
Another new script. This is to annotate the latest IotM.
I quite like this script. But, you have a data error:

Missing: Fancy Man

Phase 1 monsters says:

$monsters[drunk cowpoke,hired gun,surly gambler]

Should be:

$monsters[drunk cowpoke,surly gambler,wannabe gunslinger]
 
double menu dropdown.png

If you are using the icon topmenu style then you end up with 2 clan whitelist dropdowns.

Apparently both topmenu.ash and awesomemenu.ash fire and it gets added twice.

Probably a result of r16805?

Commenting the respective line on topmenu.ash seems to solve it.
 
Fixed the bug where iconic topmenu was giving 2 clan whitelist drop-downs on page refresh. It threw me a bit that if I clicked the reload link in the top menu it gave me only one drop-down for the whitelist. It was weird, but this whacks it.

Stupid redirects. I have to fix something similar for my woods override also.
 
Because the OCRS boards have been MIA for some time, I made a modification to the main function of your museum.ash script:
PHP:
void main() {
    buffer page = visit_url().replace_string('Actually Ed the Undying Leaderboards"></a></td><td width=100 height=100></td>', 'Actually Ed the Undying Leaderboards"></a></td><td width=100 height=100><div class="zoom"><div class="rainbow"><div class="wobble"><a href=museum.php?floor=3&place=leaderboards&whichboard=25><img src=/images/otherimages/museum/lbocrs.gif width=100 height=100 border=0 alt="One Crazy Random Summer Funboards" title="One Crazy Random Summer Funboards" class="spinning"></a></div></div></div></td>').replace_string('</head>', '<script src="images/scripts/ocrs.js"></script><link rel="stylesheet" href="images/scripts/ocrs.css" /></head>');
    
    if ( to_int( form_field( "whichboard" ) ) >= 8 )
	page = page.revise();
    page.write();
}

http://i.imgur.com/JSZBHpK.png
 
Last edited:
I really like your idea!

The zooming makes it really hard to click on though, so I took that one out. (It kept escaping my mouse.) I'm gonna let this one percolate a bit before releasing the code into the wild. Do you have any other ideas for it besides twirling and spinning? Maybe I should randomly choose two or three modifiers from a list of options? (Unfortunately I'm not sure how to find the class names for the modifiers to make my list.)
 
The zooming making it difficult to click was actually part of the joke.

Looking at my spreadsheet from that season, var ocrs had the following:
Code:
leet
patriotic
annoying
artisanal
askew
flip
blurry
bouncing
broke
spinning
clingy
cloned
cloud
clowny
yellow
curse
wobble
disguised
drunk
electric
flies
floating
swearing
fragile
fratty
frozen
generous
ghostly
haunted
hilarious
hopping
hot
huge
blue
invisible
jitter
lazy
mirror
narcissistic
xray
obscene
optimal
blinking
pixellated
quacking
red
zoom
shakes
short
shy
skinny
purple
sparkling
gray
stingy
green
pulse
ticking
rainbow
tiny
turgid
rotate
unlucky
unstoppable
untouchable

crimbo
Not all of these were cosmetic.

(wet and electrified were just overlays of other images)
 
Back
Top