Welcome Guest ( Log In | Register )

291 Pages V « < 164 165 166 167 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Nov 11 2016, 21:34
Post #3296
NerfThis



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


CracklingCast fix16 [attachmentid=93750]
fix16 - changed from keydown event to keyup event for spacebar and shift key
stop when overcharge >= Settings.limits.oc



QUOTE(mikotonaruto @ Nov 11 2016, 18:44) *

How is this supposed to work? I saw there are 2 file in rar archive;Auto Recover All.user & Reloader_vanilla.user. I installed Auto Recover.user with tempermonkey, but it doesn't seem work, I use modified reloader for mage by sapo84, maybe I am doing something wrong, I dont know? (IMG:[invalid] style_emoticons/default/unsure.gif)


They work only together.
Auto Recover required below button and recover functions when end of battle and support reloader if you use reloader.
(IMG:http://hentaiverse.org/y/s/restorative.png)

Find 'parent_Character' in sapo's reloader and then and then add the following 3 lines.
CODE

var existing = document.querySelector(".clb");
var newStuff = data.querySelector(".clb");
existing.parentNode.replaceChild(newStuff, existing);


ex)
CODE

// If there's navbar/popup in new content, show it
if (navbarExists) {
    var mainpane = document.getElementById('mainpane');
    mainpane.parentNode.insertBefore(navbar, mainpane);
    window.at_attach("parent_Character", "child_Character", "hover", "y", "pointer");
    window.at_attach("parent_Bazaar", "child_Bazaar", "hover", "y", "pointer");
    window.at_attach("parent_Battle", "child_Battle", "hover", "y", "pointer");
    window.at_attach("parent_Forge", "child_Forge", "hover", "y", "pointer");
    var existing = document.querySelector(".clb");
    var newStuff = data.querySelector(".clb");
    existing.parentNode.replaceChild(newStuff, existing);
}


But, I didn't test with sapo's reloader.

This post has been edited by hansvar92: Nov 11 2016, 21:35
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 12 2016, 00:55
Post #3297
mikotonaruto



Newcomer
**
Group: Gold Star Club
Posts: 99
Joined: 31-August 15
Level 329 (Godslayer)


QUOTE(hansvar92 @ Nov 11 2016, 21:34) *


But, I didn't test with sapo's reloader.


Still not work.
I have already installed Auto Recover All.user.js & sapo84 reloader mod with tempermonkey and already find 'parent_Character' in sapo's reloader and then add the 3 lines of code. I have 2 script activated (auto recover and sapo84 reloader mod) and after the battle ends, my hp mp sp still not recovered. (IMG:[invalid] style_emoticons/default/unsure.gif)

btw here is sapo84 reloader mod that i used
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 12 2016, 03:40
Post #3298
NerfThis



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


QUOTE(mikotonaruto @ Nov 12 2016, 07:55) *

Still not work.
I have already installed Auto Recover All.user.js & sapo84 reloader mod with tempermonkey and already find 'parent_Character' in sapo's reloader and then add the 3 lines of code. I have 2 script activated (auto recover and sapo84 reloader mod) and after the battle ends, my hp mp sp still not recovered. (IMG:[invalid] style_emoticons/default/unsure.gif)

btw here is sapo84 reloader mod that i used


It happened by incomplete swap code for recover that's make broken left pane.
So, reloader code stopped before dispatch event.

Anyway, send post request much better (not required Auto Recover script).

CODE

if (navbarExists) {
    var mainpane = document.getElementById('mainpane');
    mainpane.parentNode.insertBefore(navbar, mainpane);
    window.at_attach("parent_Character", "child_Character", "hover", "y", "pointer");
    window.at_attach("parent_Bazaar", "child_Bazaar", "hover", "y", "pointer");
    window.at_attach("parent_Battle", "child_Battle", "hover", "y", "pointer");
    window.at_attach("parent_Forge", "child_Forge", "hover", "y", "pointer");
    var post = new XMLHttpRequest();
    post.open("POST", "/", true);
    post.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    post.send("recover=all");
}


This post has been edited by hansvar92: Nov 12 2016, 05:11
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 12 2016, 05:03
Post #3299
mikotonaruto



