Author Message

<  Old Guesthouse  ~  A Helper Window to increase loathing efficiency

PostPosted: Wed Jul 07, 2004 4:48 am
Safety InspectorPosts: 415Location: Boston, MA (US)Joined: Sun Jul 04, 2004 12:28 am
I posted a smaller version of this thread in the mail KoL forum, but I'll be more complete about it here. This is not a bot, simply a play-aide.

You will need to do a few things to customize it for yourself. First of all, you'll need to open a text file on your computer, and copy the HTML below into it. Go ahead and save it somewhere handy, like the desktop, and name it anything you like (with a .html at the end for standard practice).

Then you'll need to fire up KoL, and do a bit of downloading. The way I usually do this is just right-click on a link in KoL, and select the "download to disk" option. This will vary from browser to browser, so you are going to have to figure out how to do it on your own if you don't already know. Then you'll need to open up the file you downloaded in a text editor, and root around.

First thing you'll need to find is your password hash. This is a string of characters that will look like a6209def97257a836ccb20aade9 and will be between the quotes in this little tag: name=pwd value=''. You should *never* share your password hash with anyone (that is not mine, above -- it is just a random string). A good place to find this is by downloading the page from the "shore" link (right-click on "shore" from the main menu). Now replace PASSWORDHASH in the HTML below with your very own hash.

The next thing you'll need to do is actually customize what links are available. I have a kinda expensive diet, so my food and booze links are mostly pickles and umbrella drinks. To make links to the stuff that *you* use all the time, you'll need to download the applicable Inventory page just like you did for the Shore above. Open up that file in a text editor as well, and find the relevant item. For example, here's an excerpt from my inventory.php:

Brimstone Chicken Sandwich</a></b><font size=1><br><a href="inv_eat.php?which=1&whichitem=570">[eat]</a>

The important bit is the "inv_eat.php?which=1&whichitem=570" -- the inv_eat.php tells the server which script to run, and the 570 identifies which particular food to eat. In my code below, I would turn that same code above into this:

<a href="http://67.18.115.2/inv_eat.php?which=1&whichitem=570" target=mainpane>BC Sandwich</a>

You have to add the http://67.18.115.2/, and the target=mainpane. For clarity, I rename the [eat] to just be the object in question.

Is that all clear so far? Forms are a bit more complicated. They are used for things like vacations and buffing. I'm not going to go into the details, because hopefully you'll be able to figure it by playing around with it. Download the page in question from KoL and compare it with my code below. Message me if you need additional help.

SO! Save your edits, and now you have your own HTML file on your own desktop, and your own links inside it! The way I usually proceed to use it is to open KoL, open a second window, and load my file into it (drag and drop for me). I log in, then hit a link in my helper window. For some reason it logs me out back in my main window, but then I log back in, and everything works like a charm.

The beauty of this is that you now have all your usual stuff all on one pane -- Eating, Drinking, Common Items, Buffing, and regular Adventures. It saves you time and hassle, and helps the server by requiring less page loads. Beautiful. And since you are still doing everything manually, it doesn't get into the "questionable morality" of bots.

Here is the helper pane that I regularly use:

<html><head><title>Quick links for Repeat Actions</title></head>
</html>
<body bgcolor=white text=black link=black alink=black vlink=black>
<font face=Arial,Helvetica>

<center>

<br>

<a href="http://67.18.115.2/uneffect.php" target=mainpane>antidote</a>

<a href="http://67.18.115.2/inv_use.php?which=3&whichitem=593" target=mainpane>phonics</a>

<br><br>
Drink/Food (Remember ODE!):
<br>

<a href="http://67.18.115.2/inv_booze.php?which=1&whichitem=680" target=mainpane>S&T</a> (5)

<a href="http://67.18.115.2/inv_booze.php?which=1&whichitem=762" target=mainpane>ESD</a> (1,1)

<a href="http://67.18.115.2/inv_eat.php?which=1&whichitem=764" target=mainpane>Pickle</a> (3)

