Welcome Guest ( Log In | Register )

38 Pages V « < 8 9 10 11 12 > »   
Reply to this topicStart new topic
> [Script] HVtoolBox 1.0.14, A comprehensive out-of-battle script - ISK support

 
post Sep 10 2017, 19:48
Post #181
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


Sorry, Scremaz, stupid question, but...
..have you disabled all previous versions of HVtoolBox (or better yet delete them)?
That should looks like this:
1) you turnoff/disable/delete current version of HVtoolBox
2) you are installing new version of HVtoolBox and turn it on
3) give script a try, if it starts reloading on its own, then you turn it off and clean local.storage, turn script on
4) after that going to settings and configure as you need, save.
=(

This post has been edited by f4tal: Sep 10 2017, 19:49
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 19:59
Post #182
morineko



Active Poster
*******
Group: Gold Star Club
Posts: 2,347
Joined: 1-April 14
Level 500 (Godslayer)



too lazy to scroll down every time when testing the settings. (IMG:[invalid] style_emoticons/default/duck.gif)
could you add another save/cancel buttons at the top?

and if there have to be a button at the bottom of equipments page
how about just put the ranges info at bottom like this?
CODE

if ($i("showequip")) {
    parseEquip(document.body, {}, function(item){
    var div = document.body.appendChild(document.createElement("div"));
    div.innerHTML = "<br>"+ item.info + (item.badinfo ? ' ' + item.badinfo : '');
    });
}
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 20:16
Post #183
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


QUOTE
could you add another save/cancel buttons at the top?

Ahaha, I can make a setting that would add another save/cancel buttons at the top of settings xD
jokes apart, yes i can, but will it make interface a little bit ugly? Anyway I will check a better way to make it work. Thanks =)

QUOTE
and if there have to be a button at the bottom of equipments page

I thought button is more convenient and more clear, because most equipment is not fully-upgraded/forged/IW equips with lost of stats, so permanently increasing the equipment box via CSS would affect all people and all equipment. It is more settle and logical (I believe) to give to people a button to make them expand the window when they would see overlaying (so. instead of changing the window for everyone, people can change the windows for specific equip).
QUOTE
how about just put the ranges info at bottom like this?

I wanted to make these data to look more like "in-game" data. Imho, that data is better not to place below window as third-party info, but better to keep in box itself to make its appearance more "domestic", "natural", settle.
But I can change it in anyway people would tell me. If a lot of people would tell me to make different appearance, then I will do it.

Reloading sh-t propblem? Anyone?

This post has been edited by f4tal: Sep 10 2017, 20:17
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 21:49
Post #184
piyin



Reasons to love the IRS.
***********
Group: Gold Star Club
Posts: 10,819
Joined: 4-February 09
Level 500 (Ponyslayer)


Question:

This will sound preposterous or anything alike. (IMG:[invalid] style_emoticons/default/dry.gif)

but...

Could it be possible to change the conditional operator [!= - not equal] for a minus sing? (IMG:[invalid] style_emoticons/default/rolleyes.gif)

Have my fair share of time trying to make some items filters and it just work or i dont know how to use it the right way*.

