Twilight Forums

Idle chat for wannabe heroes
It is currently Thu May 23, 2013 1:55 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 353 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next
Author Message
 Post subject:
PostPosted: Fri Jun 13, 2008 6:56 am 
Offline

Joined: Thu May 08, 2008 1:22 pm
Posts: 32
OK, i wasn't sure if you meant combining them into a set, or that you wanted a new navbar to use. I was starting to picture in my head a customizable list of links to replace the main navigation in the top pane.

So did you want all 4 in a single script, or just the xp and hp/pp bar scripts together?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 9:36 am 
Offline

Joined: Thu Jun 05, 2008 1:57 am
Posts: 8
Looking great Chathzzar! Could you possibly have an option box in the account settings where you can set the color for each of the XP/HP/PP bars? Now that I've actually used it while adventuring, the flashing bright colors against the dark background is starting to hurt my head.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 9:38 am 
Offline

Joined: Thu May 08, 2008 1:22 pm
Posts: 32
Sure, i just picked random colors that seemed to suit. I'm not married to them, but I can add color options, sure.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 11:04 am 
Offline
User avatar

Joined: Tue Apr 22, 2008 9:05 am
Posts: 12
btw, new version of GM posted today - with FF3 support.
Though, i hate new icon xD

_________________
Life is eternal. Lifetime is ephemeral.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 11:27 am 
Offline
User avatar

Joined: Thu Sep 06, 2007 10:56 pm
Posts: 1466
Location: Berkeley when at school, San Diego when at home
Chathzzar wrote:
OK, i wasn't sure if you meant combining them into a set, or that you wanted a new navbar to use. I was starting to picture in my head a customizable list of links to replace the main navigation in the top pane.

So did you want all 4 in a single script, or just the xp and hp/pp bar scripts together?


Just the XP and HP/PP bars. This has much potential to be a very cool GM script.

_________________
Image
Vote for TH on global rankings!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 11:51 am 
Offline
User avatar

Joined: Thu Sep 06, 2007 10:56 pm
Posts: 1466
Location: Berkeley when at school, San Diego when at home
Just got your HP/PP bar update.

SUCCESS!

_________________
Image
Vote for TH on global rankings!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 12:44 pm 
Offline

Joined: Thu May 08, 2008 1:22 pm
Posts: 32
OK, i've added an options section to the account page.

This section included:
- A link to check for updates on the fly, without having to go to the login page (although that check still exists).
- A checkbox to change whether HP/PP Headers are displayed
- A button for each of the HP and PP bars to change the color. This allows you to enter RGB values (0-255) in each box, with a demo area to see the color.

I have not completed this for the XP bar yet.
That, and combining the Nav scripts is the next step, but has not been done yet.

http://computertrinkets.googlepages.com/thhp_ppstatus.user.js


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 13, 2008 10:30 pm 
Offline

Joined: Thu Jun 05, 2008 1:57 am
Posts: 8
Love it, thanks Chathazzar!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 15, 2008 1:34 pm 
Offline

Joined: Thu May 08, 2008 1:22 pm
Posts: 32
OK everyone,

Color change options have been added to the XP bar script.
http://computertrinkets.googlepages.com/th_xpstatus.user.js

Also, I have now combined the two HP/PP and XP progress bar scripts into a single script.
http://computertrinkets.googlepages.com/TH_NavScreenScriptCollection.user.js

Next planned change to the Nav Screen script is to add options that allows to turn on/off each bar.

EDIT: The on/off for the bars has been included now too.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 17, 2008 2:45 pm 
Offline
User avatar

Joined: Tue Apr 22, 2008 9:05 am
Posts: 12
New version of THwiki adds support for every page in game.
http://userscripts.org/scripts/source/28205.user.js

Please report issues and requests :-)

Edit: oops, forums were broken a little, uploaded fixed version ^^

_________________
Life is eternal. Lifetime is ephemeral.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 1:08 am 
Offline
User avatar

Joined: Thu Sep 06, 2007 10:56 pm
Posts: 1466
Location: Berkeley when at school, San Diego when at home
Awesome. Remember to uninstall previous scripts, folks. I made that mistake. Anyways, the only bug I see is that if you have more XP than you need for that level (aka, you can level up) the level in the parentheses is 1 more than is correct. I was level 2 going to 3, but it said (4). Otherwise, awesome.

