Welcome Guest ( Log In | Register )

291 Pages V « < 180 181 182 183 184 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Jan 29 2017, 16:19
Post #3621
lazyNPC



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


QUOTE(simrock87 @ Jan 29 2017, 14:50) *

Code error, both stackcounter and cooldown run twice with reloader enabled on initial page load.

//Edit:
Change
CODE
if (settings.use_reloader) {
    window.addEventListener('Reloader_reloaded', HV_Cooldown);
}

HV_Cooldown();

to
CODE
if (settings.use_reloader) {
    window.addEventListener('Reloader_reloaded', HV_Cooldown);
} else {
  HV_Cooldown();
}


I'll go fix everywhere this error is soon.
On chrome this error doesn't appear so i never noticed it, sorry.
EDIT: With the else on Chrome it doesn't work on the first turn, so i'm keeping it like it is now.

This post has been edited by gianfrix94: Jan 29 2017, 19:29
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 29 2017, 19:09
Post #3622
aznknightfire



HV Friend
****
Group: Gold Star Club
Posts: 474
Joined: 23-July 10
Level 500 (Ponyslayer)


Hi All,

Where can I find a script that shows my potions/draughts and how many I have on the same battle page?

Thanks,
Newbie

This post has been edited by erojh jioj: Jan 29 2017, 19:10
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 29 2017, 19:51
Post #3623
KitsuneAbby



Curse God of the Hentai Shrine
**********
Group: Catgirl Camarilla
Posts: 7,566
Joined: 12-July 14
Level 500 (Ponyslayer)


QUOTE(erojh jioj @ Jan 29 2017, 18:09) *

Hi All,

Where can I find a script that shows my potions/draughts and how many I have on the same battle page?

Thanks,
Newbie


How does one could ever not have enough potions?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 29 2017, 19:52
Post #3624
aznknightfire



HV Friend
****
Group: Gold Star Club
Posts: 474
Joined: 23-July 10
Level 500 (Ponyslayer)


Someone who's been away a long time (IMG:[invalid] style_emoticons/default/biggrin.gif)

Is there a script that just allows me to drink potions/draughts on the main battle page?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 29 2017, 19:56
Post #3625
trikon000



Blue Wizard is about to die. Nevermind, just killed him.
*******
Group: Gold Star Club
Posts: 1,126
Joined: 17-August 07
Level 500 (Ponyslayer)


QUOTE(erojh jioj @ Jan 29 2017, 12:52) *

Someone who's been away a long time (IMG:[invalid] style_emoticons/default/biggrin.gif)

Is there a script that just allows me to drink potions/draughts on the main battle page?

There is a Itembar script you can use.

https://forums.e-hentai.org/index.php?showt...p;#entry4544253
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 29 2017, 20:18
Post #3626
aznknightfire



HV Friend
****
Group: Gold Star Club
Posts: 474
Joined: 23-July 10
Level 500 (Ponyslayer)


What is this Reloader and CracklingCast I am reading about? Ideally, I'd like to know if my health goes below 25% to manually drink a health potion easily. I also saw a screenshot of someone who has arena/item world stats at the very end with credits, time taken, etc. What script is that?

Thanks again (IMG:[invalid] style_emoticons/default/biggrin.gif) Itembar worked!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 29 2017, 20:26
Post #3627
trikon000



Blue Wizard is about to die. Nevermind, just killed him.
*******
Group: Gold Star Club
Posts: 1,126
Joined: 17-August 07
Level 500 (Ponyslayer)


QUOTE(erojh jioj @ Jan 29 2017, 13:18) *

What is this Reloader and CracklingCast I am reading about? Ideally, I'd like to know if my health goes below 25% to manually drink a health potion easily. I also saw a screenshot of someone who has arena/item world stats at the very end with credits, time taken, etc. What script is that?

Thanks again (IMG:[invalid] style_emoticons/default/biggrin.gif) Itembar worked!