*NOTE= I can use ALL other without a problem, well maybe onlly the && and || are a little annoying (can we only use 1?) but != - not equal is by sure the most troublesome for me. (IMG:[invalid] style_emoticons/default/tongue.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 22:00
Post #185
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
Level 500 (Ponyslayer)


QUOTE(piyin @ Sep 10 2017, 21:49) *

!= - not equal is by sure the most troublesome for me. (IMG:[invalid] style_emoticons/default/tongue.gif)

apart for the fact that it's quite intuitive ( "!" in C-based coding languages means "NOT" logic operator, so "!=" means "not equal", "different" - if you look carefully, you can find it every now and then even here in the forum), if it's part of language syntax then no, it cannot be changed.

like "&&" for "AND" and "||" for "OR" operators, besides.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 22:17
Post #186
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


QUOTE
This will sound preposterous or anything alike.

No it is not a preposterous, worry not.
And, yes, this is syntax from JavaScript itself - it cannot be changed. holy_demon used minus-sign, but he had no grouping operator (parentheses) and used commas (,) in a sense of &&.
It would be very tricky to put here minus sense in a sense of NOT, sorry. =(

You can think about != as a slashed equals sign, like ≠ - than it would make more sense =)

Scremaz, what about new version? Is it working for you?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 22:20
Post #187
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
Level 500 (Ponyslayer)


QUOTE(f4tal @ Sep 10 2017, 22:17) *

Scremaz, what about new version? Is it working for you?

didn't try it yet. will do it ASAP.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 22:39
Post #188
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


About the "stock-limiter in effect" server-thing.

Attached Image
I have, say 430 things I want to bazaar, so I am selecting them all and use script to mass-bazaar them.

Attached Image
Process is on a go, and looks like everything works well.

Attached Image
Done! All 430 things were bazaared. Let's reload the page.

Attached Image
NO! I still have 330 things left! But script said the "job is done"! What the hell?


The truth is, after selling 100 thing in a row, HentaiVerse server temporally blocked my activity behind the scene and cut off all my following requests.
Why?
It is server-side protection from ddosing, overheating and such. This is not a bug of HVtoolBox - this is exactly how game/server work.

You can, however, use two options in the settings to help you bypass that restriction and successfully bazaar/salvage/shrine all stuff - "Max amount of requests per call" (decrease it) and "Delay between each call" (increase it). Or alternatively, and better, work with a little amount of things in one. ~50 things at once is safe zone, I suppose...

This post has been edited by f4tal: Sep 10 2017, 22:40
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 22:46
Post #189
piyin



Reasons to love the IRS.
***********
Group: Gold Star Club
Posts: 10,819
Joined: 4-February 09
Level 500 (Ponyslayer)


QUOTE(f4tal @ Sep 10 2017, 22:39) *

About the "stock-limiter in effect" server-thing.

Attached Image
I have, say 430 things I want to bazaar, so I am selecting them all and use script to mass-bazaar them.

Attached Image
Process is on a go, and looks like everything works well.

Attached Image
Done! All 430 things were bazaared. Let's reload the page.

Attached Image
NO! I still have 330 things left! But script said the "job is done"! What the hell?
The truth is, after selling 100 thing in a row, HentaiVerse server temporally blocked my activity behind the scene and cut off all my following requests.
Why?
It is server-side protection from ddosing, overheating and such. This is not a bug of HVtoolBox - this is exactly how game/server work.

You can, however, use two options in the settings to help you bypass that restriction and successfully bazaar/salvage/shrine all stuff - "Max amount of requests per call" (decrease it) and "Delay between each call" (increase it). Or alternatively, and better, work with a little amount of things in one. ~50 things at once is safe zone, I suppose...


Mhhh... So thats why i always got that message. (IMG:[invalid] style_emoticons/default/ohmy.gif)

Good to know. (IMG:[invalid] style_emoticons/default/wink.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 22:55
Post #190
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


QUOTE
Mhhh... So thats why i always got that message. ohmy.gif

Yes, basically - you are asking to do so many things in so little time, so server prefer to shut you down instead of listening.
It is better, at least server-side, work with little packages and make break between each calls. Two options, I mentioned above, help a little, but if server want to shut you up, it will do, and no matter what options you have used, so working with little packages is a best way to do. =)

I knew that server will block me, but I haven't through it will shut me after 100th request, I thought it will handle no more that 50 requests. Looks like server was more tolerated with me than I thought. =)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 10 2017, 23:03
Post #191
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
Level 500 (Ponyslayer)


QUOTE(f4tal @ Sep 10 2017, 22:55) *

Yes, basically - you are asking to do so many things in so little time, so server prefer to shut you down instead of listening.
It is better, at least server-side, work with little packages and make break between each calls. Two options, I mentioned above, help a little, but if server want to shut you up, it will do, and no matter what options you have used, so working with little packages is a best way to do. =)

I knew that server will block me, but I haven't through it will shut me after 100th request, I thought it will handle no more that 50 requests. Looks like server was more tolerated with me than I thought. =)

speaking of which, i really, really suggest users to go easy with such feature - and possibly to f4tal to put some conservative limits by default (*), with a warning popping out if you try to modify them in order to speed the process too much.

if this is really a protection against DDOSing (which does make sense) and this feature gets used quite a bit, admin may think that some kind of botting is going on. i'll mention this thing next time i'll poke him, but as i said a few seconds of wait won't hurt anyone.


(*) don't exactly know which ones, and even if i knew them it'd be one of those damn things that those nasty mods in their ivory tower don't want to tell people to make them suffer, so we'll rely on f4tal's knowledge #

This post has been edited by Scremaz: Sep 10 2017, 23:06
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 11 2017, 00:00
Post #192
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


These two settings modify the way how the pool of selected things would be processed.

Say, we have 10 selected items. With "size" of 3 and "delay" of 1500, that array would be processed in following way
  1. send [bazaar 1] [bazaar 2] [bazaar 3]
  2. pause for 1500 ms
  3. send [bazaar 4] [bazaar 5] [bazaar 6]
  4. pause for 1500 ms
  5. send [bazaar 7] [bazaar 8] [bazaar 9]
  6. pause for 1500 ms
  7. send [bazaar 10]
