Welcome Guest ( Log In | Register )

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

 
post May 17 2016, 02:11
Post #3047
Superlatanium



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


SmartSearch 1.2.3

Attached File  SmartSearch_1.2.3.user.js.txt ( 31.82k ) Number of downloads: 2630


Attached Image

You can now filter by equipment EID. 0.82 was released very close to EID 67.18 million, so that's the default value. (Set Lowest EID to 0 to never filter out any)

You can also now filter by thread title. "Include" means the thread title must include that word or phrase, or it will be hidden. "Exclude" means the opposite, of course.

Most often the phrase you want is "auction", when searching within WTS.
  • Exclude auctions in order to find equipment you have a decent chance of being able to buy from a shop
  • Include auctions in order to gauge the general market price of a (moderately high-tier) equipment type

You can now see the entire thread title when hovering the mouse over the title text.

Made a number of other small tweaks and fixes.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2016, 07:15
Post #3048
Fudo Masamune



Passive Poster
*******
Group: Gold Star Club
Posts: 1,636
Joined: 2-February 10
Level 500 (Ponyslayer)


QUOTE(Superlatanium @ May 17 2016, 05:22) *

Oh... I only use localStorage (and -> sessionStorage) because doesn't require a GM_ special function, and for better performance (no disk read required after the localStorage has been put into sessionStorage). Just an example of what I had been doing.

In your case, using GM_, I think you could probably use a string method and operate on the x.src directly to turn the first instance of "data:application;" into "data:audio/ogg;" and then try "x.play()".

(btw, something like string.replace will very likely be a lot easier to use than .search and .slice in this situation and most others. it would still work on the .src, right?)


oh yeah, that works (IMG:[invalid] style_emoticons/default/biggrin.gif)
I should stop being lazy to look for method reference...
thanks anyway
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2016, 10:32
Post #3049
Usagi =



Veteran Poster
********
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13
Level 453 (Dovahkiin)


QUOTE(Superlatanium @ May 17 2016, 08:11) *

SmartSearch 1.2.3


Say, do you have any plans to make it so that it doesn't require tampermonkey? (IMG:[invalid] style_emoticons/default/tongue.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2016, 10:53
Post #3050
Superlatanium



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


QUOTE(LOL50015 @ May 17 2016, 08:32) *
Say, do you have any plans to make it so that it doesn't require tampermonkey? (IMG:[invalid] style_emoticons/default/tongue.gif)
What browser/script manager do you wish to be able to run it on that it can't run on currently?

It worked on tampermonkey the couple times I tested it, and has always been working fine on Greasemonkey.

It doesn't require any GM_ special functions, but it does require the ability to use IndexedDB.

This post has been edited by Superlatanium: May 17 2016, 10:56
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2016, 11:07
Post #3051
Usagi =



Veteran Poster
********
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13
Level 453 (Dovahkiin)


QUOTE(Superlatanium @ May 17 2016, 16:53) *

What browser/script manager do you wish to be able to run it on that it can't run on currently?

It worked on tampermonkey the couple times I tested it, and has always been working fine on Greasemonkey.

It doesn't require any GM_ special functions, but it does require the ability to use IndexedDB.


Well, I'm using chromium 48 which have native userscript support but when I try to run it nothing happens, the search bar doesn't show. There weren't any errors in the console, but when I copy the whole script script minus the return statement in the beginning and try to run it in the console, it gives off a left-hand side assignment error at line 297.

It works perfectly when I run it with tampermonkey though.

Edit:

I removed:

[tr.appendChild(w.document.createElement('td')).textContent, warn1] = ago(thread.dateSaved);
[tr.appendChild(w.document.createElement('td')).textContent, warn2] = ago(post.lastEdited);

and it seems to be working!

Edit 2:
and naturally the "posts edited" and "thread saved" column are empty when I did that.

This post has been edited by LOL50015: May 17 2016, 11:22
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2016, 11:37
Post #3052
Superlatanium



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


