Loading. Please Wait... 
 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Sep 10 2014, 11:26
|
Dan31
Group: Members
Posts: 4,399
Joined: 26-March 12

|
Doesn't SpellSpam break the "No parsing of live data to decide on actions" rule? Or does this rule only apply to monster data? We already joked about this a while ago, but it's looking more and more like a "Make your own bot" kit.
|
|
|
|
 |
|
Sep 10 2014, 11:27
|
Owyn
Group: Members
Posts: 692
Joined: 12-May 10

|
QUOTE(seyrenwindstorm @ Sep 10 2014, 06:22)  i'm having some problem with HoverPlay script the hoverplay never had any problem until now, but suddenly it just stops working every time the page loads and i need to hover to the quickbar to make the hoverplay active again or else it would just stop working at all. the buff, potion and all the side icon gone.
how to fix this issue?
thank you.
saw your pm first, answered there. QUOTE(axionmaximum @ Sep 9 2014, 12:05)  Here is my little suggestion. Can you add a feature stop attacking when channeling?
not sure if I should - I heard there are already other scripts to do exactly this + hoverplay was made to speed things up, not give some tactical advantage... maybe if others agree. +what color should 'the line border' be when the script is stopped by channeling?
|
|
|
|
 |
|
Sep 10 2014, 11:51
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10

|
QUOTE(Dan31 @ Sep 10 2014, 19:26)  Doesn't SpellSpam break the "No parsing of live data to decide on actions" rule? Or does this rule only apply to monster data? We already joked about this a while ago, but it's looking more and more like a "Make your own bot" kit.
Well I could add an alert("Stop") line to the code, but then people will just as easily remove it. =_= And parsing character stats has been done for a long time with MouseMelee. This post has been edited by holy_demon: Sep 10 2014, 11:53
|
|
|
|
 |
|
Sep 10 2014, 15:05
|
screwit
Newcomer
 Group: Recruits
Posts: 10
Joined: 27-July 11

|
Parsing of monster data is done in HVSTAT, to display Monster HP and scaling bars, I did love that, not hammering the critters blindly. Shame it is so slow.
Higher levels Hentaiverse is a effing slugfest anyway, doubt anyone is willing to do that to him/herself without some automation helper or another.
|
|
|
|
 |
|
Sep 11 2014, 12:41
|
axire
Group: Members
Posts: 156
Joined: 9-August 14

|
QUOTE(axionmaximum @ Sep 9 2014, 04:05)  Here is my little suggestion. Can you add a feature stop attacking when channeling?
STAT Slim will do this. You may have to edit it a bit to trim out some redundant features. QUOTE(Owyn @ Sep 10 2014, 05:27)  saw your pm first, answered there. not sure if I should - I heard there are already other scripts to do exactly this + hoverplay was made to speed things up, not give some tactical advantage... maybe if others agree.
+what color should 'the line border' be when the script is stopped by channeling?
Can you repeat the answer here? I seem to be having a similar problem. I just switched from Firefox/Greasemonkey to Iron/Tampermonkey and I have to violently wave my cursor around to trigger hoverplay, my no-image script also seems to flicker when the page reloads. I'm wondering if this is something that can be fixed or if I should just go back to Firefox.
|
|
|
|
 |
|
Sep 12 2014, 07:22
|
Colman
Group: Gold Star Club
Posts: 7,333
Joined: 15-November 10

|
May I ask something very fundamental for scripting here? I sometimes confuse with the codes. (IMG:[ invalid] style_emoticons/default/heh.gif) BTW, I am just a beginner of browser script. This post has been edited by Colman: Sep 12 2014, 07:22
|
|
|
Sep 12 2014, 07:37
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10

|
QUOTE(Colman @ Sep 12 2014, 15:22)  May I ask something very fundamental for scripting here? I sometimes confuse with the codes. (IMG:[ invalid] style_emoticons/default/heh.gif) BTW, I am just a beginner of browser script. Just ask =_=
|
|
|
Sep 12 2014, 07:53
|
Usagi =
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13

