Welcome Guest ( Log In | Register )

16 Pages V « < 13 14 15 16 >  
Reply to this topicStart new topic
> HV STAT 5.2.2 (21th February 2011), HV Statistics, Tracking, and Analysis Tool

 
post Jul 25 2012, 11:05
Post #281
pureyang



Regular Poster
******
Group: Gold Star Club
Posts: 765
Joined: 6-June 12
Level 490 (Dovahkiin)


QUOTE(GaryMcNabb @ Jul 25 2012, 03:50) *

This works.

WOOT! Thank you so much.

I see now what I was missing.. the +'s

1st is ""
terminating second is ''
2nd which nests a 3rd is '"++"'
3rd is ""

So anyways, here is 5.3.3

EDIT:
Missing semicolon caught by GaryMcNabb. It was always in that function but it worked anyways because of where it was at. For safety it should be there.
Anyways, GaryMcNabb added it in his major rewrite and I accidentally removed it when reintegrating code from the 5.2 branch. So here is 5.3.3.1 with that semicolon re-added
Attached File  HVSTAT_5.3.3.1.zip ( 174.69k ) Number of downloads: 55


This post has been edited by mrttao: Jul 25 2012, 11:20
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 11:13
Post #282
Daodaodaidai



ˁ˚ᴥ˚ˀ ˁ˚ᴥ˚ˀ ˁ˚ᴥ˚ˀ
********
Group: Gold Star Club
Posts: 3,388
Joined: 28-February 10
Level 500 (Ponyslayer)


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

 
post Jul 25 2012, 11:21
Post #283
varst



Peerless perverted long-hair-con of the Hentaiverse
***********
Group: Gold Star Club
Posts: 11,561
Joined: 30-March 10
Level 478 (Godslayer)


QUOTE(Ilirith @ Jul 25 2012, 16:59) *

Might not be a bad idea, that way this thread can stay "clean" from the back and forth blabbering :3


Just suggesting because:
1. The version thing sounds really random. Better if it follows some convention that matches the real HV's version. (For example, HV version 0.7.0 -> HV stat version 7.0.0)

2. Better for you guys to discuss and improve a bunch of things before adding a new sub-version. Right now I can't even follow what you guys have done as a user, and there's no change log available.
It also help you guys to prevent missing other's updates as it will become a collaborated process. The code can then be understood and sorted easily (thus easier for people to join the collaboration)

3. The first page isn't updated. It makes pt.2 even worse because people will have to search for the final version while looking at much blabbering (which most don't understand). People may simply miss updates because they don't even know what you guys have done.

4. It makes things 'official' (IMG:[invalid] style_emoticons/default/biggrin.gif)
A group of people working on the HV STAT issue is better than a single person as people continuously join and leave. Just make sure someone is willing to update the main page and is willing to pass the thread to others when he doesn't have the time to continue updating.

An alternative solution is to separate the 'discussion' thread from the 'actual script' thread. So another thread can be used to centralize all you helpers; when problem occurs and the original script writer's away, at least others can attempt to fix that with better knowledge of the source code.

This post has been edited by varst: Jul 25 2012, 11:50
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 14:35
Post #284
greentea039



Casual Poster
****
Group: Members
Posts: 374
Joined: 10-March 11
Level 343 (Godslayer)


I corrected some bugs before version 5.2.2 and have merged to version 5.3.3.1.
What should I do?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 14:51
Post #285
greentea039



Casual Poster
****
Group: Members
Posts: 374
Joined: 10-March 11
Level 343 (Godslayer)


It seems that power-gem icon implementation in version 5.3.3.1 is incompatible with firefox.
Is it okay?

