Loading. Please Wait...
|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Apr 14 2012, 19:19
|
varst
Group: Catgirl Camarilla
Posts: 11,561
Joined: 30-March 10
|
This is the thread dedicated to scripts specifically written for HV. Wiki LinkAlso, 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
--------------------
|
|
|
|
|
|
Apr 14 2012, 19:36
|
Scremaz
Group: Gold Star Club
Posts: 24,228
Joined: 18-January 07
|
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
|
|
|
|
|
|
Apr 14 2012, 19:54
|
Scremaz
Group: Gold Star Club
Posts: 24,228
Joined: 18-January 07
|
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
|
|
|
|
|
|
Apr 14 2012, 21:31
|
Death Grunty
Group: Gold Star Club
Posts: 2,787
Joined: 18-November 09
|
Slightly unrelated, but there's also [ userscripts.org] that. And my personal slimmed down version of it. (Because some features seemed pointless to me.)
hath_exchange.zip ( 2.38k )
Number of downloads: 486----------------------------------------- just for backup purposes: QUOTE(hzqr @ Apr 14 2012, 19:36) This post has been edited by Scremaz: Oct 7 2017, 01:12
--------------------
The internet is dark and full of boners.
|
|
|
|
|
|
Apr 15 2012, 19:37
|
rkinasz
Group: Members
Posts: 501
Joined: 8-March 12
|
I wrote a more customizable keybind script last night. It is for [ addons.mozilla.org] Greasemonkey. Hopefully you all will find it useful! Feel free to PM me about any problems. You can bind any spell or skill to a key or key combination (key + shift/ctrl/alt). You'll have to edit the script manually, but it's pretty easy. (Greasemonkey menu -> Manage User Scripts -> HV Keybinds -> Options -> Edit this user script) New bindings are added in the format: Bind(Type, KeyCode, SpellPosition, Modifier, Self); Types are Tactical, Skill, Offensive or Offense KeyCodes can be found [ www.cambiaresearch.com] here. SpellPosition is the position of the spell in the list, from top to bottom and left to right. Example below. Modifier is optional. Valid modifiers are: NoMod, Shift, Ctrl, Alt, CtrlShift, AltShift, CtrlAlt, CtrlAltShift Self is also optional. Can be used with or without modifier. Just put the word Self. This causes the keybind to activate twice to cast the spell on yourself. Here is an example of spell positions. Positions may change when you gain spells: Example bindings: Bind(Offensive, 77, 1); // Binds offensive spell 1 to M (key 77) Bind(Skill, 78, 2); // Binds Scan to N (key 78) Bind(Tactical, 83, 13, Shift, Self); // Binds tactical spell 13 to Shift S -- spark of life in my case, and casts on self Bind(Tactical, 84, 11, Self); // Binds 11th tactical spell to T and casts on self I recommend you comment each binding to keep track of what they are. Download:
hvkeybinds.zip ( 1.46k )
Number of downloads: 236Edit: I uploaded the same file [ clucksoft.com] here for an easier install. <- Version 1.0 Update:Version 1.1: [ clucksoft.com] Download Added: Self keyword to allow self-casted tactical spells to be cast without hitting the keybind twice. The script comes with Magic Missile bound to M. Change or remove it if you wish. Credit to (Cheater) Tiap ( K+). I am using a bit of his code from his skill hotkey script. I hope he doesn't mind. This post has been edited by pin101: Apr 15 2012, 20:41
|
|
|
|
|
|
Apr 21 2012, 04:58
|
LangTuTaiHoa
Group: Banned
Posts: 1,792
Joined: 8-June 10
|
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.
--------------------
|
|
|
Apr 21 2012, 07:33
|
varst
Group: Catgirl Camarilla
Posts: 11,561
Joined: 30-March 10
|
You can post it here. If you post anywhere else it may still get the searching difficult over time.
--------------------
|
|
|
|
|
|
Apr 21 2012, 07:45
|
LangTuTaiHoa
Group: Banned
Posts: 1,792
Joined: 8-June 10
|
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):
KNotifier.js.txt ( 1.34k )
Number of downloads: 415 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
--------------------
|
|
|
|
|
|
Apr 21 2012, 15:17
|
hzqr
Group: Gold Star Club
Posts: 4,671
Joined: 13-May 09
|
itemmenu.user.zip ( 1.51k )
Number of downloads: 244 Adds a middle-click [ i1194.photobucket.com] menu to equipment with some shortcuts.
|
|
|
Apr 21 2012, 17:27
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,557
Joined: 9-May 10
|
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:
--------------------
|
|
|
|
|
|
Apr 21 2012, 17:38
|
varst
Group: Catgirl Camarilla
Posts: 11,561
Joined: 30-March 10
|
Probably so, if those requests are reasonable 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
--------------------
|
|
|
|
|
|
Apr 21 2012, 17:48
|
LangTuTaiHoa
Group: Banned
Posts: 1,792
Joined: 8-June 10
|
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: 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 QUOTE(varst @ Apr 21 2012, 22:38) Probably so, if those requests are reasonable 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 This post has been edited by LangTuTaiHoa: Apr 21 2012, 17:49
--------------------
|
|
|
|
|
|
Apr 21 2012, 18:49
|
LangTuTaiHoa
Group: Banned
Posts: 1,792
Joined: 8-June 10
|
--------------------
|
|
|
|
|
|
Apr 21 2012, 19:21
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,557
Joined: 9-May 10
|
QUOTE(LangTuTaiHoa @ Apr 21 2012, 20:49) Done. Enjoy Doesn't work in Chrome for some reason. It just opens as text. 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 parameter13 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 i19 { 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 braces29 var second = (time - hour * 3600) - (minute * 60); 30 if(second < 10) 31 second = '0' + second.toString(); ================ ^ lint warning: block statement without curly braces32 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
--------------------
|
|
|
|
|
|
Apr 21 2012, 19:38
|
LangTuTaiHoa
Group: Banned
Posts: 1,792
Joined: 8-June 10
|
QUOTE(Evil Scorpio @ Apr 22 2012, 00:21) Doesn't work in Chrome for some reason. It just opens as text. 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 (new script -> copy-paste the content -> save) This post has been edited by LangTuTaiHoa: Apr 21 2012, 19:38
--------------------
|
|
|
|
|
|
Apr 21 2012, 19:46
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,557
Joined: 9-May 10
|
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 (new script -> copy-paste the content -> save) Yay, it works now. But there is a problem if you have more than 17 monsters: This post has been edited by Evil Scorpio: Apr 21 2012, 20:02
--------------------
|
|
|
|
|
|
Apr 21 2012, 19:51
|
rkinasz
Group: Members
Posts: 501
Joined: 8-March 12
|
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.
HVAbilityScreenResize.user.js.zip ( 529bytes )
Number of downloads: 652or [ clucksoft.com] Download
|
|
|
|
|
|
Apr 21 2012, 19:54
|
LangTuTaiHoa
Group: Banned
Posts: 1,792
Joined: 8-June 10
|
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?
--------------------
|
|
|
|
|
|
Apr 21 2012, 19:57
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,557
Joined: 9-May 10
|
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.
--------------------
|
|
|
|
|
|
Apr 21 2012, 19:59
|
LangTuTaiHoa
Group: Banned
Posts: 1,792
Joined: 8-June 10
|
QUOTE(Evil Scorpio @ Apr 22 2012, 00:57) Scrolling.
I got the problem now. Working on it. Fixed version: Download:
monsterlab1.1.zip ( 861bytes )
Number of downloads: 277EDIT: THERE CAN BE A PROBLEM IN DISPLAYING WHEN THE HOURS EXCEED 10. IF THAT HAPPENS TO YOU, USE THIS UPDATED VERSION:
monsterlab1.2.zip ( 908bytes )
Number of downloads: 256
A little less eye-candy, but should work with long list now This post has been edited by LangTuTaiHoa: Apr 22 2012, 15:26
--------------------
|
|
|
1 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
|
|
|
|
|
|
|