Welcome Guest ( Log In | Register )

291 Pages V « < 60 61 62 63 64 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Feb 16 2014, 03:01
Post #1221
animeai



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


QUOTE(holy_demon @ Feb 15 2014, 15:04) *

Oh well I'm done. (IMG:[invalid] style_emoticons/default/tongue.gif) It's fairly quick to code. It 's pretty much a String.split, a loop, and some UI change >.>

SpellSpam 3.3.0
Attached File  SpellSpam3.3.0.user.zip ( 2.22k ) Number of downloads: 239

- Rotation: use dot, comma, or semicolon to separate spells in the same roation. Spell should be ordered by their priority.
Example:
CODE
Cure; Full-Cure; Heroic Health Potion; Spark of Life

Cast cure first. If cure on cooldown, cast Full-Cure. If Full-Cure on cooldown, use Heroic Health. If no more Heroic health, cast Spark.

CODE
Merciful Blow; Vital Strike; Shield Bash; Attack

Cast Merciful Blow (T3) first. If it's not yet available, cast Vital Strike(T2). If not available, cast Shield Bash(T1). If no skill is available, attack normally.



That's pretty sweet. It looks like I finally have a nice simple way to level up depreciating prof XD

EDIT: Depreciating Prof from about 10 to 50 in just over an hour XD Not bad, but it might be considered botting... hard to say :/

This post has been edited by animeai: Feb 16 2014, 04:24
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 16 2014, 05:28
Post #1222
n125



Elite Poster
*********
Group: Gold Star Club
Posts: 6,282
Joined: 23-May 08
Level 500 (Godslayer)


QUOTE(holy_demon @ Feb 15 2014, 04:04) *

Oh well I'm done. (IMG:[invalid] style_emoticons/default/tongue.gif) It's fairly quick to code. It 's pretty much a String.split, a loop, and some UI change >.>

SpellSpam 3.3.0
Attached File  SpellSpam3.3.0.user.zip ( 2.22k ) Number of downloads: 239


Bind different Attack/Skill/Spell to numkey, clicks, and hover. Support Rotation/Multicast. Eg: Cast Cure, Full-Cure, Heroic Health Potion, Spark of Life with right click, or Merciful Blow, Vital Strike, Shield Bash, Attack with hover (mousemelee-like). Press X to open customization tooltip. Hold Ctr/Alt/or Shift to temporarily disable the script without having to open the tooltip

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
- Rotation: use dot, comma, or semicolon to separate spells in the same roation. Spell should be ordered by their priority.
[...]


Suggestion for SpellSpam: Shift/Ctrl/Alt modifiers. For example, one can bind Cure to left click, and Full Cure to Shift + left click. Maybe the function that temporarily disables the script can be user-assigned to another key.

This post has been edited by n125: Feb 16 2014, 05:29
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 16 2014, 05:52
Post #1223
holy_demon



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


QUOTE(n125 @ Feb 16 2014, 14:28) *

Suggestion for SpellSpam: Shift/Ctrl/Alt modifiers. For example, one can bind Cure to left click, and Full Cure to Shift + left click. Maybe the function that temporarily disables the script can be user-assigned to another key.


I've had the idea of binding character hotkey with certain spell grouping. Eg, A will allow let you use OFC->attack while hover, S for T3->T2->T1->Attack while hover, and D for just attack while hover.

The problem is mainly about interface and interaction.

QUOTE(animeai @ Feb 16 2014, 12:01) *

That's pretty sweet. It looks like I finally have a nice simple way to level up depreciating prof XD

EDIT: Depreciating Prof from about 10 to 50 in just over an hour XD Not bad, but it might be considered botting... hard to say :/


If your weaken has 0 cd, you could have akf-grinded dep prof since SpellSpam 2.0

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

 
post Feb 16 2014, 10:59
Post #1224
Paarfi



HYPE!
******
Group: Gold Star Club
Posts: 929
Joined: 30-December 13
Level 394 (Dovahkiin)


My internet connection is temporarily slow as hell. Is there any scripts that can make HV run faster?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 16 2014, 11:21
Post #1225
Usagi =



Veteran Poster
********
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13
Level 453 (Dovahkiin)


QUOTE(Paarfi @ Feb 16 2014, 16:59) *

My internet connection is temporarily slow as hell. Is there any scripts that can make HV run faster?


Well, holy demon is working on an ajax script that would make HV ping independant that'll be bundled with spell spam.

Waiting for it myself, hope it gets released soon (IMG:[invalid] style_emoticons/default/biggrin.gif)

for now, maybe you can try the no image script.

This post has been edited by LOL50015: Feb 16 2014, 11:22
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 16 2014, 11:48
Post #1226
holy_demon



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


