Welcome Guest ( Log In | Register )

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

 
post Jun 21 2015, 09:14
Post #2156
ctxl



バカ
****
Group: Members
Posts: 425
Joined: 20-May 12
Level 455 (Godslayer)


QUOTE(tetron @ Jun 20 2015, 22:56) *

Can you make it such that the results are sorted? I mean, restoratives at one place, equipments at one place etc., rather than mixed display?

That's actually the default behavior in whatever version I was using.

I posted a broken-for-Firefox-by-default version 2.2 here that does grouping/sorting/gems (Dec 2013).

Firefox users will need to set reTimer to false in that version, according to the subsequent posts.
Everyone should set reTimer: false anyways, seeing how the Random Encounter mechanics were changed after that was posted.

QUOTE(Acer37 @ Jun 20 2015, 22:21) *

I have tried all the versions already. I couldn't get any of them to work.
They are all clearly doing something, because they make the stamina icon clickable. It just doesn't do anything when I click.
Could another script be interfering with it?

Your posts are sparse on details, so idk.

I haven't played the clicky game in a while.
I definitely haven't tested anything with the latest versions of popular browsers.

Last time I checked, all the hardcore players are using old versions of Chrome/Firefox or less-bloaty forks for whatever reason.
More restrictive sandboxing in the newer versions? lack of access to unsafeWindow? I don't remember.

