 |
 |
 |
The .85 Hovering Script crowdfunding/discussion, Part 2: the crowdfunding/discussion thread - script finished |
|
Jul 22 2017, 11:43
|
Taylia
Newcomer
 Group: Gold Star Club
Posts: 35
Joined: 8-March 16

|
QUOTE Firefox is installable from Google Play. The add-on will be installable from an unlisted addons.mozilla.org URL. So it won't be searchable on the site, only clickable from here (or a bookmark). I misread this process, the URL won't be on addons.mozilla.org so I will upload it to the forums or gitlab or somewhere instead. I have got a test extension working, there are some inconsistencies in the environment between GreaseMonkey and Firefox chrome sooo the first line of sickentide's script caused the extension to crash (IMG:[ invalid] style_emoticons/default/anime_cry.gif) I fixed all the straight errors, and only left with the 27 warnings because Mozilla doesn't want you to use innerHTML like this. QUOTE(The Original Zeo @ Jul 16 2017, 02:01)  Unfortunately an adless pay-to-download version appears to not exist (IMG:[ invalid] style_emoticons/default/sad.gif). This is nothing you can control though, so I'll just have to deal with it (IMG:[ invalid] style_emoticons/default/tongue.gif) Err, that should be the official version and there should not be any ads built into the browser (IMG:[ invalid] style_emoticons/default/blink.gif) QUOTE(The Original Zeo @ Jul 16 2017, 02:01)  If you could make a pointer-shaped object that sits on the screen above the browser, I could drag and drop it with my finger. Once it is placed on a monster, it would attack until something triggers a pause, or the mob is dead. Then I just drag and drop the pointer with my finger again. To resume a pause, I think a double tap would be best.
Yup, this should be doable, a floating puck/planchette that you can drag around. QUOTE(The Original Zeo @ Jul 16 2017, 02:01)  Also, firefox has a menu (3 dots) in the top right which can be used to toggle the keyboard. I don't know if you can keybind imperil etc to these keys?
I don't think Firefox can tell the difference between the source of the keyboard inputs so these should work out of the box. I still have to write the config to allow rebinding keys. QUOTE(The Original Zeo @ Jul 16 2017, 02:01)  Also RE: Sapo's post about storing hover coords. Unless he can keep track of a coord even if it goes off screen, I don't know if this would work on a mobile or not? I constantly zoom in and out to make the quickslot buttons bigger. Nothing is more frustrating than going to tap heal, accidentally finger fudging and tapping full heal, then having no mp left and losing spark. I haven't died from this yet, but it does happen, which is why I constantly zoom.
That's not the way the coords work, the coords the script stores are document-space, the zooming around is only affecting screen-space coords. Windows/Android/Firefox maps taps/clicks in screen-space to the window-space to the viewport to the document-space, so (0, 0) in document-space refers to the top-left corner of the document even if you zoom or scroll that point out of view. QUOTE(The Original Zeo @ Jul 16 2017, 02:01)  The default monster HP bars are green, but with black underneath, right? So if it has max hp (eg, 75000) then the green and black bars are both 150 (ish) pixels long. But if you deal 25,000 damage to it, then the black bar will still be 150 pixels, but the green bar is only 100 pixels now, resulting in the appearance of health depleating. Fluid HP bars basically: 1) Find higest hp monster in this round (eg, 75,000 hp). Call this "max hp" 2) Make all monster's black hp bar = max hp This means that a monster who has taken no damage, but has only 50,000 max hp, will APPEAR to have already lost 1/3rd of it's hp right from the start. Naturally, the "max hp" number will change every round to = the highest hp monster in the round. All other monsters hp would scale linearly, as a ratio to the max hp of the highest max hp monster. Does this make sense?
Cool, that is what I thought it might be (IMG:[ invalid] style_emoticons/default/smile.gif) QUOTE(The Original Zeo @ Jul 16 2017, 02:01)  Re: configurable shortcut buttons. Can't you use the built in keypad (the thing you use to write texts and stuff) to map actions to the keys? qwertyuiop = select monsters a-j, 1-0 = use corresponding quickslots, stuff like this? A lot of the touch styles are already mapped to certain things on the OS level, like double tap and pinch both activate the zoom in/out function. If configable keyboard keys are not possible, then I think the most important one would be to resume a pause with a double tap. (Remembering that all custom key mapping is only in the desirable list)
I'm currently leaning towards (as in I don't have a working version, but it seems like a Really Cool idea) popping up a configurable 8-way radial menu on tapping the planchette. So... the UX going through my head is double-tap to pause, drag the planchette onto an enemy, tap planchette (pop-up radial menu), tap imperil, drag to next enemy, tap planchette, tap imperil, drag onto an enemy, double-tap to resume. That seems (to me) to be more efficient that messing with the keyboard though I don't know if you need more than 8 items on the radial menu? (sub-menus should be technically possible but obviously more difficult than a single layer) QUOTE How's the porting project going? Is there anything I can help with? At this stage, I need to get the puck drawn and interacting with the Firefox Touch API (ie so you can drag it around) before I can send it to you for testing.
|
|
|
|
 |