QUOTE(LOL50015 @ Feb 16 2014, 20:21) *

Well, holy demon is working on an ajax script that would make HV ping independant that'll be bundled with spell spam.

Waiting for it myself, hope it gets released soon (IMG:[invalid] style_emoticons/default/biggrin.gif)

for now, maybe you can try the no image script.


Don't wait cos I pretty much drop development for a public release for various reasons. I just make a version that suits my own need (no convenient UI and the likes). If you're interested to make one for yourself, here's the framework. It can send attack and toggle action request without waiting for server response, and redraw page when response to the last request is received.

CODE

HTMLFormElement.prototype.toString = function() {
   var line = "";
   for (var i = 0; i < this.length; i++) {
      if (this[i].type === "radio") {
         if (this[i].checked)
            line += ((line.length > 1) ? "&" : "") + this[i].name + "=" + encodeURIComponent(this[i].value);
      } else {
         line += ((line.length > 1) ? "&" : "") + this[i].name + "=" + encodeURIComponent(this[i].value);
      }
   }
   return line;
}

var BattleAJAX = function() {
   var form = document.getElementById("battleform").cloneNode();

   form["battleaction"].value = 1;

   var storage = {};
   storage.lastResponse = 0;
   storage.curResponse = 0;
   storage.lag = 0;
//   sessionStorage.setItem("ajax" + formName, JSON.stringify(storage));
   function post(params) {
      var xmlhttp = new XMLHttpRequest();
      xmlhttp.open("POST", document.location.href, true);
      xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
      xmlhttp.responseType = "document";
      xmlhttp.timeout = 3000;
      storage.lastResponse += 1;
      var curResponse = storage.lastResponse;
      xmlhttp.ontimeout = function() {
         if (curResponse === storage.lastResponse) {
            refresh();
         } else {
            xmlhttp.abort();
         }
      }
      xmlhttp.onreadystatechange = function() {
         if (xmlhttp.readyState === 2 && curResponse < storage.lastResponse) {
            storage.curResponse++;
//            console.log("sent", storage.curResponse, curResponse, storage.lastResponse);
            xmlhttp.abort();
         } else if (xmlhttp.readyState >= 4 && xmlhttp.response !== null && curResponse >= storage.lastResponse) {
            storage.curResponse++;
            if (xmlhttp.response.querySelector("#battleform")) {
               storage.lag = Math.max(0, storage.lastResponse - curResponse);
            } else if (document.querySelector("#battleform") && xmlhttp.response.querySelector("#recoverform")) {
               setTimeout(function() {
                  if (confirm("Inactive page. Refresh?")) {
                     refresh();
                  }
               }, 20000);
            }
//            storage.lastResponse = curResponse;
//            sync();
            if (storage.curResponse !== curResponse) {
               console.log("wrong", storage.curResponse, curResponse);
               storage.curResponse = curResponse;
               refresh();
            } else {
               document.open();
               document.write(xmlhttp.response.documentElement.outerHTML);
               document.close();
            }
            xmlhttp.abort();
         }
      }
      xmlhttp.send(params);
   }

   var sync = function() {
      sessionStorage.setItem("ajax" + formName, JSON.stringify(storage));
   }
   this.getLag = function() {
      return storage.lag;
   }

   this.redraw = function(state) {
      storage.redraw = state !== null ? state : !storage.redraw;
      sessionStorage.setItem("ajax" + formName, JSON.stringify(storage));
   }

   var refresh = this.refresh = function() {
      post(null);
   }

   this.restore = function() {
      document.open();
      document.write(document.documentElement.outerHTML);
      document.close();
   }

   this.attack = function(target) {
      form["battle_targetmode"].value = "attack";
//      form["battle_target"].value = 0
      form["battle_target"].value = target.toString().replace("0", "10");
      form["battle_subattack"].value = 0;
      post(form.toString());
   }

   this.toggle = function(name) {
      name = name.toLowerCase();
      form["battle_targetmode"].value = name;
      form["battle_target"].value = 0;
      form["battle_subattack"].value = 0;
      post(form.toString());
   }

   this.cast = function() {

   }
};


As you can see, I stop working at the cast function.

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

 
post Feb 16 2014, 11:55
Post #1227
Usagi =



Veteran Poster
********
Group: Gold Star Club
Posts: 2,923
Joined: 29-October 13
Level 453 (Dovahkiin)


^^
Oh okay, I'll see if I can make it work lol, my programming knowledge is not as good.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 16 2014, 12:00
Post #1228
holy_demon



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


QUOTE(LOL50015 @ Feb 16 2014, 20:55) *

