Loading. Please Wait...
|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Aug 20 2016, 15:40
|
Superlatanium
Group: Gold Star Club
Posts: 7,575
Joined: 27-November 13
|
QUOTE(DamienCash @ Aug 20 2016, 11:54) Reloader That's the issue. When you use Reloader, you usually break most all other scripts, including the Counter Plus Save that saves your rounds/stamina info. Reloader breaks most scripts because scripts generally initialize on browser page load, but reloader's AJAX communication isn't a page load. You can try something like this,see if it works: https://forums.e-hentai.org/index.php?s=&am...t&p=4444300
|
|
|
|
|
|
Aug 20 2016, 16:54
|
Fap.Fap
Group: Gold Star Club
Posts: 1,551
Joined: 19-October 11
|
QUOTE(Superlatanium @ Aug 20 2016, 15:40) That's the issue. When you use Reloader, you usually break most all other scripts, including the Counter Plus Save that saves your rounds/stamina info. Reloader breaks most scripts because scripts generally initialize on browser page load, but reloader's AJAX communication isn't a page load. You can try something like this,see if it works: https://forums.e-hentai.org/index.php?s=&am...t&p=4444300why not just Reloader 1.3.3b ? it has everything inside which he needs, the only thing I have activated now is Monsterlab Babysitter besides that
|
|
|
|
|
|
Aug 21 2016, 01:43
|
RoadShoe
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15
|
QUOTE(Superlatanium @ Aug 20 2016, 15:40) That's the issue. When you use Reloader, you usually break most all other scripts, including the Counter Plus Save that saves your rounds/stamina info. Reloader breaks most scripts because scripts generally initialize on browser page load, but reloader's AJAX communication isn't a page load. You can try something like this,see if it works: https://forums.e-hentai.org/index.php?s=&am...t&p=4444300That cleared up some mysteries on my side as well. Thanks! (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
|
|
|
Aug 21 2016, 21:11
|
nobody_xxx
Group: Gold Star Club
Posts: 13,753
Joined: 7-December 10
|
QUOTE(Superlatanium @ Aug 20 2016, 20:40) That's the issue. When you use Reloader, you usually break most all other scripts, including the Counter Plus Save that saves your rounds/stamina info. Reloader breaks most scripts because scripts generally initialize on browser page load, but reloader's AJAX communication isn't a page load. You can try something like this,see if it works: https://forums.e-hentai.org/index.php?s=&am...t&p=4444300now I know why my income summary number is kinda wierd (IMG:[ invalid] style_emoticons/default/laugh.gif)
|
|
|
|
|
|
Aug 22 2016, 00:34
|
DamienCash
Group: Gold Star Club
Posts: 241
Joined: 14-October 13
|
QUOTE(tatarime @ Apr 19 2016, 04:48) You had better to get latest version HV counter plus v3.6 + edit one point. Try to change: CODE window.addEventListener('DOMContentLoaded', function() { if (document.getElementById('togpane_log')) track.start(); else track.reset(); });
=> CODE window.addEventListener('DOMContentLoaded', function() { if (document.getElementById('togpane_log')) { track.start(); var mo = new MutationObserver(track.start); mo.observe(document.getElementById("monsterpane"), {childList: true}); } else track.reset(); });
Good luck. (IMG:[ invalid] style_emoticons/default/smile.gif) Unfortunately, I attempted this change to no effect. I have been using Battle Stats Ex as a placeholder to see how many items I use in a day, so I can at least get a rough idea of what a daily expense looks like.
|
|
|
|
|
|
Aug 22 2016, 00:51
|
NerfThis
Group: Catgirl Camarilla
Posts: 2,467
Joined: 3-February 14
|
QUOTE(DamienCash @ Aug 22 2016, 07:34) Unfortunately, I attempted this change to no effect. I have been using Battle Stats Ex as a placeholder to see how many items I use in a day, so I can at least get a rough idea of what a daily expense looks like.
Superlatanium's HV Counter plus save 1.2.1 does not have 'start' function (IMG:[ invalid] style_emoticons/default/heh.gif) use this [attachmentid=90678] CODE window.addEventListener('DOMContentLoaded', function() { if (document.getElementById('togpane_log')) { track(); var mo = new MutationObserver(track); mo.observe(document.getElementById("monsterpane"), {childList: true}); } else reset(); }); This post has been edited by hansvar92: Aug 22 2016, 00:53
|
|
|
|
|
|
Aug 22 2016, 05:17
|
DamienCash
Group: Gold Star Club
Posts: 241
Joined: 14-October 13
|
QUOTE(hansvar92 @ Aug 21 2016, 18:51) Superlatanium's HV Counter plus save 1.2.1 does not have 'start' function (IMG:[ invalid] style_emoticons/default/heh.gif) use this [attachmentid=90678] CODE window.addEventListener('DOMContentLoaded', function() { if (document.getElementById('togpane_log')) { track(); var mo = new MutationObserver(track); mo.observe(document.getElementById("monsterpane"), {childList: true}); } else reset(); }); ...in hindsight, I should have noticed that. But it does gloriously work now. Thank you very much.
|
|
|
|
|
|
Aug 24 2016, 02:35
|
DamienCash
Group: Gold Star Club
Posts: 241
Joined: 14-October 13
|
The Item Manager 1.5.0's Auto-Shriner is certainly very helpful, but I find it [ i.share.pho.to] somewhat difficult to parse through the results. I figure I might be able to insert a break or a newline character in the code, but I am not sure where. May I ask for some assistance again?
|
|
|
|
|
|
Aug 24 2016, 05:29
|
sigo8
Group: Gold Star Club
Posts: 3,440
Joined: 9-November 11
|
QUOTE(DamienCash @ Aug 23 2016, 18:35) The Item Manager 1.5.0's Auto-Shriner is certainly very helpful, but I find it [ i.share.pho.to] somewhat difficult to parse through the results. I figure I might be able to insert a break or a newline character in the code, but I am not sure where. May I ask for some assistance again? I looked though the code and they're already are newline but the browser is just collapsing them. You just need to use some CSS to prevent that. Add this line around line 78, after a similar line. CODE addCSSRule("td .fd2 { white-space: pre-line; }"); It mostly works, but there's a lots of extra newlines, and there could be other complications I haven't found.
|
|
|
|
|
|
Aug 25 2016, 00:05
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
Ok, worked a bit on Reloader's in the past weeks. I decided that just adding comments and touching here and there wasn't enough so I went full refactor mode and ended up with [ github.com] https://github.com/Sapo84/Reloader/blob/Ver...eloader.user.js (still very much in beta). I'm really pretty unsure about the naming used (Domain sounds super-dumb in a script) but at least I could remove the anonymous functions and the comments block. Posted here just to get some feedback on it.
|
|
|
|
|
|
Aug 25 2016, 10:07
|
ahmadindra20
Group: Gold Star Club
Posts: 175
Joined: 4-January 13
|
QUOTE(atashiyuki @ Jul 15 2016, 06:03) Wrote a script to prevent random encounter link from disapppearing after clicking it After your click , the text got changed so that you'll never forget whether you have triggered the random encounter or whether you have press "refresh" there is an option , you can choose to fight in alt.hentaiverse.org CODE // ==UserScript== // @name AlwaysShowRE // @namespace HVASRE // @author atashiyuki // @description Show Random Enconter link after clicking // @version 1 // @match http://e-hentai.org // @grant none // ==/UserScript==
//fight in alt.hentaiverse.org var alt=false;
if(document.getElementById('eventpane')!=null){ var content=document.getElementById('eventpane').children[1].children[0].onclick.toString().split("document.getElementById('eventpane').style.display='none';"); var formar=content[0].split("{")[1].split("hentaiverse."); if(alt){ document.getElementById('eventpane').children[1].children[0].onclick=Function("document.getElementById('eventpane').children[1].children[0].textContent='Clicked, Retry?';"+formar[0]+"alt.hentaiverse."+formar[1]+content[1].split("}")[0]); } else { document.getElementById('eventpane').children[1].children[0].onclick=Function("document.getElementById('eventpane').children[1].children[0].textContent='Clicked, Retry?';"+content[0].split("{")[1]+content[1].split("}")[0]); } }
nice script, could someone add line of script so that we can play random encounter battle in a new tab instead a new window of our browser? (IMG:[ invalid] style_emoticons/default/rolleyes.gif) as reference here is the script made by superlatanium to play RE in same window (but unfortunately I would like to play battle in alt.hentaiverse) https://forums.e-hentai.org/index.php?s=&am...t&p=4252859This post has been edited by ahmadindra20: Aug 25 2016, 10:24
|
|
|
|
|
|
Aug 25 2016, 11:12
|
ahmadindra20
Group: Gold Star Club
Posts: 175
Joined: 4-January 13
|
QUOTE(Sapo84 @ Aug 25 2016, 00:05) Ok, worked a bit on Reloader's in the past weeks. I decided that just adding comments and touching here and there wasn't enough so I went full refactor mode and ended up with [ github.com] https://github.com/Sapo84/Reloader/blob/Ver...eloader.user.js (still very much in beta). I'm really pretty unsure about the naming used (Domain sounds super-dumb in a script) but at least I could remove the anonymous functions and the comments block. Posted here just to get some feedback on it. I have tested it, and the result is very good, its very convenient to have right click function to cure/full cure and hover on gems to use them, nice (IMG:[ invalid] style_emoticons/default/biggrin.gif) . Is it possible to include left click funtion to use OFC? anyway well done pal (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
|
|
|
Aug 25 2016, 11:53
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
QUOTE(ahmadindra20 @ Aug 25 2016, 11:12) I have tested it, and the result is very good, its very convenient to have right click function to cure/full cure and hover on gems to use them, nice (IMG:[ invalid] style_emoticons/default/biggrin.gif) . Is it possible to include left click funtion to use OFC? anyway well done pal (IMG:[ invalid] style_emoticons/default/smile.gif) I don't think it's a good idea to add functions on left click, I'm sure it will create problems. I will probably add middle click function for those kind of actions (I also noticed after committing that I introduced a bug on right click function, it should work even during auto-attack, i placed Temp.rightClick = false in the wrong place, it should have been in the submit function). It's also planned to: - add the lists of spells and hardcode if they are support or not (so more flexibility) - hack potion support at least in heal rotation - highlight why the hover is stopped (I think hoverplay adds a color border) so you can immediately see if you're out of hp, mp or sp I'm trying to balance adding too much complexity (there's already crackling cast that does a good job if you really want complex configurations) with having at least a usable script for every combat style.
|
|
|
|
|
|
Aug 25 2016, 13:01
|
ahmadindra20
Group: Gold Star Club
Posts: 175
Joined: 4-January 13
|
yeah I know, the more simple the reloader is the more better it become, personally I dont use crackling cast for some reason, somehow thanks to crackling cast script, u manage to add spell rotation function in reloader, thats why I am really grateful pal (IMG:[ invalid] style_emoticons/default/smile.gif) And thats why I think the only left function is OFC, so it would be nice if it can be integrated on left click/middle click (but I prefer left click, its more easy and also my mouse middle click is broken hahaha... (IMG:[ invalid] style_emoticons/default/laugh.gif) ) btw I have already ask Dan31 to add function to cast OFC on left click when we click outside monster pane and to cast imperil on right click when we click in monster pane, but he has not answering my request yet because he rarely log in (when we talk via PM, he says he is rarely log in in this site anymore and when he is online, he only log in to feed his monsters (IMG:[ invalid] style_emoticons/default/smile.gif) ) (sorry for bad grammar (IMG:[ invalid] style_emoticons/default/biggrin.gif) )
|
|
|
|
|
|
Aug 25 2016, 15:55
|
Superlatanium
Group: Gold Star Club
Posts: 7,575
Joined: 27-November 13
|
QUOTE(ahmadindra20 @ Aug 25 2016, 08:07) nice script, could someone add line of script so that we can play random encounter battle in a new tab instead a new window of our browser? (IMG:[ invalid] style_emoticons/default/rolleyes.gif) as reference here is the script made by superlatanium to play RE in same window (but unfortunately I would like to play battle in alt.hentaiverse) https://forums.e-hentai.org/index.php?s=&am...t&p=4252859For alt., add this line: CODE href = href.replace('hentaiverse', 'alt.hentaiverse'); right below the "var href = ..." line.
|
|
|
|
|
|
Aug 25 2016, 22:09
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
QUOTE(ahmadindra20 @ Aug 25 2016, 13:01) And thats why I think the only left function is OFC, so it would be nice if it can be integrated on left click/middle click (but I prefer left click, its more easy and also my mouse middle click is broken hahaha... (IMG:[ invalid] style_emoticons/default/laugh.gif) ) The problem is that left click is used for all the normal operations of the page. Maybe I can attach OFC on left click on battle log or something like that. I will consider it as an added extra. (you're still better off getting a working mouse (IMG:[ invalid] style_emoticons/default/heh.gif))
|
|
|
Aug 27 2016, 16:52
|
RoadShoe
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15
|
Is there a script that will count the number of tokens used on a monster's page and display it?
|
|
|
Aug 29 2016, 14:18
|
RoadShoe
Group: Catgirl Camarilla
Posts: 3,241
Joined: 9-August 15
|
QUOTE(redphil @ Aug 27 2016, 16:52) Is there a script that will count the number of tokens used on a monster's page and display it?
Well, that didn't go anywhere. How about a bounty to develop a script that will show total tokens used on each monster page, and total tokens for all monster pages on the monster summary page? 2m credits or 320 Hath?
|
|
|
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|
|
|