[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
Warehouse23 • View topic - A Helper Window to increase loathing efficiency
 
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...
is what I did with mine, after rearranging and using a tiny bit of css. And (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


PostPosted: Wed Jul 07, 2004 3:00 pm
Ruthless LeaderPosts: 163Location: Warehouse 23Joined: Sat Jul 03, 2004 10:00 pm


Offline Profile
PostPosted: Wed Jul 07, 2004 5:36 pm
Safety InspectorPosts: 415Location: Boston, MA (US)Joined: Sun Jul 04, 2004 12:28 am


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


Offline Profile
PostPosted: Thu Jul 08, 2004 6:19 am
Posts: 871Location: Richmond, VAJoined: Wed Jul 07, 2004 7:34 am


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


Offline Profile
PostPosted: Thu Jul 08, 2004 7:55 am
Ruthless LeaderPosts: 413Location: Fairhope, ALJoined: Wed Jul 07, 2004 6:49 pm


Offline Profile YIM
PostPosted: Thu Jul 08, 2004 9:13 am
Citibank JesusPosts: 173Location: BostonJoined: Tue Jul 06, 2004 3:19 am



_________________
< 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


Offline Profile YIM
PostPosted: Thu Jul 08, 2004 3:30 pm
Citibank JesusPosts: 173Location: BostonJoined: Tue Jul 06, 2004 3:19 am



_________________
< 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: Majestic-12 [Bot] and 2 guests
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