This post has been edited by greentea039: Jul 25 2012, 14:52
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 17:59
Post #286
Late for work :(



[CENSORED]
***
Group: Gold Star Club
Posts: 203
Joined: 5-July 08
Level 388 (Dovahkiin)


QUOTE(greentea039 @ Jul 26 2012, 00:51) *

It seems that power-gem icon implementation in version 5.3.3.1 is incompatible with firefox.
Is it okay?


Try this one.Attached File  HVSTAT_5.3.3.2.crx.zip ( 174.74k ) Number of downloads: 48


This post has been edited by GaryMcNabb: Jul 25 2012, 17:59
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 18:07
Post #287
Daodaodaidai



ˁ˚ᴥ˚ˀ ˁ˚ᴥ˚ˀ ˁ˚ᴥ˚ˀ
********
Group: Gold Star Club
Posts: 3,388
Joined: 28-February 10
Level 500 (Ponyslayer)


Shortcuts for fighting skills are still bugged near each mob box (only seeing the third one, but it doesn't work), under scan shortcut.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 18:13
Post #288
Ilirith



Regular Poster
*****
Group: Gold Star Club
Posts: 513
Joined: 31-July 08
Level 284 (Godslayer)


QUOTE(Daodaodaidai @ Jul 25 2012, 18:07) *

Shortcuts for fighting skills are still bugged near each mob box (only seeing the third one, but it doesn't work), under scan shortcut.



Are you using Chrome or firefox?

Also, which weapon style did you try it with?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 18:37
Post #289
Daodaodaidai



ˁ˚ᴥ˚ˀ ˁ˚ᴥ˚ˀ ˁ˚ᴥ˚ˀ
********
Group: Gold Star Club
Posts: 3,388
Joined: 28-February 10
Level 500 (Ponyslayer)


QUOTE(Ilirith @ Jul 25 2012, 18:13) *

Are you using Chrome or firefox?

Also, which weapon style did you try it with?


Sorry, i forgot those details.

I'm (now) using Chrome, and my style is dual weapon.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 18:37
Post #290
kjeron



Casual Poster
***
Group: Members
Posts: 112
Joined: 6-September 11
Level 332 (Godslayer)


QUOTE(Ilirith @ Jul 25 2012, 11:13) *

Are you using Chrome or firefox?

Also, which weapon style did you try it with?


Chrome
5.3.X updates
All weapon styles.

1H, 2H, and DW only show the 3rd skill, not the other 2, and attempting to use that button activates the 2nd skill, though it only lights up when the 3rd skill is usable.

Staff and Niten show the correct skill button, but clicking it only brings you to the skill menu, it doesn't activate the skill.

This post has been edited by kjeron: Jul 25 2012, 18:39
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 18:49
Post #291
Ilirith



Regular Poster
*****
Group: Gold Star Club
Posts: 513
Joined: 31-July 08
Level 284 (Godslayer)


Hmm, yea just tried it myself with 2handed... something broke it in the 5.3.x
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 18:59
Post #292
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


You guys should probably start a Git repository or something and push fixes/new features there
The updates are becoming increasingly fragmented and close to each other, that's not a good sign
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 19:05
Post #293
Ilirith



Regular Poster
*****
Group: Gold Star Club
Posts: 513
Joined: 31-July 08
Level 284 (Godslayer)


Indeed they are, its becoming a tad troubling (IMG:[invalid] style_emoticons/default/tongue.gif)

I reverted the skillbutton function to pre-5.3, works fine now (IMG:[invalid] style_emoticons/default/smile.gif)


Attached File  HVSTAT_5.3.3.3.zip ( 170.45k ) Number of downloads: 54


This post has been edited by Ilirith: Jul 25 2012, 19:28
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 19:38
Post #294
Daodaodaidai



ˁ˚ᴥ˚ˀ ˁ˚ᴥ˚ˀ ˁ˚ᴥ˚ˀ
********
Group: Gold Star Club
Posts: 3,388
Joined: 28-February 10
Level 500 (Ponyslayer)


Skills shortcuts are back with the 5.3.3.3, thanks ^^ (but now, the "new" just aside the mob name, when getting a mob without scan in database, is missing)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 19:46
Post #295
Ilirith



Regular Poster
*****
Group: Gold Star Club
Posts: 513
Joined: 31-July 08
Level 284 (Godslayer)


yea, i couldn't quickly see what was causing the problems before, so i replaced the scanbutton ( which contains the skill buttons as well ) function, with the old one that worked
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 21:26
Post #296
H2Odk



Newcomer
**
Group: Members
Posts: 90
Joined: 27-April 10
Level 211 (Godslayer)


5.3.3.1 skillbutton fix

change line 4917-4934
CODE
            if (_settings.isShowSkillButton){
                var cs = document.createElement("div");
                var tops = 0;
                var ds = "";
                for (i=0; i<=2; i++){

                    if (skillnum[i] != null) {
                        tops = (n*58)+ 36+ (i*14);
                        var ds = "<span style='font-size:10px;font-weight:bold;font-family:arial,helvetica,sans-serif;text-align:center;line-height:12px;cursor:default'>"+skillname[i]+"</span>";
                        cs.setAttribute("id", "STATskill_"+ (i+1)+ "_"+ n+ "");
                        if (cooldown[i] == false){
                            cs.setAttribute("style", "position:absolute;top:"+tops+"px;left:556px;background-color:#EFEEDC;width:25px;height:12px;border-style:double;border-width:2px;z-index:2;border-color:#555555;");
                            cs.setAttribute("onclick", 'document.getElementById("ckey_skills").onclick();document.getElementById("'+skillnum[1]+'").onclick();document.getElementById("'+mkey+'").onclick()');
                        } else cs.setAttribute("style", "position:absolute;top:"+tops+"px;left:556px;background-color:#EFEEDC;width:25px;height:12px;border-style:double;border-width:2px;z-index:2;border-color:#555555;opacity:0.3;");
                        cs.innerHTML = ds;
                        a.after(cs);
                    }
                }
            }


to
CODE
            if (_settings.isShowSkillButton){
                for (i=0; i<=2; i++){
                    if (skillnum[i] != null) {
                        var cs = document.createElement("div");
                        var tops = (n*58)+ 36+ (i*14);
                        var ds = "<span style='font-size:10px;font-weight:bold;font-family:arial,helvetica,sans-serif;text-align:center;line-height:12px;cursor:default'>"+skillname[i]+"</span>";
                        cs.setAttribute("id", "STATskill_"+ (i+1)+ "_"+ n+ "");
                        if (cooldown[i] == false){
                            cs.setAttribute("style", "position:absolute;top:"+tops+"px;left:556px;background-color:#EFEEDC;width:25px;height:12px;border-style:double;border-width:2px;z-index:2;border-color:#555555;");
                            cs.setAttribute("onclick", 'document.getElementById("ckey_skills").onclick();document.getElementById("'+skillnum[i]+'").onclick();document.getElementById("'+mkey+'").onclick()');
                        } else cs.setAttribute("style", "position:absolute;top:"+tops+"px;left:556px;background-color:#EFEEDC;width:25px;height:12px;border-style:double;border-width:2px;z-index:2;border-color:#555555;opacity:0.3;");
                        cs.innerHTML = ds;
                        a.after(cs);
                    }
                }
            }


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

 
post Jul 25 2012, 21:43
Post #297
pureyang



Regular Poster
******
Group: Gold Star Club
Posts: 765
Joined: 6-June 12
Level 490 (Dovahkiin)


QUOTE(greentea039 @ Jul 25 2012, 07:35) *

I corrected some bugs before version 5.2.2 and have merged to version 5.3.3.1.
What should I do?


Merge them as appropriate with latest version, increment the number, and post them here.

QUOTE(greentea039 @ Jul 25 2012, 07:51) *

It seems that power-gem icon implementation in version 5.3.3.1 is incompatible with firefox.
Is it okay?


We haven't had a firefox version since 5.2.2, the implementation is also based on chrome extension format exclusively.
Did you convert this chrome extension into a FF one? Would you like to join development as a firefox developer?

QUOTE(varst @ Jul 25 2012, 04:21) *

Just suggesting because:
1. The version thing sounds really random. Better if it follows some convention that matches the real HV's version. (For example, HV version 0.7.0 -> HV stat version 7.0.0)

2. Better for you guys to discuss and improve a bunch of things before adding a new sub-version. Right now I can't even follow what you guys have done as a user, and there's no change log available.
It also help you guys to prevent missing other's updates as it will become a collaborated process. The code can then be understood and sorted easily (thus easier for people to join the collaboration)

3. The first page isn't updated. It makes pt.2 even worse because people will have to search for the final version while looking at much blabbering (which most don't understand). People may simply miss updates because they don't even know what you guys have done.

4. It makes things 'official' (IMG:[invalid] style_emoticons/default/biggrin.gif)
A group of people working on the HV STAT issue is better than a single person as people continuously join and leave. Just make sure someone is willing to update the main page and is willing to pass the thread to others when he doesn't have the time to continue updating.

An alternative solution is to separate the 'discussion' thread from the 'actual script' thread. So another thread can be used to centralize all you helpers; when problem occurs and the original script writer's away, at least others can attempt to fix that with better knowledge of the source code.


Sounds like good ideas.

QUOTE(GaryMcNabb @ Jul 25 2012, 10:59) *

Try this one.Attached File  HVSTAT_5.3.3.2.crx.zip ( 174.74k ) Number of downloads: 48



How would one modify a .crx (chrome extension) file to make it firefox compatible? This I gotta see (downloads to dissect)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 21:47
Post #298
H2Odk



Newcomer
**
Group: Members
Posts: 90
Joined: 27-April 10
Level 211 (Godslayer)


QUOTE(mrttao @ Jul 25 2012, 21:43) *

How would one modify a .crx (chrome extension) file to make it firefox compatible? This I gotta see (downloads to dissect)


You can open it as a zip file.

the *.user.js needs this header (modified for version number)
CODE
// ==UserScript==
// @name             HV Statistics, Tracking, and Analysis Tool
// @namespace        HV STAT
// @description      Collects data, analyzes statistics, and enhances the interface of the HentaiVerse
// @include          http://hentaiverse.org/*
// @author           Various (http://forums.e-hentai.org/index.php?showtopic=50962)
// @version          x.x.x
// @require          https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require          https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js
// @resource         jQueryUICSS http://www.starfleetplatoon.com/~cmal/HVSTAT/jqueryui.css
// ==/UserScript==


This post has been edited by H2Odk: Jul 25 2012, 22:01
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 22:43
Post #299
pureyang



Regular Poster
******
Group: Gold Star Club
Posts: 765
Joined: 6-June 12
Level 490 (Dovahkiin)


QUOTE(H2Odk @ Jul 25 2012, 14:47) *
You can open it as a zip file.

the *.user.js needs this header (modified for version number)
CODE
// ==UserScript==
// @name             HV Statistics, Tracking, and Analysis Tool
// @namespace        HV STAT
// @description      Collects data, analyzes statistics, and enhances the interface of the HentaiVerse
// @include          http://hentaiverse.org/*
// @author           Various (http://forums.e-hentai.org/index.php?showtopic=50962)
// @version          x.x.x
// @require          https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require          https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js
// @resource         jQueryUICSS http://www.starfleetplatoon.com/~cmal/HVSTAT/jqueryui.css
// ==/UserScript==



Thanks, I knew those things.
But I was curious to know if there is some "alien" option in FF allowing it to run chrome extensions.

Edit, examining the code he added browserIsChrome() function check. However this just removes the code in question in FF meaning they see a broken image icon, it would be better to have a FF version with actual FF working code.

This post has been edited by mrttao: Jul 25 2012, 22:52
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 25 2012, 23:36
Post #300
pureyang



Regular Poster
******
Group: Gold Star Club
Posts: 765
Joined: 6-June 12
Level 490 (Dovahkiin)


QUOTE(Ilirith @ Jul 25 2012, 12:05) *

Indeed they are, its becoming a tad troubling (IMG:[invalid] style_emoticons/default/tongue.gif)

I reverted the skillbutton function to pre-5.3, works fine now (IMG:[invalid] style_emoticons/default/smile.gif)
Attached File  HVSTAT_5.3.3.3.zip ( 170.45k ) Number of downloads: 54



I am looking at the code and you appear to have just reverted to an older version as is. There are huge massive undoing of changes including the undoing of some changes unrelated to the bug in question.
For example, the gem display function is now using the version where it encodes it in base64 rather then pointing at the png files... yet those files still exist.

Guys, if we are co-developing we need to know what is going on without spending a lot of time in a diff program analyzing code. Please explain a little about the code changes you are making.

So 5.3.3.3 was a huge revert to the 5.2 branch to fix a bug. I think rather then doing such a revert, it would have been more appropriate to say "5.3 branch is a dev version and until it is done use 5.2 branch to avoid those bugs" (of course then they would encounter other bugs...) and actually solve the bug in the 5.3 branch... unless we are outright tossing 5.3 changes and selecting merging individual parts of it into 5.2... which if we do should be clarified and called something like 5.4 (and I don't think we should do that).

5.3.3.2 was adding conditionals that will drop a function if used out of chrome... yet not replacing it with something that works in firefox nor adding the header needed for it to function in FF... so it doesn't actually work in FF and the code it adds would need to be removed and replaced in a hypothetical FF version anyways. Might as well have an actual FF version without that "is chrome" function and just with code properly designed for FF. What with all the changes needed between chrome and FF... so if you are doing work on an FF version it should be as a seperate FF only file rather then trying to make a single file that works on both. And it should not increment the chrome version but the FF version...

How about using the HVSTAT FF #.#.#.# and HVSTAT GC #.#.#.# in the future?
with first number being major milestones (a collection of features). Second being new features. Thirds being bug fixes or performance enhancing rewrites. And fourth being syntax changes or dev builds working towards a bug fix but not there yet?
Feedback on it would be welcome. and don't be afraid to let a number go over 10. having 5.13.2.31 is just fine. Chrome reads it as five.thirteen.two.thirty-one. So 5.10.0 is considered newer then 5.9.9
Actually, anyone knows if FF reads it the same way? Regardless, FF allows downgrades even if it would get confused on which is newer... while chrome does not (requiring manual uninstall and then installing the lower version)

So with those two things in mind I am continuing development off of 5.3.3.1 and trying to solve the bugs in it.
Now lets look at the issue in question.

H2Odk posted a fix for the code in question (is it tested or just a hypothetical fix?) that prompted 5.3.3.3, looking at his fix I see that the "var ds" was initialized both outside and inside the for loop, while the other two vars were initialized outside the for loop only. The changes were basically to delete the first 3 initialization and instead initialize all 3 within the for loop:

1. var cs = document.createElement("div");
Was relocated into the for function
2. var tops = 0;
was deleted, and instead the first incidence of using tops was changed from just "tops = stuff" to "var tops = stuff"
3. var ds = "";
was deleted on outer function so it isn't initialized twice.

OK so, first thing first, kudos on finding the issue.

Now as for the rewrite, when I was taught coding I was taught to initialize the variables at the beginning because, although the code is longer, someone can take a look at the start of the function and see a list of all the variables. Relocating all the variable initializing to within the for function makes the code take fewer lines, but breaks that rule.
For now I am just going to leave the original function as is and modify it to remove the second initializing attempt.
I would like to hear from others about what they think the proper syntax should be.

Unless, does js explode on a second initializing or does it merely act to modify the variable? If the latter then the actual issue isn't ds initializing twice but that the other two variables only initialize once (because they need resetting to the initial value?)... If so a cleaner solution is to initialize them once at the very beginning and then zero when appropriate.

I am going to test some variations of those to figure out which is which for 5.3.4. Also, we seem to all have completely different methods of naming, probably should agree on something. I changed 5.3.3 to 5.3.3.1 because all I did was added one single semicolon (as per GaryMcNabb) that was not even necessary for the function as it was just before the }. It is merely there so code doesn't explode later on. Regardless, it doesn't really matter as long as people increment it so we know what is newer...
Sweet baby tesla do we really need a package repository... I never set one up before but I will see about learning to do so... unless someone else beats me to it (IMG:[invalid] style_emoticons/default/tongue.gif)

This post has been edited by mrttao: Jul 26 2012, 00:33
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


16 Pages V « < 13 14 15 16 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 24th May 2025 - 08:12