Newcomer
**
Group: Gold Star Club
Posts: 99
Joined: 31-August 15
Level 329 (Godslayer)


QUOTE(hansvar92 @ Nov 12 2016, 03:40) *

It happened by incomplete swap code for recover that's make broken left pane.
So, reloader code stopped before dispatch event.

Anyway, send post request much better (not required Auto Recover script).



Now it works 100%, thank you very much friend (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 13 2016, 03:46
Post #3300
Superlatanium



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


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.

Attached Image

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.

Attached File  SmartSearch_1.2.4.user.js.txt ( 37.34k ) Number of downloads: 113
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 15 2016, 22:39
Post #3301
Shind Mar



Casual Poster
****
Group: Members
Posts: 283
Joined: 8-April 14
Level 380 (Dovahkiin)


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.

Attached File  HVShop.user.js.txt ( 2.96k ) Number of downloads: 41


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.

Attached Image


This post has been edited by Shind Mar: Nov 21 2016, 22:12
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 20 2016, 15:13
Post #3302
BMstar



Newcomer
*
Group: Members
Posts: 37
Joined: 31-October 16
Level 201 (Destined)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 21 2016, 08:47
Post #3303
kyouri



忍 - chasing rainbows~
*******
Group: Catgirl Camarilla
Posts: 1,012
Joined: 26-October 09
Level 500 (Ponyslayer)


Anyone know where to get mage statistics plugin? this one:
QUOTE(sssss2 @ Nov 14 2016, 10:55) *

41.4k magic score (IMG:[invalid] style_emoticons/default/smile.gif)
0.4340 prof_factor (IMG:[invalid] style_emoticons/default/sad.gif)

[attachembed=93895]

Need to find out how crappy my magic score is (IMG:[invalid] style_emoticons/default/cool.gif)

Nvm found out its private.

This post has been edited by kyouri: Nov 21 2016, 09:31
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 21 2016, 14:31
Post #3304
Kiriman1



Casual Poster
****
Group: Gold Star Club
Posts: 280
Joined: 6-May 16
Level 483 (Godslayer)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 21 2016, 17:51
Post #3305
lazyNPC



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


@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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 21 2016, 18:06
Post #3306
lazyNPC



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


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.

Attached Image

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.

Attached File  SmartSearch_1.2.4.user.js.txt ( 37.34k ) Number of downloads: 113


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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 21 2016, 18:06
Post #3307
Sapo84



Deus lo vult
********
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
Level 500 (Ponyslayer)


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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 21 2016, 21:51
Post #3308
FabulousCupcake



Casual Poster
****
Group: Gold Star Club
Posts: 496
Joined: 15-April 14
Level 451 (Dovahkiin)


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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 21 2016, 21:57
Post #3309
lazyNPC



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


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 21 2016, 23:49
Post #3310
Superlatanium



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


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.)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 22 2016, 00:12
Post #3311
lazyNPC



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


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 22 2016, 01:03
Post #3312
Superlatanium



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


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.

Attached File  SmartSearch_1.2.5.user.js.txt ( 37.53k ) Number of downloads: 73
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 22 2016, 01:16
Post #3313
lazyNPC



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


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.

Attached File  SmartSearch_1.2.5.user.js.txt ( 37.53k ) Number of downloads: 73


Tested it, it does work now (IMG:[invalid] style_emoticons/default/biggrin.gif)
Thank you for your hard work!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 22 2016, 01:49
Post #3314
lazyNPC



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


@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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 25 2016, 00:25
Post #3315
Shind Mar



Casual Poster
****
Group: Members
Posts: 283
Joined: 8-April 14
Level 380 (Dovahkiin)


Hiya,

Attached File  HentaiVerse_Assitant_by_Shind_Mar.user.js.txt ( 25.12k ) Number of downloads: 63


"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
Attached Image

Equipment selling
Attached Image

The record is kept above the monster listing. You press the arrow button to get to see what items you've picked up.
Attached Image
Attached Image

This post has been edited by Shind Mar: Nov 25 2016, 01:24
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 164 165 166 167 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 23rd September 2025 - 13:53