_________________
Image
Vote for TH on global rankings!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 3:15 am 
Offline
User avatar

Joined: Sun Apr 08, 2007 1:01 am
Posts: 4230
Location: the Conservatory with the lead pipe
You've finished 2, have the XP for 3, and that bar is showing how close you are to 4.

_________________
Image
The churches are empty / The priest has gone home / And we are left standing / Together alone
--October Project: "Dark Time"


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 9:04 pm 
Offline
User avatar

Joined: Thu Sep 06, 2007 10:56 pm
Posts: 1466
Location: Berkeley when at school, San Diego when at home
Oh. Wow.

_________________
Image
Vote for TH on global rankings!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 10:09 pm 
Offline
User avatar

Joined: Thu Sep 06, 2007 10:56 pm
Posts: 1466
Location: Berkeley when at school, San Diego when at home
Double double plz.

Code:
You apply the grip to your weapon of choice. Some fashion expert walks by and immediately declares it to be the tackiest weapon they've seen since the diamond-studded sword on display in the art museum. You get an effect, Got Your Tacky On. (Added for 300 minutes.)


Missed that type, livercat. But awesome script.

EDIT: Found another bug! Eat it!
Code:
Barrabas has buffed you with Armadillo Armor. w
Your skin toughens until it's as tough as an armadillo's. (Added for 675 minutes.)


...goes to...http://th.blandsauce.com/wiki/Barrabas_ ... the_Raptor.

Including the period.

_________________
Image
Vote for TH on global rankings!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 2:35 am 
Offline
User avatar

Joined: Thu Sep 06, 2007 10:56 pm
Posts: 1466
Location: Berkeley when at school, San Diego when at home
Sorry, another request and a little question for Chathzzar. I love these things.

Anyways, to Chathzzar, there's a little newline right after the HP/PP bars...is it possible to get rid of that? I'm trying to save space so that I can see the effects list decently.

And the request is for a GM script that can remove the chips and clock pictures from said navigation bar. :) Oh, and all associated newlines if possible, please.

Thank you! Much love to you.

_________________
Image
Vote for TH on global rankings!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 4:55 am 
Offline
User avatar

Joined: Tue Apr 22, 2008 9:05 am
Posts: 12
MagiNinjA wrote:
two bugs


Thank you for spotting them :)

Right now I don't have enough time to fix 'em (university exam tomorrow) and i'll be offline for several days.
Expect fix in a week or so.
Sorry for delay %)

_________________
Life is eternal. Lifetime is ephemeral.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 7:11 am 
Offline
User avatar

Joined: Fri Dec 14, 2007 5:09 pm
Posts: 94
MagiNinjA wrote:
And the request is for a GM script that can remove the chips and clock pictures from said navigation bar.


Should be as simple as

Code:
if (document.location.pathname == "/nav.php") {
     var images = document.getElementsByTagName('img');
     for (var i = 0; i < images.length; i++) {
          images[i].parentNode.removeChild(images[i]);
     }
}


but I'm at work, so I'm not able to test it.

_________________
Pupper er poesi!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 11:53 am 
Offline

Joined: Thu May 08, 2008 1:22 pm
Posts: 32
OK all,

I've made the requested changes to the nav script. There is now another account options section for compression options. This section allows you to hide extra lines (right now, hides/shows one line after each HP/PP bar). It also allows you to show/hide the Chips/Time images.

http://computertrinkets.googlepages.com/TH_NavScreenScriptCollection.user.js

I've also made a change to the continuous attack script. This adds a "Auto Max" button. Clicking this will automatically enter your max turns, and then start the auto attack. This will also automatically adventure again if you're on the battle victory screen.

http://computertrinkets.googlepages.com/TH_ContinuousAttack.user.js

Edit: To Bamse: You were close, but as you remove an image, you must decrement the i variable in the count, as all images in the array shift up once you've removed one.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 2:07 pm 
Offline
User avatar

Joined: Fri Dec 14, 2007 5:09 pm
Posts: 94
Chathzzar wrote:
Edit: To Bamse: You were close, but as you remove an image, you must decrement the i variable in the count, as all images in the array shift up once you've removed one.

Yeah, I don't know what I was thinking. :oops: I hope my boss doesn't visit these forums. Come to think of it, the easiest solution would probably be
Code:
while (images[0]) {
     images[0].parentNode.removeChild(images[0]);
}

