Loading. Please Wait... 
 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Nov 11 2014, 17:09
|
oohmrparis
Group: Gold Star Club
Posts: 524
Joined: 18-June 13

|
while ago of the code was a mistake (IMG:[ invalid] style_emoticons/default/sad.gif) CODE if (settings.effectDurations) { var targets = $a('img[onmouseover^="battle.set_infopane_effect"]'), i = targets.length; while (i --) { var duration = targets[i].getAttribute('onmouseover').match(/, ([-\d]+)\)/); if (!duration || duration < 0) duration = '-'; else duration = duration[1]; var div = targets[i].parentNode.insertBefore(create('div'),targets[i].nextSibling); div.appendChild(create('div')).innerHTML = duration; div.className = 'duration'; } } ↓this CODE if (settings.effectDurations) { var targets = $a('img[onmouseover^="battle.set_infopane_effect"]'), i = targets.length; while (i --) { var text = targets[i].getAttribute('onmouseover'), duration = text.match(/, ([-\d]+)\)/), stack = text.match(/x\d/); if (!duration || duration < 0) duration = '-'; else duration = duration[1]; var div = targets[i].parentNode.insertBefore(create('div'), targets[i].nextSibling); div.appendChild(create('div')).innerHTML = duration; div.className = 'duration'; if (stack) { var left = targets[i].offsetLeft + 16, div2 = targets[i].parentNode.insertBefore(create('div'), div.nextSibling); div2.appendChild(create('div')).innerHTML = stack; div2.style.cssText ='position:absolute;width:12px;top:2px;left:'+left+'px;background:#FF6600;border:1px solid black;font-size:7pt;font-weight:bold;text-align:center;'; } } } Background color change (IMG:[ invalid] style_emoticons/default/tongue.gif)
|
|
|
|
 |
|
Nov 11 2014, 18:14
|
Dead-ed
Group: Members
Posts: 3,577
Joined: 4-March 14

|
QUOTE(oohmrparis @ Nov 11 2014, 08:09) 
thanks (IMG:[ invalid] style_emoticons/default/biggrin.gif) I'd love to test it. Reward sent. This post has been edited by Dead-ed: Nov 11 2014, 18:16
|
|
|
Nov 13 2014, 00:41
|
Delques1843
Newcomer
  Group: Members
Posts: 76
Joined: 21-December 13

|
QUOTE(oohmrparis @ Nov 11 2014, 08:51)  What's the monster stack? ↓
Great! It works now! Thanks!
|
|
|
|
 |
|
|
 |
|
Nov 13 2014, 09:04
|
kumosu
Group: Members
Posts: 428
Joined: 11-July 14

|
QUOTE(Dead-ed @ Nov 13 2014, 15:50)  tested & it works great. (IMG:[ invalid] style_emoticons/default/biggrin.gif) btw, how can i combine it with Owyn's Hoverplay? Just because hvstat slim has overlaping function with it, i just need the stack function. I've tried but obviously i screwed up. (IMG:[ invalid] style_emoticons/default/faint.gif) In HV STAT slim: adjustkey : true, effectDurations : true, gemIcon : true, skillHotkey : false, roundCounter : true, noPopup : true, popupTime : 000, sparkAlert : false, HPalert : true, HPpercentage : 60, MPalert : true, MPpercentage : 10, SPalert : false, SPpercentage : 1, channeling : false, turnEndborder : false, equippedSet : false Turn everything except effectDurations into false: adjustkey : false, effectDurations : true, gemIcon : false, skillHotkey : false, roundCounter : false, noPopup : false, popupTime : 000, sparkAlert : false, HPalert : false, HPpercentage : 60, MPalert : false, MPpercentage : 10, SPalert : false, SPpercentage : 1, channeling : false, turnEndborder : false, equippedSet : false Check if it work, I think the gemIcon is the main problem.. If you need something just turn value to true. This post has been edited by kumosu: Nov 13 2014, 09:11
|
|
|
|
 |
