Welcome Guest ( Log In | Register )

291 Pages V < 1 2 3 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Apr 21 2012, 07:45
Post #8
LangTuTaiHoa



Because a creative title is too mainstream
*******
Group: Banned
Posts: 1,792
Joined: 8-June 10
Level 265 (Godslayer)


So here it is: Karma notifier 1.0. Use like any other script. It will need to see your karma 'not full' once to start working, so if your karma bar is already full when you install this, you won't see the alert right away.
Download (remove .txt extension afterwards):
Attached File  KNotifier.js.txt ( 1.34k ) Number of downloads: 800


Important: open the script and edit the 3 first variables: your username, the text you want for the alert, and how many times it should keep alerting you about each time the karma bar is full (normally 1 for once).

This post has been edited by LangTuTaiHoa: Apr 21 2012, 07:46
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 15:17
Post #9
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


Attached File  itemmenu.user.zip ( 1.51k ) Number of downloads: 547

Adds a middle-click [i1194.photobucket.com] menu to equipment with some shortcuts.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 17:27
Post #10
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


Can we post script requests here too? I wonder if somebody can write a script which can show how much time passed from the last monster check. Time counter can be triggered when you open any monster's personal page. Something like this:

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/11a731f73c.jpg)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 17:38
Post #11
varst



Peerless perverted long-hair-con of the Hentaiverse
***********
Group: Gold Star Club
Posts: 11,561
Joined: 30-March 10
Level 478 (Godslayer)


Probably so, if those requests are reasonable (IMG:[invalid] style_emoticons/default/smile.gif)

I would make a request list/ available script list if there's a need.

This post has been edited by varst: Apr 21 2012, 17:38
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 17:48
Post #12
LangTuTaiHoa



Because a creative title is too mainstream
*******
Group: Banned
Posts: 1,792
Joined: 8-June 10
Level 265 (Godslayer)


QUOTE(Evil Scorpio @ Apr 21 2012, 22:27) *

Can we post script requests here too? I wonder if somebody can write a script which can show how much time passed from the last monster check. Time counter can be triggered when you open any monster's personal page. Something like this:

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/11a731f73c.jpg)


Sounds useful. I'm on it. Shouldn't be too different from the random encounter countdown one. Too bad the image didn't load for me, so I'm doing it my style (IMG:[invalid] style_emoticons/default/tongue.gif)

QUOTE(varst @ Apr 21 2012, 22:38) *

Probably so, if those requests are reasonable (IMG:[invalid] style_emoticons/default/smile.gif)

I would make a request list/ available script list if there's a need.


You can include a list of scripts already in this topic to the first post, or add them to wiki (IMG:[invalid] style_emoticons/default/tongue.gif)

This post has been edited by LangTuTaiHoa: Apr 21 2012, 17:49
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 18:49
Post #13
LangTuTaiHoa



Because a creative title is too mainstream
*******
Group: Banned
Posts: 1,792
Joined: 8-June 10
Level 265 (Godslayer)


QUOTE(Evil Scorpio @ Apr 21 2012, 22:27) *

Can we post script requests here too? I wonder if somebody can write a script which can show how much time passed from the last monster check. Time counter can be triggered when you open any monster's personal page. Something like this:

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/11a731f73c.jpg)


Done. Enjoy (IMG:[invalid] style_emoticons/default/rolleyes.gif)
Result:

Attached Image