|
how would one do a console command where:
while ( console displays any error ){ reload webpage }
|
|
|
Sep 12 2014, 08:08
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10

|
QUOTE(LOL50015 @ Sep 12 2014, 15:53)  how would one do a console command where:
while ( console displays any error ){ reload webpage }
userscripts don't have access to read/listen to the console/debugger object. You have to make it into an extension and explicitly give it access in manifest.json(on Chrome). No idea about Firefox You will want to read these documentations if you still want to do it [ developer.chrome.com] https://developer.chrome.com/extensions/api_index[ developer.chrome.com] https://developer.chrome.com/devtools/docs/debugger-protocolThis post has been edited by holy_demon: Sep 12 2014, 08:25
|
|
|
|
 |
|
Sep 12 2014, 08:17
|
Usagi =
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13

|
QUOTE(holy_demon @ Sep 12 2014, 14:08)  userscripts don't have access to read/listen to the console/debugger object. You have to make it into an extension and explicitly give it access in manifest.json(on Chrome). No idea about Firefox
I meant inspect element > console tab where you can type in stuff and it executes it like a userscript.
|
|
|
Sep 12 2014, 08:30
|
Dan31
Group: Members
Posts: 4,399
Joined: 26-March 12

|
QUOTE(LOL50015 @ Sep 12 2014, 07:53)  how would one do a console command where:
while ( console displays any error ){ reload webpage }
Wouldn't this be an infinite loop at the slightest error? It's not like errors magically fix themselves.
|
|
|
|
 |
|
Sep 12 2014, 08:31
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10

|
QUOTE(LOL50015 @ Sep 12 2014, 16:17)  I meant inspect element > console tab
where you can type in stuff and it executes it like a userscript.
Yep, impossible with userscript. The context of userscript is only within the page. That windows outside the scope of userscript, you will need a context of an extension. Or you can overwrite the console.log method and record the logs yourself, though I think you have to do it by html injection. [ stackoverflow.com] http://stackoverflow.com/questions/1984607...e-in-javascriptAll advanced techniques (IMG:[ invalid] style_emoticons/default/heh.gif) This post has been edited by holy_demon: Sep 12 2014, 08:31
|
|
|
|
 |
|
Sep 12 2014, 08:38
|
Usagi =
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13

|
Okay, find I'll explain my situation: I'm trying to get this site, [ simplyotaku.com] http://simplyotaku.com/ to display me pictures but the pictures won't show because they have a access denied error, but after enough reloads it shows me the pictures, so I reckon the ports are just congested. So I though of asking you guys for a console command so that it can reload until all the images finally show. I know to reload is location.reload();
|
|
|
|
 |
|
Sep 12 2014, 08:47
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10

|
QUOTE(LOL50015 @ Sep 12 2014, 16:38)  Okay, find I'll explain my situation: I'm trying to get this site, [ simplyotaku.com] http://simplyotaku.com/ to display me pictures but the pictures won't show because they have a access denied error, but after enough reloads it shows me the pictures, so I reckon the ports are just congested. So I though of asking you guys for a console command so that it can reload until all the images finally show. I know to reload is location.reload(); put this in an userscript. It won't loop in the console. if (!document.querySelector("<put the selector of pictures/container here>") { location.href=""; } note 1: you might want a to setTimeout to not hog your bandwidth note 2" location.reload is retardedly slow This post has been edited by holy_demon: Sep 12 2014, 08:47
|
|
|
|
 |
|
Sep 12 2014, 12:33
|
djackallstar
Group: Gold Star Club
Posts: 8,219
Joined: 23-July 14

|
Script NameRealtime Auction Countdown Timer DescriptionA script that embeds countdown timers in the title sections of auction threads in the WTS forum. Timers are updated every 60 seconds; you can change the value in the script. You can also change the height (default to 45 pixels) of the timer. DemoDownload and InstallationChangelog- 2014/12/21 The script can now display a timer for a lottery thread as well.
- 2014/09/12 Initial post.
[/list] FeedbackTo report bugs, request features, or if you have any feedback, please PM me or reply to this thread. This post has been edited by djackallstar: Dec 21 2014, 03:54
|
|
|
|
 |
