Welcome Guest ( Log In | Register )

291 Pages V « < 224 225 226 227 228 > »   
Reply to this topicStart new topic
> HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd)

 
post Jul 3 2017, 18:30
Post #4501
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)


basically, sort of a way to add Reloader-like capabilities to any hovering script?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 18:42
Post #4502
ThunderAlways



Casual Poster
****
Group: Gold Star Club
Posts: 463
Joined: 7-June 13
Level 443 (Godslayer)


QUOTE(Scremaz @ Jul 4 2017, 00:30) *

basically, sort of a way to add Reloader-like capabilities to any hovering script?

What means "Reloader-like capabilities" ?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 18:46
Post #4503
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(atashiyuki @ Jul 3 2017, 18:42) *

What means "Reloader-like capabilities" ?

differently from any other hovering script, reloader used AJAX instructions to load the page. this not only resulted in a simpler gameplay, but also in a *faster* game for a vast majority of the users. that's the reason of its success. at least, according to what they said. it never worked that way for me (IMG:[invalid] style_emoticons/default/heh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 20:17
Post #4504
typhoon71



Lurker
Group: Recruits
Posts: 9
Joined: 19-February 07
Level 309 (Godslayer)


mmm, is there an update for the "No "You are Victorious" Popup" script?
it stopped working with the recent hentaiverse updates...
Thanks.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 20:19
Post #4505
ALL_MIGHT



Becoming addicted to LN and WN
*******
Group: Gold Star Club
Posts: 1,548
Joined: 14-October 16
Level 460 (Godslayer)


QUOTE(sickentide @ Jun 28 2017, 23:09) *

Attached File  HentaiverseMonsterbation.1.1.2.1.user.js.zip ( 8.59k ) Number of downloads: 240

features:[list]
[*]


Can someone explain why during battle sometime color change to green and it never revert back,
eg
Attached Image
color changed to green at nearly 60th round and it stayed same green color even in 100th round (IMG:[invalid] style_emoticons/default/wacko.gif)

This post has been edited by ALL_MIGHT: Jul 3 2017, 20:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 20:23
Post #4506
ThunderAlways



Casual Poster
****
Group: Gold Star Club
Posts: 463
Joined: 7-June 13
Level 443 (Godslayer)


QUOTE(Scremaz @ Jul 4 2017, 00:46) *

differently from any other hovering script, reloader used AJAX instructions to load the page. this not only resulted in a simpler gameplay, but also in a *faster* game for a vast majority of the users. that's the reason of its success. at least, according to what they said. it never worked that way for me (IMG:[invalid] style_emoticons/default/heh.gif)