|
Nov 13 2014, 09:22
|
Dead-ed
Group: Members
Posts: 3,577
Joined: 4-March 14

|
QUOTE(kumosu @ Nov 13 2014, 00:04)  In HV STAT slim: adjustkey : true, effectDurations : true, gemIcon : true, skillHotkey : false, roundCounter : true, noPopup : true, popupTime : 000, sparkAlert : false, HPalert : true, HPpercentage : 60, MPalert : true, MPpercentage : 10, SPalert : false, SPpercentage : 1, channeling : false, turnEndborder : false, equippedSet : false
Turn everything except effectDurations into false:
adjustkey : false, effectDurations : true, gemIcon : false, skillHotkey : false, roundCounter : false, noPopup : false, popupTime : 000, sparkAlert : false, HPalert : false, HPpercentage : 60, MPalert : false, MPpercentage : 10, SPalert : false, SPpercentage : 1, channeling : false, turnEndborder : false, equippedSet : false
Check if it work, I think the gemIcon is the main problem.. If you need something just turn value to true.
I just delete them & it works (IMG:[ invalid] style_emoticons/default/tongue.gif) i like compact script
|
|
|
|
 |
|
Nov 13 2014, 10:43
|
oohmrparis
Group: Gold Star Club
Posts: 524
Joined: 18-June 13

|
QUOTE(Dead-ed @ Nov 13 2014, 08:50)  tested & it works great. (IMG:[ invalid] style_emoticons/default/biggrin.gif) btw, how can i combine it with Owyn's Hoverplay? Just because hvstat slim has overlaping function with it, i just need the stack function. I've tried but obviously i screwed up. (IMG:[ invalid] style_emoticons/default/faint.gif) need hoverplay in stack display only? with duration?
|
|
|
Nov 13 2014, 11:30
|
Dead-ed
Group: Members
Posts: 3,577
Joined: 4-March 14

|
QUOTE(oohmrparis @ Nov 13 2014, 01:43)  need hoverplay in stack display only? with duration?
stack only is enough since the procs usually get refreshed excessively.
|
|
|
Nov 13 2014, 13:08
|
oohmrparis
Group: Gold Star Club
Posts: 524
Joined: 18-June 13

|
nvm
This post has been edited by oohmrparis: Nov 13 2014, 16:02
|
|
|
Nov 13 2014, 13:44
|
Dead-ed
Group: Members
Posts: 3,577
Joined: 4-March 14

|
QUOTE(oohmrparis @ Nov 13 2014, 04:08)  Sorry, my firefox can't debug it because it does not return an error. [attachmentid=53882] (does not display of ET stack)
upload it in a simple substance, please ask an author of hoverplay.
ara~ thanks again (IMG:[ invalid] style_emoticons/default/biggrin.gif) gonna work on it when i get time. Now i'm interested in scripts.
|
|
|
Nov 13 2014, 13:50
|
djackallstar
Group: Gold Star Club
Posts: 8,221
Joined: 23-July 14

|
QUOTE(oohmrparis @ Nov 13 2014, 19:08)  Sorry, my firefox can't debug it because it does not return an error. [attachmentid=53882] (does not display of ET stack)
upload it in a simple substance, please ask an author of hoverplay.
In the current version of Firefox, one needs to use Browser Console (Ctrl+Shift+J) instead of Web Console (Ctrl+Shift+I) to see errors generated by user scripts and addons. Is this what you want?
|
|
|
|
 |
|
Nov 13 2014, 14:32
|
oohmrparis
Group: Gold Star Club
Posts: 524
Joined: 18-June 13

|
QUOTE(djackallstar @ Nov 13 2014, 13:50)  In the current version of Firefox, one needs to use Browser Console (Ctrl+Shift+J) instead of Web Console (Ctrl+Shift+I) to see errors generated by user scripts and addons. Is this what you want?
I use firefox 32.0 + firebug 2.0.6 + UserScriptLoader (Grease monkey substitute) Don't display all errors for some reason (even as for the console.log!) (IMG:[ invalid] style_emoticons/default/faint.gif) I tried the method that you taught, but after all it was impossible. (I may get a wrong how to use) Cuz I can't debug the script which is not usable with chrome...
|
|
|
|
 |