QUOTE(LOL50015 @ May 17 2016, 09:07) *
Well, I'm using chromium 48 which have native userscript support but when I try to run it nothing happens, the search bar doesn't show. There weren't any errors in the console, but when I copy the whole script script minus the return statement in the beginning and try to run it in the console, it gives off a left-hand side assignment error at line 297.
I see, so the issue is that Chromium, unlike Chrome and Firefox, does not support ES6 Javascript destructuring assignment for some reason. I have a guess that Chromium 49 might support it though.

Maybe you can try that, if it doesn't work I can fix the code, it's very simple.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2016, 12:57
Post #3053
FabulousCupcake



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


QUOTE(Superlatanium @ May 17 2016, 11:37) *

I see, so the issue is that Chromium, unlike Chrome and Firefox, does not support ES6 Javascript destructuring assignment for some reason. I have a guess that Chromium 49 might support it though.

Maybe you can try that, if it doesn't work I can fix the code, it's very simple.


Works on Chromium 50; with Tampermonkey though.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 17 2016, 13:23
Post #3054
Usagi =



Veteran Poster
********
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13
Level 453 (Dovahkiin)


QUOTE(Superlatanium @ May 17 2016, 17:37) *

I see, so the issue is that Chromium, unlike Chrome and Firefox, does not support ES6 Javascript destructuring assignment for some reason. I have a guess that Chromium 49 might support it though.

Maybe you can try that, if it doesn't work I can fix the code, it's very simple.


Yeah, I checked and it does seem only chromium 49 and above support it.

Thanks but I'll manage.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 18 2016, 14:36
Post #3055
boulay



Noob
********
Group: Gold Star Club
Posts: 2,675
Joined: 27-June 11
Level 500 (Godslayer)


Some fixes:

Attached File  The_EcchiVerse_Opera.zip ( 3.2k ) Number of downloads: 61
Attached File  Monster_Letters_to_numbers_Opera.zip ( 1.38k ) Number of downloads: 74
Attached File  HV_Battle_Unfocus_1.2_Opera.zip ( 1.72k ) Number of downloads: 59


Dunno if there are lots of people who use Opera though... (IMG:[invalid] style_emoticons/default/unsure.gif)
Battle compact will come a bit later, sice I'm working on some improvements. Same for EH Night series...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 18 2016, 23:31
Post #3056
幻猫儿



Sweetness Overload!
**********
Group: Gold Star Club
Posts: 7,591
Joined: 4-December 15
Level 422 (Journeyman)


I downloaded equip comparison from here, pasted it into my tampermonkey but when I C an item, opened the popup and hit Y nothing happens except a "EC Loading" like the image below.

Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 18 2016, 23:36
Post #3057
chumassu



Casual Poster
****
Group: Members
Posts: 375
Joined: 19-February 12
Level 392 (Dovahkiin)


QUOTE(Sweetness Overload @ May 18 2016, 18:31) *

I downloaded equip comparison from here, pasted it into my tampermonkey but when I C an item, opened the popup and hit Y nothing happens except a "EC Loading" like the image below.

Attached Image


go to your equipment page and then it'll load your equips and you can start comparing gear, since some of the hotkeys are used to compare your equips with the item selected.

This post has been edited by chumassu: May 18 2016, 23:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 18 2016, 23:39
Post #3058
幻猫儿



Sweetness Overload!
**********
Group: Gold Star Club
Posts: 7,591
Joined: 4-December 15
Level 422 (Journeyman)


QUOTE(chumassu @ May 18 2016, 23:36) *

go to your equipment page and then it'll load your equips and you can start comparing gear, since some of the hotkeys are used to compare your equips with the item selected.