I'll look into it and shove an updated version of that, and some other scripts I have sitting around into a GitHub repo.
That ought to keep things a little more orderly (even though it's substantially more :effort: to do so).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 21 2015, 09:27
Post #2157
simrock87



<('.'<) (>'.')> (^'.')>
*****
Group: Members
Posts: 647
Joined: 12-June 11
Level 399 (Godslayer)


QUOTE(ctxl @ Jun 21 2015, 09:14) *
Last time I checked, all the hardcore players are using old versions of Chrome/Firefox or less-bloaty forks for whatever reason.
More restrictive sandboxing in the newer versions? lack of access to unsafeWindow? I don't remember.

Oh, i can actually say something useful on that one (IMG:[invalid] style_emoticons/default/smile.gif)
Current Chrome for win doesn't "trust" userscripts anymore, so adding them and keeping them running is a pain. Also there seems to be an issue with newer versions that causes some flickering and memory rampups due to the unusually high refresh/render rate we have in HV.
The Chrome forks take care of the userscript mess, but they often don't auto-update by default and may or may not be artificially stuck at a version where the flickering is less pronounced.
As for Firefox ... i think most people are now using the portable version which doesn't auto-update by default iirc.

QUOTE
I'll look into it and shove an updated version of that, and some other scripts I have sitting around into a GitHub repo.
That ought to keep things a little more orderly (even though it's substantially more :effort: to do so).

Whee, more code examples (IMG:[invalid] style_emoticons/default/biggrin.gif)
Thanks for the effort / time in advance.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 21 2015, 10:59
Post #2158
tetron



Certified Retard!
*********
Group: Gold Star Club
Posts: 5,583
Joined: 30-July 14
Level 488 (Godslayer)


QUOTE(ctxl @ Jun 21 2015, 12:44) *

That's actually the default behavior in whatever version I was using.

I posted a broken-for-Firefox-by-default version 2.2 here that does grouping/sorting/gems (Dec 2013).

Firefox users will need to set reTimer to false in that version, according to the subsequent posts.
Everyone should set reTimer: false anyways, seeing how the Random Encounter mechanics were changed after that was posted.

I was using the 2.1 version, which does not sort.

Didn't know about v2.2.
Just checked v2.2. I don't like the Grouping, because I'd like to see how many Health/Mana/Spirit Potions I'm dropping, including their ratio. Turning off Cleanup doesn't show ANY restorative! How can grouping be disabled?

NVM. Found the solution. just needed to comment out some lines. (IMG:[invalid] style_emoticons/default/smile.gif)

This post has been edited by tetron: Jun 21 2015, 11:53
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 21 2015, 15:46
Post #2159
FAhentai



Active Poster
*******
Group: Gold Star Club
Posts: 1,377
Joined: 27-October 08
Level 500 (Godslayer)


QUOTE(oohmrparis @ May 5 2015, 02:35) *

Popup equipment links on mouseover in forum.

Attached File  HV_equipment_link_popup.user.zip ( 2.38k ) Number of downloads: 197


CODE
var set = {
  popupX: 700,                  //popup x position.
  popupColor: '#E3E0D1',        //popup color. color name or color code.
  animationColor: '92, 12, 17'  //load animation color. RGB only.
},

Auto login: auto login if you are not logged in.(need a few sec)
Num key: change equipment set if other window not in battle.(need a few sec)

Popup fix left side when popup x position < mouse x position.
The current equipment data is displayed in the lower right corner once you press the numkey.

Download this ver if you want to use MagicScores and HVEquipCompare in popup.

Attached File  HV___Magic_Scores_for_ELP.user.zip ( 4.61k ) Number of downloads: 153

Attached File  HVEquipCompare_for_ELP.user.zip ( 22.23k ) Number of downloads: 196


HVEquipCompare (update by simplesimon32, thanks (IMG:[invalid] style_emoticons/default/smile.gif) ) add function.
R -> before forge base stat (range)
F -> create forum direct link (Press C isn't necessary)
P -> open WIKI
MagicScores and HVEquipCompare to compete.
Serch 'add code' in script if you want add code by me.

NOTE:
Doesn't works in firefox 35 or(and?) 36 and old browser.
Can't auto login if lottery link. But mouse over the once again displayed.
This bug fix lazy...
■ Because can change the equipment from outside, Please check the equipment number before battle always.

HI, man, I found there is something wrong with the mage score, currently, my MD is 3506, edb 442.3%, but mage score shows my score is 15500, in fact, MDX(EDB+1)=19013 something, can you please tell me how to fix it?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 22 2015, 04:39
Post #2160
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,221
Joined: 23-July 14
Level 500 (Godslayer)


QUOTE(FAhentai @ Jun 21 2015, 21:46) *

HI, man, I found there is something wrong with the mage score, currently, my MD is 3506, edb 442.3%, but mage score shows my score is 15500, in fact, MDX(EDB+1)=19013 something, can you please tell me how to fix it?

Are you using any UI translation script?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 23 2015, 08:05
Post #2161
ctxl



バカ
****
Group: Members
Posts: 425
Joined: 20-May 12
Level 455 (Godslayer)


RE: track drops

As promised, I looked into it.

Attached Image

Firefox 38.0.5 + Scriptish 0.1.11 = OK
Firefox 38.0.5 + Greasemonkey 3.2 = OK

PEBKAC.

Potential causes:
- localstorage full/disabled due to 'private' browsing
- conflicting user scripts
- idk, check your console for hints

---

Either way the script is ancient and is overdue for a rewrite with improvements:

- eliminate regex and use split/substring/whatever matching
- use event.persisted to detect cache reloads rather than 'drops.last' localstorage
- only parse battle logs when the round has ended and has the actual potential for drops (vs. every turn of every round)
- update UI/UX (seriously)
- wrap everything in an IIFE (pass window, document in as local variables)
- lint/style cleanup/etc.

Not difficult, but I have other things to do atm.
I'll see what I can get done this coming weekend.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 23 2015, 21:20
Post #2162
CronoBoA



Why Would You Do That?!?!
*****
Group: Gold Star Club
Posts: 730
Joined: 29-December 10
Level 500 (Ponyslayer)


QUOTE(ctxl @ Jun 23 2015, 02:05) *
-snip-

You are the hero we need, but not the one we deserve.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 26 2015, 10:43
Post #2163
hahaha113



Lurker
Group: Lurkers
Posts: 4
Joined: 26-June 15


QUOTE(LangTuTaiHoa @ Apr 21 2012, 04:58) *

I wrote a very small and simple script that notifies the forum user when the karma bar is full (I often miss this) to imbue someone. Should I post it here or elsewhere? Since this is not very related to HV, it's more of a forum script.

đồng dâm đây rồi , same my big color new
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 29 2015, 03:50
Post #2164
tatarime



2016年12月208日
******
Group: Gold Star Club
Posts: 802
Joined: 23-June 10
Level 500 (Godslayer)


I wrote "battle item counter" script.
I am a beginner, so I always welcome your kind donations.
Attached Image
Attached File  HV___PotionCounter.user.zip ( 1.55k ) Number of downloads: 109


This post has been edited by tatarime: Jun 29 2015, 18:54
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 1 2015, 22:27
Post #2165
arialinnoc



Rest time!! _(:з」∠)_
**********
Group: Gold Star Club
Posts: 7,704
Joined: 6-April 10
Level 500 (Newbie)


Is there a scripts for detach item from moogle?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 4 2015, 16:16
Post #2166
nobody_xxx



((´☻ω☻`) $◞౪◟$ (´☻ω☻`))
***********
Group: Gold Star Club
Posts: 13,753
Joined: 7-December 10
Level 496 (Godslayer)


anyone have mousemelee scripts that I can install directly via drag on into chrome without tampermonkey add ons and not .crx extension (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 5 2015, 14:17
Post #2167
meenanana



Newcomer
*
Group: Recruits
Posts: 16
Joined: 15-March 15
Level 171 (Lord)


Dalek Voicebox x2 sent

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

 
post Jul 6 2015, 18:31
Post #2168
ctxl



バカ
****
Group: Members
Posts: 425
Joined: 20-May 12
Level 455 (Godslayer)


the tracking and displaying-tracked-drops functions are now decoupled.

hvtrackdrops.user.js
- writes a json.stringify-ed array of objects to the _hvtd-data localstorage key
- [gist.github.com] sample array of data

hvdisplaydrops.user.js
- parses the _hvtd-data localstorage key; not all of it is currently used
- mimics most of the old HVTD display functionality; example below

Attached Image

if you're upgrading:
- note that this was only tested in an old version of chrome
- note that the out-of-battle drop logic was based on the old version(s), but has not been fully tested
- note that this version uses a different storage key, so old data wont carry forward/vice-versa

instructions:
- install [github.com] hvtrackdrops.user.js
- install [github.com] hvdisplaydrops.user.js

for script authors that want to access the currently-unutilized tracking data with an alternative 'display drops' script:
- there is cache-reload detection for all tracking methods
- in-battle drops will have "d" set to difficulty
- arena clear bonuses will have "a" set to "true"
- out-of-battle drops will have "o" set to Monster Lab/Artifact/Trophy/Figurine/Salvage

hvdisplaydropsplus.user.js
- whenever i feel like getting around to it
- use a mv* framework for interactive filtering/summarization/etc.
- import track drops localstorage data into indexeddb when running low on space
- use all of the newly-tracked data, etc.
- custom reporting options (last x hours, x rounds, etc.)

edit: to enable 'nopopup' functionality
console -> localStorage.setItem('_hvtd-nopopup', 'true');

This post has been edited by ctxl: Jul 7 2015, 02:30
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 8 2015, 03:09
Post #2169
dedpanda



Newcomer
*
Group: Members
Posts: 24
Joined: 12-February 14
Level 438 (Dovahkiin)


Any scripts a scrub should consider using for improving the HV experience?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 9 2015, 19:20
Post #2170
stryker115



Meh
****
Group: Members
Posts: 437
Joined: 20-April 13
Level 271 (Godslayer)


QUOTE(dedpanda @ Jul 8 2015, 09:09) *

Any scripts a scrub should consider using for improving the HV experience?

HV STAT

Or just go to EHWiki's Scripts and Tools section and browse from there
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 10 2015, 07:42
Post #2171
fathergoodfuckins



Newcomer
**
Group: Members
Posts: 50
Joined: 10-July 15


I used to write screenplays, do those count?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 14 2015, 18:46
Post #2172
cwx



Regular Poster
******
Group: Members
Posts: 873
Joined: 15-November 09
Level 415 (Godslayer)


Is there a ping script?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 14 2015, 18:54
Post #2173
cwx



Regular Poster
******
Group: Members
Posts: 873
Joined: 15-November 09
Level 415 (Godslayer)


QUOTE(ctxl @ Jul 6 2015, 12:31) *

the tracking and displaying-tracked-drops functions are now decoupled.

hvtrackdrops.user.js
- writes a json.stringify-ed array of objects to the _hvtd-data localstorage key
- [gist.github.com] sample array of data

hvdisplaydrops.user.js
- parses the _hvtd-data localstorage key; not all of it is currently used
- mimics most of the old HVTD display functionality; example below

Attached Image

if you're upgrading:
- note that this was only tested in an old version of chrome
- note that the out-of-battle drop logic was based on the old version(s), but has not been fully tested
- note that this version uses a different storage key, so old data wont carry forward/vice-versa

instructions:
- install [github.com] hvtrackdrops.user.js
- install [github.com] hvdisplaydrops.user.js

for script authors that want to access the currently-unutilized tracking data with an alternative 'display drops' script:
- there is cache-reload detection for all tracking methods
- in-battle drops will have "d" set to difficulty
- arena clear bonuses will have "a" set to "true"
- out-of-battle drops will have "o" set to Monster Lab/Artifact/Trophy/Figurine/Salvage

hvdisplaydropsplus.user.js
- whenever i feel like getting around to it
- use a mv* framework for interactive filtering/summarization/etc.
- import track drops localstorage data into indexeddb when running low on space
- use all of the newly-tracked data, etc.
- custom reporting options (last x hours, x rounds, etc.)

edit: to enable 'nopopup' functionality
console -> localStorage.setItem('_hvtd-nopopup', 'true');


Stupid question, but installed both, now how do I view the drops?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 14 2015, 20:53
Post #2174
Razor320



Casual Poster
***
Group: Members
Posts: 220
Joined: 17-October 13
Level 361 (Godslayer)


CODE

...
hv.stamina = document.querySelector('img[title^="Stamina"]');
...
hv.stamina.addEventListener('click', function(e) {
...

It seems you're supposed to click on smiley beside stamina value.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 15 2015, 11:00
Post #2175
djackallstar



ดีjackallstar
**********
Group: Gold Star Club
Posts: 8,221
Joined: 23-July 14
Level 500 (Godslayer)


QUOTE(cwx @ Jul 15 2015, 00:46) *

Is there a ping script?

Hi, I think most web browsers don't support the function of sending ICMP packets to a remote computer. You'd better use the ping command in console.
(Windows and *nix-like OSes have the ping command, with slightly different parameters taken)
Or, if you just want to know the approximate time an HTTP request takes, just use the web developer tools provided by your web browser.
Many web browsers already have built-in web developer tools for various tasks including network analysis like that.
Firefox, for example, can display the details of a request when you press CTRL+SHIFT+Q to use the network analysis tool.
I believe that Google Chrome and Opera have the similar feature. Check their online docs for details. (IMG:[invalid] style_emoticons/default/smile.gif)

This post has been edited by djackallstar: Jul 15 2015, 11:01
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 107 108 109 110 > » 
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: 19th September 2025 - 18:56