<br>
<form name=skillform action=http://67.18.115.2/skills.php method=post target=mainpane><input type=hidden name=pwd value='PASSWORDHASH'><input type=hidden name=action value="Skillz">Use Buff: <select name=whichskill><option value=999>(select a buff)</option><option value=6003>Hoojiwat's Hymn of Healthiness (3 MP)</option><option value=6006>The Polka of Plenty (8 MP)</option><option value=6004>The Moxious Madrigal (4 MP)</option><option value=6005>Cletus's Canticle of Celerity (6 MP)</option><option value=6007>The Magical Mojomuscular Melody (11 MP)</option><option value=6008>The Power Ballad of the Arrowsmith (15 MP)</option><option value=6009>Brawnee's Anthem of Absorption (19 MP)</option><option value=6010>Fat Leon's Phat Loot Lyric (24 MP)</option><option value=6011>The Psalm of Pointiness (29 MP)</option><option value=6012>Jackasses' Symphony of Destruction (35 MP)</option><option value=6013>Stevedave's Shanty of Superiority (42 MP)</option><option selected value=6014>The Ode to Booze (50 MP)</option></select><br>on Player: <input class=text name=specificplayer size=10> <select name=targetplayer><option value=59035>(yourself)</option><option selected value=59035>HotStuff</option><option value=32123>Kung Fu Joe</option></select><br><input class=text size=3 value=1 name=bufftimes> time(s)<p><input class=button type=submit value="Buff"></form>
<br><br>
Vacations:
<br>
<form action=http://67.18.115.2/shore.php method=post target=mainpane><input type=hidden name=pwd value='PASSWORDHASH'><input type=radio name=whichtrip value=1 checked><input class=button type=submit value="Muscle! (3)"></form>
<form action=http://67.18.115.2/shore.php method=post target=mainpane><input type=hidden name=pwd value='PASSWORDHASH'><input type=radio name=whichtrip value=2 checked><input class=button type=submit value="Myst! (3)"></form>
<form action=http://67.18.115.2/shore.php method=post target=mainpane><input type=hidden name=pwd value='PASSWORDHASH'><input type=radio name=whichtrip value=3 checked><input class=button type=submit value="Moxie! (3)"></form>

</font>
</body>
</html>


Offline Profile
PostPosted: Wed Jul 07, 2004 9:39 am
My other ride is Matt's MomPosts: 398Joined: Wed Jul 07, 2004 8:27 am
Wow....

I just fired this bad boy up, as is, and man is it pretty neat to use!

Now I just need to geek it out for my own devices, and I'll be set!

Thanks!


Offline Profile
PostPosted: Wed Jul 07, 2004 9:47 am
Citibank JesusPosts: 173Location: BostonJoined: Tue Jul 06, 2004 3:19 am
Let me just say how incredibly glad I am you shared this with us. I can see this meaning a lot less of me tearing my hair out in the future.

