|
|
|
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
Jan 24 2014, 11:50
|
Ichy
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
|
QUOTE(Lement @ Jan 24 2014, 00:42) There are styles that require you to do that less, like DW, you know.
DW is out of question because I only have 100 spare Slaughter Bindings (IMG:[ invalid] style_emoticons/default/sad.gif) But I may give 1hand a serious try.
|
|
|
Jan 24 2014, 13:36
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
|
A small release HV Round Counter 1.0
HVRoundCounter_1.0.user.zip ( 884bytes )
Number of downloads: 361Show the current round/max round below the Stamina. This post has been edited by holy_demon: Jan 24 2014, 13:36
|
|
|
Jan 26 2014, 04:55
|
Felipons
Newcomer
Group: Members
Posts: 40
Joined: 19-October 09
|
I just made a Script who resize the window layout imagizer.imageshack.us/v2/800x600q90/713/9ni3.png to imagizer.imageshack.us/v2/800x600q90/571/surm.png sorry about the links but I cannot add urls in my first post... Not only in battle, but all windowsIve tested only in my monitor 1366x768, and it works fine here, if you find any bug in other resolution just let me know (IMG:[ invalid] style_emoticons/default/biggrin.gif) It works only on FireFox for now
ChangePageStyle.User.zip ( 1.3k )
Number of downloads: 80This post has been edited by Felipons: Jan 26 2014, 05:00
|
|
|
|
|
|
Jan 26 2014, 12:49
|
Owyn
Group: Members
Posts: 692
Joined: 12-May 10
|
Shriner - Helper
shriner_helper.user.js.zip ( 612bytes )
Number of downloads: 134- 'M' hotkey to make offering - after you click a trophy the reward is already selected there (one-handed by default) or you can edit it to be what you want in line 15 choose one of the following: CODE ;snowflake.set_selected_reward(1, '1handed'); ;snowflake.set_selected_reward(2, '2handed'); ;snowflake.set_selected_reward(3, 'staff'); ;snowflake.set_selected_reward(4, 'shield'); ;snowflake.set_selected_reward(5, 'acloth'); ;snowflake.set_selected_reward(6, 'alight'); ;snowflake.set_selected_reward(7, 'aheavy');
|
|
|
|
|
|
Jan 26 2014, 15:41
|
Amaduyu Mitsumi
Group: Gold Star Club
Posts: 1,609
Joined: 2-October 11
|
Can MouseMelee be modified to add the following function? Use the skill Defend if the mouse cursor touch the right edge of screen/browser. Whether or not the script continue to use the skill despite still having Defend's buff is adjustable. Reason for this suggestion: I've been finding myself using Defend a lot in Hellfest. (IMG:[ invalid] style_emoticons/default/laugh.gif) QUOTE(Ichy @ Jan 24 2014, 16:50) DW is out of question because I only have 100 spare Slaughter Bindings (IMG:[ invalid] style_emoticons/default/sad.gif) But I may give 1hand a serious try. Go for it Ichy, I really want to know how 1H with rapier will fare if a substantial amount of forging is put into the equipment. (IMG:[ invalid] style_emoticons/default/happy.gif) This post has been edited by Kagoromo: Jan 26 2014, 15:46
|
|
|
|
|
|
Jan 26 2014, 16:33
|
Ichy
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
|
QUOTE(Kagoromo @ Jan 26 2014, 15:41) Go for it Ichy, I really want to know how 1H with rapier will fare if a substantial amount of forging is put into the equipment. (IMG:[ invalid] style_emoticons/default/happy.gif) Someone give me a forge worthy Rapier! On topic: would it be possible to add a hotkey for skill chaining in mouse melee? Hitting hotkey will launch skill 1, 2 3 on chosen target once.
|
|
|
|
|
|
Jan 26 2014, 18:27
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
|
I was so into writing this, that I forgot to bid in the auctions T.T HV ItemFilter 1.0.1
HVItemFilter_1.0.1.user.zip ( 1.43k )
Number of downloads: 222Filter item/equipment list (in the inventory, bazaar, equioment, IW, moogle pages). Ctr+F to quickly focus on the search bar, Esc to clear it. Now you don't need to scroll up and down to find the new Magnificent Ethereal Rapier of Slaughter you just bought. Just type into the search bar (at the top left) the name of the equipment to see a shortened list of all items you just bought. When you're using filter, the "Sell All" button will be disabled (to prevent accidentally selling items you can't see). To see the "Sell All" button again, clear the search bar (or press Esc) The search bar is case-insensitive, and use regular expression. If you know what it is, then use it. If you don't, here's a quick guide for noobs: . (dot): any single character .* (dot followed by star): multiple characters | (vertical line): OR For more info on regular expression, visit [ developer.mozilla.org] this page (and becomes 50% nerdier (IMG:[ invalid] style_emoticons/default/tongue.gif) ) Screenshots: This post has been edited by holy_demon: Jan 26 2014, 22:31
|
|
|
|
|
|
Jan 26 2014, 18:29
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
|
QUOTE(Ichy @ Jan 27 2014, 01:33) On topic: would it be possible to add a hotkey for skill chaining in mouse melee? Hitting hotkey will launch skill 1, 2 3 on chosen target once.
That's semi-automation. >.>
|
|
|
Jan 26 2014, 18:49
|
Lement
Group: Members
Posts: 2,977
Joined: 28-February 12
|
QUOTE(Kagoromo @ Jan 26 2014, 15:41) Can MouseMelee be modified to add the following function?
Use the skill Defend if the mouse cursor touch the right edge of screen/browser. Whether or not the script continue to use the skill despite still having Defend's buff is adjustable.
Yes. ...Unfortunately, I don't really have the time. Maybe copy the code for stance onto defend? @Ichy: Hm. Rapid-fire of skills no matter what would definitely be no-no. 'Readying' the highest skill when holding down a certain hotkey or hovering over certain part of monster would be okay, though.
|
|
|
|
|
|
Jan 26 2014, 19:12
|
Amaduyu Mitsumi
Group: Gold Star Club
Posts: 1,609
Joined: 2-October 11
|
The button is kinda too far and too small for such a regularly used skill though. Deep inside of Hellfest, I may use Defend up to 3 - 4 times every round; I also use Defend at the first turn of every new round. It's become somewhat reflexive for me, so being able to use it through the gesture I described would be very convenient. It can't be helped if you are busy though. (IMG:[ invalid] style_emoticons/default/happy.gif) This post has been edited by Kagoromo: Jan 26 2014, 19:13
|
|
|
|
|
|
Jan 26 2014, 20:08
|
Lement
Group: Members
Posts: 2,977
Joined: 28-February 12
|
Quickbar hovering is kind of useless if you don't use any CSS to restyle the page, but I assume everyone uses some anyway due gems and stuff.
Most of the time for this sort of stuff goes on testing and figuring out things, really - probable best way to solve your request would be to make an invisible element that floats to the right and add a mousemove on that, but that is not perfect either.
In general of those skills, I used to use focus as a mage deep inside normalfest, alongside with stun/sleep. Reaching close to 1900 was nice, but it wasn't worth the time taken compared to just using, say, stance. Perhaps consider quitting hellfest where you have to constantly defend so you can get more rewards?
This post has been edited by Lement: Jan 26 2014, 20:12
|
|
|
|
|
|
Jan 26 2014, 20:11
|
Ichy
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
|
you can always hotkey your mouse buttons.
I did it for everything I need so I only need the left hand for Riddlemaster.
|
|
|
Jan 26 2014, 20:18
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
|
QUOTE(Lement @ Jan 27 2014, 05:08) Most of the time for this sort of stuff goes on testing and figuring out things, really - probable best way to solve your request would be to make an invisible element that floats to the right and add a mousemove on that, but that is not perfect either.
Or you can just use [ developer.mozilla.org] MouseEvent.clientX/clientY to check for relative coordinations to, say, <body>, This post has been edited by holy_demon: Jan 26 2014, 20:19
|
|
|
Jan 27 2014, 01:36
|
Lement
Group: Members
Posts: 2,977
Joined: 28-February 12
|
Still has to find a) the edge of the window and b) 1.30+ actually used saving the mouse position, until the latest version which removed it to avoid code injection/additional delay from the listener.
|
|
|
|
|
|
Jan 27 2014, 04:00
|
Amaduyu Mitsumi
Group: Gold Star Club
Posts: 1,609
Joined: 2-October 11
|
Development hell? (IMG:[ invalid] style_emoticons/default/faint.gif) QUOTE(Ichy @ Jan 27 2014, 01:11) you can always hotkey your mouse buttons.
I did it for everything I need so I only need the left hand for Riddlemaster.
Ichy's suggestion will do I think. Though it seems that HV Keybinds doesn't support mapping to mouse buttons, and SpellSpam can't spam Defend.Wait, SpellSpam can spam Defend. I assigned Defend as the right click action, and it only works correctly if I right click inside the battle message box. Right clicking outside of that box brings up the browser's context menu. Is that intended? This post has been edited by Kagoromo: Jan 27 2014, 04:06
|
|
|
|
|
|
Jan 27 2014, 07:53
|
ceawhadsf
Newcomer
Group: Members
Posts: 59
Joined: 28-March 13
|
@Lement With the mouse melee I can't seem to make it not attack regardless of what I set the HP MP SP values to. Also i assume that the decimal values are percentage of total health. With the compiler thingy I set the HP MP SP values to .99 Also if i change "!Notalright" to false it quits running otherwise nothing i change will make it stop. Don't know if that helps
This post has been edited by ceawhadsf: Jan 27 2014, 08:34
|
|
|
|
|
|
Jan 27 2014, 11:22
|
holy_demon
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
|
QUOTE(Kagoromo @ Jan 27 2014, 13:00) Development hell? (IMG:[ invalid] style_emoticons/default/faint.gif) Ichy's suggestion will do I think. Though it seems that HV Keybinds doesn't support mapping to mouse buttons, and SpellSpam can't spam Defend.Wait, SpellSpam can spam Defend. I assigned Defend as the right click action, and it only works correctly if I right click inside the battle message box. Right clicking outside of that box brings up the browser's context menu. Is that intended? Yep it's intended, and I did document it in my release feature. Since you can assign skill/spell to even left click, I need to restrict the area it will work, or else it would be more annoying than convenient. Alternatively, with that set-up, you can right click on monster to use Defend @Lement: I have a question about addEventListener. Which one would be more optimal in HV? Adding multiple event Listener to multiple elements, or just one eventListener to document.body and use event.target? [ stackoverflow.com] Stackoverflow has the answer and it says it's a trade-off between compile-time and run-time. In HV's context, what do we prefer? This post has been edited by holy_demon: Jan 27 2014, 11:31
|
|
|
|
|
|
Jan 27 2014, 14:02
|
Owyn
Group: Members
Posts: 692
Joined: 12-May 10
|
>faster setup time I suppose because after each click or monster hit or anything .html page of battle is reloaded again, - so all scripts would run again and need to do event bindings again, and after it's done those could only be fired once (then page would reload again)
|
|
|
Jan 27 2014, 14:08
|
Lement
Group: Members
Posts: 2,977
Joined: 28-February 12
|
@ceawhadsf: Huh. That's a serious bug. Mind telling the browser/OS you're using and posting the compiled code/compilation options?
NotAlright is essentially a compilation of the HP/MP/SP readers.
This post has been edited by Lement: Jan 27 2014, 14:09
|
|
|
|
|
|
Jan 27 2014, 21:48
|
animeai
Group: Members
Posts: 620
Joined: 18-November 09
|
I'm no good with javascript - let's get that straight XD I know very little about it (and would be a lot more at home in php lol) but apparently with jquery you can simulate keypress events. I'm looking to get something that will let me add buttons to use scrolls, infusions etc. Since i use mousemelee being able to do everything with just one click of the mouse (instead of going to items, then clicking the right scroll) would be ideal. Ultimately I'm thinking about having a right click menu but that's a long way off XD. For now I'm just looking to add a single button for the scroll in s1 (keypress shift-f1) once I get that working it's simple to add the rest of the buttons. CODE // ==UserScript== // @namespace hentaiverse.org // @require https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js // // @grant unsafeWindow // // ==/UserScript==
$(".f1").click(function() { var e = jQuery.Event("keydown"); e.which = 112; // # F1 code value e.shiftKey = true; // Shift key pressed $("input").trigger(e); });
The question is, how do I turn this function into a clickable button? How would I insert it into this code (and would this code work!)? CODE var drawscrollone = function() { var div_scrollone = document.createElement("div"); div_scrollone.id = "s1"; div_scrollone.style.cssText = "display: block; position: absolute; top: 4px; left: 900px; border: 1px solid rgb(97, 88, 248)"; div_scan.classList.add("ui-state-default", "ui-corner-all"); var iconscrollone = div_scrollone.appendChild(document.createElement("div")); iconscrollone.style.cssText = "height: 22px; cursor: pointer; background-color: rgb(238, 50, 59); color: white; font-weight: bolder; font-size: 15px;"; iconscrollone.textContent = "A"; document.querySelector(".stuffbox.csp").appendChild(div_scan); iconscrollone.onclick="[jquery keypress function]"; }; drawscrollone();
|
|
|
|
|
|
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
|
|
|
|
|