Welcome Guest ( Log In | Register )

291 Pages V « < 196 197 198 199 200 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Jun 23 2017, 22:30
Post #3941
Noni



Hataraku Noni-sama
***********
Group: Catgirl Camarilla
Posts: 12,948
Joined: 19-February 16
Level 500 (Ponyslayer)


QUOTE(sigo8 @ Jun 23 2017, 21:59) *

Altless Casting
An 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.
Attached File  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!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 23 2017, 22:37
Post #3942
Scremaz



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


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 23 2017, 22:45
Post #3943
Kadokura



Active Poster
*******
Group: Gold Star Club
Posts: 1,619
Joined: 28-September 10
Level 500 (Ponyslayer)


Ok, I'll join to this Mega Bounty. I offer the average income of 1 day.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 23 2017, 23:10
Post #3944
sickentide



sexromancer
*******
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 23 2017, 23:15
Post #3945
lazyNPC



├┬┴┬┴┤(・_├┬┴┬┴┤
********
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
Level 495 (Godslayer)


Ok guys, new version of my custom Shrine Filter for the new version of HV.
Here is it:
Attached File  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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 23 2017, 23:34
Post #3946
Sapo84



Deus lo vult
********
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
Level 500 (Ponyslayer)


QUOTE(sigo8 @ Jun 23 2017, 21:59) *


Reloader Shim
A 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
Attached File  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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 23 2017, 23:35
Post #3947
Null2Null



Active Poster
*******
Group: Gold Star Club
Posts: 1,199
Joined: 8-May 11
Level 500 (Ponyslayer)


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:
Attached File  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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 00:05
Post #3948
boulay



Noob
********
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
Level 500 (Godslayer)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 00:44
Post #3949
chjj30



🦘跳海魔女🧙王世坚🌊
***********
Group: Catgirl Camarilla
Posts: 10,858
Joined: 5-January 14
Level 500 (Ponyslayer)


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:
Attached File  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!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 01:12
Post #3950
pablo903



☆★☆★[̲̅$̲̅(̲̅999)̲̅$̲̅]★☆★☆
*******
Group: Gold Star Club
Posts: 1,132
Joined: 30-April 12
Level 500 (Dovahkiin)


Hello, the NoPopup script doesn't work anymore (IMG:[invalid] style_emoticons/default/ohmy.gif) , is there anyway to fix it?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 01:35
Post #3951
Greshnik



Regular Poster
*****
Group: Members
Posts: 669
Joined: 13-January 15
Level 456 (Dovahkiin)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 01:59
Post #3952
SidZBear



Regular Poster
*****
Group: Gold Star Club
Posts: 560
Joined: 31-May 16
Level 500 (Ponyslayer)


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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 02:23
Post #3953
RoadShoe



Press any key to continue... Where's the any key?
********
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15
Level 500 (Godslayer)


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.

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

 
post Jun 24 2017, 02:30
Post #3954
sickentide



sexromancer
*******
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
Level 500 (Ponyslayer)


the script that shows skill and spell cooldowns on the quickbar now works with 0.85. the other script in that post should be ready soon
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 03:17
Post #3955
manga522



Azarashi Samurai
*****
Group: Gold Star Club
Posts: 517
Joined: 2-January 17
Level 411 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 04:06
Post #3956
8055



Dormant Scanner
***
Group: Members
Posts: 224
Joined: 17-May 09
Level 390 (Dovahkiin)


NoPopup and Reloader are down as of 0.85

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

 
post Jun 24 2017, 04:17
Post #3957
SidZBear



Regular Poster
*****
Group: Gold Star Club
Posts: 560
Joined: 31-May 16
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 04:31
Post #3958
Muddybug



Casual Poster
****
Group: Gold Star Club
Posts: 463
Joined: 28-March 17
Level 498 (Godslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 04:39
Post #3959
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
Level 500 (Ponyslayer)


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 24 2017, 04:44
Post #3960
sickentide



sexromancer
*******
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
Level 500 (Ponyslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 196 197 198 199 200 > » 
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: 23rd January 2025 - 05:59