^^
Oh okay, I'll see if I can make it work lol, my programming knowledge is not as good.


Basically something like this will initiate an attack on, say, target 1

CODE

var battleAJAX = new BattleAJAX();
battleAJAX.attack(1);


this will toggle spirit stance
CODE

battleAJAXtoggle("Spirit");


You just need to bind them to a mouse/key event

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

 
post Feb 17 2014, 09:43
Post #1229
Angelxii



Newcomer
**
Group: Members
Posts: 51
Joined: 6-December 09
Level 267 (Godslayer)


Hi, I'm completely new to this game. In fact I just started getting into it today-- Er yesterday. I've been playing like a complete noob.. Clicking each monster for every fight action, healing etc. I don't even use hot keys.. Just a lot of clicking. Welp. Anyways I've been asking around and browsing forums. And I know that you can't play the game this way or it'd be just super time consuming. (Which trust me.. I have been.)

I was hoping for advice on which scripts to download to make this game play easier/faster/able to multi task etc. I've looked here: http://ehwiki.org/wiki/HentaiVerse_Scripts_%26_Tools Though it seems like abit much.. I just need neccesities. To cut game time, make it easier etc. Advice and links to the programs I need or should have. Again complete noob. Could also use tips/tricks on how to play the game. (IMG:[invalid] style_emoticons/default/smile.gif)

Pss: I know nothing of scripts/mods/bots/etc never used them. So basics please. Some people have made it out of their way to explain that I need greasemonkey or something. For these. I am using google chrome btw. (IMG:[invalid] style_emoticons/default/biggrin.gif)

Pssssss: No popup, mouse melee, legendary/rare highlights. That would be appreciated if I could get up to date/best versions of them.

This post has been edited by Angelxii: Feb 17 2014, 10:01
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 17 2014, 12:07
Post #1230
Lement



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


Read this for native support: http://ehwiki.org/wiki/HentaiVerse_Hotkeys
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 19 2014, 17:21
Post #1231
Paarfi



HYPE!
******
Group: Gold Star Club
Posts: 929
Joined: 30-December 13
Level 394 (Dovahkiin)


Is there a script which have an alert for low HP (besides HV STAT script)?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 19 2014, 17:56
Post #1232
LazyShd



Need moar VNs
******
Group: Gold Star Club
Posts: 767
Joined: 5-May 13
Level 475 (Godslayer)


QUOTE(Paarfi @ Feb 19 2014, 19:21) *

Is there a script which have an alert for low HP (besides HV STAT script)?

QUOTE(LazyShd @ Feb 7 2014, 16:38) *

That worked, thanks, and it really faster than with Tampermonkey. If someone need it here is edited script (hp set to 35%):
Attached File  HV_HealthAlert.2.1.user.zip ( 606bytes ) Number of downloads: 63


QUOTE(Colman @ Feb 7 2014, 16:00) *

Thank, already fix. (IMG:[invalid] style_emoticons/default/smile.gif)
Forgot to assign the variable (IMG:[invalid] style_emoticons/default/laugh.gif)
Although there are some unnecessary code, this will be the final version if no big issue is found.
[attachmentid=36682]
bug fix
[attachmentid=36804]
bug fix 2
[attachmentid=36806]

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

 
post Feb 20 2014, 01:11
Post #1233
Angelxii



Newcomer
**
Group: Members
Posts: 51
Joined: 6-December 09
Level 267 (Godslayer)


How do I download a script >_<! I tried downloading the NoPopUp from this thread. But it just has a .js file. I tried extracting it. But don't know what to do. I: I read on the wiki that I can just drag and drop into my Chrome Extensions page. But that doesn't work. Help please!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 20 2014, 08:07
Post #1234
Razor320



Casual Poster
***
Group: Members
Posts: 220
Joined: 17-October 13
Level 361 (Godslayer)


Extract *.user.js file from archive and drag it into browser window. File has to end on .user.js, so if it is not, rename it.

Also a Chrome should have at least version 4 to run userscripts.

This post has been edited by Razor320: Feb 20 2014, 08:07
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 20 2014, 11:23
Post #1235
Owyn



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


QUOTE(Owyn @ Jan 23 2014, 18:39) *

Fixed icons to be contained in the script itself (quoted post has broken addresses for icons)

- added ability to click icon to consume the gem

Attached File  show_gem_icon_button.user.js.zip ( 3.24k ) Number of downloads: 1377



Attached File  show_gem_icon_button.user.js.zip ( 3.24k ) Number of downloads: 151


- now you can just hover the gem with your mouse to consume it

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

 
post Feb 21 2014, 09:27
Post #1236
Lement



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


