Loading. Please Wait...
|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Nov 15 2016, 22:39
|
Shind Mar
Group: Members
Posts: 283
Joined: 8-April 14
|
Writing a better one Attached is a simple script designed for beginners like myself. It alters the equipment shop to highlight items that have unassigned levels, lower than yours, or ones in soulfuse range (1-100) levels.
HVShop.user.js.txt ( 2.96k )
Number of downloads: 40
It also has a simple filter and hide too high and too low items.
White: Unassigned Orange: between 1-99 levels above yours Red-Orange: 100 levels above yours. Nothing fancy. Hope someone likes it.
This post has been edited by Shind Mar: Nov 21 2016, 22:12
|
|
|
|
|
|
Nov 20 2016, 15:13
|
BMstar
Newcomer
Group: Members
Posts: 37
Joined: 31-October 16
|
The script I found on the page just don't work.. no matter what version. (IMG:[ invalid] style_emoticons/default/mellow.gif) maybe I need to add other scripts? when I clicked my items and click the bottom should pop up urls, it doesn't answer me (IMG:[ invalid] style_emoticons/default/unsure.gif)
|
|
|
Nov 21 2016, 14:31
|
Kiriman1
Group: Gold Star Club
Posts: 280
Joined: 6-May 16
|
How do I add the hoverplay's function where it stops when buffs expires to Reloader script or add the no page load function of reloader to hoverplay?
This post has been edited by Kiriman1: Nov 21 2016, 14:52
|
|
|
Nov 21 2016, 17:51
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
@Sapo84 I'm using reloader version mod_1.3.3b Sapo84 on Chrome+Tampermonkey, and i saw one strange behaviour, and don't know if it is known. I have set hvStateHP as true, and after starting a RE on hentaiverse.org, i went to alt.hentaiverse.org. The strange behaviour is that it showed the HP of enemies only on hentaiverse.org, and not on alt.hentaiverse.org. All the rest worked.
|
|
|
|
|
|
Nov 21 2016, 18:06
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(Superlatanium @ Nov 13 2016, 02:46) I realized there was a way for a userscript on forums.e-hentai.org to communicate with hentaiverse.org despite CORS, using the same method that my Tag Check uses. I implemented it, and now you can tell SmartSearch to find equipment levels for all equipment links on a results page. A psuedo-window to hentaiverse.org will open, and it'll download all the equipment links and check their level. (You have to be already logged in on HV, of course) The equipment levels are saved in the database just like the threads and posts. If people start soulfusing or salvaging gears and the SmartSearch levels start looking out of date, just press Check Levels again, and it'll re-check everything on the currently opened results page.
SmartSearch_1.2.4.user.js.txt ( 37.34k )
Number of downloads: 112This addition is really great! Just a thing, sometimes when i press Check Levels, and there are a lot of results in the page, nothing happens. Is it a small bug?
|
|
|
|
|
|
Nov 21 2016, 18:06
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
QUOTE(gianfrix94 @ Nov 21 2016, 16:51) @Sapo84 I'm using reloader version mod_1.3.3b Sapo84 on Chrome+Tampermonkey, and i saw one strange behaviour, and don't know if it is known. I have set hvStateHP as true, and after starting a RE on hentaiverse.org, i went to alt.hentaiverse.org. The strange behaviour is that it showed the HP of enemies only on hentaiverse.org, and not on alt.hentaiverse.org.
That part was included in the normal reloader 1.3 version. Written by tatarime and included, I think, by FabulousCupcake. I honestly think that it's not useful and removed from my "branch" (that's why I increased the version to 1.4), but I don't see anything in the code that could fuck up when switching from and to alt.hentaiverse. Probably needs to be tested, but I really don't want to touch any javascript at home until I'm stuck with frontend developing works (IMG:[ invalid] style_emoticons/default/heh.gif) (IMG:[ invalid] style_emoticons/default/heh.gif)
|
|
|
|
|
|
Nov 21 2016, 21:51
|
FabulousCupcake
Group: Gold Star Club
Posts: 490
Joined: 15-April 14
|
QUOTE(gianfrix94 @ Nov 21 2016, 16:51) @Sapo84 I'm using reloader version mod_1.3.3b Sapo84 on Chrome+Tampermonkey, and i saw one strange behaviour, and don't know if it is known. I have set hvStateHP as true, and after starting a RE on hentaiverse.org, i went to alt.hentaiverse.org. The strange behaviour is that it showed the HP of enemies only on hentaiverse.org, and not on alt.hentaiverse.org. All the rest worked.
The issue occurs because the HP values do not exist in the localStorage or is invalid. Since localStorage is isolated by subdomains, every time you switch the domain while being on different rounds the stored HP values will be invalid. If this happens, the script will attempt to fetch the HP values from the game log ( the first few lines that follows after "Battle Start!" ), however if you switch after that battle log containing the monster hp values are gone, it will have nothing to show and it stops working. Starting a new game / going into a new round should make the HP bars reappear. This post has been edited by FabulousCupcake: Nov 21 2016, 21:53
|
|
|
|
|
|
Nov 21 2016, 21:57
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(FabulousCupcake @ Nov 21 2016, 20:51) The issue occurs because the HP values do not exist in the localStorage or is invalid. Since localStorage is isolated by subdomains, every time you switch the domain while being on different rounds the stored HP values will be invalid. If this happens, the script will attempt to fetch the HP values from the game log ( the first few lines that follows after "Battle Start!" ), however if you switch after that battle log containing the monster hp values are gone, it will have nothing to show and it stops working.
Starting a new game / going into a new round should make the HP bars reappear.
Oh cool, nice to know.
|
|
|
|
|
|
Nov 21 2016, 23:49
|
Superlatanium
Group: Gold Star Club
Posts: 7,575
Joined: 27-November 13
|
QUOTE(gianfrix94 @ Nov 21 2016, 16:06) This addition is really great! Just a thing, sometimes when i press Check Levels, and there are a lot of results in the page, nothing happens. Is it a small bug? Can you give me an example of when it breaks? (I recommend against getting levels when there are more than 200? equips or so, the server may not be happy with that many requests in a row. Maybe.)
|
|
|
|
|
|
Nov 22 2016, 00:12
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(Superlatanium @ Nov 21 2016, 22:49) Can you give me an example of when it breaks?
(I recommend against getting levels when there are more than 200? equips or so, the server may not be happy with that many requests in a row. Maybe.)
Here is an example, when i write "*rapier*slaughter*" in the textbox and SmartSearch, it opens the page with the list, but then when i click Check Levels nothing happens, it doesn't open the hentaiverse.org/fakepage where it pulls the levels.
|
|
|
|
|
|
Nov 22 2016, 01:03
|
Superlatanium
Group: Gold Star Club
Posts: 7,575
Joined: 27-November 13
|
QUOTE(gianfrix94 @ Nov 21 2016, 22:12) Here is an example, when i write "*rapier*slaughter*" in the textbox and SmartSearch, it opens the page with the list, but then when i click Check Levels nothing happens, it doesn't open the hentaiverse.org/fakepage where it pulls the levels. Fixed it. Problem was that some people were linking equips to non-equip pages, like to the lottery, resulting in a failed regex when searching for the equipment eid in the link.
SmartSearch_1.2.5.user.js.txt ( 37.53k )
Number of downloads: 72
|
|
|
|
|
|
Nov 22 2016, 01:16
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(Superlatanium @ Nov 22 2016, 00:03) Fixed it. Problem was that some people were linking equips to non-equip pages, like to the lottery, resulting in a failed regex when searching for the equipment eid in the link.
SmartSearch_1.2.5.user.js.txt ( 37.53k )
Number of downloads: 72Tested it, it does work now (IMG:[ invalid] style_emoticons/default/biggrin.gif) Thank you for your hard work!
|
|
|
Nov 22 2016, 01:49
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
@Superlatanium By the way, just a small question about SmartSearch. Would it be possible for you in the future to add Order By Price and Order By Level functions for the result list? Thanks for the attention (IMG:[ invalid] style_emoticons/default/biggrin.gif) This post has been edited by gianfrix94: Nov 22 2016, 01:50
|
|
|
|
|
|
Nov 25 2016, 00:25
|
Shind Mar
Group: Members
Posts: 283
Joined: 8-April 14
|
Hiya,
HentaiVerse_Assitant_by_Shind_Mar.user.js.txt ( 25.12k )
Number of downloads: 62"HentaiVerse Assitant" beta script. I wanted to add more functionality but... stuff. Not really designed for high level players. Look at the images - Adds timer for training visible on all screens. - Shows level and price of equipment in shop. Adds ability to sell more than one item at a time. Filter. You can filter by price or by text. To filter by price you type ">" or "<" and then number. - In battle it keeps tab of all drops, round, exp, gold etc. It also tell you the amount of pots you have. So you get to know the insignificant amount of stuff you are getting. When I say all drops, I mean all Equips, Artifacts and Figurines, Consumables... You can see the drops you've picked up and their amount by clicking the down arrow. Look at the last image to see what I mean. The listing is color coordinated like HV log is. - Counter on the consumables (white background pane on the right side). When you get a gem or when you cannot pot, the text reflects that. It shows you the current state of your items that you can use. If you cannot pot the text is in gray. To keep track of count consumables for battle, you need to go to your inventory at least once and every time you make consumable purchase or sale. After that it should keep track of all items. If it goes out of sync for some reason or other just go to your inventory.Was going to add a sticky quickbar but maybe next release. Let me know what you think. Training Timer Equipment selling The record is kept above the monster listing. You press the arrow button to get to see what items you've picked up. This post has been edited by Shind Mar: Nov 25 2016, 01:24
|
|
|
|
|
|
Nov 25 2016, 00:41
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
@Shind Mar "Drop Tracker" YES, i needed this. It keeps track of Equips, Artifacts and Figurines too, right? Does it work with Reloader? In case, could you subdivide this script in different parts, one for the shop and one for battle stuff? Thank you!
This post has been edited by gianfrix94: Nov 25 2016, 00:46
|
|
|
|
|
|
Nov 25 2016, 00:56
|
Shind Mar
Group: Members
Posts: 283
Joined: 8-April 14
|
QUOTE(gianfrix94 @ Nov 24 2016, 22:41) @Shind Mar "Drop Tracker" YES, i needed this. It keeps track of Equips, Artifacts and Figurines too, right? Does it work with Reloader? In case, could you subdivide this script in different parts, one for the shop and one for battle stuff? Thank you!
> It keeps track of Equips, Artifacts and Figurines too, right? It keeps tracks of all drops. You can see the drops by pressing the down arrow. Gives you the name and the count. > Does it work with Reloader? Does it? (IMG:[ invalid] style_emoticons/default/tongue.gif) I am sorry I do not know what that is. > In case, could you subdivide this script in different parts, one for the shop and one for battle stuff? No need. You can exclude the script from the bazaar through Tampermonkey, Greasemonkey or Violentmonkey, or whatever monkey you are spanking. In the addons you can set to include or exclude sites... just exclude the Bazaar or the things you do not want the script to run in.
|
|
|
|
|
|
Nov 25 2016, 01:22
|
Shind Mar
Group: Members
Posts: 283
Joined: 8-April 14
|
QUOTE(gianfrix94 @ Nov 24 2016, 22:59) Reloader is one of the most important scripts here, like SmartSearch. Take a look at it here: https://forums.e-hentai.org/index.php?showtopic=190038I just tested it and no it does not work with Reloader. Maybe I can try and fix it for next release. My scripts only runs at the start and does not monitor changes.
|
|
|
Nov 25 2016, 01:26
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(Shind Mar @ Nov 25 2016, 00:22) I just tested it and no it does not work with Reloader. Maybe I can try and fix it for next release. My scripts only runs at the start and does not monitor changes.
Thank you, if you could manage to make it work with Reloader it would be great (IMG:[ invalid] style_emoticons/default/biggrin.gif)
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|
|
|