On the off chance any of you are as anal as I am about aesthetics...
This is what I did with mine, after rearranging and using a tiny bit of css. And the code. (Yes, without endangering myself. It may be early, but I'm not *that* tired.)

Oh, and copy and paste the first link. (Some day I'm going to get non-idiotic webspace.)

- edited to remove code link temporarily by KFJ -
Re-edited a day late and a dollar short. Because I can. :P


Last edited by Sandry on Thu Jul 08, 2004 3:32 pm, edited 1 time in total.


_________________
< Spatch > I'm going off the deep end... and I'm bringing each and every one of you with me.
< Anson > There is no deep end, only Zuul.
Offline Profile WWW
PostPosted: Wed Jul 07, 2004 9:48 am
My other ride is Matt's MomPosts: 398Joined: Wed Jul 07, 2004 8:27 am
Wow Sandry, that's sharp looking!

My html coding is at about a preschool level, so I'm lucky if I get things to work the 100th time.....


Offline Profile
PostPosted: Wed Jul 07, 2004 2:54 pm
Sandry wrote:
[url]the code[/url]. (Yes, without endangering myself. It may be early, but I'm not *that* tired.)


just to double-check, sandry, it appears that there is a password hash in that page. hopefully it's a fake one and not your real one.. (:

-boozer

- also edited to remove link temporarily -


PostPosted: Wed Jul 07, 2004 3:00 pm
Ruthless LeaderPosts: 163Location: Warehouse 23Joined: Sat Jul 03, 2004 10:00 pm
I removed the link to the code page until Sandry tells me it's not the real hash. I know how late we were all up, last...morning.

Apologies for any inconvenience.

Thanks for stopping by, Boozer.


Offline Profile
PostPosted: Wed Jul 07, 2004 5:36 pm
Safety InspectorPosts: 415Location: Boston, MA (US)Joined: Sun Jul 04, 2004 12:28 am
Trog Dor just asked me about other functionality, and I realized that you can add a slew of other stuff:

Message-sending
Mall searches
Equipping/unequipping items
Buying things from particular stores (may need to be in costume)
Clan gym (though is this ever a good idea?)
Hotlinks to clan stash/roster/messages/etc.


I for one added the Mall searching to the bottom of my window.


Offline Profile
PostPosted: Thu Jul 08, 2004 5:56 am
My other ride is Matt's MomPosts: 398Joined: Wed Jul 07, 2004 8:27 am
Here's a question for gimpy people such as myself....

Is it possible to create a generic-enough helper window that can be used by anyone? I know that these special people (myself) would have to cut-n-paste my password hash into the code, but if it contained enough general functions....well that would r0x0r!


Offline Profile
PostPosted: Thu Jul 08, 2004 6:19 am
Posts: 871Location: Richmond, VAJoined: Wed Jul 07, 2004 7:34 am
Will someone do it if I beg? And promise some free ramen?

You see, I'm a technological idiot. I have no chance of doing this by myself. But god it would speed up the buff lanes...


Offline Profile YIM
PostPosted: Thu Jul 08, 2004 6:31 am
My other ride is Matt's MomPosts: 398Joined: Wed Jul 07, 2004 8:27 am
Yes, I'd throw down a couple of ramen and some meat for that one. It would be nice to have one that could cover as many vague things as possible.....


Offline Profile
PostPosted: Thu Jul 08, 2004 7:55 am
Ruthless LeaderPosts: 413Location: Fairhope, ALJoined: Wed Jul 07, 2004 6:49 pm
I'm working on a helper app...

it has the helper functions i need on the left hand side, then runs KOL in a rather large iframe, which is rather nifty. Once i'm happy with my base functionality (eating, drinking, buffing, mp restoring, etc) i'll post it for everyone who's interested.

The major stumbling blocks are going to be class-secific skills. There really needs to be 6 different chunks of skill code that you pull in, depending on class.

Marshall.


Offline Profile YIM
PostPosted: Thu Jul 08, 2004 9:13 am
Citibank JesusPosts: 173Location: BostonJoined: Tue Jul 06, 2004 3:19 am
I'll work on the buffs part if you like. I've got all the classes but DB anyhow. :P I'll just have to do it when I'm truly *awake*. ;)



_________________
< Spatch > I'm going off the deep end... and I'm bringing each and every one of you with me.
< Anson > There is no deep end, only Zuul.
Offline Profile WWW
PostPosted: Thu Jul 08, 2004 11:59 am
Ruthless LeaderPosts: 413Location: Fairhope, ALJoined: Wed Jul 07, 2004 6:49 pm
if you could get all the classes buffs, that would be great...

KOL is full of spiteful lag so my development is slowing down. That and i'm actually working a bit.

So far my helper pane lets me:
Use Houses/Downs
Take Antidotes
Cast all Turtle Skills/Buffs
Eat Ramen/Spaghetti
Drink Tangoes/Imp Ale
Search the Mall
Go on all three vacations
Adventure at the Icy Peak and Hole in the Sky
Check the Clan Stash
Check the Clan Message Board

Other classes need: class specific buffs and items (Magical Myster Juice, Super Martinis? etc)

I should probably get a list of common food types and put them all in... with easy instructions on how to remove options you don't need.

I'm giving up on the iframe option. It works sporadically and when it fails kicks you to the login screen. If I go insane I may look into making it an IE toolbar :D


Here's the format I'm using... basically... I've got TT done, just need it for the rest.

<form name=skillform action=http://67.18.115.2/skills.php method=post target=mainpane>
<input type=hidden name=pwd value='PASSWORDHASH>
<input type=hidden name=action value="Skillz">
Buffs
<br>
<select name=whichskill>
<option value=999>(select a buff)</option>
<option value=2007>Ghostly (6 MP)</option>
<option value=2008>Fortitude (10 MP)</option>
<option value=2009>Empathy (15 MP)</option>
<option value=2010>Tenacity (12 MP)</option>
<option value=2012>Astral (10 MP)</option>
</select>
<br>on Player
<br>
<input class=text name=specificplayer size=10>
<br>
<select name=targetplayer>
<option value=YOURID>(yourself)</option>
<!-- // copy the following line any number of times... -->
<option value=PLAYERID>PLAYERNAME</option>
</select>
<br>
<input class=text size=3 value=1 name=bufftimes> time(s)
<br>
<input class=button type=submit value="Buff 'Em">
</form>


Offline Profile YIM
PostPosted: Thu Jul 08, 2004 3:30 pm
Citibank JesusPosts: 173Location: BostonJoined: Tue Jul 06, 2004 3:19 am
Okay, just the skills section of each class. And yes, I'm more awake this time. No, really. ;)

Turtle Tamer:
http://www.geocities.com/princeoflample ... etamer.txt

Pastamancer:
http://www.geocities.com/princeoflample ... mancer.txt

Sauceror:
http://www.geocities.com/princeoflample ... uceror.txt

Accordion Thief:
http://www.geocities.com/princeoflample ... nthief.txt

Seal Clubber:
http://www.geocities.com/princeoflample ... lubber.txt

I don't have a DB, so I didn't get that. Someone else can, though, I'm sure?



_________________
< Spatch > I'm going off the deep end... and I'm bringing each and every one of you with me.
< Anson > There is no deep end, only Zuul.
Offline Profile WWW
PostPosted: Thu Jul 08, 2004 4:00 pm
Posts: 871Location: Richmond, VAJoined: Wed Jul 07, 2004 7:34 am
So... idiot question of the day... once I have this pretty code, what in the sam hill do I DO with it?

A geek is not me! <pout>


Offline Profile YIM

Display posts from previous:  Sort by:

All times are UTC - 7 hours
Page 1 of 3
37 posts
Go to page 1, 2, 3  Next
Users browsing this forum: Google [Bot] and 1 guest
Search for:
Post new topic  Reply to topic
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
cron