With "size" of 5 and "delay" of 800, that array would be processed in following way
  1. send [bazaar 1] [bazaar 2] [bazaar 3] [bazaar 4] [bazaar 5]
  2. pause for 800 ms
  3. send [bazaar 6] [bazaar 7] [bazaar 8] [bazaar 9] [bazaar 10]
So, basically decreasing the "size" option is good, because you are sending less request and increasing the "delay" is good because it helps server to rest from you a little xD
It is like what is better - drink the whole bottle of beer non-stop with maybe one brief break? Or drink it slowly, with breaks, sup after sup with enjoying of every drop? =)

This post has been edited by f4tal: Sep 11 2017, 00:47
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 11 2017, 01:28
Post #193
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
Level 500 (Ponyslayer)


last version works just fine (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 11 2017, 01:55
Post #194
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


Good to know (IMG:[invalid] style_emoticons/default/happy.gif)

I am wondering about how thus auto-calculate CoD is going. It is kinda experimental idea and since I have no WTS/WTB I cannot test it properly and say is it very useful...
Shop-keepers, your opinion?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 11 2017, 19:01
Post #195
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


What do you think about this?
Attached Image

Concept:
1. In settings player can specify what equipment he is looking for in both lotteries (say, "rapier, slaughter" and "power, slaughter")
2. Then script checks both lotteries and if current prize matches the setting, then below page player will see following table.
3. if current prizes does not match any of settings, then script will not show these table.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 11 2017, 19:05
Post #196
piyin



Reasons to love the IRS.
***********
Group: Gold Star Club
Posts: 10,819
Joined: 4-February 09
Level 500 (Ponyslayer)


QUOTE(f4tal @ Sep 11 2017, 19:01) *

What do you think about this?
Attached Image

Concept:
1. In settings player can specify what equipment he is looking for in both lotteries (say, "rapier, slaughter" and "power, slaughter")
2. Then script checks both lotteries and if current prize matches the setting, then below page player will see following table.
3. if current prizes does not match any of settings, then script will not show these table.


Nice idea.
i like it.
But i dont know if showing always will be wanted, maybe only in the bazzar/Equipment shop will be good.

Will it overlap with the credits and equipment count? (IMG:[invalid] style_emoticons/default/huh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 11 2017, 19:10
Post #197
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


QUOTE
But i dont know if showing always will be wanted, maybe only in the bazzar/Equipment shop will be good.

Well, since we are showing credits and equipment counts at every page, then lottery should be too, i guess...

QUOTE
Will it overlap with the credits and equipment count? huh.gif

Nope, credits and equips are above, lotteries are below exactly as shown on screenshot =)
At least I found that place the most convenient, if anyone have another idea - tell me.

piyin, have you found any bugs and weirdness in new version?

This post has been edited by f4tal: Sep 11 2017, 19:10
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 11 2017, 19:49
Post #198
Scremaz



A certain pervert. OT expert. Just dancing around in the game.
***********
Group: Gold Star Club
Posts: 24,304
Joined: 18-January 07
Level 500 (Ponyslayer)


QUOTE(f4tal @ Sep 11 2017, 19:01) *

What do you think about this?
Attached Image

Concept:
1. In settings player can specify what equipment he is looking for in both lotteries (say, "rapier, slaughter" and "power, slaughter")
2. Then script checks both lotteries and if current prize matches the setting, then below page player will see following table.
3. if current prizes does not match any of settings, then script will not show these table.

is it some sort of auto-check? if yes, then it's a forbidden feature
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 11 2017, 20:00
Post #199
piyin



Reasons to love the IRS.
***********
Group: Gold Star Club
Posts: 10,819
Joined: 4-February 09
Level 500 (Ponyslayer)


QUOTE(f4tal @ Sep 11 2017, 19:10) *

piyin, have you found any bugs and weirdness in new version?


NO bugs so far... but im still using .98 version.

Im gonna update to the new version right now an let you know if anything happens.

(IMG:[invalid] style_emoticons/default/wink.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 11 2017, 20:02
Post #200
f4tal



Veteran Poster
********
Group: Members
Posts: 2,662
Joined: 10-January 13
Level 416 (Godslayer)


QUOTE
is it some sort of auto-check? if yes, then it's a forbidden feature

Just to make it clear - it is forbidden to create a script that will check what current prizes in lottery are and tells to player?
Or it is forbidden to create a script that will check what current prizes in lottery are, check them according to player's input and tells to player about matching this input?

This post has been edited by f4tal: Sep 11 2017, 20:08
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


38 Pages V « < 8 9 10 11 12 > » 
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: 3rd April 2025 - 11:53