Another thing, the program makes my CPU work 30-40% more whenever I start it while streaming... seems odd, for a small program. Is this normal?
Program: Starcraft 2 Opponent Information - Page 8
Forum Index > SC2 General |
KenZo-
Faroe Islands190 Posts
Another thing, the program makes my CPU work 30-40% more whenever I start it while streaming... seems odd, for a small program. Is this normal? | ||
Redback93
Australia187 Posts
On April 30 2012 19:20 KenZo- wrote: Ahh, I see, thank you for that. I see your point on the race thing, that would be odd indeed. ^^ Another thing, the program makes my CPU work 30-40% more whenever I start it while streaming... seems odd, for a small program. Is this normal? Yeah, this has been asked to me a few times. I've never found this to be the case on my system. It usually uses around 7 or 8 mb of memory, so I don't think I can help you there. I believe this is caused by the interaction of Starcraft and the program, and it's Starcraft lagging. | ||
killerdog
Denmark6522 Posts
I probably wouldn't use this (feels a bit like cheating) but if it's possible i'm sure there are a lot of people who might download it. Dunno if it's possible with the same techniques which this program uses, but it's an idea. ^.^ | ||
grigorin
Austria275 Posts
On April 30 2012 21:54 killerdog wrote: I'm curious, does this draw its information from sc2ranks.com, or from sc2/battle.net servers, because if its from sc2/b.net servers, it must be possible to have it check the players match history thorugh their profile. if i'm laddering and i hit a zerg, a little popup as the game loads/starts giving the openings that player used in his last five ZvP's he played would be a pretty big advantage, as i could know if he tends to gas first, or early pool, or hatch first. I probably wouldn't use this (feels a bit like cheating) but if it's possible i'm sure there are a lot of people who might download it. Dunno if it's possible with the same techniques which this program uses, but it's an idea. ^.^ i think that would be more than a bit problematic | ||
MacroZerg
Greece40 Posts
On April 30 2012 19:20 KenZo- wrote: Ahh, I see, thank you for that. I see your point on the race thing, that would be odd indeed. ^^ Another thing, the program makes my CPU work 30-40% more whenever I start it while streaming... seems odd, for a small program. Is this normal? Red i have already told you that also... The programm appears to use like 10-12% on my overclocked to 4.8ghz 2600k... thats ALOT of cpu power im sure you have to look at that issue for sure. We not talkin about MEMORY LOAD... thats fine but for cpu usage. Cheers ! | ||
KenZo-
Faroe Islands190 Posts
On April 30 2012 21:33 Redback93 wrote: Yeah, this has been asked to me a few times. I've never found this to be the case on my system. It usually uses around 7 or 8 mb of memory, so I don't think I can help you there. I believe this is caused by the interaction of Starcraft and the program, and it's Starcraft lagging. OK thank you, it's not that big of a deal, whenever I go in game it's stable, because then dxtory takes over. but whenever I'm using screencapture it uses a lot of resources from the CPU, memory however is stable at around 7-10 like you state. However, I have yet another problem, (sorry)! but when I tried it today, I faced opponents using Korean and Chinese names, and for whatever reason it only showed "???" for their names in chat, but ranking etc came up just fine. I checked the output file, and it showed the correct names in Korean and Chinese, however in Xplit I could not use embedded font's, if I did; it simply didn't show the name. (which is why earlier today it didn't show the name) My question is why aren't the Korean and Chinese names shown in chat? Have you encountered this before? And finally, do you have a solution? :D I'm using chrome, I have not tested it with any other browser yet. Thank you again. | ||
kuvasz
Hungary28 Posts
| ||
KenZo-
Faroe Islands190 Posts
| ||
Existor
Russian Federation4295 Posts
| ||
Redback93
Australia187 Posts
On May 01 2012 01:23 KenZo- wrote: Can anyone confirm this working with opponents that use Chinese or Korean names ? like I said, still only showing "???" for me.. T_T "Working" with Korean or Chinese names? Well, it's working by getting the information from the SC2Ranks.com website, but I am not sure about outputting to chat. Must be an encoding problem - I have had limited data to check this out so I will work on this. When it comes to showing it in XSplit, it might be a font embedding problem (no asian characters for the specific font) | ||
Redback93
Australia187 Posts
On May 01 2012 01:40 Existor wrote: How it looks in game? Does it works for team games 2v2+ ? Currently only works for 1v1, but I'd like to look into 2v2 in the future. | ||
Redback93
Australia187 Posts
On April 30 2012 22:24 MacroZerg wrote: Red i have already told you that also... The programm appears to use like 10-12% on my overclocked to 4.8ghz 2600k... thats ALOT of cpu power im sure you have to look at that issue for sure. We not talkin about MEMORY LOAD... thats fine but for cpu usage. Cheers ! I'm sorry, I am not sure how you interpreted the post, but I still cannot find an issue. The code is running at it's lowest cpu capacity. I mean, it's a single threaded while(true) loop. There is no way that I can make that any more simple without some complete redesign. If there is an issue, I can assure you that the problem lies with your computer. It might be an outdated .NET re-distributable, or as I suggested it's the game lagging (could also be a graphics problem). If this issue is arising when you start streaming, then that might be because you're streaming? I apologise if I come off as being unhelpful, but the code cannot be more simplistic. Sorry, Redback93 PS. I will quickly look over all parts of the code as I edit them, to try and make this more economical. However, the testing is limited because my computer runs it as a 00 CPU usage process, even when I am streaming. | ||
Redback93
Australia187 Posts
On April 30 2012 21:54 killerdog wrote: I'm curious, does this draw its information from sc2ranks.com, or from sc2/battle.net servers, because if its from sc2/b.net servers, it must be possible to have it check the players match history thorugh their profile. if i'm laddering and i hit a zerg, a little popup as the game loads/starts giving the openings that player used in his last five ZvP's he played would be a pretty big advantage, as i could know if he tends to gas first, or early pool, or hatch first. I probably wouldn't use this (feels a bit like cheating) but if it's possible i'm sure there are a lot of people who might download it. Dunno if it's possible with the same techniques which this program uses, but it's an idea. ^.^ Hello killerdog, Thank you for the idea. I was hoping to implement some sort of Replay/SC2Gears thing going on, but that's probably as far as I feel I want to go with this. Maybe on some other project I could work on something like that, but I also feel that this is too much for a chat (which was the main idea of this) Thanks, Redback93 | ||
Redback93
Australia187 Posts
On May 01 2012 01:49 Redback93 wrote: I'm sorry, I am not sure how you interpreted the post, but I still cannot find an issue. The code is running at it's lowest cpu capacity. I mean, it's a single threaded while(true) loop. There is no way that I can make that any more simple without some complete redesign. If there is an issue, I can assure you that the problem lies with your computer. It might be an outdated .NET re-distributable, or as I suggested it's the game lagging (could also be a graphics problem). If this issue is arising when you start streaming, then that might be because you're streaming? I apologise if I come off as being unhelpful, but the code cannot be more simplistic. Sorry, Redback93 PS. I will quickly look over all parts of the code as I edit them, to try and make this more economical. However, the testing is limited because my computer runs it as a 00 CPU usage process, even when I am streaming. After looking into it, I think I can lower the CPU usage - I will try and release a new version sometime this week with the fix. | ||
kuvasz
Hungary28 Posts
Good luck with the optimisation. | ||
Redback93
Australia187 Posts
On May 01 2012 02:39 kuvasz wrote: I don't know how the programme works but perhaps you can lower the query frequency? Or even disable it for a minute or two after having found the opponent. Good luck with the optimisation. Yeah, I have increased that by 100ms every cycle - I think that it should be enough. I am also trying to get the internet queries to not lag as much. | ||
kuvasz
Hungary28 Posts
I tried lowering its priority and such but it didn't do anything so I hope you butcher it to the bare minimum :D | ||
Redback93
Australia187 Posts
On May 01 2012 02:55 kuvasz wrote: What's the time between two queries now? Because I don't see any reason to have it lower than, say, 10 seconds - viewers wouldn't miss out on anything if they saw the name and stats slightly later as long as it's at the beginning of the game. I tried lowering its priority and such but it didn't do anything so I hope you butcher it to the bare minimum :D Yeah, it was running at 50ms query, but I agree that it's still not necessary. | ||
KenZo-
Faroe Islands190 Posts
I hope your next release changes this, I really like this program, and would love to use it. Also for me like I said before, it still doesn't show Korean and Chinese in the twitch chat, but output file shows it. This might be something I do wrong tho. | ||
Redback93
Australia187 Posts
On May 01 2012 20:09 KenZo- wrote: When I tried today again, with nothing else running, it takes 25% of CPU might be somethings some of us have in common may it be hardware or software, since Redback93 says his stays at 00. I hope your next release changes this, I really like this program, and would love to use it. Also for me like I said before, it still doesn't show Korean and Chinese in the twitch chat, but output file shows it. This might be something I do wrong tho. Hey KenZo, Would you be able to send me a copy of a Korean/Chinese replay so I could use it for debugging. It seems that all of the ones on the internet aren't working. | ||
| ||