hentaiverse now use xhr, which should be faster than ajax. Reloader only replace things it thinks should be replaced, while hentaiverse now replace almost all. As my test, in-page replacement now takes around 90ms to 100ms on my laptop. 0.1 second is not a small number.
To avoid this, one can replace hv Battle class using his own battle class, and optimize the in-page replacement function. It seems Tenboro just send raw html code to clients, and use them as new innerHTML. This do reduce the data transfered, but still too much, and waste lots of time in modifying the innerHTML.
I tried to read hv source code and make some change, but Tenboro's code sucks. I can't believe how he had write the whole project in this way. function names was fine so I can roughly understand how does the code work, but variables are really too hard to understand, especially in JS. I'm lost Tenboro, I give up.
BTW, my ping to hentaiverse is 352 in ipv6, 200~1000 in ipv4 and with up to 50% package lost. 100ms is really nothing (IMG:[invalid] style_emoticons/default/tongue.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 20:28
Post #4507
Juggernaut Santa



Living in HV 0.83 until Tenboro adds the Tower to Persistent
***********
Group: Gold Star Club
Posts: 11,129
Joined: 26-April 12
Level 500 (Ponyslayer)


QUOTE(ALL_MIGHT @ Jul 3 2017, 20:19) *


Your MP is low.
Use a potion or disable the alert.


QUOTE(atashiyuki @ Jul 3 2017, 20:23) *
snip

In simple terms, the script lol posted, makes your round advance without reloading the page.
Nothing related to ajax being slower than xhr. Only an entire page reload (round change) replaced with ajax reload.
Stop.

This post has been edited by End Of All Hope: Jul 3 2017, 20:28
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 20:31
Post #4508
sickentide



sexromancer
*******
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
Level 500 (Ponyslayer)


QUOTE(typhoon71 @ Jul 3 2017, 20:17) *

mmm, is there an update for the "No "You are Victorious" Popup" script?
it stopped working with the recent hentaiverse updates...
Thanks.

my script includes this function, here's a standalone version

QUOTE(ALL_MIGHT @ Jul 3 2017, 20:19) *

Can someone explain why during battle sometime color change to green and it never revert back,

you have a mana or spirit gem that can be used to its full effect
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 20:42
Post #4509
ALL_MIGHT



Becoming addicted to LN and WN
*******
Group: Gold Star Club
Posts: 1,548
Joined: 14-October 16
Level 460 (Godslayer)


QUOTE(sickentide @ Jul 4 2017, 00:01) *

you have a mana or spirit gem that can be used to its full effect

ok it was because of manna
So It actually happened whenever there is a gem drop in battle which can be used in that battle.
How to stop it,
i even did
stopOnUsableGem = false,
what other setting do i have to change to stop showing just droped gem that can be used.


And
There is one problem with script
When i click on skillbook then on spells .
i can not see all the spells even after scrolling.
but those spells works perfectly from quickbar.
Attached Image

This post has been edited by ALL_MIGHT: Jul 3 2017, 22:55
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 21:01
Post #4510
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(sickentide @ Jul 3 2017, 20:31) *

my script includes this function, here's a standalone version

do you plan to release standalone versions for all the functions in your script? not that it's a problem or that i'm asking you to do it, just organizing a bit of things for the compendium...

QUOTE(sickentide @ Jul 3 2017, 20:31) *

you have a mana or spirit gem that can be used to its full effect

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

 
post Jul 3 2017, 21:09
Post #4511
sickentide



sexromancer
*******
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
Level 500 (Ponyslayer)


QUOTE(ALL_MIGHT @ Jul 3 2017, 20:42) *

How to stop it,
i even did
stopOnUsableGem = false,
what other setting do i have to change to stop showing just droped gem that can be used.

for now, replace every occurrence of 'mediumspringgreen' in the code with '#EDEBDF'. i plan to add a setting to facilitate this process

QUOTE(ALL_MIGHT @ Jul 3 2017, 20:42) *

And
There is one problem with script
When i click on skillbook then on spells .
i can not see all the spells even after scrolling.
but those spells works perfectly from quickbar.

this is a known effect of the extended quickbar pushing down everything below. i don't think it's a problem since you normally have every spell you want to cast assigned to the quickbar and/or a key
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 21:11
Post #4512
ALL_MIGHT



Becoming addicted to LN and WN
*******
Group: Gold Star Club
Posts: 1,548
Joined: 14-October 16
Level 460 (Godslayer)


QUOTE(sickentide @ Jul 4 2017, 00:39) *

for now, replace every occurrence of 'mediumspringgreen' in the code with '#EDEBDF'. i plan to add a setting to facilitate this process
this is a known effect of the extended quickbar pushing down everything below. i don't think it's a problem since you normally have every spell you want to cast assigned to the quickbar and/or a key

Thanks.
will try mentioned solution (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 21:17
Post #4513
sickentide



sexromancer
*******
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
Level 500 (Ponyslayer)


QUOTE(Scremaz @ Jul 3 2017, 21:01) *

do you plan to release standalone versions for all the functions in your script? not that it's a problem or that i'm asking you to do it, just organizing a bit of things for the compendium...

some more can be found here and here but those are older versions that i released before unifying them into one script and i don't plan to update them. any script i actively maintain can be found in my signature
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 21:17
Post #4514
ALL_MIGHT



Becoming addicted to LN and WN
*******
Group: Gold Star Club
Posts: 1,548
Joined: 14-October 16
Level 460 (Godslayer)


QUOTE(sickentide @ Jul 4 2017, 00:39) *

for now, replace every occurrence of 'mediumspringgreen' in the code with '#EDEBDF'. i plan to add a setting to facilitate this process

I just read wiki and
Right now i m feeling very stupid (IMG:[invalid] style_emoticons/default/cry.gif)
till today i didn't knew about gems .
and i always used to thought gem and restoratives were same. and that that if i use gem . i would loose restorates. (IMG:[invalid] style_emoticons/default/cry.gif)
I was sooo wrong. (IMG:[invalid] style_emoticons/default/anime_cry.gif)
Attached Image

This post has been edited by ALL_MIGHT: Jul 5 2017, 08:48
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 21:23
Post #4515
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(sickentide @ Jul 3 2017, 21:17) *

some more can be found here and here but those are older versions that i released before unifying them into one script and i don't plan to update them. any script i actively maintain can be found in my signature

ok, thank you for confirming.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 22:40
Post #4516
Noni



Hataraku Noni-sama
***********
Group: Catgirl Camarilla
Posts: 12,960
Joined: 19-February 16
Level 500 (Ponyslayer)


QUOTE(sickentide @ Jul 3 2017, 21:17) *

some more can be found here and here but those are older versions that i released before unifying them into one script and i don't plan to update them. any script i actively maintain can be found in my signature

small correction: the png for flower vase is flowers.png - for use in buff expiration warning.


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

 
post Jul 3 2017, 23:27
Post #4517
sickentide



sexromancer
*******
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
Level 500 (Ponyslayer)


QUOTE(DJNoni @ Jul 3 2017, 22:40) *

small correction: the png for flower vase is flowers.png - for use in buff expiration warning.

all right, thanks for the info
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 23:40
Post #4518
Usagi =



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


QUOTE(Scremaz @ Jul 4 2017, 00:30) *

basically, sort of a way to add Reloader-like capabilities to any hovering script?


Well, TenB already implemented the Reloader-like stuff, this just removes the final source of page reloads between rounds.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 3 2017, 23:43
Post #4519
sigo8



Clover Sprite
********
Group: Gold Star Club
Posts: 3,450
Joined: 9-November 11
Level 500 (Ponyslayer)


QUOTE(atashiyuki @ Jul 3 2017, 12:23) *

hentaiverse now use xhr, which should be faster than ajax.

XHR isn't faster than Ajax, They're different parts of the same thing. Saying one is better than the other is nonsense, like say a sword is better than Kendo.
QUOTE

I tried to read hv source code and make some change, but Tenboro's code sucks. I can't believe how he had write the whole project in this way. function names was fine so I can roughly understand how does the code work, but variables are really too hard to understand, especially in JS. I'm lost Tenboro, I give up.

That's because it's not how TB codes.
[en.wikipedia.org] https://en.wikipedia.org/wiki/Minification_%28programming%29
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 4 2017, 01:02
Post #4520
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,577
Joined: 27-November 13
Level 500 (Godslayer)


QUOTE(sigo8 @ Jul 3 2017, 21:43) *
XHR isn't faster than Ajax, They're different parts of the same thing.
Yeah, I was about to say...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


291 Pages V « < 224 225 226 227 228 > » 
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: 29th January 2025 - 08:01