|
Jul 22 2017, 14:15
|
WeebLife
Group: Gold Star Club
Posts: 1,151
Joined: 27-September 07

|
QUOTE(Taylia @ Jul 22 2017, 20:13)  I misread this process, the URL won't be on addons.mozilla.org so I will upload it to the forums or gitlab or somewhere instead. I have got a test extension working, there are some inconsistencies in the environment between GreaseMonkey and Firefox chrome sooo the first line of sickentide's script caused the extension to crash (IMG:[ invalid] style_emoticons/default/anime_cry.gif) I fixed all the straight errors, and only left with the 27 warnings because Mozilla doesn't want you to use innerHTML like this. Sorry to hear you're having so much trouble with this (IMG:[ invalid] style_emoticons/default/sad.gif). Silver linings though: although it is challenging, it is an unusual, and engaging project? QUOTE(Taylia @ Jul 22 2017, 20:13)  Err, that should be the official version and there should not be any ads built into the browser (IMG:[ invalid] style_emoticons/default/blink.gif) Sorry, you're right. The one with ads is flashfox, not firefox. QUOTE(Taylia @ Jul 22 2017, 20:13)  Yup, this should be doable, a floating puck/planchette that you can drag around. I don't think Firefox can tell the difference between the source of the keyboard inputs so these should work out of the box. I still have to write the config to allow rebinding keys. That's not the way the coords work, the coords the script stores are document-space, the zooming around is only affecting screen-space coords. Windows/Android/Firefox maps taps/clicks in screen-space to the window-space to the viewport to the document-space, so (0, 0) in document-space refers to the top-left corner of the document even if you zoom or scroll that point out of view.
Oh, I didn't know that. Good to know (IMG:[ invalid] style_emoticons/default/smile.gif) QUOTE(Taylia @ Jul 22 2017, 20:13)  Cool, that is what I thought it might be (IMG:[ invalid] style_emoticons/default/smile.gif) (IMG:[ invalid] style_emoticons/default/smile.gif) QUOTE(Taylia @ Jul 22 2017, 20:13)  I'm currently leaning towards (as in I don't have a working version, but it seems like a Really Cool idea) popping up a configurable 8-way radial menu on tapping the planchette.
So... the UX going through my head is double-tap to pause, drag the planchette onto an enemy, tap planchette (pop-up radial menu), tap imperil, drag to next enemy, tap planchette, tap imperil, drag onto an enemy, double-tap to resume.
That seems (to me) to be more efficient that messing with the keyboard though I don't know if you need more than 8 items on the radial menu? (sub-menus should be technically possible but obviously more difficult than a single layer)
Hmm yeah that sounds cool. I wouldn't want to open the radial by tapping the pointer though - if I miss the pointer then i could end up tapping the monster below it. Maybe make it a long-press of the pointer to open the radial, then a "flick" of the finger in one of the 8 directions to activate the skill mapped to that button? Or perhaps have a button in the bottom right corner of the screen that opens the radial? Secondary question - would the radial button mapping be able to automatically change based upon the active persona? Things I would want mapped to a radial would be deprecating spells. Imperil, sleep, silence, weaken, slow, blind, magnet, drain. And not necessarily on the radial, but easier item access would be nice. *shrug*. QUOTE(Taylia @ Jul 22 2017, 20:13)  At this stage, I need to get the puck drawn and interacting with the Firefox Touch API (ie so you can drag it around) before I can send it to you for testing.
All good mate, take as long as you need. I'm just glad to get an update (IMG:[ invalid] style_emoticons/default/smile.gif) Just had another thought. You said you were thinking of adding a menu to configure what will make the script pause (like spark being triggered, or hpmpsp getting too low). Could another trigger for a script-pause be a draught wearing off? Thank again. I really appreciate all the work you're putting into this (IMG:[ invalid] style_emoticons/default/smile.gif) I currently have [6,986/12,000] hath accrued, and 30 AAS slots. EDIT: Oh oh oh oh oh oh one fature that I have never been able to use on mobile is the "ctrl+click" to get the url for an item. How difficult would it be to use the puck to "copy item url"? This post has been edited by The Original Zeo: Jul 22 2017, 14:26
|
|
|
|
 |
|
Jul 22 2017, 14:56
|
Taylia
Newcomer
 Group: Gold Star Club
Posts: 35
Joined: 8-March 16

|
QUOTE(The Original Zeo @ Jul 22 2017, 22:15)  Sorry to hear you're having so much trouble with this (IMG:[ invalid] style_emoticons/default/sad.gif). Silver linings though: although it is challenging, it is an unusual, and engaging project? It wasn't much trouble to fix, it was just unexpected (IMG:[ invalid] style_emoticons/default/smile.gif) (And, honestly it probably shouldn't have been. Greasemonkey is notorious for silently eating error messages, and Firefox Developer Edition feeds them to you so you can fix them.) QUOTE(The Original Zeo @ Jul 22 2017, 22:15)  Hmm yeah that sounds cool. I wouldn't want to open the radial by tapping the pointer though - if I miss the pointer then i could end up tapping the monster below it.
Maybe make it a long-press of the pointer to open the radial, then a "flick" of the finger in one of the 8 directions to activate the skill mapped to that button? Or perhaps have a button in the bottom right corner of the screen that opens the radial?
I suggested tap just because it's theoretically faster and I don't know how often you use it. It *should* be possible to make a full gesture system where you draw a glyph to activate a thing (but technically difficult), Something like long-press, up, right, left to drink an elixir and long-press, up, right, down to drink a draught should be a good compromise. QUOTE(The Original Zeo @ Jul 22 2017, 22:15)  Secondary question - would the radial button mapping be able to automatically change based upon the active persona?
Yes, but I'd make that a v1.1 feature (ie worry about it after we have a working version). From everything I've read about the scripting/botting guidelines the parsing restrictions are all tied to *in battle*. So we can parse the character page and currently chosen persona without a problem. QUOTE(The Original Zeo @ Jul 22 2017, 22:15)  Things I would want mapped to a radial would be deprecating spells. Imperil, sleep, silence, weaken, slow, blind, magnet, drain.
I haven't unlocked half of those spells (IMG:[ invalid] style_emoticons/default/biggrin.gif) I would make it configurable so anyone who wants to add a thing can add whatever they use. QUOTE(The Original Zeo @ Jul 22 2017, 22:15)  And not necessarily on the radial, but easier item access would be nice. *shrug*.
I was thinking they should be on the radial, which was why I mentioned sub-menus, because there are potentially 9 potions and 10+ scrolls/infusions :/ And I don't want to try and cut radial segments under 1/8th. QUOTE(The Original Zeo @ Jul 22 2017, 22:15)  All good mate, take as long as you need. I'm just glad to get an update (IMG:[ invalid] style_emoticons/default/smile.gif) Just had another thought. You said you were thinking of adding a menu to configure what will make the script pause (like spark being triggered, or hpmpsp getting too low). Could another trigger for a script-pause be a draught wearing off? Config menu is a requirement, and adding all the configurable features from the script will be on it. Adding an internal buff timer (50 turns?) for draughts should be pretty straight forward. I don't think the duration is affected by any abilities or hath perks? QUOTE(The Original Zeo @ Jul 22 2017, 22:15)  EDIT: Oh oh oh oh oh oh one fature that I have never been able to use on mobile is the "ctrl+click" to get the url for an item. How difficult would it be to use the puck to "copy item url"?
Clipboard is an interesting discussion. Greasemonkey CAN push to the clipboard but can't read it and I think WebExtensions are the same (Firefox considers reading the clipboard a security issue). I'm not sure what you mean by ctrl+click (that opens in a new tab for me?) and if it's a valid link a long press should let you "Copy Link"? Call it a possible feature for investigation for v1.1?
|
|
|
|
 |
|
Jul 23 2017, 00:49
|
sickentide
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10

|
people have asked for monster hp display and hp bar shortening in this thread, just now i have added these to my script
|
|
|
|
 |
|
Jul 23 2017, 01:58
|
WeebLife
Group: Gold Star Club
Posts: 1,151
Joined: 27-September 07

|
QUOTE(Taylia @ Jul 22 2017, 23:26)  I suggested tap just because it's theoretically faster and I don't know how often you use it. It *should* be possible to make a full gesture system where you draw a glyph to activate a thing (but technically difficult), Something like long-press, up, right, left to drink an elixir and long-press, up, right, down to drink a draught should be a good compromise.
I'm not sure I'm understanding what you're describing. Are you suggesting more-than-1 layer of menus? If you want to do this, maybe make the menus a separate list box? Like: Tap or long press puck to open radial N, ne, e, se, and s are all custom quickslots Nw and sw are blank W is the menu button One tap of the menu button opens a rectangular box to the left of the radial. Once the menu box opens, the nw radial button becomes a back button (to navigate "up one level" or close the menu if already at the top level) and the sw radial would become a "close menu" button The menu structure would be something like: Spells -deprecating --list -supportive --list -attacking --fire ---list --ice ---list --wind ---list --elec ---list --holy ---list --dark ---list Items -hp --list -mp --list -sp --list -scrolls --list -infusions --list -other --list (eg energy drink and bubblegum) Skills -list (eg shield bash, staff strike, etc.) *shrug* I dunno. There are many ways to skin the cat. We just want to avoid it being too confusing, clunky, or cumbersome. Consideration should also be given to things like packrat, tincture, and scholar of war. QUOTE(Taylia @ Jul 22 2017, 23:26)  Yes, but I'd make that a v1.1 feature (ie worry about it after we have a working version).
From everything I've read about the scripting/botting guidelines the parsing restrictions are all tied to *in battle*. So we can parse the character page and currently chosen persona without a problem.
Yeah, definitely a v1.1 thing. It's a nice feature, not a core function. QUOTE(Taylia @ Jul 22 2017, 23:26)  I haven't unlocked half of those spells (IMG:[ invalid] style_emoticons/default/biggrin.gif) I don't put AB into all of them, but when I get down to the last mob, I sleep and imperil them then use my lowest mp deprecating spell over and over just to train my proficency. If chanelling procs I'll use these other spells even if I have no AB invested in them. QUOTE(Taylia @ Jul 22 2017, 23:26)  I was thinking they should be on the radial, which was why I mentioned sub-menus, because there are potentially 9 potions and 10+ scrolls/infusions :/ And I don't want to try and cut radial segments under 1/8th.
I have packrat, scholar of war, and tincture maxed. I have 15 item slots, 6 scroll slots, and 6 infusion slots In my items I carry the 10 potions, blank, scroll of shadows, blank, energy drink, and bubblegum In my scrolls I carry swiftness, protection, absorption, avatar, life, gods In my infusions I carry flame, frost, lightning, storm, divinity, darkness If you can find a way to group my 7th scroll (shadows) with my other six, then sure it'd be helpful... but in reality, I'd suggest making life easier on yourself and only planning your code around a 15/6/6 model to match the item/scroll/infusion layout already setup by tenboro. QUOTE(Taylia @ Jul 22 2017, 23:26)  Config menu is a requirement, and adding all the configurable features from the script will be on it. Adding an internal buff timer (50 turns?) for draughts should be pretty straight forward. I don't think the duration is affected by any abilities or hath perks?
I dunno? I have almost all the hath perks (see sig), and 4 out of 5 AB pips on better hp pots. I just used a draught in an RE and can confirm it still lasts 50 turns for me. Also, beware of falling into the same pit that sickentide did. On mobile, it is common to get the "lost server communication ()" error, resulting in a page refresh. One of sick's counters didn't consider this and would restart from 1 after a refresh (or at least, that is what I understood when reading it... it was somewhere in the last 11 or so pages (IMG:[ invalid] style_emoticons/default/tongue.gif)) QUOTE(Taylia @ Jul 22 2017, 23:26)  Clipboard is an interesting discussion. Greasemonkey CAN push to the clipboard but can't read it and I think WebExtensions are the same (Firefox considers reading the clipboard a security issue). I'm not sure what you mean by ctrl+click (that opens in a new tab for me?) and if it's a valid link a long press should let you "Copy Link"?
Call it a possible feature for investigation for v1.1?
What I am referring to is this : "How do I link a piece of equipment? Mouse over the piece and press C. This will generate a pop-up with the URL. Make sure Caps Lock is off and popups are enabled." https://ehwiki.org/wiki/HentaiVerse_FAQAnd copying to clipboard is all that's needed. I wouldn't need to paste in HV, only on the forums. I've never seen this popup, so I'm not really sure how it works. Perhaps just sending a "c" or "C" with the puck would be enough, then I could long-press select and copy the url from the de fault popup? I cannot long-press select anything else in HV, so unless the popup opens in a new tab, I doubt a simple "c" or "C" command would work... but it's worth a try, I guess? I dunno. It's up to you whether or not this gets included in v1, v1.1, or at all... It wasn't specified when you took the bounty, so having it included in any version is a still bonus for me (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
|
 |
|
Jul 23 2017, 20:23
|
Maharid
Group: Catgirl Camarilla
Posts: 2,404
Joined: 27-April 10

|
Now that is fundamentally i'd like to open another thread to ask some other script that are missing and possibily have other users that want them to crowfund the creation.
Can i or is better to wait some more?
|
|
|
Jul 23 2017, 20:30
|
Cleavs
Group: Gold Star Club
Posts: 24,313
Joined: 18-January 07

|
QUOTE(Maharid @ Jul 23 2017, 20:23)  Now that is fundamentally i'd like to open another thread to ask some other script that are missing and possibily have other users that want them to crowfund the creation.
Can i or is better to wait some more?
one step ahead of you (IMG:[ invalid] style_emoticons/default/cool2.gif) crowdfunding will start when a decent list will be filled: https://forums.e-hentai.org/index.php?showtopic=207789
|
|
|
Aug 3 2017, 02:08
|
WeebLife
Group: Gold Star Club
Posts: 1,151
Joined: 27-September 07

|
Update: The 12,000 hath bounty has been saved up and is ready for payment once the android port is working.
|
|
|
Aug 21 2017, 17:56
|
Colman
Group: Gold Star Club
Posts: 7,333
Joined: 15-November 10

|
Anyone experience this issue when using HentaiverseMonsterbation 1.2.0.2 & 1.2.0.4? Or is it just me? This issue started to arise with v0.86. I have tested with both Iron and chrome. Same problem.
|
|
|
Aug 21 2017, 17:58
|
piyin
Group: Gold Star Club
Posts: 10,862
Joined: 4-February 09

|
QUOTE(Colman @ Aug 21 2017, 17:56)  Anyone experience this issue when using HentaiverseMonsterbation 1.2.0.2 & 1.2.0.4? Or is it just me? This issue started to arise with v0.86. I have tested with both Iron and chrome. Same problem. i tought that was normal. happened to me like more than 30 times, but tought was a Chrome issue. Check the Script thread, there was some info there about this.
|
|
|
|
 |
|
Aug 21 2017, 18:02
|
Colman
Group: Gold Star Club
Posts: 7,333
Joined: 15-November 10

|
QUOTE(piyin @ Aug 21 2017, 23:58)  i tought that was normal. happened to me like more than 30 times, but tought was a Chrome issue. Check the Script thread, there was some info there about this.
I have that issue for every new round. I guess there is some issue with the auto turn advance part as there is no such issue without the script (at least I haven't seen it without using script).
|
|
|
Aug 21 2017, 18:10
|
Cleavs
Group: Gold Star Club
Posts: 24,313
Joined: 18-January 07

|
moved to script thread.
|
|
|
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|