or a for-loop from the end of the array.

_________________
Pupper er poesi!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 5:58 pm 
Offline
User avatar

Joined: Thu Sep 06, 2007 10:56 pm
Posts: 1466
Location: Berkeley when at school, San Diego when at home
Chathzzar wrote:
I've made the requested changes to the nav script. There is now another account options section for compression options. This section allows you to hide extra lines (right now, hides/shows one line after each HP/PP bar). It also allows you to show/hide the Chips/Time images.


This is going to sound gay, but I love you.

Chathzzar wrote:
I've also made a change to the continuous attack script. This adds a "Auto Max" button. Clicking this will automatically enter your max turns, and then start the auto attack. This will also automatically adventure again if you're on the battle victory screen.


Woot!

bamse wrote:
I hope my boss doesn't visit these forums.


O.o

Your boss knows? Hehe.

_________________
Image
Vote for TH on global rankings!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 10:06 pm 
Offline
User avatar

Joined: Fri Dec 14, 2007 5:09 pm
Posts: 94
MagiNinjA wrote:
bamse wrote:
I hope my boss doesn't visit these forums.

O.o
Your boss knows? Hehe.

Sort of got my latest job because I play TH and KoL. :wink:

_________________
Pupper er poesi!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 24, 2008 9:09 am 
Offline

Joined: Thu May 08, 2008 1:22 pm
Posts: 32
bamse wrote:
MagiNinjA wrote:
bamse wrote:
I hope my boss doesn't visit these forums.

O.o
Your boss knows? Hehe.

Sort of got my latest job because I play TH and KoL. :wink:


Well... That's a pretty sweet gig :D


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 27, 2008 3:33 am 
Offline
User avatar

Joined: Thu Sep 06, 2007 10:56 pm
Posts: 1466
Location: Berkeley when at school, San Diego when at home
Oh wow, that's sweet!

Hmm, Continuous Attack doesn't like to keep the position I move it to, including when I Update Settings.

_________________
Image
Vote for TH on global rankings!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 27, 2008 6:34 am 
Offline
Site Admin
User avatar

Joined: Thu Apr 05, 2007 2:04 pm
Posts: 4192
bamse wrote:
Sort of got my latest job because I play TH and KoL. :wink:


Wait, what? How's this work?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 27, 2008 3:39 pm 
Offline
User avatar

Joined: Fri Dec 14, 2007 5:09 pm
Posts: 94
Ryme wrote:
bamse wrote:
Sort of got my latest job because I play TH and KoL. :wink:


Wait, what? How's this work?


I'm mainly developing analyzis tools in perl for a search engine. I've studied math and computer sciences among other things, and have papers on education in java, python and a little sml and c. Perl, however, I learned on my own when I started making bots for KoL and TH.
In my very short e-mail application for the job, I just wrote that I make bots for online games and forums using perl and that I have experience with mysql, oracle and javascript, since that seemed most relevant for the job. I got called in for an interview five minutes later, and after a week and a half I was enjoying plentiful coffee breaks in my new job.

~The End~

_________________
Pupper er poesi!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 27, 2008 7:43 pm 
Offline
Site Admin
User avatar

Joined: Thu Apr 05, 2007 2:04 pm
Posts: 4192
Ah, nice. Congrats! Glad I could provide the opportunity for some resume building.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 03, 2008 1:12 pm 
Offline

Joined: Thu May 08, 2008 1:22 pm
Posts: 32
Change has been made to the continuous attack script. It will now remember the last position of the options panel.


Top
 Profile  
 
 Post subject: a thought
PostPosted: Mon Jul 07, 2008 10:46 pm 
Offline

Joined: Thu Nov 15, 2007 2:15 am
Posts: 32
It would be nice to have a little addition to the auto attack script.
the ability to recognize part of this statement
"Your opponent is damaged by your fierce defenses, and takes 54 damage. Your opponent appears to be in pretty bad shape. It pulls back before your defenses cause it critical damage." and attacks with a skill instead of a normal attack. (gadgeteers would be helped out the most by this) its just a thought, also have the ability to choose what skill is used.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 07, 2008 11:05 pm 
Offline
User avatar

