Welcome Guest ( Log In | Register )

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

 
post Mar 15 2015, 15:14
Post #1956
djackallstar



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


QUOTE(showoff @ Mar 15 2015, 18:45) *

Isn't it still need to update the rules online?
I search [ap.teesoft.info] Here but nothing, when I browsing MM, it still has no popup or anything appear, may I ask how to start with using it (IMG:[invalid] style_emoticons/default/heh.gif)

You'll have to add rules if none exists in the default database.
But now im stuck too (IMG:[invalid] style_emoticons/default/heh.gif)
After manually adding the rules by myself the next pages won't load at all, can those good at XPath throw some light on the problem?
(IMG:[i.imgur.com] http://i.imgur.com/uzo7J4G.png)

I wish I could use CSS selectors...

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

 
post Mar 15 2015, 15:26
Post #1957
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(djackallstar @ Mar 15 2015, 13:14) *

You'll have to add rules if none exists in the default database.
But now im stuck too (IMG:[invalid] style_emoticons/default/heh.gif)
After manually adding the rules by myself the next pages won't load at all, can those good at XPath throw some light on the problem?
(IMG:[i.imgur.com] http://i.imgur.com/uzo7J4G.png)

I wish I could use CSS selectors...

So sad (IMG:[invalid] style_emoticons/default/anime_cry.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 16 2015, 11:27
Post #1958
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


Attached File  Moogle_Pager.user.zip ( 1.39k ) Number of downloads: 59

Chrome only.
If you want stop paging, click 'Page xxx'.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 16 2015, 15:48
Post #1959
djackallstar



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


QUOTE(oohmrparis @ Mar 16 2015, 17:27) *

Attached File  Moogle_Pager.user.zip ( 1.39k ) Number of downloads: 59

Chrome only.
If you want stop paging, click 'Page xxx'.

Oh thank you oohmrparis! I've slightly modified it to suit my needs and it works well.
(IMG:[i.imgur.com] http://i.imgur.com/eHmLZeO.png)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 05:38
Post #1960
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Mar 16 2015, 09:27) *

Attached File  Moogle_Pager.user.zip ( 1.39k ) Number of downloads: 59

Chrome only.
If you want stop paging, click 'Page xxx'.


Awesome!! Thank you man!
One more question, how to change to load 5 more pages when I scroll down?
I tried to change 1 to 5 but failed (IMG:[invalid] style_emoticons/default/heh.gif)
QUOTE
(function() {
var pager = {
wait: true,
cnt: 2,
missCnt: 0,
set: function(url) {
var num = url.match(/\d+/);
this.next = document.querySelector('#mainpane > div > table');
this.url = /read/.test(url)? 'read&page=': 'sent&page=';
this.start = !num? 1: num * 1 + 1;
},


This post has been edited by showoff: Mar 17 2015, 05:38
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 10:57
Post #1961
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


QUOTE(showoff @ Mar 17 2015, 05:38) *

Awesome!! Thank you man!
One more question, how to change to load 5 more pages when I scroll down?
I tried to change 1 to 5 but failed (IMG:[invalid] style_emoticons/default/heh.gif)

CODE
this.start = !num? 1: num * 1 + 1;

This cord get next link from URL, not setting paging count.
You don't touch this. (IMG:[invalid] style_emoticons/default/mellow.gif)

Maybe, a year over data remove from MM.
You check turn off script and count pages.
You have only 5 pages, me too.
djackallstar's moogle hard worker. (IMG:[invalid] style_emoticons/default/heh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 13:19
Post #1962
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Mar 17 2015, 08:57) *

CODE
this.start = !num? 1: num * 1 + 1;

This cord get next link from URL, not setting paging count.
You don't touch this. (IMG:[invalid] style_emoticons/default/mellow.gif)

Maybe, a year over data remove from MM.
You check turn off script and count pages.
You have only 5 pages, me too.
djackallstar's moogle hard worker. (IMG:[invalid] style_emoticons/default/heh.gif)


I turned off and it seems I have more 5 pages? (IMG:[invalid] style_emoticons/default/duck.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 13:37
Post #1963
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


QUOTE(showoff @ Mar 17 2015, 13:19) *

I turned off and it seems I have more 5 pages? (IMG:[invalid] style_emoticons/default/duck.gif)

Really? script return 'Page End'?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 15:01
Post #1964
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Mar 17 2015, 11:37) *

Really? script return 'Page End'?

Page End appear only when I reinstall the script, but after a while, only 2nd page can scroll out
Attached Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 15:45
Post #1965
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


Maybe, next page data undefined.
Attached File  Moogle_Pager_debug.user.zip ( 1.4k ) Number of downloads: 51

If don't work this ver, you see console (tool → Javascript console).
And your chrome ver?

This post has been edited by oohmrparis: Mar 17 2015, 15:50
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 17 2015, 18:27
Post #1966
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Mar 17 2015, 13:45) *

Maybe, next page data undefined.
Attached File  Moogle_Pager_debug.user.zip ( 1.4k ) Number of downloads: 51

If don't work this ver, you see console (tool → Javascript console).
And your chrome ver?

It seems fine right now (IMG:[invalid] style_emoticons/default/wub.gif)
I will report it if there is any bug, thanks!
I'm using Iron~

PS:Will you still work on the battle script? I need some help with the hvstat silm (IMG:[invalid] style_emoticons/default/heh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 18 2015, 05:52
Post #1967
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


Just tested, same problem (IMG:[invalid] style_emoticons/default/heh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 18 2015, 07:39
Post #1968
djackallstar



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


QUOTE(showoff @ Mar 18 2015, 11:52) *

Just tested, same problem (IMG:[invalid] style_emoticons/default/heh.gif)

You'd better provide the console log as suggested by oohmrparis to help him pinpoint the problem.

This post has been edited by djackallstar: Mar 18 2015, 07:39
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 18 2015, 07:41
Post #1969
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(djackallstar @ Mar 18 2015, 05:39) *

You'd better provide the console log as suggested by oohmrparis to help him pinpoint the problem.

QUOTE
ye
chrome-extension://aicecebepobnggejlhpfhfmimpgboikm/script.js:32 #document XMLHttpRequest
6chrome-extension://ahicnagdfphdiiibdokomcnjggofkpgl/script.js:83 1, 644, 0
chrome-extension://ahicnagdfphdiiibdokomcnjggofkpgl/script.js:29 2
chrome-extension://ahicnagdfphdiiibdokomcnjggofkpgl/script.js:83 2, 1189, 0
chrome-extension://ahicnagdfphdiiibdokomcnjggofkpgl/script.js:83 2, 1189, 100
chrome-extension://ahicnagdfphdiiibdokomcnjggofkpgl/script.js:83 2, 1189, 200
chrome-extension://ahicnagdfphdiiibdokomcnjggofkpgl/script.js:83 2, 1189, 300
10chrome-extension://ahicnagdfphdiiibdokomcnjggofkpgl/script.js:83 2, 1189, 372


like this?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 18 2015, 10:38
Post #1970
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


Chrome means Chromium derivation browser(Chrome, Iron, Dragon...).
Your version seems to be low (tools → About Iron), mine v31.

hmm...maybe...
CODE
if (y - scroll <= 800 && pager.cnt != 'End' && pager.wait) {

800 → 900 or any more.
This cord check quantity of scroll.
A screen is small, and this number doesn't seem to be enough.

This post has been edited by oohmrparis: Mar 18 2015, 11:14
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 18 2015, 12:41
Post #1971
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Mar 18 2015, 08:38) *

Chrome means Chromium derivation browser(Chrome, Iron, Dragon...).
Your version seems to be low (tools → About Iron), mine v31.

hmm...maybe...
CODE
if (y - scroll <= 800 && pager.cnt != 'End' && pager.wait) {

800 → 900 or any more.
This cord check quantity of scroll.
A screen is small, and this number doesn't seem to be enough.


I will report a bit later whether I change to 1000 is fine or not, thanks!
I'm using Iron v39 portable (is this the problem of using portable versoin? will it be slower of using portable version?)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 18 2015, 12:53
Post #1972
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


May I also ask something about the hvstat slim script?

1.What is the hotkey function? I searched keycode 107 is k, but I can't understand what's the function (IMG:[invalid] style_emoticons/default/heh.gif)

2.What is these mean?
QUOTE

storage.removeItem('rounds');
storage.removeItem('sparkON');
storage.removeItem('channeling');
storage.removeItem('HPlimit');
storage.removeItem('MPlimit');
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 18 2015, 14:21
Post #1973
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


QUOTE(showoff @ Mar 18 2015, 12:53) *

May I also ask something about the hvstat slim script?

1.What is the hotkey function? I searched keycode 107 is k, but I can't understand what's the function (IMG:[invalid] style_emoticons/default/heh.gif)

2.What is these mean?


1, hotkey function is auto click skill. my keycode 107 is ten key '+'.
But this function have miss code.
onclick() → click()

2, battele data remove out of a battle.

Also, I don't know whether a portable edition is slow. I think it isn't faster.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 18 2015, 15:32
Post #1974
showoff



Veteran Poster
********
Group: Gold Star Club
Posts: 3,778
Joined: 31-December 14
Level 500 (Ponyslayer)


QUOTE(oohmrparis @ Mar 18 2015, 12:21) *

1, hotkey function is auto click skill. my keycode 107 is ten key '+'.
But this function have miss code.
onclick() → click()

2, battele data remove out of a battle.

Also, I don't know whether a portable edition is slow. I think it isn't faster.

QUOTE
// hotkey

if (settings.skillHotkey) {
d.addEventListener('keyup',function(e) {
if (e.keyCode != 107 || $('.btcp')) return;
var target = $a('#togpane_magico tr:nth-child(4) ~ tr > td > div:not([style])'),
pane = d.getElementById('togpane_magico'),toggle = d.getElementById('ckey_magic');
if (!target.length) return;
else target = target[target.length-1];
while (pane.style.cssText.length) toggle.click();
target.click();
},false);
}

Like this?

What kind of skill can I set in hot key and how to set them?
Is there any rebuff script in your script rather than use hoverplay?
I tried but can't use in Iron, only in FF but too slow...

Thank you for answering a newbie's question (IMG:[invalid] style_emoticons/default/wub.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 18 2015, 16:27
Post #1975
oohmrparis



We are ping-pong player
*****
Group: Gold Star Club
Posts: 524
Joined: 18-June 13
Level 500 (Ponyslayer)


QUOTE(showoff @ Mar 18 2015, 15:32) *

Like this?

What kind of skill can I set in hot key and how to set them?
Is there any rebuff script in your script rather than use hoverplay?
I tried but can't use in Iron, only in FF but too slow...

Thank you for answering a newbie's question (IMG:[invalid] style_emoticons/default/wub.gif)

Exactly.
Change 107. But serch keycode yourself.
This function click(set) skill when enough overchage.
It does not compete with hoverplay.
It works fine in my Iron... Your Iron feels slightly strange (IMG:[invalid] style_emoticons/default/unsure.gif)
There is only seeing the console. (IMG:[invalid] style_emoticons/default/heh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 97 98 99 100 > » 
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: 21st September 2025 - 03:50