|
Nov 13 2014, 14:53
|
djackallstar
Group: Gold Star Club
Posts: 8,221
Joined: 23-July 14

|
QUOTE(oohmrparis @ Nov 13 2014, 20:32)  I use firefox 32.0 + firebug 2.0.6 + UserScriptLoader (Grease monkey substitute) Don't display all errors for some reason (even as for the console.log!) (IMG:[ invalid] style_emoticons/default/faint.gif) I tried the method that you taught, but after all it was impossible. (I may get a wrong how to use) Cuz I can't debug the script which is not usable with chrome... Tested on Fx 32.0.2. Error messages from userscripts/addons appear only in the Browser Console (the upper one in the image). Code: [ pastebin.com] http://pastebin.com/UC8p8b7g(IMG:[ i.imgur.com] http://i.imgur.com/EiFP4WT.png) This post has been edited by djackallstar: Nov 13 2014, 14:54
|
|
|
|
 |
|
Nov 13 2014, 15:31
|
oohmrparis
Group: Gold Star Club
Posts: 524
Joined: 18-June 13

|
QUOTE(djackallstar @ Nov 13 2014, 14:53)  Tested on Fx 32.0.2. Error messages from userscripts/addons appear only in the Browser Console (the upper one in the image). Code: [ pastebin.com] http://pastebin.com/UC8p8b7goh, i see (IMG:[ invalid] style_emoticons/default/smile.gif) but this console is hard to see... QUOTE(Dead-ed @ Nov 13 2014, 13:44)  ara~ thanks again (IMG:[ invalid] style_emoticons/default/biggrin.gif) gonna work on it when i get time. Now i'm interested in scripts. hoverplay code rewrite this. CODE if(ret && stop_on_rebuffs) { document.getElementById('monsterpane').setAttribute('style', 'border:2px solid silver;'); } return ret; }
↓ CODE if(ret && stop_on_rebuffs) { document.getElementById('monsterpane').setAttribute('style', 'border:2px solid silver;'); } stacks(); return ret; }
function stacks() { var targets = document.querySelectorAll('.btm6 > img'), i = targets.length; if (i) { while(i--) { var text = targets[i].getAttribute('onmouseover'), stack = text.match(/x\d/); if (stack) { var left = targets[i].offsetLeft + 16, div = targets[i].parentNode.appendChild(document.createElement('div')); div.textContent = stack; div.style.cssText ='position:absolute;width:12px;top:2px;left:'+left+'px;background:#FF6600;border:1px solid black;font-size:7pt;font-weight:bold;text-align:center;'; } } } }
This post has been edited by oohmrparis: Nov 13 2014, 16:28
|
|
|
|
 |
|
Nov 14 2014, 06:49
|
djackallstar
Group: Gold Star Club
Posts: 8,221
Joined: 23-July 14

|
Script NameEquipment Popup for MoogleMail DescriptionPress "c" to open the equipment popup of the attached equipment. The hotkey is customizable. This script is mainly written for auctioneers. (useful when a seller forgets to write the equipment URL in the mail) Note: The script only works when you use a custom font. DemoDownload and InstallationFeedbackTo report bugs, request features, or if you have any feedback, please PM me or reply to this thread. This post has been edited by djackallstar: Nov 17 2014, 02:42
|
|
|
|
 |
|
Nov 16 2014, 20:07
|
Tugamos
Group: Members
Posts: 153
Joined: 18-September 14

|
Hi, The trophy script it's only for firefox? Im using google canary, all scrips work fine in native mode except this one. thank you. screenshot: (IMG:[ i.imgur.com] http://i.imgur.com/zZ4pLgD.png) Edit: It's working but after i change the Font. thanks!This post has been edited by Tugamos: Nov 16 2014, 20:26
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|
|
|