Loading. Please Wait...
|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Jun 23 2017, 22:30
|
Noni
Group: Catgirl Camarilla
Posts: 12,948
Joined: 19-February 16
|
QUOTE(sigo8 @ Jun 23 2017, 21:59) Altless CastingAn incomplete script I never finished. It's set up so that the number row cast spell (hence the name) and the number pad casts the spell in quick bar slot 5 (guess which slot I have imperil in). It's an ok-ish stop gap while CracklingCast is broken.
HV___Altless_Casting.1.user.js.zip ( 885bytes )
Number of downloads: 110 This fixes imperil for a bit. But casting the T3, T2 and T1 Cold spell is still very fiddly. Press number, then click monster. Instead of Click Spell, then press number. But thanks for the imperil fix!
|
|
|
|
|
|
Jun 23 2017, 22:37
|
Scremaz
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
|
hmmm... tomorrow i'll open a crowdfunding thread to discuss it. i have a few requests as well... but first i'd like to hear admin's answer on the bars matter. better an official solution than a script one
This post has been edited by Scremaz: Jun 23 2017, 22:41
|
|
|
Jun 23 2017, 22:45
|
Kadokura
Group: Gold Star Club
Posts: 1,619
Joined: 28-September 10
|
Ok, I'll join to this Mega Bounty. I offer the average income of 1 day.
|
|
|
|
|
|
Jun 23 2017, 23:10
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
at the monster lab, you exchange crystals and pills for materials. to maximise your returns, it is best to spend crystals only when none of the morale is wasted. here is a script that displays monster hunger and morale drain and the morale gained from each crystal upgrade CODE // ==UserScript== // @name HV Monster Lab Numbers // @namespace hvlabnumbers // @version 1.2 // @description Displays morale and hunger values in HV Monster Lab // @match *://*.hentaiverse.org/?s=Bazaar&ss=ml* // @grant none // ==/UserScript==
var barFontSize = 70, gainFontSize = 100, // set to match font
spent, style = document.createElement('style'), bars = document.querySelectorAll('img[src*="bar_"]'); style.innerHTML = '.spent { width: 0px; display: inline-block; position: absolute; left: 62px; top: 2px; }' + '.spent > div { background: #EDEBDF; border: 1px solid black; padding: 0 2px;' + 'display: inline-block; font-size: ' + barFontSize + '%; font-weight: bold; }' + '.gain { max-width: 0px; margin-top: 2px; position: absolute; font-size: ' + gainFontSize + '%; font-weight: bold; }'; document.head.appendChild(style);
for ( var i = 0; i < bars.length; i++ ) { spent = 24000 - bars[i].clientWidth * 200; var div = bars[i].parentNode.insertBefore(document.createElement('div'), bars[i].nextSibling); div.appendChild(document.createElement('div')).innerHTML = spent; div.className = 'spent'; }
var mcr = document.getElementsByClassName('mcr'); if ( mcr[0] ) { var upgrade = mcr[0].querySelectorAll('img[onclick*="do_crystal_upgrade"]'); for ( var i = 0; i < upgrade.length; i++ ) { var gain = 1000 * Math.round( 3 + ExtractNumber(upgrade[i].parentNode.nextSibling) * 0.5 ), td = upgrade[i].parentNode.parentNode.insertBefore(document.createElement('td'), upgrade[i].parentNode.nextSibling); td.innerHTML = gain; td.className = 'gain'; td.style.color = gain > spent ? 'grey' : 'black'; }} if ( mcr[1] ) { upgrade = mcr[1].querySelectorAll('img[onclick*="do_crystal_upgrade"]'); for ( var i = 0; i < upgrade.length; i++ ) { var gain = 2000 * Math.floor( 1 + ExtractNumber(upgrade[i].parentNode.nextSibling) * 0.1 ), td = upgrade[i].parentNode.parentNode.insertBefore(document.createElement('td'), upgrade[i].parentNode.nextSibling); td.innerHTML = gain; td.className = 'gain'; td.style.color = gain > spent ? 'grey' : 'black'; }}
function ExtractNumber(td) { if ( (number = td.innerHTML.match(/\+(\d+)/)) ) return number[1]; if ( (number = td.innerHTML.match(/"c4(\d)".+"c4(\d)"/)) ) return number[2] + number[1]; if ( (number = td.innerHTML.match(/"c4(\d)"/)) ) return number[1]; } This post has been edited by sickentide: Aug 5 2017, 19:14
|
|
|
|
|
|
Jun 23 2017, 23:15
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
Ok guys, new version of my custom Shrine Filter for the new version of HV. Here is it:
ShrineFilter_0.2.1.user.js.txt ( 5.37k )
Number of downloads: 89 Changelog: 0.1 - First Version 0.1.1 - BugFix 0.1.2 - Added mass select/deselect 0.1.3 - fixed Firefox undefined bug 0.2.1 - First Version for HV 0.85
|
|
|
|
|
|
Jun 23 2017, 23:34
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
QUOTE(sigo8 @ Jun 23 2017, 21:59) Reloader ShimA shim to emit Reloader events. Even with this most scripts are still broken because of the UI and URL changes, but this should help other people fix them
Reloader_Shim.1.user.js.zip ( 445bytes )
Number of downloads: 125 Nice idea. If one just want to hover attack with very basic hp protection (may or may not be allowed so use at your own risk) this is just a 10 minutes work. CODE // ==UserScript== // @name MouseMelee 0.85 // @namespace hentaiverse.org // @match *://*.hentaiverse.org/* // @grant none // ==/UserScript==
// ***THANKS*** // sickentide (HV No Popup) // sigo8 (Reloader Shim)
// SETTING var hideLog = true;
var log = document.querySelector('#textlog > tbody'); var paneCompletion = document.getElementById('pane_completion'); function reloadedEvent() { if(document.querySelector('#vbh img').width < 100) return; mpane = document.getElementById('pane_monster'); var m = mpane.getElementsByClassName("btm1");
for (var i = 0; i < m.length; i++) { if (m[i].hasAttribute('onclick')) { m[i].setAttribute('onmouseover', m[i].getAttribute('onclick')); } } } function roundEndEvent() { var btcp = document.getElementById('btcp'); if (btcp){ if(document.querySelector('img[src$="finishbattle.png"]')){ var endSheet = document.createElement('style'); endSheet.innerHTML = '#btcp {display: block !important}'; document.head.appendChild(endSheet); } else{ btcp.click(); } } }
function init() { if(!log) { return; } var obs = new MutationObserver(reloadedEvent); obs.observe(log, {childList: true});
var obs2 = new MutationObserver(roundEndEvent); obs2.observe(paneCompletion, {childList: true}); //this will also skip the finish popup
var sheet = document.createElement('style'); sheet.innerHTML = '#btcp {display: none}'; if(hideLog){ sheet.innerHTML += '#pane_log {display: none}'; } document.head.appendChild(sheet);
reloadedEvent(); } init();
(updated with a couple of useful bits, I think it mostly covers what I really need for 1H and I will probably not release further versions of this, since I'm sure more capable scripters are already @work, for me it's already enough to test a bit of 1H while waiting for what will happen) This post has been edited by Sapo84: Jun 24 2017, 15:24
|
|
|
|
|
|
Jun 23 2017, 23:35
|
Null2Null
Group: Gold Star Club
Posts: 1,199
Joined: 8-May 11
|
QUOTE(gianfrix94 @ Jun 24 2017, 05:15) Ok guys, new version of my custom Shrine Filter for the new version of HV. Here is it:
ShrineFilter_0.2.1.user.js.txt ( 5.37k )
Number of downloads: 89 Changelog: 0.1 - First Version 0.1.1 - BugFix 0.1.2 - Added mass select/deselect 0.1.3 - fixed Firefox undefined bug 0.2.1 - First Version for HV 0.85 nvm This post has been edited by cbn: Jun 23 2017, 23:37
|
|
|
|
|
|
Jun 24 2017, 00:05
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
|
broken userstyles, everywhere too (IMG:[ invalid] style_emoticons/default/cry.gif) I'll be working on restoring the themes as I look around in this new version. The ones that are broken: - HV Dark series (Dark, Lite, NoScript) - Halloweenverse - HV Deep Sea - Ecchiverse - The battle compact series (XY, 2.0) - HV Default Font Killer - The HV Stylize fix I made before The ones that still work: - Monster Letters to Numbers - HV Battle Unfocus (IMG:[ invalid] style_emoticons/default/wub.gif) yep, there's some work that must be done... (IMG:[ invalid] style_emoticons/default/faint.gif)
|
|
|
|
|
|
Jun 24 2017, 00:44
|
chjj30
Group: Catgirl Camarilla
Posts: 10,858
Joined: 5-January 14
|
QUOTE(gianfrix94 @ Jun 24 2017, 05:15) Ok guys, new version of my custom Shrine Filter for the new version of HV. Here is it:
ShrineFilter_0.2.1.user.js.txt ( 5.37k )
Number of downloads: 89 Changelog: 0.1 - First Version 0.1.1 - BugFix 0.1.2 - Added mass select/deselect 0.1.3 - fixed Firefox undefined bug 0.2.1 - First Version for HV 0.85 It's glad that Shrine Filter also have a Update!
|
|
|
|
|
|
|
|
|
Jun 24 2017, 01:35
|
Greshnik
Group: Members
Posts: 669
Joined: 13-January 15
|
QUOTE(boulay @ Jun 24 2017, 05:05) broken userstyles, everywhere too (IMG:[ invalid] style_emoticons/default/cry.gif) I'll be working on restoring the themes as I look around in this new version. The ones that are broken: - HV Dark series (Dark, Lite, NoScript) - Halloweenverse - HV Deep Sea - Ecchiverse - The battle compact series (XY, 2.0) - HV Default Font Killer - The HV Stylize fix I made before The ones that still work: - Monster Letters to Numbers - HV Battle Unfocus (IMG:[ invalid] style_emoticons/default/wub.gif) yep, there's some work that must be done... (IMG:[ invalid] style_emoticons/default/faint.gif) glad that you still here to repair the HV Dark style... (IMG:[ invalid] style_emoticons/default/smile.gif) may I request to make the health bar like before??? because the great admin has already said this... (IMG:[ invalid] style_emoticons/default/mellow.gif) QUOTE(Tenboro @ Jun 24 2017, 05:10) QUOTE rabble rabble center health bar rabble #vbh>div{text-align:left !important} Place in Stylish or whatever. FTFY. hope at least there's a numerical display for HP bar and a clearer distinction whenever SoL is on or off... dark green and green are too hard to distinguished for me... (IMG:[ invalid] style_emoticons/default/sad.gif)
|
|
|
|
|
|
Jun 24 2017, 01:59
|
SidZBear
Group: Gold Star Club
Posts: 560
Joined: 31-May 16
|
QUOTE(DJNoni @ Jun 23 2017, 13:30) This fixes imperil for a bit. But casting the T3, T2 and T1 Cold spell is still very fiddly. Press number, then click monster. Instead of Click Spell, then press number.
But thanks for the imperil fix!
Taking advantage of the lack of working scripts to get my holy mage proficiency built up... so I guess that is something, right?
|
|
|
Jun 24 2017, 02:23
|
RoadShoe
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15
|
QUOTE(Scremaz @ Jun 23 2017, 13:37) hmmm... tomorrow i'll open a crowdfunding thread to discuss it. i have a few requests as well... but first i'd like to hear admin's answer on the bars matter. better an official solution than a script one
I'm in for 10m when you get it open. Also HV_ItembarEx by tatarime HV_ItembarEx, HV-Scanner, reloader, track drops, and track drops in battle are my main stays.
|
|
|
Jun 24 2017, 03:17
|
manga522
Group: Gold Star Club
Posts: 517
Joined: 2-January 17
|
no function with 0.85
i would like to make donation
HV Deep Sea
RiddleLimiter Plus
HV - Inline Difficulty Changer
HV - Ignore Flicker
HV_ItembarEx2
HV STAT Slim Mod #Reloader
Reloader
|
|
|
Jun 24 2017, 04:06
|
8055
Group: Members
Posts: 224
Joined: 17-May 09
|
NoPopup and Reloader are down as of 0.85
|
|
|
Jun 24 2017, 04:17
|
SidZBear
Group: Gold Star Club
Posts: 560
Joined: 31-May 16
|
QUOTE(8055 @ Jun 23 2017, 19:06) NoPopup and Reloader are down as of 0.85
I think we have a whopping single script still working, one of the countdown timers, and whatever the coders in our midst have cobbled together in the last 8hrs to restore some basic function
|
|
|
Jun 24 2017, 04:31
|
Muddybug
Group: Gold Star Club
Posts: 463
Joined: 28-March 17
|
QUOTE(SidZBear @ Jun 23 2017, 22:17) I think we have a whopping single script still working, one of the countdown timers, and whatever the coders in our midst have cobbled together in the last 8hrs to restore some basic function
Anything that parses a user interface (think expect scripts) is really darned fragile.
|
|
|
Jun 24 2017, 04:39
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
|
QUOTE(Sapo84 @ Jun 23 2017, 23:34) snip
Good stuff. The only flaw is that it doesn't go on (on the same target of course) if you don't move at all.
|
|
|
|
|
|
Jun 24 2017, 04:44
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
no popup has been requested so here goes CODE // ==UserScript== // @name HV No Popup // @namespace hvnopop // @version 1.0 // @description Dismisses the popup at round end // @match *://*.hentaiverse.org/* // @grant none // ==/UserScript==
var stopAtBattleEnd = true, stopOnEquipDrop = true;
if ( !(log = document.getElementById('textlog').firstChild) ) return;
function Nopop() { if ( (advance = document.getElementById('btcp')) && (!stopAtBattleEnd || !document.querySelector('img[src$="finishbattle.png"]')) && (!stopOnEquipDrop || !document.querySelector('span[style$="#FF0000"]')) ) advance.click(); }
var obs = new MutationObserver(Nopop); obs.observe(log, {childList: true}); This post has been edited by sickentide: Jun 24 2017, 04:54
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|
|
|