Welcome Guest ( Log In | Register )

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

 
post Jan 16 2014, 14:02
Post #1028
holy_demon



Osananajimi<3
*********
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
Level 500 (Godslayer)


I had an inspiration from the SpellSpam right click feature, so I let you specify different spells for each mouse/keyboard interaction, and cast buff with a single click anywhere. So here it is, SpellSpam 3.2. Now even melee users can get spam cure xD

SpellSpam 3.2
Attached File  SpellSpam3.2.user.zip ( 2.26k ) Number of downloads: 85


Mages can now play just like melee (And melee can spam their skill (IMG:[invalid] style_emoticons/default/tongue.gif)). When you press the number key (0, 1, 2...), you will cast a spell on the respective target instead of attacking it. If the spell can't be used (on cooldown, no mana, or doesn't exist), you will attack like normal.

New features:
- Choose different spell for each interaction (word of caution: don't activate hover along with other mouse interactions). Eg. you can middle click to cast Weaken, right click to cast Imperil, left click to cast Silence, and attack like normal with numkey xD
- Cast buff with a single mouse click (left, right, or middle) on battle log (only battle log, it will stop working if you enter the item/spell menu), or any monster. Eg. you can cast Cure with right click
- Middle click! (It's untested though, because my middle mouse is broken T.T (

Features:
- Cast a predetermined spell with a single click, hotkey, or hover
- Press X to view a status box and you can choose between different methods of click, numkey, hover or any combination. As the author of NoImage, I guarantee you this feature won't slow your clearing speed xD (it only start drawing after you press X, so if you just keep spamming other buttons, it won't show)
- Type your spell/skill name next to an interaction to choose which spell/skill to spam (case sensitive, you only need to type the beginning part of the spell name eg. "Weak" would still cast Weaken, but "weak" or "eaken" wouldn't work
- You can type "Attack" (or "Att" if you're lazy) to use normal attack - yes you can play MouseMelee with this xD
- Ctr, or Alt, or Shift still disable the script temporarily

Suggested set-up for 1h melee (aka. my set up)
- num: Attack
- click: Shield Bash
- mclick (disabled, cos my middle mouse is broken (IMG:[invalid] style_emoticons/default/sad.gif)
- rclick: Cure
- hover: Attack

Feedback me on the middle click thing, whether it works or not (IMG:[invalid] style_emoticons/default/sad.gif)

EDIT: re-upload download to fix an issue when you still cast targetting spell when you're not clicking on a monster, which can be confusing. Sorry for the inconvenience

This post has been edited by holy_demon: Jan 16 2014, 14:52
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 16 2014, 17:16
Post #1029
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


QUOTE(holy_demon @ Jan 16 2014, 06:46) *

CODE

var popup = document.getElementById("ckey_continue");
if (popup && !/\[.*?(Legendary|Peerless).*?\]/.test(document.getElementById("togpane_log").textContent)) {
   popup.click();
}


Modified from my personal skipping script

No Popup looks like this.

CODE
// ==UserScript==
// @name             No "You are Victorious" Popup
// @namespace        NO POPUP
// @description      Automatically advances the round by clicking the "You are Victorious" popup.
// @author           GaryMcNabb
// @version          1.6
// @history          1.6 Item World's final victory message is now properly exluded from being auto-dismissed (Mewtty)
// @history          1.5 Disabled on Item World final screen and added exclude for 'showequip' page (GaryMcNabb)
// @history          1.4 Fixed Bug with zombie scripts (MrTT)
// @history          1.3 Fixed Bug with page reloading (GaryMcNabb)
// @history          1.2 Disabled on Ring of Blood final screen (GaryMcNabb)
// @history          1.1 Disabled on Arena final screen (GaryMcNabb)
// @history          1.0 Initial Release (GaryMcNabb)
// @include          http://hentaiverse.org*
// @exclude          http://hentaiverse.org/pages/showequip*
// ==/UserScript==
var a=document.getElementById("ckey_continue");if(!a)return 0;var b=a.getAttribute("onclick");if(b!=="common.goto_arena()"&&b!=="common.goto_ring()"&&b!=="common.goto_itemworld()")a.click();return 0;


where do I place the code?

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

 
post Jan 16 2014, 17:51
Post #1030
holy_demon



Osananajimi<3
*********
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
Level 500 (Godslayer)


QUOTE(Ichy @ Jan 17 2014, 02:16) *

....

where do I place the code?


like this
CODE

var a = document.getElementById("ckey_continue");
if (a) {
   var b = a.getAttribute("onclick");
   if (b !== "common.goto_arena()" && b !== "common.goto_ring()" && b !== "common.goto_itemworld()"
           && !/\[.*?(Legendary|Peerless).*?\]/.test(document.getElementById("togpane_log").textContent))
      a.click();
}


This post has been edited by holy_demon: Jan 16 2014, 17:52
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 16 2014, 18:23
Post #1031
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


yay thabks.

Now i need to get a drop to check if it works (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 16 2014, 18:49
Post #1032
Lement



Lalalala la~ la la~!
********
Group: Members
Posts: 2,977
Joined: 28-February 12
Level 326 (Godslayer)


Doesn't need to be a drop, a skill attack containing Legendary or Peerless will suffice.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 16 2014, 19:02
Post #1033
holy_demon



Osananajimi<3
*********
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
Level 500 (Godslayer)


QUOTE(Lement @ Jan 17 2014, 03:49) *

Doesn't need to be a drop, a skill attack containing Legendary or Peerless will suffice.


Well I surround the regex expression with [ ]. As far as I know you can't put special character in skill or monster's name and drops are the only instance where block brackets are used.

Though I suppose a regex like this /\[[\w\s]*?(Legendary|Peerless)[\w\s]*?\]/ would be more "safe" (well, unless someone wants to prank you and manages to name their monster/skill [Legendary Troll of Peerless Proportion] or something xD

This post has been edited by holy_demon: Jan 16 2014, 19:32
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 19 2014, 04:04
Post #1034
Dan31



Chilling around
********
Group: Members
Posts: 4,399
Joined: 26-March 12
Level 485 (Godslayer)


So, I decided to rewrite Lement's Mousemelee in a totally different way. Here is the result.

HV Mousemelee Light for Firefox:
Attached File  hvmml.user.zip ( 440bytes ) Number of downloads: 113


I may add options later.

The script works with Chrome too, but Chrome seems to interpret the 'onmouseover' attribute exactly like 'onmousemove', which means Chrome users have to move the mouse after each attack. Not cool. So Chrome users are probably better off with Lement's script.

This post has been edited by Dan31: Jan 19 2014, 04:07
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 19 2014, 04:06
Post #1035
Dan31



Chilling around
********
Group: Members
Posts: 4,399
Joined: 26-March 12
Level 485 (Godslayer)


<woops>

This post has been edited by Dan31: Jan 19 2014, 04:06
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 19 2014, 14:32
Post #1036
holy_demon



Osananajimi<3
*********
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
Level 500 (Godslayer)


QUOTE(Dan31 @ Jan 19 2014, 13:04) *

So, I decided to rewrite Lement's Mousemelee in a totally different way. Here is the result.

HV Mousemelee Light for Firefox:
Attached File  hvmml.user.zip ( 440bytes ) Number of downloads: 113


I may add options later.

The script works with Chrome too, but Chrome seems to interpret the 'onmouseover' attribute exactly like 'onmousemove', which means Chrome users have to move the mouse after each attack. Not cool. So Chrome users are probably better off with Lement's script.


I tested on Chrome 32, I don't have move mouse at all

Btw, if I make a script that will randomly attack another monster if the monster I'm trying to attack is dead, would that be considered too automatic?

Well if it's allowed, you can leave your mouse at the same spot for the entire run until ponies xD
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 19 2014, 16:34
Post #1037
Dan31



Chilling around
********
Group: Members
Posts: 4,399
Joined: 26-March 12
Level 485 (Godslayer)


QUOTE(holy_demon @ Jan 19 2014, 13:32) *

I tested on Chrome 32, I don't have move mouse at all

Btw, if I make a script that will randomly attack another monster if the monster I'm trying to attack is dead, would that be considered too automatic?

Well if it's allowed, you can leave your mouse at the same spot for the entire run until ponies xD

It would both select a target and attack, so no, it's not allowed.

Glad to hear the script is working with Chrome for you.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 19 2014, 18:33
Post #1038
Owyn



Casual Fapper
*****
Group: Members
Posts: 692
Joined: 12-May 10
Level 354 (Godslayer)


QUOTE(ctxl @ May 27 2013, 12:41) *

HVMMLA: HV - Mini Monster Lab Additions

Attached File  hvmmla.user.zip ( 2.1k ) Number of downloads: 447

Includes the stuff I care about: drag+drop sorting, crystal+chaos token calculation and hotkeys.
Hotkeys are: c = feed, v = feed max, b = pill, n = next, m = back
Feed max and pill hotkeys will ask for confirmation. Next/back hotkeys follow sorting order.
No support for the default font engine. Ever.


- fixed not being able to go to previous monster when you are on first monster in your list

- prev\next default HV buttons now also follow your order

- additional arrows hotkeys:
// UP - feed max, DOWN - pills, LEFT = back, RIGHT = next

- removed confirmation for feed max and confirmation cancel alerts

new in this version:

- fixed hotkeys not to work when you have skill name field focused (so you can safely rename skills now without hotkeys triggering)

Attached File  hvmmla.user.js.zip ( 2.3k ) Number of downloads: 346
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 19 2014, 20:07
Post #1039
Dan31



Chilling around
********
Group: Members
Posts: 4,399
Joined: 26-March 12
Level 485 (Godslayer)


Aaaand another small script. This one turns monsters' health bar red when their HP is below 25%.

Critical Monster Health:
Attached File  hvcmh.user.zip ( 521bytes ) Number of downloads: 97


Note: the script uses the monster health bar width to determine whether the HP is below 25% or not (it doesn't calculate remaining HP relatively to initial HP), so it is a little inaccurate. I took a 1px security margin so that Merciful Blow should always be able to kill wounded monsters when the bar is red (otherwise HP can possibly be a little above 25% depending of the rounding).

That script isn't too useful, but, eh, that was a good training for me.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 19 2014, 21:22
Post #1040
holy_demon



Osananajimi<3
*********
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
Level 500 (Godslayer)


Bug fix

SpellSpam 3.2.1
Attached File  SpellSpam3.2.1.user.zip ( 2.3k ) Number of downloads: 264


Mages can now play just like melee (And melee can spam their skill (IMG:[invalid] style_emoticons/default/tongue.gif)). When you press the number key (0, 1, 2...), you will cast a spell on the respective target instead of attacking it. If the spell can't be used (on cooldown, no mana, or doesn't exist), you will attack like normal.

Features:
- left/right/middle click, hotkey, or hover over a monster to cast a spell (targetting, non-targetting, special skill, or normal attack)
- left/right/middle click on the battle log to cast non-targetting spell.
- Press X to view a status box, and activate click, numkey, hover to your liking
- Type your spell/skill name next to an interaction to choose which spell/skill to spam (case sensitive, you only need to type the beginning part of the spell name eg. "Weak" would still cast Weaken, but "weak" or "eaken" wouldn't work
- You can type "Attack" (or "Att" if you're lazy) to use normal attack - yes you can play MouseMelee with this xD
- Ctr, Alt, or Shift disables the script temporarily

Change log:
- organise the status box
- not cast spell if the spell is unusable (greyed out).

This post has been edited by holy_demon: Jan 19 2014, 21:25
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 19 2014, 21:34
Post #1041
holy_demon



Osananajimi<3
*********
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
Level 500 (Godslayer)


Another bug fix

Inline Equipment Changer 1.2.1


Attached File  InlineEquipChanger1.2.1.user.zip ( 1.62k ) Number of downloads: 1024


Feature:
Change your equipment anywhere (except in battle), even in equipment pop-up. Compatible with Equipment Comparison. (you can change your equipped set in the equipment pop-up, and the equipment comparison will be updated with it, no need to go the equipment page anymore)

Change log:
- fix bug that disables moogle mail scrolling
fix a bug that will empty Equipment Compare data if equipment popup is opened during battle

This post has been edited by holy_demon: Jan 19 2014, 21:34
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 20 2014, 07:04
Post #1042
masamunemaniac



The Laziest Loliholic
****
Group: Gold Star Club
Posts: 441
Joined: 10-July 08
Level 388 (Godslayer)


QUOTE(holy_demon @ Jan 19 2014, 19:22) *

Bug fix

SpellSpam 3.2.1
Attached File  SpellSpam3.2.1.user.zip ( 2.3k ) Number of downloads: 264


Mages can now play just like melee (And melee can spam their skill (IMG:[invalid] style_emoticons/default/tongue.gif)). When you press the number key (0, 1, 2...), you will cast a spell on the respective target instead of attacking it. If the spell can't be used (on cooldown, no mana, or doesn't exist), you will attack like normal.

For the "Any automation or semi-automation of gameplay beyond a single action" rule, is casting a spell a single action or two actions (selecting the spell, then selecting the target)?

And for the "Any parsing of live data to decide on actions" rule, are things like your mana totals and cooldowns counted as "live data"?

Just checking that this is okay to use before I do so.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 20 2014, 09:53
Post #1043
holy_demon



Osananajimi<3
*********
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
Level 500 (Godslayer)


QUOTE(masamunemaniac @ Jan 20 2014, 16:04) *

For the "Any automation or semi-automation of gameplay beyond a single action" rule, is casting a spell a single action or two actions (selecting the spell, then selecting the target)?

And for the "Any parsing of live data to decide on actions" rule, are things like your mana totals and cooldowns counted as "live data"?

Just checking that this is okay to use before I do so.


Spell is pretty much a gray area, due to the existence of the recast hotkey. Since recasting will automatically choose a spell, then a target, I'm assuming that it's 1 action.

Oh I wasn't accurate on the mana thing, since I only check whether the spell is grayed out or not (opacity). And spells are only grayed out from cooldown, but not insufficient mp. So you will blindly attack if the spell doesn't have enough MP, but not if it's on cooldown. About the legality of it, pretty much all combat enhancement script has this sort of check (and much more sophisticated than mine), like MouseMelee or HVStat (HVStat does the whole "stopping you" a bit more sneakily, by popping up an alert box)

This post has been edited by holy_demon: Jan 20 2014, 09:57
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 21 2014, 00:58
Post #1044
animeai



The Obsolete Hunter
*****
Group: Members
Posts: 620
Joined: 18-November 09
Level 333 (Godslayer)


Script Request 1:
"Scan All"
Reward: 100 hath

I'm lazy ok? I've not scanned for a while but I'm getting surpirsed by a few monsters that were once weak but are now strong and my HVStat scan database is way out of date. What I want is a button I can press to scan every monster in a battle one after the other (I appreciate it can't do it in one turn) so I only have to click once instead of clicking the tiny little "scan" button beside each one. Is this possible? I'm not sure if javascript can transfer a click to the next pageload or not...

If it can be done without causing major lag in normal battles there's a 100 hath reward (IMG:[invalid] style_emoticons/default/wink.gif) (PM/Moogle me as I might not check this thread too often)

Script request 2:
"Edit to mouse melee"
Reward: 25 hath

Please could someone code an on/off switch or button for this script? Sadly I'm not high enough leveled to do an entire IW using it and can only blitz through the first 25 or so rounds on PFUDOR with spirit stance and mouse melee before I have to calm down and go with a Great Cleave/Rending Blow/Shatterstrike combo to disable 5 monsters and avoid triggering SoL or having to cure every other round
(again, please PM/moogle me if you do this as I might not remember to keep checking back here)

Naturally these scripts can be made public - the reward is just incentive for a coder (IMG:[invalid] style_emoticons/default/tongue.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 21 2014, 02:59
Post #1045
holy_demon



Osananajimi<3
*********
Group: Gold Star Club
Posts: 5,417
Joined: 2-April 10
Level 500 (Godslayer)


QUOTE(animeai @ Jan 21 2014, 09:58) *

Script Request 1:
"Scan All"
Reward: 100 hath

I'm lazy ok? I've not scanned for a while but I'm getting surpirsed by a few monsters that were once weak but are now strong and my HVStat scan database is way out of date. What I want is a button I can press to scan every monster in a battle one after the other (I appreciate it can't do it in one turn) so I only have to click once instead of clicking the tiny little "scan" button beside each one. Is this possible? I'm not sure if javascript can transfer a click to the next pageload or not...

If it can be done without causing major lag in normal battles there's a 100 hath reward (IMG:[invalid] style_emoticons/default/wink.gif) (PM/Moogle me as I might not check this thread too often)

Script request 2:
"Edit to mouse melee"
Reward: 25 hath

Please could someone code an on/off switch or button for this script? Sadly I'm not high enough leveled to do an entire IW using it and can only blitz through the first 25 or so rounds on PFUDOR with spirit stance and mouse melee before I have to calm down and go with a Great Cleave/Rending Blow/Shatterstrike combo to disable 5 monsters and avoid triggering SoL or having to cure every other round
(again, please PM/moogle me if you do this as I might not remember to keep checking back here)

Naturally these scripts can be made public - the reward is just incentive for a coder (IMG:[invalid] style_emoticons/default/tongue.gif)


Request 1: check your PM
Request 2: you can do that with my script SpellSpam. Just type "Attack" next to hover to spam "Attack". Tick/Untick the box to enable/disable. And, despite its name, you can also spam skills with my script, and kind it with other interactions, like middle click, right click, left click or num-key
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 21 2014, 03:22
Post #1046
Dan31



Chilling around
********
Group: Members
Posts: 4,399
Joined: 26-March 12
Level 485 (Godslayer)


QUOTE(animeai @ Jan 20 2014, 23:58) *

Script Request 1:
"Scan All"
Reward: 100 hath

Script request 2:
"Edit to mouse melee"
Reward: 25 hath

Whether holy_demon did them or not, I may give a shot at both tomorrow. Seems like a good training for me.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 21 2014, 08:58
Post #1047
animeai



The Obsolete Hunter
*****
Group: Members
Posts: 620
Joined: 18-November 09
Level 333 (Godslayer)


We're debating if script request 1 would be legal or not under the "one single action" rule :/ I must admit it's a grey area!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 51 52 53 54 > » 
Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 23rd January 2025 - 14:25