Joined: Sun Apr 08, 2007 1:01 am
Posts: 4230
Location: the Conservatory with the lead pipe
Or even an autoabort. I usually try to sneak in an electric net, but it doesn't always work.

_________________
Image
The churches are empty / The priest has gone home / And we are left standing / Together alone
--October Project: "Dark Time"


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 09, 2008 5:51 pm 
Offline

Joined: Thu May 08, 2008 1:22 pm
Posts: 32
The "Stop!" button is supposed to stop on the spot, but the issue is that sometimes the screen starts reloading before you can click it properly. That is why I included the "Pause before action" checkbox. This will provide a slight pause before continuing on to the next attack, allowing you more time to hit the stop button if you wish.

If need be, I can increase the pause length when that checkbox is activated.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 13, 2008 1:23 pm 
Offline
User avatar

Joined: Fri Dec 14, 2007 5:09 pm
Posts: 94
I updated the recipes script a bit. Potions and talismans are placed at the bottom of the menu so that it will be easier to find them.

http://www.nilsbakken.com/pfe/THRecipes.user.js

EDIT: I noticed there were a couple of errors in this script. They should be fixed now.

EDIT: Added another few recipes to the script (2008-08-19). Not sure if that's all of them though.

_________________
Pupper er poesi!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2008 4:39 pm 
Offline
User avatar

Joined: Fri Nov 02, 2007 7:54 pm
Posts: 517
Location: Where I could swear I left the universe last...
How about a GM script that creates a button that autosells all but one of all the Cube items? That would be awesome.

_________________
TheK3vin- #325

http://soundcloud.com/thek3vin


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2008 7:44 pm 
Offline
User avatar

Joined: Thu Sep 06, 2007 10:56 pm
Posts: 1466
Location: Berkeley when at school, San Diego when at home
TheK3vin wrote:
How about a GM script that creates a button that autosells all but one of all the Cube items? That would be awesome.


Even more so, a revamp of the autosell interface.

_________________
Image
Vote for TH on global rankings!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 08, 2008 10:59 am 
Offline

Joined: Thu May 08, 2008 1:22 pm
Posts: 32
I did up a quick script for selling Cube Theater items. It can be found at:
http://computertrinkets.googlepages.com/th_sellcubeitems.user.js


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 08, 2008 4:10 pm 
Offline
User avatar

Joined: Fri Nov 02, 2007 7:54 pm
Posts: 517
Location: Where I could swear I left the universe last...
Awesome, thanks :D

_________________
TheK3vin- #325

http://soundcloud.com/thek3vin


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 08, 2008 4:24 pm 
Offline

Joined: Sat Dec 29, 2007 12:42 am
Posts: 548
Chathzzar wrote:
I did up a quick script for selling Cube Theater items. It can be found at:
http://computertrinkets.googlepages.com/th_sellcubeitems.user.js


Best part is that it's written well enough that it can be modified to fit other zones.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 08, 2008 5:43 pm 
Offline
User avatar

Joined: Sun Apr 08, 2007 1:01 am
Posts: 4230
Location: the Conservatory with the lead pipe
That... works really well.

Also, being able to click "cancel" lets me unselect items I don't want to sell. Cool.

_________________
Image
The churches are empty / The priest has gone home / And we are left standing / Together alone
--October Project: "Dark Time"


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2008 3:40 am 
Offline
User avatar

Joined: Mon Jun 02, 2008 11:28 am
Posts: 119
Chathzzar I love you and want to have your babies, that little script is great! I could never remember to get round to selling my cube stuff, so this made me happy: "... for a total profit of 72745 chips."


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2008 7:21 pm 
Offline
User avatar

Joined: Tue Nov 06, 2007 7:52 pm
Posts: 132
Location: pennsylvania, sucka
The cube auto-sell script is spectacular.

Except I just accidentally sold all of my sleeping draughts...

_________________
League of Zeroes: We Rule


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2008 8:33 pm 
Offline
User avatar

Joined: Sun Apr 08, 2007 1:01 am
Posts: 4230
Location: the Conservatory with the lead pipe
For the future, the script is pretty easy to edit, even if you don't know anything about scripting. Just going down to where there's a list of all the Cube items and deleting (or adding) at will should work. Just stick with the format.

_________________
Image
The churches are empty / The priest has gone home / And we are left standing / Together alone
--October Project: "Dark Time"


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 353 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group