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 14 2012, 19:19
Post #1
varst



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


This is the thread dedicated to scripts specifically written for HV.

Wiki Link

Also, please note the following guideline (upd 2020-02-28):

QUOTE

Players are free to make new HV scripts for purposes such as making modifications and additions to the UI or changing key mappings and controls in general.

Any scripts used to automate or semi-automate gameplay beyond a single "action" is strictly forbidden. Offenders will be banned from HV.

e.g. Targeting and hitting active monsters is beyond a single action.


In particular, this means that are explicitly banned while on-battle:
  • Things that automate actions or combine multiple actions.
    - Hovering attacks are allowed as exception
  • Things that parse the game state in order to, in any way, trigger or selectively present an action
    -> example: a generic "use the potion that would fix my current threshold trigger" button would not be allowed.
  • Things that stop hover-attack (or any other action) based on specific condition. Hovering can restart automatically though.
    - Only exceptions allowed are stop on HP/MP/SP thresholds and stop on buffs expiring.
    -> example: default hotkeys cannot be excluded in case of low health
  • Things that indiscriminately allow the player to solve a condition without having to understand what he is solving.
  • Things that automatically select a monster to attack based on whatever condition.
    -> example: an automated series of attacks to multiple monsters one after the other; auto-attacking the first monster
  • Things that help the player to solve a riddle of the riddle master
while off-battle:
  • Things that allows player to collect benefits from HV without requiring an input from the player are forbidden.
    -> example: automatic scanning/buying items from the HV item shop and automatic buying of lottery tickets.
  • Things that act under multi-threading principle, since they will occur in some sitewide protections and most likely cause people to be tempbanned
If a function (or even worse, the whole script) cannot comply with these instructions, then it will have to be excluded from the script.

If you find a possibly troublesome script, feel free to report it to a mod or to ask one of the coders here to check it. Same applies if you see people who are actively spreading said stuff. Your cooperation will be appreciated.

This post has been edited by Scremaz: Feb 28 2020, 17:11
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 14 2012, 19:36
Post #2
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,287
Joined: 18-January 07
Level 500 (Ponyslayer)


list of spell IDs:

CODE
~ Innate skills ~
------------------------
Flee:               1001
Scan:               1011


~ Special skills ~
------------------------
FUS RO DAH:         1101
Orbital Fr. Cannon: 1111


~ Weapon skills ~
------------------------
NITEN
Skyward Sword:      2101

1H
Shield Bash:        2201     Vital Strike:       2202      Merciful Blow:      2203

2H
Great Cleave:       2301     Rending Blow:       2302      Shatter Strike:     2303

DW
Iris Strike:        2401     Backstab:           2402      Frenzied Blows:     2403

STAFF
Concussive Strike:  2501


~ Offensive spells ~
------------------------
FIRE
Fiery Blast:         111     Inferno:             112      Flames of Loki:      113

COLD
Freeze:              121     Blizzard:            122      Fimbulvetr:          123

ELEC
Shockblast:          131     Chained Lightning:   132      Wrath of Thor:       133

WIND
Gale:                141     Downburst:           142      Storms of Njord:     143

HOLY
Smite:               151     Banishment:          152      Paradise Lost:       153

DARK
Corruption:          161     Disintegrate:        162      Ragnarok:            163


~ Deprecating spells ~
------------------------
Drain:               211     Weaken:              212      Imperil:             213
Slow:                221     Sleep:               222      Confuse:             223
Blind:               231     Silence:             232      MagNet:              233


~ Curative spells ~
------------------------
Cure:                311     Regen:               312      Full-Cure:           313


~ Supportive spells ~
------------------------
Protection:          411     Haste:               412      Shadow Veil:         413
Absorb:              421     Spark of Life:       422      Spirit Shield:       423
Heartseeker:         431     Arcane Focus:        432


This post has been edited by Scremaz: Oct 30 2017, 22:52
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 14 2012, 19:54
Post #3
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,287
Joined: 18-January 07
Level 500 (Ponyslayer)


list of item slot IDs:

CODE
~ Restoratives ~
------------------------
Health Draught:    11191     Mana Draught:      11291      Spirit Draught:    11391
Health Potion:     11195     Mana Potion:       11295      Spirit Potion:     11395
Health Elixir:     11199     Mana Elixir:       11299      Spirit Elixir:     11399

Energy Drink:      11401
Last Elixir:       11501


~ Infusions ~
------------------------
Flames:            12101     Frost:             12201      Lightning:         12301
Storms:            12401     Divinity:          12501      Darkness:          12601


~ Scrolls ~
------------------------
Swiftness:         13101     Protection:        13111      Avatar:            13199
Absorption         13201     Shadows:           13211      Life:              13221
Gods:              13299


~ Special ~
------------------------
Flower Vase:       19111     Bubble-Gum:        19131


This post has been edited by Scremaz: Oct 17 2017, 19:05
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 14 2012, 21:31
Post #4
Death Grunty



デス★ランディ
********
Group: Gold Star Club
Posts: 2,787
Joined: 18-November 09
Level 369 (Dovahkiin)


Slightly unrelated, but there's also [userscripts.org] that.

And my personal slimmed down version of it. (Because some features seemed pointless to me.)
Attached File  hath_exchange.zip ( 2.38k ) Number of downloads: 804


-----------------------------------------

just for backup purposes:

QUOTE(hzqr @ Apr 14 2012, 19:36) *


This post has been edited by Scremaz: Oct 7 2017, 01:12
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 15 2012, 19:37
Post #5
rkinasz



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


This script is no longer available or relevant.

This post has been edited by rkinasz: Feb 10 2024, 23:16
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 04:58
Post #6
LangTuTaiHoa



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


I wrote a very small and simple script that notifies the forum user when the karma bar is full (I often miss this) to imbue someone. Should I post it here or elsewhere? Since this is not very related to HV, it's more of a forum script.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 21 2012, 07:33
Post #7
varst



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


You can post it here. If you post anywhere else it may still get the searching difficult over time.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
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: 762


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: 517

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: 811


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: 931

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: 621


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: 616



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


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

 


Lo-Fi Version Time is now: 26th April 2024 - 11:23