|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Sep 13 2017, 23:27
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
QUOTE(Scremaz @ Sep 14 2017, 00:17) hey, hey, i see a small difference... (IMG:[ invalid] style_emoticons/default/ph34r.gif) well, i had some BTC left over from when i bought my gold star in 2013
|
|
|
Sep 13 2017, 23:29
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
|
QUOTE(sickentide @ Sep 13 2017, 23:27) well, i had some BTC left over from when i bought my gold star in 2013
More than some, I'd say (IMG:[ invalid] style_emoticons/default/laugh.gif)
|
|
|
Sep 14 2017, 01:27
|
rokyroky
Group: Members
Posts: 486
Joined: 5-August 17
|
Guys, can you use Monsterbation in the midori browser?
|
|
|
Sep 14 2017, 01:37
|
Superlatanium
Group: Gold Star Club
Posts: 7,573
Joined: 27-November 13
|
QUOTE(rokyroky @ Sep 13 2017, 23:27) Guys, can you use Monsterbation in the midori browser? Can you use userscripts in that browser? (if not, then no. if yes, then try it and check for any errors)
|
|
|
|
|
|
Sep 14 2017, 01:47
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13
|
According to their official site, yes you can: [ midori-browser.org] http://midori-browser.org/faqs/QUOTE How to install a UserScript First enable the “User Addons” extension. It will show up as a “User Scripts” panel (and it also provides “User Styles”).
To manually install a userscript, you have to download the script as a file, and put it in the folder ~/.local/share/midori/scripts. You need to create that folder if it doesn't exist yet. Midori will automatically see and use it, which you can also see in the user scripts panel.
If the script is only shown as source code on the page, you first have to create a new text file in a text editor, copy the source code into the new file, and save it as my-user-script.js where “.js” is the extension.
Site also tells that browser supports metatags, which is good thing. It (and any other script) should work well in that browser. However performance of the script may be different than in chrome/Firefox, because JavaScript engine may not support some features/propereties/methods. If you are using last version of this browser (you should do), then, I think, performance should be okay. Good luck and also post in this thread about your success or not.
|
|
|
|
|
|
Sep 14 2017, 02:06
|
Maharid
Group: Catgirl Camarilla
Posts: 2,369
Joined: 27-April 10
|
QUOTE(sickentide @ Sep 13 2017, 22:47) gifts from monsters? you can click the gift list for it to disappear by default
I was totally unaware of that. (IMG:[ invalid] style_emoticons/default/ph34r.gif) Thanks.
|
|
|
Sep 14 2017, 02:28
|
rokyroky
Group: Members
Posts: 486
Joined: 5-August 17
|
Theoretically, monsterbation should be used. I did the test, but something strange happens. It is activated, but does nothing ... I try to put a screenshot, but I get this: You are not allowed to use that image extension on this board. A valid format is: [ www.domain.com] http://www.domain.com/picture.gif, an invalid format is: [ www.domain.com] http://www.domain.com/picture.one.g ??? This post has been edited by rokyroky: Sep 14 2017, 02:55
|
|
|
|
|
|
Sep 14 2017, 02:45
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13
|
Image you are trying to post has wrong extension. Check the extension after the dot - it is .g, not .gif. Maybe you (or your software) renamed picture wrong? Best thing you can is to check extension or just convert that picture to PNG format. Any graphics editor can do it, so do various online service. Or alternatively try to make new screenshot. =)
This post has been edited by f4tal: Sep 14 2017, 02:46
|
|
|
Sep 14 2017, 03:00
|
rokyroky
Group: Members
Posts: 486
Joined: 5-August 17
|
[ drive.google.com] Screen I think so can be seen (?) EDIT: As it looks there, it is activated but it does not do its function This post has been edited by rokyroky: Sep 14 2017, 03:02
|
|
|
Sep 14 2017, 03:11
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13
|
Can you install any other script just to be sure that it a Monsterbation problem? Check my signature/script Compendium. Download any other HentaiVerse script, say, Smart Monster Lab, Battle Stats EX, HVtoolBox, etc. If other script will work then this is Monsterbation problem (or, to be more correctly here - the problem of browser's engine in terms of not supporting Monsterbation's syntax. If none of scripts will work at all, then there is something odd with your browser. BTW, why are using it? I am not telling to change it, but wondering what is the reason behind.
|
|
|
|
|
|
Sep 14 2017, 03:48
|
rokyroky
Group: Members
Posts: 486
Joined: 5-August 17
|
QUOTE(f4tal @ Sep 14 2017, 03:11) BTW, why are using it? I am not telling to change it, but wondering what is the reason behind.
I tried the HV ToolBox and it works halfway, it only serves in the initial interface, but in equipment inventory and other only moves the names of equipment, the words of setting and log does not appear. Why do I use it ?: I use it because I use that browser frequently, since my pc is quite slow. I was playing in chrome, but I was getting tired of the slowness, so I wanted to try playing in Midori. PD: I had not read his advice thread, I will try some of the options to see if it improves my speed
|
|
|
|
|
|
Sep 14 2017, 04:00
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13
|
QUOTE I tried the HV ToolBox and it works halfway, it only serves in the initial interface, but in equipment inventory and other only moves the names of equipment, the words of setting and log does not appear. Than, yes, it is Midori's fault - its engine for JavaScript is not that good and it compile/executes things wrong. Actually you have hooked me. Once I will come home - I will download that browser and will check why exactly it fails (and maybe I will make HVtoolBox better?) QUOTE Why do I use it ?: I use it because I use that browser frequently, since my pc is quite slow. I was playing in chrome, but I was getting tired of the slowness, so I wanted to try playing in Midori I see, than it us a good reason. Still that browser is kinda rare and non famous. Maybe you should try alternatives? Iron Browser - same Chrome without anything related to Google. They also have archives for every version, so maybe old versions would work better for you? PaleMoon - same Firefox without weird Mozilla stuff with lots of tweaks and fixes. Try these two browsers - maybe you will like one of them? I know, there is no fun in downloading, installing and checking browsers, but if you have started that quest to make your game faster, then you should do everything =) This post has been edited by f4tal: Sep 14 2017, 04:02
|
|
|
|
|
|
Sep 14 2017, 04:10
|
rokyroky
Group: Members
Posts: 486
Joined: 5-August 17
|
QUOTE(f4tal @ Sep 14 2017, 04:00) Than, yes, it is Midori's fault - its engine for JavaScript is not that good and it compile/executes things wrong. Actually you have hooked me. Once I will come home - I will download that browser and will check why exactly it fails (and maybe I will make HVtoolBox better?)
I do not think other people will change to play in Midori, but if you have the desire to take the HV ToolBox to a new level, the most I can do is wish you luck (IMG:[ invalid] style_emoticons/default/biggrin.gif) EDIT: Other than luck, I'll leave you these screenshots. There you see what I mentioned before, maybe it serves you something. [ drive.google.com] Screen 1[ drive.google.com] Screen 2QUOTE I see, than it us a good reason. Still that browser is kinda rare and non famous. Maybe you should try alternatives? Iron Browser - same Chrome without anything related to Google. They also have archives for every version, so maybe old versions would work better for you? PaleMoon - same Firefox without weird Mozilla stuff with lots of tweaks and fixes.
Try these two browsers - maybe you will like one of them?
I will take that recommendation, may I find comfort in some. QUOTE I know, there is no fun in downloading, installing and checking browsers, but if you have started that quest to make your game faster, then you should do everything =)
It is a path that I am ready to go (IMG:[ invalid] style_emoticons/default/cool2.gif) This post has been edited by rokyroky: Sep 14 2017, 04:22
|
|
|
|
|
|
Sep 14 2017, 10:14
|
Superlatanium
Group: Gold Star Club
Posts: 7,573
Joined: 27-November 13
|
I was thinking, people would probably appreciate it if there was an item script for the forum that displayed equipment stats onmouseover a https://hentaiverse.org/equip/* link. I'm surprised the idea's never been floated around before, it would probably be pretty simple to implement given that we already have parsers like HV Chart and Percentile Ranges.
|
|
|
|
|
|
Sep 14 2017, 12:39
|
boulay
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
|
QUOTE(Superlatanium @ Sep 14 2017, 10:14) I was thinking, people would probably appreciate it if there was an item script for the forum that displayed equipment stats onmouseover a https://hentaiverse.org/equip/* link. I'm surprised the idea's never been floated around before, it would probably be pretty simple to implement given that we already have parsers like HV Chart and Percentile Ranges. oohmrparis made an equipment link popup script for the forums before https://forums.e-hentai.org/index.php?s=&am...t&p=3968473 if that's what you're talking about.
|
|
|
|
|
|
Sep 14 2017, 15:16
|
f4tal
Group: Members
Posts: 2,662
Joined: 10-January 13
|
=( I should really check new messages before start doing anything. I saw Super's message, decided "yeah, good idea", come home, made a script, decided to publish it here and boulay told that such script is already exist. The store of my life xD Anyway, this is my implementation: CODE // ==UserScript== // @name Popup for links // @namespace hentaiverse.org // @description Shows popup with equipment data on current forum page in iframe // @match *://forums.e-hentai.org/* // @start-at document-end // @version 1.0 // @grant none // @author f4tal (forums.e-hentai.org/index.php?showuser=1237490) // ==/UserScript==
var pause = 1000; // how long you should hover on link before popup will appear (in milleseconds)? Default: 1000; var style = "display: block; position: fixed; width: 390px; height: 510px; right: 0px; top: 0px;"; // Here you can change the style of popup, make it bigger, smaller, change location, etc; var altsite = false; // are you using alt version of HentaiVerse? If setting that option to "true" makes all popup to disappear, then change it back to "false" (mixed content problem)
// Settings ends here
var $d = document, equips = $d.querySelectorAll("a[href*='equip']"), timeout = null, match;
function $e(n,a,p) { var e = $d.createElement(n); if (p !== undefined) { if (p.id) {e.id = p.id;} if (p.style) {e.style.cssText = p.style;} } a.appendChild(e); return e; }
function $if(u,d) { var f = $e("iframe", $d.body, {id: "equip_popup", style: style}); f.src = u; }
for (var i = 0, len = equips.length; i < len; i++) { var url = equips[i].href; if (/showequip/.test(url)) { match = equips[i].href.match(/(showequip).*eid=([0-9]+)&key=([0-9a-zA-Z]+)/); if (altsite) { equips[i].href = "http://alt.hentaiverse.org/equip/"+match[2]+"/"+match[3]; } else { equips[i].href = "https://hentaiverse.org/equip/"+match[2]+"/"+match[3]; } } else { match = equips[i].href.match(/(equip)\/([0-9]+)\/([0-9a-zA-Z]+)/); if (altsite) { equips[i].href = "http://alt.hentaiverse.org/equip/"+match[2]+"/"+match[3]; } else { equips[i].href = "https://hentaiverse.org/equip/"+match[2]+"/"+match[3]; } }
equips[i].onmouseover = function(){ var iframelink = this.href; timeout = setTimeout(function(){ $if(iframelink, function(){}); }, pause); };
equips[i].onmouseout = function(){ clearTimeout(timeout); $d.body.removeChild($d.getElementById("equip_popup")); }; }
1. Script creates iframe for link under hovering 2. Script waits few milliseconds before opening an iframe (for prevent accidentally opening on scrolling) 3. Script refactors old-styled links (http://hentaiverse.org/pages/showequip.php?eid=85104204&key=6e45c8dd6a) into new-styled (http://hentaiverse.org/equip/85104204/6e45c8dd6a) 4. Scripts add alt-domain, however, most likely that will not help, because forum is under HTTPS:// but alt-site is under HTTP:// - browsers do not let to mix content via iframes... However, it may work for old browsers... 5. You can freely change the location and appearance of popup, but I fount most useful to be in upper-right corner. This post has been edited by f4tal: Sep 14 2017, 15:33
|
|
|
|
|
|
Sep 14 2017, 17:01
|
Juggernaut Santa
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
|
I have some issues with the latest version of monsterbation. Before that I was using an older one, and with this keybinds: QUOTE Bind(KEY_1, Strongest([TargetMonster(1), Cast('Orbital Friendship Cannon')])); Bind(KEY_2, Strongest([TargetMonster(2), Cast('Orbital Friendship Cannon')])); Bind(KEY_3, Strongest([TargetMonster(3), Cast('Orbital Friendship Cannon')])); Bind(KEY_4, Strongest([TargetMonster(4), Cast('Orbital Friendship Cannon')])); Bind(KEY_5, Strongest([TargetMonster(5), Cast('Orbital Friendship Cannon')])); Bind(KEY_6, Strongest([TargetMonster(6), Cast('Orbital Friendship Cannon')])); Bind(KEY_7, Strongest([TargetMonster(7), Cast('Orbital Friendship Cannon')])); Bind(KEY_8, Strongest([TargetMonster(8), Cast('Orbital Friendship Cannon')])); Bind(KEY_9, Strongest([TargetMonster(9), Cast('Orbital Friendship Cannon')])); Bind(KEY_0, Strongest([TargetMonster(0), Cast('Orbital Friendship Cannon')])); Key "1" was hitting Monster A, Key "2" Monster B, [...] Key "0" Monster J With the new version this configuration does this: Key "1" hits Monster B, Key "2" hits Monster C, Key "3" hits Monster D, [...] Key "0" Monster A What the heck? (IMG:[ invalid] style_emoticons/default/laugh.gif)
|
|
|
|
|
|
Sep 14 2017, 17:12
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
|
QUOTE(End Of All Hope @ Sep 14 2017, 18:01) I have some issues with the latest version of monsterbation. Before that I was using an older one, and with this keybinds: Key "1" was hitting Monster A, Key "2" Monster B, [...] Key "0" Monster J With the new version this configuration does this: Key "1" hits Monster B, Key "2" hits Monster C, Key "3" hits Monster D, [...] Key "0" Monster A What the heck? (IMG:[ invalid] style_emoticons/default/laugh.gif) monster count starting at 0 is a side effect of me making the way monsters are handled more efficient. you can change your bindings like this: CODE Bind(KEY_1, Strongest([TargetMonster(0), Cast('Orbital Friendship Cannon')])); Bind(KEY_2, Strongest([TargetMonster(1), Cast('Orbital Friendship Cannon')])); Bind(KEY_3, Strongest([TargetMonster(2), Cast('Orbital Friendship Cannon')])); Bind(KEY_4, Strongest([TargetMonster(3), Cast('Orbital Friendship Cannon')])); Bind(KEY_5, Strongest([TargetMonster(4), Cast('Orbital Friendship Cannon')])); Bind(KEY_6, Strongest([TargetMonster(5), Cast('Orbital Friendship Cannon')])); Bind(KEY_7, Strongest([TargetMonster(6), Cast('Orbital Friendship Cannon')])); Bind(KEY_8, Strongest([TargetMonster(7), Cast('Orbital Friendship Cannon')])); Bind(KEY_9, Strongest([TargetMonster(8), Cast('Orbital Friendship Cannon')])); Bind(KEY_0, Strongest([TargetMonster(9), Cast('Orbital Friendship Cannon')]));
|
|
|
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|