You have to check each monster once for its timer to start. Hopefully this can persist throughout many days (can't test that yet).
Download: Attached File  monsterlab.zip ( 889bytes ) Number of downloads: 833


Download the new version here instead


This post has been edited by LangTuTaiHoa: Apr 21 2012, 20:19
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 19:21
Post #14
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE(LangTuTaiHoa @ Apr 21 2012, 20:49) *
Done. Enjoy (IMG:[invalid] style_emoticons/default/rolleyes.gif)

Doesn't work in Chrome for some reason. (IMG:[invalid] style_emoticons/default/sad.gif) It just opens as text. (IMG:[invalid] style_emoticons/default/unsure.gif) I've made some checking... Maybe it'll help.

Windows Script Host:
line: 10
symbol: 1
error: 'location' - no definition
code: 800A1391

Java Script Lint:
1 // ==UserScript==
2 // @name Monster lab timer
3 // @namespace http://hentaiverse.org
4 // @version 1.0
5 // @description Displays the last time each monster has been checked
6 // @match http://hentaiverse.org/?s=Bazaar&ss=ml*
7 // @copyright 2012+, You
8 // ==/UserScript==
9
10 if(location.href.indexOf('http://hentaiverse.org/?s=Bazaar&ss=ml&slot=') != -1)
11 {
12 var i = parseInt(location.href.substring(44, location.href.length));
======================================================================^
lint warning: parseInt missing radix parameter

13 localStorage.setItem('monster' + i + 'checktime', Date.now());
14 }
15 else
16 {
17 var monsters = document.getElementsByClassName('ms msa');
18 for(var i = 0; i < monsters.length; ++i)
============^
warning: redeclaration of var i

19 {
20 if(localStorage.getItem('monster' + (i + 1) + 'checktime') != null)
==========================================================================^
lint warning: comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)

21 {
22 var div = document.createElement("div");
23 div.style.cssText = "position:absolute; left:450px; width: 200px; padding-top: 7px; padding-right: 0px; padding-bottom: 0px; padding-left: 20px;font-weight:bold;display:block; ";
24 var time = Math.round(((Date.now() - localStorage.getItem('monster' + (i + 1) + 'checktime')) / 1000));
25 var hour = Math.floor(time / 3600);
26 var minute = Math.floor((time - hour * 3600) / 60);
27 if(minute < 10)
28 minute = '0' + minute.toString();
================^
lint warning: block statement without curly braces

29 var second = (time - hour * 3600) - (minute * 60);
30 if(second < 10)
31 second = '0' + second.toString();
================^
lint warning: block statement without curly braces

32 var display = hour + ':' + minute + ':' + second;
33 //var display = ' ' + hour.toString() + ':' + minute < 10 ? '0' + minute.toString() : minute.toString() + ':' + second < 10 ? '0' + second.toString() : second.toString();
34 div.innerText = 'Time since last check: ' + display;
35 monsters[i].appendChild(div);
36 }
37 }
38 }

This post has been edited by Evil Scorpio: Apr 21 2012, 19:23
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 19:38
Post #15
LangTuTaiHoa



Because a creative title is too mainstream
*******
Group: Banned
Posts: 1,792
Joined: 8-June 10
Level 265 (Godslayer)


QUOTE(Evil Scorpio @ Apr 22 2012, 00:21) *

Doesn't work in Chrome for some reason. (IMG:[invalid] style_emoticons/default/sad.gif) It just opens as text. (IMG:[invalid] style_emoticons/default/unsure.gif) I've made some checking... Maybe it'll help.


Don't use it directly as a chrome extension. Install Tampermonkey from chrome webstore first, then add the script inside tampermonkey (IMG:[invalid] style_emoticons/default/happy.gif) (new script -> copy-paste the content -> save)

This post has been edited by LangTuTaiHoa: Apr 21 2012, 19:38
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 19:46
Post #16
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE(LangTuTaiHoa @ Apr 21 2012, 21:38) *

Don't use it directly as a chrome extension. Install Tampermonkey from chrome webstore first, then add the script inside tampermonkey (IMG:[invalid] style_emoticons/default/happy.gif) (new script -> copy-paste the content -> save)

Yay, it works now. But there is a problem if you have more than 17 monsters:

(IMG:[i2.lulzimg.com] http://i2.lulzimg.com/e23c2f6760.jpg)

This post has been edited by Evil Scorpio: Apr 21 2012, 20:02
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 19:51
Post #17
rkinasz



Regular Poster
*****
Group: Members
Posts: 501
Joined: 8-March 12
Level 246 (Godslayer)


Since I can't edit my above post anymore, HV Keybinds will stay up to date here. Someone PM'd me earlier about the version posted in this thread. =/


Also I just wrote a quick script to resize the ability page to remove the inner scroll bars. Page is now less annoying. The only problem is if you are in the popup HV (from main page/random encounter) in firefox, it won't let the script re-enable the window scroll bars (for me atleast), but that works fine in chrome. I just navigate to HV manually.

Attached File  HVAbilityScreenResize.user.js.zip ( 529bytes ) Number of downloads: 957

or

[clucksoft.com] Download
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 19:54
Post #18
LangTuTaiHoa



Because a creative title is too mainstream
*******
Group: Banned
Posts: 1,792
Joined: 8-June 10
Level 265 (Godslayer)


QUOTE(Evil Scorpio @ Apr 22 2012, 00:46) *

Yay, it works now. But there is a problem if you have more than 17 monsters:

[attachembed=13627]


Strange, can you give me the source code of your monster list page? And since I only have 10 monsters, I don't know what will happen if the monsters number become too many: they will be separated by pages (click to go to another page) or just a long scrolling list like arenas?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 19:57
Post #19
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE(LangTuTaiHoa @ Apr 21 2012, 21:54) *
Strange, can you give me the source code of your monster list page? And since I only have 10 monsters, I don't know what will happen if the monsters number become too many: they will be separated by pages (click to go to another page) or just a long scrolling list like arenas?

Scrolling.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 19:59
Post #20
LangTuTaiHoa



Because a creative title is too mainstream
*******
Group: Banned
Posts: 1,792
Joined: 8-June 10
Level 265 (Godslayer)


QUOTE(Evil Scorpio @ Apr 22 2012, 00:57) *

Scrolling.


I got the problem now. Working on it.

Fixed version: Download: Attached File  monsterlab1.1.zip ( 861bytes ) Number of downloads: 652


EDIT: THERE CAN BE A PROBLEM IN DISPLAYING WHEN THE HOURS EXCEED 10. IF THAT HAPPENS TO YOU, USE THIS UPDATED VERSION: Attached File  monsterlab1.2.zip ( 908bytes ) Number of downloads: 641



A little less eye-candy, but should work with long list now (IMG:[invalid] style_emoticons/default/rolleyes.gif)

Attached Image

This post has been edited by LangTuTaiHoa: Apr 22 2012, 15:26
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 20:23
Post #21
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE(LangTuTaiHoa @ Apr 21 2012, 21:59) *
I got the problem now. Working on it.

Fixed version: Download: Attached File  monsterlab1.1.zip ( 861bytes ) Number of downloads: 652


A little less eye-candy, but should work with long list now (IMG:[invalid] style_emoticons/default/rolleyes.gif)

I've tried it. Works perfectly now. (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 22 2012, 15:30
Post #22
LangTuTaiHoa



Because a creative title is too mainstream
*******
Group: Banned
Posts: 1,792
Joined: 8-June 10
Level 265 (Godslayer)


QUOTE(Evil Scorpio @ Apr 22 2012, 01:23) *

I've tried it. Works perfectly now. (IMG:[invalid] style_emoticons/default/biggrin.gif)


Glad you liked it. Fixed a potential bug in that post (IMG:[invalid] style_emoticons/default/tongue.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 22 2012, 20:16
Post #23
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


Attached File  monsterlab.user.zip ( 1.76k ) Number of downloads: 458

This is one I had for quite some time but only got around to rewriting decently now.
It adds some features to Monster Lab such as monster sorting, wins/kills since last check and a thing with crystals I can't be arsed to explain.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 22 2012, 23:08
Post #24
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE((Cheater) Tiap @ Apr 22 2012, 22:16) *

Attached File  monsterlab.user.zip ( 1.76k ) Number of downloads: 458

This is one I had for quite some time but only got around to rewriting decently now.
It adds some features to Monster Lab such as monster sorting, wins/kills since last check and a thing with crystals I can't be arsed to explain.

I've tried it, and it's great. (IMG:[invalid] style_emoticons/default/biggrin.gif) But...how is the monster sorting works? I don't see any "arrows" and stuff. (IMG:[invalid] style_emoticons/default/unsure.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 22 2012, 23:39
Post #25
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


Drag and drop
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 22 2012, 23:52
Post #26
Evil Scorpio



● Public Enemy ●
*********
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10
Level 444 (Godslayer)


QUOTE((Cheater) Tiap @ Apr 23 2012, 01:39) *
Drag and drop

Whoa, I definitely didn't expect that... (IMG:[invalid] style_emoticons/default/blink.gif) Cool. (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 23 2012, 00:58
Post #27
Raidy



Lightning Warrior
***********
Group: Members
Posts: 12,814
Joined: 8-July 08
Level 265 (Godslayer)


QUOTE((Cheater) Tiap @ Apr 23 2012, 04:16) *

Attached File  monsterlab.user.zip ( 1.76k ) Number of downloads: 458

This is one I had for quite some time but only got around to rewriting decently now.
It adds some features to Monster Lab such as monster sorting, wins/kills since last check and a thing with crystals I can't be arsed to explain.


thanks, cool script (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V < 1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 19th July 2025 - 00:25