Here is a prelimanary shard of a script I've been working on a bit:
ForumMoogler 1.0 (for Firefox) :Attached File  Senderforum.user.js.zip ( 3.86k ) Number of downloads: 64

What it does: Finds specificed equips by their handlers in forum posts and adds +queue buttons and Send buttons to each where handler was found(All Send buttons function the same).
A +queue button will add equips in a given list to queue kept in localStorage.
A Send button will send off all queued equips to their respective askers, without COD.
Equip in the list,
Sent Equip in the past,
Sent Equip in current session,
Queued Equip on current page and +queue buttons that were clicked after sent off,
Queued Equip on current session, do note that equip can still be in the queue without being so - shouldn't double-queue though.
+queue button after click.

How to get your equip handler list: Turn on/install HV Mini Shop Helper, go to your list of equips in the forge, and mark up your equip tags, while marking price field "FREESHOP". Click on the "SAVE FREESHOP LIST" button at the bottom.

Now, in the forums, whenever you see the listed tag/handler, it generates the +queue and Send buttons along with all the requested equips in a given post in a table column between user avatar and post text.

Notes:
Only sends off unlocked equips as safety feature. If you accidentially add to the list a locked equip and it is requested, the script will break. Type delete( localStorage.FREELIST); in console to kill your list. Or save new one. Do note that as of this time, each "Save list" erases previous, so no multi-category lists.
Uses sessionStorage, probably has related bugs if you don't follow 1 tab - 1 sendoff system.
Any breaking is obviously marked by the iframe element at the bottom of the page.(Do note that having it for the duration of sending off is normal - having it remain there less so).
Since the sendoff is done at new mooglemail, if you queue anything and then go to new mail in HV outside of forum page it will moogle things off anyway.
For seeing what you have queued, open up console and type localStorage.FREELIST

As for what it is the shard of, that's a bit more complicated.

Thanks to holy_demon for cross-domain help.

This post has been edited by Lement: Feb 22 2014, 02:35
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 27 2014, 08:13
Post #1237
holy_demon



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


Bug fix

SpellSpam 3.3.1
[attachmentid=37821]

Change log:
- fix an issue with randomly triggered click

Bind different Attack/Skill/Spell to numkey, clicks, and hover. Support Rotation/Multicast. Eg: Cast Cure, Full-Cure, Heroic Health Potion, Spark of Life with right click, or Merciful Blow, Vital Strike, Shield Bash, Attack with hover (mousemelee-like). Press X to open customization tooltip. Hold Ctr/Alt/or Shift to temporarily disable the script without having to open the tooltip

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
- Rotation: use dot, comma, or semicolon to separate spells in the same roation. Spell should be ordered by their priority.
Example:
CODE
Cure; Full-Cure; Heroic Health Potion; Spark of Life

Cast cure first. If cure on cooldown, cast Full-Cure. If Full-Cure on cooldown, use Heroic Health. If no moe Heroic health, cast Spark.

CODE
Merciful Blow; Vital Strike; Shield Bash; Attack

Cast Merciful Blow (T3) first. If it's not yet available, cast Vital Strike(T2). If not available, cast Shield Bash(T1). If no skill is available, attack normally.

- Ctr, Alt, or Shift disables the script temporarily

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

 
post Mar 1 2014, 00:15
Post #1238
Owyn



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


how should I contact Tenb for userscript questions? he doesn't seem to answer pms ;s
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 1 2014, 00:36
Post #1239
Ichy



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


QUOTE(Owyn @ Mar 1 2014, 00:15) *

how should I contact Tenb for userscript questions? he doesn't seem to answer pms ;s

he does but slow.

label your PM 'is this allowed?' or something. Also sending him multiple PMs will make him ignore you.

Also question: Ajax based mousemelee when?
Or can i just copypaste that code above into my mousemelee and it will work? (IMG:[invalid] style_emoticons/default/tongue.gif)

This post has been edited by Ichy: Mar 1 2014, 00:46
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 1 2014, 01:02
Post #1240
holy_demon



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


QUOTE(Ichy @ Mar 1 2014, 09:36) *

Also question: Ajax based mousemelee when?
Or can i just copypaste that code above into my mousemelee and it will work? (IMG:[invalid] style_emoticons/default/tongue.gif)



It's a framework so you need to code a little bit, you basically want to replace

QUOTE

monsterElement.click()

with
QUOTE

var battle = BattleAJAX();
battle.attack(getMonsterID(monsterElement));


getMonsterID retrieve the no of monsterElement and should return a number between 1-10

Still it's dangerous to use since it won't redraw page if you don't move your mouse out of the way -> no low hp alert, so you might want to put in some conditional limit.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 60 61 62 63 64 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 11th January 2025 - 22:04