Still don't get what I'm supposed to do (and it still doesn't work) (IMG:[invalid] style_emoticons/default/sad.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 18 2016, 23:41
Post #3059
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


QUOTE
I downloaded equip comparison from here, pasted it into my tampermonkey but when I C an item, opened the popup and hit Y nothing happens except a "EC Loading" like the image below.

Do you use custom font in settings (character -> settings -> select custom font )or default one?
This script (and many more) require custom font to work properly. Try this settings for custom font: default | 8 | blank | blank | -2

If still will not work, try this steps:
Troubleshooting


If for some reasons scripts are not working for you try to do next:
  • Switch from default font engine to custom one. Seriously, this can help. You can find examples of custom fonts in THIS THREAD;
  • If you are using firefox, try put link "about:config" into adressbar and set "gfx.direct2d.disabled" setting to "true";
  • If you using some addons to remove custom javascript on sites (like NoScript), try to turn them off, or add HentaiVerse in exceptions;
  • Check that popup is not restricted in your browser;
  • Revisit EVERY "non-battle" pages in HentaiVerse (Character, Bazaar, Arena, Inventory, Equipment, e.t.c.). Yes, EVERY page like this. Some scripts require do this to collect data for future work;
  • Rearrange WHERE and WHEN scripts located (their order and placement)
  • Open script and try to add this line "//@match http://*.hentaiverse.org/*" into "==UserScript=="-block;
  • Try to use different browser. Scripts developed in past years are adapted for work in chrome/iron and firefox in same way, but older scripts may require to use special browser;
  • Try to use different build of script, because HentaiVerse is patched in past years and some versions of same scripts may not working now.


This post has been edited by f4tal: May 18 2016, 23:45
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 18 2016, 23:46
Post #3060
幻猫儿



Sweetness Overload!
**********
Group: Gold Star Club
Posts: 7,591
Joined: 4-December 15
Level 422 (Journeyman)


QUOTE(f4tal @ May 18 2016, 23:41) *

Do you use custom font in settings (character -> settings -> select custom font )or default one?
This script (and many more) require custom font to work properly. Try this settings for custom font: default | 8 | blank | blank | -2

[/list]


This one really worked. Thanks f4tal you are the best (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 18 2016, 23:46
Post #3061
chumassu



Casual Poster
****
Group: Members
Posts: 375
Joined: 19-February 12
Level 392 (Dovahkiin)


---

This post has been edited by chumassu: May 18 2016, 23:47
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 18 2016, 23:48
Post #3062
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


QUOTE
This one really worked. Thanks f4tal you are the best biggrin.gif

You are welcome (IMG:[invalid] style_emoticons/default/happy.gif)

QUOTE
when you go to your equipments page after turning on the equip comparison you'll see at the bottom of the screen writhen in red: ec loading
that's when the script gathers the info about the equips you're currently using.
after it loads the info, all you have to do is open press c on the equipment you want and you'll be able to use all the hotkeys for comparison.

This is true - visit your equipment screen to let scripts parse data of your gears and level - it need for further work too. =)

This post has been edited by f4tal: May 18 2016, 23:49
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2016, 00:02
Post #3063
Superlatanium



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


The boss should really just disable the crappy HV font by default, it both slows pages down and breaks many things...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2016, 07:06
Post #3064
mozilla browser



Nutscrape Navigator
*******
Group: Gold Star Club
Posts: 2,131
Joined: 22-December 11
Level 500 (Godslayer)


Changing monster letters to numbers is another thing that could be changed via script but should really just be applied by default.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 19 2016, 08:24
Post #3065
FabulousCupcake



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


QUOTE(mozilla browser @ May 19 2016, 07:06) *

Changing monster letters to numbers is another thing that could be changed via script but should really just be applied by default.

[r.kyaa.sg] Stylesheet, even

This post has been edited by FabulousCupcake: May 19 2016, 08:25
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 23 2016, 02:08
Post #3066
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,132
Joined: 26-April 12
Level 500 (Ponyslayer)


Suggestion for SmartSearch script improvement (if possible):
Adding a column that shows the last time the seller was active on the forum.

This post has been edited by ppp82p: May 23 2016, 02:09
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 152 153 154 155 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 26th July 2025 - 21:34