I really want to use this sexy shit
Using BWAPI to take spectating to the next level! - Page 14
Forum Index > BW General |
RodrigoX
United States645 Posts
I really want to use this sexy shit | ||
AssuredVacancy
United States1167 Posts
On February 10 2010 02:47 RodrigoX wrote: Plz i really want a solution to the "Could not get hLibModule" I really want to use this sexy shit Read through the thread, a lot of people encountered this problem and fixed it in various ways. | ||
Nevuk
United States16280 Posts
Oh, the only other solution to your macro formula I have come up with would be to give everyone perfect scores for macro every frame initially(Say 10k/20k points) and then subtract points for each frame depending on certain criteria - so everyone would start out with perfect macro and then decrease in it as the game goes on. I think this might be a bit more accurate than the current method, which performs a different role, in telling you how impressive their late game macro is without providing an accurate analysis of the early game macro. (IE, a player with really bad macro early game will only have like 3-4k less than a perfectly macroing player atm while later game with more gates it becomes progressively more apparent). The current formula you have wouldn't really need much alteration to go to this method. Basically just do it in the same method but never add points and only subtract them. Doing it this way I believe would provide a more accurate analysis of their macro using fewer calculations. Something like =
Is something I would use for protoss/zerg. Idlegates-1 is purely for tech builds, but I would use a similar formula for terran for the same reason. The only thing I would actually add points for is making drones, to account for the differing zerg economic structure. Idle nexus/ccs should subtract from the score under this algorithm until 60 are made, but I don't know how to use this code well enough to indicate that. Also I think I removed the 200 supply rule, etc. Mostly it's just an example - the idea is that since it is possible to calculate what perfect macro should be, the macro rating should indicate how far away from perfect macro the players are. Macro rating is something that's going to be fairly comparative no matter the formula (As long as a player with terrific macro has a higher rating at a point in the game than a player with worse macro, it's working well). Each frame will stay fairly consistent (the calculation is performed every frame) so that if you have 5 idle gates for 30 frames, the macro rating of the player will be 10000-1650=8350. The average macro rating would then provide an idea of how distant they are from having totally ideal macro over the entire course of the game, rather than at that moment. The problem is that you can run into negative macro with this method, but I think it's fairly safe to say that if a player has 50 idle gates then they're probably out of money or have atrocious macro. (this formula sucks for bgh). | ||
AssuredVacancy
United States1167 Posts
On February 10 2010 04:15 Nevuk wrote: quote There are one problem I see with this. My formula gives the player a perfect score at the start of EACH frame, and subtracts/adds points on his state in that particular frame. This means that you could have a horrendous score in one frame and an amazing frame in the next. So to counter this "lack of memory" issue, there's an average score per frame. This number will reflect on the person's macro ability regardless of the length of time the game is. Your formula however, is very time dependent. In one game he could have a really highscore because the game is really short, while the next game he could have a really low score because the game is very long. This means it is hard to compare like say 10 games and see the trend of your macro ability, because they're going to be fairly random. For the speed issue though, I can put up a counter in the next version. I do want to put out a pretty big update next version though, so it's going to take a while. | ||
RodrigoX
United States645 Posts
But hey is there anyway you can update it to show hotkeys? | ||
Archaic
United States4024 Posts
On February 06 2010 13:45 jalstar wrote: HOLY FUCKING FUCK MY DICK IS ROCK SOLID :O................... I. Am. In. Awe. | ||
Nevuk
United States16280 Posts
On February 10 2010 04:36 AssuredVacancy wrote: There are one problem I see with this. My formula gives the player a perfect score at the start of EACH frame, and subtracts/adds points on his state in that particular frame. This means that you could have a horrendous score in one frame and an amazing frame in the next. So to counter this "lack of memory" issue, there's an average score per frame. This number will reflect on the person's macro ability regardless of the length of time the game is. Your formula however, is very time dependent. In one game he could have a really highscore because the game is really short, while the next game he could have a really low score because the game is very long. This means it is hard to compare like say 10 games and see the trend of your macro ability, because they're going to be fairly random. For the speed issue though, I can put up a counter in the next version. I do want to put out a pretty big update next version though, so it's going to take a while. Oh, I meant to do it the same way you currently do and give them a perfect score at the start of each frame, however, to merely never add points and only subtract points - in THAT frame, then to redo the calculation every frame. And yes, average would still have to be left in. I do see that it would result in scores getting progressively lower as the game goes on however, due to the increased difficulty of macroing later in the game. | ||
NiteKat
United States146 Posts
On February 09 2010 23:17 PrEeNnIoSb wrote: When watching a replay i cannot speed up, slow down or pause the game...its stuck in "fast" which is so slow Don't know if this was addressed yet or not (haven't read the last page) if it is I'll edit this out. You have to have a unit or building selected in order to change the speed of the replay. Not sure why that is but I noticed that and that's how it is. | ||
BlasiuS
United States2405 Posts
-a hatchery that is being upgraded to lair/hive should not count as a 'building hatchery' -split up the production facilities somehow. Either do 2 categories, one for # of Nexus/CC & one for the rest, or split each into it's own category (like # of barracks, # of starports, # of factories, etc.) | ||
Usurper
Macedonia283 Posts
Edit: Now it makes the whole game crash, this /hide command? Ewww, anyone? | ||
Dreadwave
Netherlands254 Posts
On February 10 2010 07:55 NiteKat wrote: Don't know if this was addressed yet or not (haven't read the last page) if it is I'll edit this out. You have to have a unit or building selected in order to change the speed of the replay. Not sure why that is but I noticed that and that's how it is. The normal keys/buttons work if you have someone's units/buildings selected and this will show the correct speed, if you don't have anything selected you can change the speed with numpad +/- as said in the OP and this doesn't show the change the speed as displayed in the bottomright corner. | ||
AssuredVacancy
United States1167 Posts
On February 10 2010 08:16 BlasiuS wrote: I have some other suggestions: -a hatchery that is being upgraded to lair/hive should not count as a 'building hatchery' -split up the production facilities somehow. Either do 2 categories, one for # of Nexus/CC & one for the rest, or split each into it's own category (like # of barracks, # of starports, # of factories, etc.) In the build order list it's still listed as lair/hive tech. Right now I can't find room to find in the stuff for seperate production facilities. | ||
CharlieMurphy
United States22895 Posts
Does this work with resolution hack addon for chaos launcher? | ||
AssuredVacancy
United States1167 Posts
On February 10 2010 09:46 CharlieMurphy wrote: wow, it does TOO much. Looks very cluttered with everything on. Does this work with resolution hack addon for chaos launcher? You can turn anything and everything off if you want. I haven't tried it with resolution hack. | ||
Chef
10810 Posts
| ||
AssuredVacancy
United States1167 Posts
On February 10 2010 10:21 Chef wrote: How do I update? Just move all the files again? Do I have to do it for the Windows files too? Just replace the bwapi-data folder. | ||
TheRunawayFound
64 Posts
Blizzard should hire you | ||
BlasiuS
United States2405 Posts
On February 10 2010 09:44 AssuredVacancy wrote: In the build order list it's still listed as lair/hive tech. what i mean is: if zerg player has 6 hatcheries, and 1 of them is upgrading to lair, it will say # hatcheries: 5(1) Same thing for hive. this is incorrect. | ||
ShaperofDreams
Canada2492 Posts
| ||
nosliw
United States2716 Posts
| ||
| ||