Reloader is to speed up the load times of the pages. Without reloader or a variant, the battle page can flicker and take a while to load. CracklingCast is for mages.

You can find most of the stuff off gianfrix94's sig
Reloader: https://forums.e-hentai.org/index.php?s=&am...t&p=4744151
HV Track Drop in Battle Mod: https://forums.e-hentai.org/index.php?s=&am...t&p=4736435

I think that was the track drops script you are looking for.

This post has been edited by trikon000: Jan 29 2017, 20:38
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 30 2017, 04:53
Post #3628
NerfThis



Active Poster
*******
Group: Catgirl Camarilla
Posts: 2,467
Joined: 3-February 14
Level 500 (Ponyslayer)


QUOTE(gianfrix94 @ Jan 29 2017, 23:19) *

I'll go fix everywhere this error is soon.
On chrome this error doesn't appear so i never noticed it, sorry.
EDIT: With the else on Chrome it doesn't work on the first turn, so i'm keeping it like it is now.


That's because of the userscript execution order.

- In case of execution order is HV_Cooldown -> Reloader.
HV_Cooldown: addEventListener('Reloader_reloaded', HV_Cooldown)
run HV_Cooldown()
Reloader: dispatch event Reloader_reloaded then triggered HV_Cooldown()

- In case of execution order is Reloader -> HV_Cooldown.
Reloader: dispatch event Reloader_reloaded, but event HV_Cooldown() does not yet exist.
HV_Cooldown: addEventListener('Reloader_reloaded', HV_Cooldown)
HV_Cooldown: run HV_Cooldown()


And about Chrome.
If you use tampermonkey, it will more happen.
And with or without tampermonkey it will more happen latest chrome than older chrome.