|
Sep 12 2014, 13:05
|
djackallstar
Group: Gold Star Club
Posts: 8,219
Joined: 23-July 14

|
QUOTE(holy_demon @ Sep 12 2014, 14:47)  put this in an userscript. It won't loop in the console. if (!document.querySelector("<put the selector of pictures/container here>") { location.href=""; } note 1: you might want a to setTimeout to not hog your bandwidth note 2" location.reload is retardedly slow
Just reload the broken images: if(!img_is_ok(img)) { img.src = img.src; } As for the way to check whether an image is broken, you can: var img_is_ok = function(img) {
if(img.readyState != 'complete') { return false; } if(('naturalHeight' in img) && (img.naturalHeight + img.naturalWidth == 0)) { return false; } if(img.width + img.height == 0) { return false; } return true; }; This post has been edited by djackallstar: Sep 12 2014, 13:08
|
|
|
|
 |
|
Sep 13 2014, 05:03
|
djackallstar
Group: Gold Star Club
Posts: 8,219
Joined: 23-July 14

|
QUOTE(oohmrparis @ Jul 6 2014, 19:53)  Script that displays the condition in equipment page. [attachmentid=46151] If equipment can repair, repair by right-clicking. If you need confirmation dialog, erase the double slash of two places near the bottom of the code. Scraps bug fixed.
Hi again! Some player says repairing an equipment at some precentage (51~60 or 76~80) will save you come credits. Can you add colors to condition% in different ranges? For example: 163/320 (51%) => element.style.color = '#33FF33' ( green, because 51 and 76 are the best timing to repair.) 176/320 (55%) => element.style.color = '#FFFF00' ( yellow, because 52~60 and 77~80 are the second-best timing to repair.) 80/320 (25%) => element.style.color = '#FF0000' ( red, because 0~50, 61~75, 81~99 are the worst timing to repiar.) This post has been edited by djackallstar: Sep 13 2014, 18:35
|
|
|
|
 |
|
Sep 13 2014, 18:19
|
Usagi =
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13

|
QUOTE(holydemon @ Sep 12 2014, 18:33)  -snip-
QUOTE(djackallstar @ Sep 12 2014, 19:05)  Just reload the broken images: if(!img_is_ok(img)) { img.src = img.src; } As for the way to check whether an image is broken, you can: var img_is_ok = function(img) {
if(img.readyState != 'complete') { return false; } if(('naturalHeight' in img) && (img.naturalHeight + img.naturalWidth == 0)) { return false; } if(img.width + img.height == 0) { return false; } return true; }; thanks for the suggestions guys! This post has been edited by LOL50015: Sep 13 2014, 18:19
|
|
|
|
 |
|
Sep 14 2014, 09:50
|
oohmrparis
Group: Gold Star Club
Posts: 523
Joined: 18-June 13

|
QUOTE(djackallstar @ Sep 13 2014, 05:03)  Hi again! Some player says repairing an equipment at some precentage (51~60 or 76~80) will save you come credits. Can you add colors to condition% in different ranges? For example: 163/320 (51%) => element.style.color = '#33FF33' ( green, because 51 and 76 are the best timing to repair.) 176/320 (55%) => element.style.color = '#FFFF00' ( yellow, because 52~60 and 77~80 are the second-best timing to repair.) 80/320 (25%) => element.style.color = '#FF0000' ( red, because 0~50, 61~75, 81~99 are the worst timing to repiar.) I will implement in the next version it. when 76 or 51, text color green. when 77~80 or 52~55, text color blue. other than black.
|
|
|
|
 |
|
Sep 14 2014, 11:38
|
djackallstar
Group: Gold Star Club
Posts: 8,219
Joined: 23-July 14

|
QUOTE(oohmrparis @ Sep 14 2014, 15:50)  I will implement in the next version it. when 76 or 51, text color green. when 77~80 or 52~55, text color blue. other than black.
52~55 -> 52~60? And thanks, Looking forward to it! (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|
|
|