|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Jan 23 2017, 23:17
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(trikon000 @ Jan 23 2017, 22:02) Is there an low HP alert script that works? The HP script found in f4tal's list of scripts doesn't seem to work. I've been trying to reduce the load time of all the scripts I have been using. The HV stat slim mod was the most time consuming of all the scripts, so I switched over to Vanilla Reloader 1.1.1 fix and found there was no low hp alert as a part of it.
Sapo's Reloader stops on low hp/mp/sp, but it doesn't alert you. Do you want to keep using Vanilla Reloader, and have a popup alert on low hp/mp/sp? If that's what you want, try this, i wrote it now:
pointsAlert.user.js.txt ( 1.1k )
Number of downloads: 41This post has been edited by gianfrix94: Jan 23 2017, 23:43
|
|
|
|
|
|
Jan 24 2017, 00:37
|
hey00
Lurker
Group: Lurkers
Posts: 3
Joined: 2-December 11
|
Hello, I took some interest in the Hentaiverse, and was frustrated a bit by the low amount of space in the quickbar. Then I saw there were scripts, and was happy to see there were two adding more quickbars. Then I was sad when I was they didn't work anymore. So I wrote one (based on Tiap's old script). Thing is, as a lowly level 161, I didn't unlock all the skills, so I couldn't fully populate the script's skillMap (the id and image's URL of the skills). The script works for the skills that I know, but it'd be better if the script would be complete for everybody. I'd be thankful if anyone could help me complete it, and/or offer feedback on it. The script is attached:
hvNewMultipleQuickbars.user.js.txt ( 5.1k )
Number of downloads: 37For people willing to help, I need the missing IDs and URLs from the skillMap. The ID can be found by inspecting the div of the skill in the skillbook. The ID needed if the id of the div itself, here "312": CODE <div id="312" class="btsd" onclick="battle.lock_action(this, 1, 'magic', 312); battle.set_friendly_subattack(312); battle.touch_and_go()" onmouseover="battle.set_infopane_spell('Regen', 'Places a heal over time effect on the target.', '1030', 72, 0, 0)" onmouseout="battle.clear_infopane()"><div class="fd2" style="width:45px"><div class="f2lb f257"></div><div class="f2lb f244"></div><div class="f2lb f246"></div><div class="f2lb f244"></div><div class="f2lb f253"></div><div class="c"></div></div></div> The image URL can be found by putting the skill in the original quickbar and inspecting the first img element of the div, here it's "1030" that I need: CODE <div id="qb6" class="btqs" onclick="battle.lock_action(this, 1, 'magic', 312); battle.set_friendly_subattack(312); battle.touch_and_go()" onmouseover="battle.set_infopane_spell('Regen', 'Places a heal over time effect on the target.', '1030', 72, 0, 0)" onmouseout="battle.clear_infopane()"><img src="/y/a/1030.png" class="btqi"><img src="/y/ab/b.png" class="btqb"> <img src="/y/a/1030.png" class="btqi"> <img src="/y/ab/b.png" class="btqb"> </div> Thanks in advance. This post has been edited by hey00: Jan 24 2017, 00:38
|
|
|
|
|
|
Jan 24 2017, 01:03
|
trikon000
Group: Gold Star Club
Posts: 1,126
Joined: 17-August 07
|
QUOTE(gianfrix94 @ Jan 23 2017, 16:17) Sapo's Reloader stops on low hp/mp/sp, but it doesn't alert you. Do you want to keep using Vanilla Reloader, and have a popup alert on low hp/mp/sp? If that's what you want, try this, i wrote it now:
pointsAlert.user.js.txt ( 1.1k )
Number of downloads: 41The script doesn't seem to trigger. I tried using the code from HV stat slim mod, but it seems to make the IA support spells go all vertical.
|
|
|
Jan 24 2017, 01:13
|
Scremaz
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
|
edited since not useful anymore (IMG:[ invalid] style_emoticons/default/biggrin.gif) This post has been edited by Scremaz: Jan 24 2017, 02:32
|
|
|
|
|
|
Jan 24 2017, 01:19
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11
|
QUOTE(hey00 @ Jan 23 2017, 22:37) I'd be thankful if anyone could help me complete it, and/or offer feedback on it. Never bothered to look up the Melee Skills, but this should otherwise still work ... CODE var spellMap = { 'empty' : [0, '0', '0'], //place holder 'Regen': [312,'1030','friendly'], 'Cure' : [311,'0530','friendly'], 'Full-Cure' : [313,'0530','friendly'],
'Haste': [412,'0533','friendly'], 'Absorb': [421, '1033', 'friendly'], 'Arcane Focus': [432, 'm4020', 'friendly'], 'Heartseeker':[431, 'm4021', 'friendly'], 'Spirit Shield': [423, 'm4040', 'friendly'], 'Protection': [411,'0532','friendly'], 'Shadow Veil': [413,'0633','friendly'], 'Spark of Life': [422,'1133','friendly'], 'Silence' : [232, '0833','hostile'], 'Imperil' : [213, 'm_imperil','hostile'], 'Sleep': [222,'0433','hostile'], 'Confuse': [223,'0733','hostile'], 'Blind': [231,'0933','hostile'], 'Drain': [211,'0133','hostile'], 'Weaken': [212,'0333','hostile'], 'Slow': [221,'0233','hostile'], 'MagNet': [233,'m2082','hostile'],
'Corruption': [161, '1230', 'hostile'], 'Disintegrate': [162, '1330', 'hostile'], 'Ragnarok': [163, '1332', 'hostile'], 'Smite' : [151, '1130', 'hostile'], 'Banishment' : [152, '1132', 'hostile'], 'Paradise Lost' : [153, 'm1740', 'hostile'], 'Fiery Blast' : [111, '0130','hostile'], 'Inferno': [112,'0132','hostile'], 'Flames of Loki': [113, 'm1130','hostile'], 'Freeze': [121,'0730','hostile'], 'Blizzard': [122,'0732','hostile'], 'Fimbulvetr': [123, 'm1231','hostile'], 'Shockblast': [131,'0330','hostile'], 'Chain Lightning': [132,'0832','hostile'], 'Wrath of Thor': [133, 'm1330','hostile'], 'Gale': [141,'0430','hostile'], 'Downburst': [142,'0930','hostile'], 'Storms of Njord': [143, 'm1431','hostile'], };
|
|
|
|
|
|
Jan 24 2017, 01:27
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(trikon000 @ Jan 24 2017, 00:03) The script doesn't seem to trigger.
I tried using the code from HV stat slim mod, but it seems to make the IA support spells go all vertical.
On my pc it works, what are you using as Browser? Did you leave the settings like i put them?
|
|
|
Jan 24 2017, 01:40
|
trikon000
Group: Gold Star Club
Posts: 1,126
Joined: 17-August 07
|
using firefox atm.
Will try it again on chrome in a bit.
|
|
|
Jan 24 2017, 01:59
|
Slobber
Group: Gold Star Club
Posts: 7,794
Joined: 4-February 11
|
@hey00 you probably won't need more than 1 quick bar. =)
|
|
|
Jan 24 2017, 02:14
|
hey00
Lurker
Group: Lurkers
Posts: 3
Joined: 2-December 11
|
Thanks for the info, I got nearly everything I need.
I have all the spells, and I managed to get all the URLs, I just lack the codes of the level 2 and 3 melee skills, for FUS ROH DAH and for the Orbital Friendship Cannon.
Seeing the patterns, I can probably guess the melee skills: 2202, 2203, 2302, 2303, 2402, 2403, but I have no idea about the last two.
|
|
|
|
|
|
Jan 24 2017, 02:18
|
simrock87
Group: Members
Posts: 647
Joined: 12-June 11
|
QUOTE(hey00 @ Jan 24 2017, 00:14) Thanks for the info, I got nearly everything I need.
I have all the spells, and I managed to get all the URLs, I just lack the codes of the level 2 and 3 melee skills, for FUS ROH DAH and for the Orbital Friendship Cannon.
Seeing the patterns, I can probably guess the melee skills: 2202, 2203, 2302, 2303, 2402, 2403, but I have no idea about the last two.
This is from cracklingcast, though this does not give you the images (IMG:[ invalid] style_emoticons/default/smile.gif) CODE "FUS RO DAH" : [1, 'magic', -1, 1101], "Orbital Friendship Cannon": [1, 'magic', -1, 1111],
"Skyward Sword" : [1, 'magic', -1, 2101], "Shield Bash" : [1, 'magic', -1, 2201], "Vital Strike" : [1, 'magic', -1, 2202], "Merciful Blow" : [1, 'magic', -1, 2203], "Great Cleave" : [1, 'magic', -1, 2301], "Rending Blow" : [1, 'magic', -1, 2302], "Shatter Strike" : [1, 'magic', -1, 2303], "Iris Strike" : [1, 'magic', -1, 2401], "Backstab" : [1, 'magic', -1, 2402], "Frenzied Blows" : [1, 'magic', -1, 2403], "Concussive Strike": [1, 'magic', -1, 2501],
|
|
|
|
|
|
Jan 24 2017, 02:22
|
NerfThis
Group: Catgirl Camarilla
Posts: 2,467
Joined: 3-February 14
|
QUOTE(End Of All Hope @ Jan 24 2017, 04:29) This script always opens the list of RE Events Occurred when you reload the page, and you have to press L to hide it. Usually it should be the opposite, always hidden and then pressing L to show it (and hide it again). How to fix this?
remove or comment to toggle_re_lst. CODE //if(href == 'https://e-hentai.org/news.php') { toggle_re_lst(); }
QUOTE(gianfrix94 @ Jan 24 2017, 04:39) Is there any difference from mine? Just asking, because i didn't try it out still.
mostly same code. it just temporary fix while waiting for djack's new update. anyway, could you saw Dawn of a New Day eventpane?
|
|
|
|
|
|
Jan 24 2017, 02:28
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(NerfThis @ Jan 24 2017, 01:22) mostly same code. it just temporary fix while waiting for djack's new update. anyway, could you saw Dawn of a New Day eventpane?
Yes, on the page https://e-hentai.org/news.php i saw the Dawn of a New Day eventpane, 20 minutes ago or so. This post has been edited by gianfrix94: Jan 24 2017, 02:28
|
|
|
Jan 24 2017, 02:59
|
NerfThis
Group: Catgirl Camarilla
Posts: 2,467
Joined: 3-February 14
|
QUOTE(gianfrix94 @ Jan 24 2017, 09:28) Yes, on the page https://e-hentai.org/news.php i saw the Dawn of a New Day eventpane, 20 minutes ago or so. My old iron v.31 browser didn't show it using your fix. Never mind.
|
|
|
Jan 24 2017, 03:48
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(NerfThis @ Jan 24 2017, 01:59) My old iron v.31 browser didn't show it using your fix. Never mind.
Strange... well strange things happen sometimes (IMG:[ invalid] style_emoticons/default/tongue.gif)
|
|
|
Jan 24 2017, 04:06
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
nvm
This post has been edited by gianfrix94: Jan 25 2017, 03:48
|
|
|
Jan 24 2017, 04:51
|
Slobber
Group: Gold Star Club
Posts: 7,794
Joined: 4-February 11
|
So it's kinda like a CC+reloader all in one?
|
|
|
Jan 24 2017, 05:06
|
lazyNPC
Group: Gold Star Club
Posts: 3,346
Joined: 8-June 12
|
QUOTE(Slobber @ Jan 24 2017, 03:51) So it's kinda like a CC+reloader all in one?
Kind of like that, but it mostly works in a different way internally. And it doesn't have the heal rotation, but it stops when it reaches the minimum thresold for hp/mp/sp (like the normal mousemelee). This post has been edited by gianfrix94: Jan 24 2017, 05:08
|
|
|
|
|
|
Jan 24 2017, 07:20
|
trikon000
Group: Gold Star Club
Posts: 1,126
Joined: 17-August 07
|
QUOTE(gianfrix94 @ Jan 23 2017, 21:06) I have changed quite some stuff in Reloader MouseMelee code, so here i am. Now MouseMelee can, similarly to CC, shoot more than one Skills/Spells on Hover or on Right Click (with selection of hover_area). Both on Hover and Right Click: it tries using First Spell,then tries Second if First is in Cooldown, etcetera, then if all fails it falls back to the normal Attack. No Curative/Supportive Spells allowed on Hover and Right Click. Give it a spin and tell me how it seems (IMG:[ invalid] style_emoticons/default/smile.gif) Here is it: [attachmentid=98167] This works pretty good on chrome for me, lets me unload both better melee and vanilla reloader and the hp alert. Is there a way to make it stop when a buff drops off so it can be recast, either as a list that we can manage. How do I change the default attack to a spell cast, when I decide to go maging again.
|
|
|
|
|
|
Jan 24 2017, 09:06
|
hey00
Lurker
Group: Lurkers
Posts: 3
Joined: 2-December 11
|
Thanks again, my additional quickbars script is complete now. I'll leave it here if anyone else wants to use it, and I'm open to feedback and suggestions.
hvNewMultipleQuickbars.user.js.txt ( 5.2k )
Number of downloads: 40
|
|
|
|
|
|
Jan 24 2017, 10:24
|
Sapo84
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
|
QUOTE(gianfrix94 @ Jan 24 2017, 03:06) I have changed quite some stuff in Reloader MouseMelee code, so here i am. Now MouseMelee can, similarly to CC, shoot more than one Skills/Spells on Hover or on Right Click (with selection of hover_area). Both on Hover and Right Click: it tries using First Spell,then tries Second if First is in Cooldown, etcetera, then if all fails it falls back to the normal Attack. No Curative/Supportive Spells allowed on Hover and Right Click. Give it a spin and tell me how it seems (IMG:[ invalid] style_emoticons/default/smile.gif) Here is it: [attachmentid=98167] So it's similar to [ github.com] my 1.4 branch but with Imperil support on right (which is imho not a good idea since you probably want to use imperil on number to easily cast on 2-5-8 ).
|
|
|
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|