To avoid this issue, change to @run-at document-start with DOMContentLoaded and then use addEventListener or MutationObserver (like tatarime's scripts).

This issue only happen at begin of round (at page load).
If script is work at end of round like counter plus or script does not matter multiple runs at begin of round, no problem.

This post has been edited by NerfThis: Jan 30 2017, 05:14
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 30 2017, 10:03
Post #3629
lazyNPC



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


QUOTE(NerfThis @ Jan 30 2017, 03:53) *

...

Oh, so that's the reason, execution order, why didn't i think of it!
Thank you, i'll fix all up as soon as i can (IMG:[invalid] style_emoticons/default/smile.gif)

This post has been edited by gianfrix94: Jan 30 2017, 10:04
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 30 2017, 10:58
Post #3630
akuma101



Casual Poster
****
Group: Members
Posts: 319
Joined: 17-January 14
Level 381 (Godslayer)


wrong thread,

This post has been edited by akuma101: Jan 30 2017, 11:01
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 30 2017, 23:01
Post #3631
lazyNPC



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


Corrected the execution order bug in StackCounter and HV Cooldown, go get them (IMG:[invalid] style_emoticons/default/smile.gif)

This post has been edited by gianfrix94: Jan 30 2017, 23:02
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 31 2017, 00:06
Post #3632
Mini Aluminum



Active Poster
*******
Group: Gold Star Club
Posts: 1,243
Joined: 12-May 13
Level 500 (Ponyslayer)


QUOTE(gianfrix94 @ Jan 22 2017, 07:36) *

Hi guys, i fixed up the Countdown Timer for REs, now it works on the news page, and while i was at it i changed some colors, here is it:
Attached File  CountdownTimerRE.user.js.txt ( 8.63k ) Number of downloads: 761


This is a great help to everyone, I love you
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 31 2017, 00:36
Post #3633
cmos



神がかりの宝探し屋
*******
Group: Gold Star Club
Posts: 1,214
Joined: 17-March 10
Level 500 (Godslayer)


Is there a script that would tell you how much money you have wasted in the lotteries since a particular date?
More specifically it would be nice to know the number of grand prizes won and an average percent of tickets held when they were won, amount of used GLT, amount of different secondary prizes won, etc. Maybe even statistic about the equips, the numbers and types. It may help to estimate how many months/years you have to wait for another try if you fail to win something.
Well, if the rest is too complicated I'd be fine with just the total amount of GP wasted. (IMG:[invalid] style_emoticons/default/tongue.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 31 2017, 02:25
Post #3634
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,575
Joined: 27-November 13
Level 500 (Godslayer)


It wouldn't be hard

Identify the last lottery page
http://hentaiverse.org/?s=Bazaar&ss=lt&lottery=1235
getpage(1235)

getpage(i):
--regex match the \d+ in "You hold 0 of 8279"
--setTimeout(getpage(i - 1))


repeat for armor lottery, print results
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 31 2017, 05:05
Post #3635
edu5ardo



Casual Poster
***
Group: Members
Posts: 153
Joined: 6-October 11
Level 483 (Godslayer)


Someone could modify HV STAT Mod Slim #Reloader and add a turn divider or Create a new reloader-compatible script?

And it would be great to add color to battle log like the original hvstat

This post has been edited by edu5ardo: Jan 31 2017, 05:08
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 31 2017, 10:32
Post #3636
cmos



神がかりの宝探し屋
*******
Group: Gold Star Club
Posts: 1,214
Joined: 17-March 10
Level 500 (Godslayer)


QUOTE(Superlatanium @ Jan 31 2017, 03:25) *

It wouldn't be hard

It's hard because I don't know JS. (IMG:[invalid] style_emoticons/default/heh.gif) I'd be grateful if someone could write it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 31 2017, 11:51
Post #3637
Maximum_Carnage



There is only carnage !!!
******
Group: Gold Star Club
Posts: 792
Joined: 27-October 09
Level 500 (Ponyslayer)


QUOTE(sigo8 @ Jan 21 2017, 18:22) *

HV Random Encounter Notification 2.0.1
A huge update that I've been meaning to release but I've been too lazy to. (IMG:[invalid] style_emoticons/default/heh.gif)
I'd write a full change log but that's what I've been procrastinating the most on.

So I'll just list the most notable changes.
It now count encounters.
It can use [developer.mozilla.org] desktop notification so your browser will bug you about that the first time you load it. It will work fine without it so feel free to deny the permission.
And a lot of option have been moved to a settings block at the start for easy change.
CODE
var settings = {
  encounterURL: "https://e-hentai.org/news.php",
  showDuringBattle: true,
  openInNewTab: true,
  useNotifications: true,
  volumeMax: 1.0,
  volumeMid: 0.5,
};


Also a few different branches have been merged together (including the sound one).

Attached File  hvren.2.0.1.user.js.zip ( 3.31k ) Number of downloads: 509


For some reason the audio alert doesn't play when countdown reaches 'zero'.
When I click on volume button I can hear the sound so I don't have muted audio.
I use Firefox 51.0.1 Portable.

I checked Random Encounter Notification[1.4.1f + sound fix] and audio can be heard.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 31 2017, 15:35
Post #3638
arialinnoc



Rest time!! _(:з」∠)_
**********
Group: Gold Star Club
Posts: 7,704
Joined: 6-April 10
Level 500 (Newbie)


Is there any script to see OFC cooldown? (work on reloader and firefox)
There was one but it doesn't work anymore.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 31 2017, 15:55
Post #3639
lazyNPC



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


QUOTE(arialinnoc @ Jan 31 2017, 14:35) *

Is there any script to see OFC cooldown? (work on reloader and firefox)
There was one but it doesn't work anymore.

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

 
post Jan 31 2017, 15:55
Post #3640
Maximum_Carnage



There is only carnage !!!
******
Group: Gold Star Club
Posts: 792
Joined: 27-October 09
Level 500 (Ponyslayer)


So nobody has an idea why I have no audio alert on HV Random Encounter Notification?

This post has been edited by Dragon Ninja: Jan 31 2017, 15:57
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 180 181 182 183 184 > » 
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: 22nd January 2025 - 02:04