|
On August 10 2010 11:03 ilbh wrote: I have downloaded and installed everything you told to download here, but I still get the same error message:
Winjection Error Remote LoadLibrary failed with error 127: can't find the specified procedure
but now there is also another error: There was an error injecting apmalert2.dll into remote process: 984
in the full path to apmalert2.dll
it is still not working here.
I have same exact problem on windows xp and dual monitors
|
On August 10 2010 10:52 NorwegianRage wrote:Alright sweet. Now that I got the Visual Studio 2010 update I got logs and the clock to display. However I can't get the APM to display nor the sound to alert. Sad Panda 
I'm experiencing the same problem; however, multiple restarts and playing around with various settings has not fixed the problem.
EDIT: Nevermind, didn't realize you have to wait a few minutes for APM counter to show up. Also, APM counter is over-estimating my APM (the counter showed 300 at one point, when I was doing 200 at most).
|
After installing the VS 2010 redist package and downloaded the latest version off the front page and running PSIStarcraftInjector-msg.exe with administrator privileges on Win7 x64 Ult I get.
![[image loading]](http://www.mikemarcin.com/media/starcraft2/apmalert0.jpg)
![[image loading]](http://www.mikemarcin.com/media/starcraft2/apmalert1.jpg)
|
Known Fixes:
* If you receive a LoadLibrary error with code 126 or 127, please download and install the file located at: http://tinyurl.com/g7juc . This should fix that issue for you.
|
it didn't work also the log file is not written. i use windows 7 and started it with admin rights. I have the EU-EN version with the newest patch.
i have downloaded the updates you recommend and also the 127 error fix. still nothing :/
|
On August 10 2010 21:53 trancey_ wrote: it didn't work also the log file is not written. i use windows 7 and started it with admin rights. I have the EU-EN version with the newest patch.
i have downloaded the updates you recommend and also the 127 error fix. still nothing :/ Please read the thread, that issue was solved a page ago:
Unless you meant you did install that, in which case I have no idea what could be causing it atm, but the next update I put up should give a more meaningful error message at least.
|
Tried the new version, and I'm getting this now: + Show Spoiler +System.FormatException: Le format de la chaîne d'entrée est incorrect. à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) à System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt) à System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info) à System.Single.Parse(String s) à PSIStarcraftInjector.Form1.LoadSettings() à PSIStarcraftInjector.Form1.Form1_Load(Object sender, EventArgs e) à System.Windows.Forms.Form.OnLoad(EventArgs e) à System.Windows.Forms.Form.OnCreateControl() à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) à System.Windows.Forms.Control.CreateControl() à System.Windows.Forms.Control.WmShowWindow(Message& m) à System.Windows.Forms.Control.WndProc(Message& m) à System.Windows.Forms.ScrollableControl.WndProc(Message& m) à System.Windows.Forms.ContainerControl.WndProc(Message& m) à System.Windows.Forms.Form.WmShowWindow(Message& m) à System.Windows.Forms.Form.WndProc(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|
Just put up another update that fixes all the stuff I said would be fixed in the past couple pages. If you're still not getting a logfile and you've installed the MSVC 2010 runtimes, definitely run it and run SC2 and tell me what it says.
On August 11 2010 00:05 CynanMachae wrote:Tried the new version, and I'm getting this now: + Show Spoiler +System.FormatException: Le format de la chaîne d'entrée est incorrect. à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) à System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt) à System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info) à System.Single.Parse(String s) à PSIStarcraftInjector.Form1.LoadSettings() à PSIStarcraftInjector.Form1.Form1_Load(Object sender, EventArgs e) à System.Windows.Forms.Form.OnLoad(EventArgs e) à System.Windows.Forms.Form.OnCreateControl() à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) à System.Windows.Forms.Control.CreateControl() à System.Windows.Forms.Control.WmShowWindow(Message& m) à System.Windows.Forms.Control.WndProc(Message& m) à System.Windows.Forms.ScrollableControl.WndProc(Message& m) à System.Windows.Forms.ContainerControl.WndProc(Message& m) à System.Windows.Forms.Form.WmShowWindow(Message& m) à System.Windows.Forms.Form.WndProc(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I thought my changes would have fixed this, but apparently not. I'll look through the settings stuff again.
Edit: The version up now should fix that problem, I think.
|
I seem to have installed everything you've listed along with the last update but i'm still getting "Winjection Error Remote LoadLibrary failed with error 127: can't find the specified procedure"
Edit: I have Windows XP
|
On August 11 2010 06:08 Torg0th wrote: I seem to have installed everything you've listed along with the last update but i'm still getting "Winjection Error Remote LoadLibrary failed with error 127: can't find the specified procedure"
same here is this error only happening with windows XP?
|
It works flawlessly, I have already seen a 10% improvement in my APM just by having the constant reminder on my screen (that is without the sound)
However, it still won't let me put in my own values for the x,y of the APM counter :/
|
United Arab Emirates492 Posts
Finally it works for me 
Can you change how the apm is calculated. At the moment if I spam 300apm then I can stay idle for the next 15seconds till it gets to 100apm.. what time interval are you using to update apm?
|
Not working for me. This is the error message I get:
|
On August 11 2010 06:09 ilbh wrote:Show nested quote +On August 11 2010 06:08 Torg0th wrote: I seem to have installed everything you've listed along with the last update but i'm still getting "Winjection Error Remote LoadLibrary failed with error 127: can't find the specified procedure" same here is this error only happening with windows XP? Have both of you installed the DX runtime from the Known Fixes section of the OP?
On August 11 2010 07:29 MingoDynasty wrote:Not working for me. This is the error message I get: ![[image loading]](http://a.imageshack.us/img33/6349/apmalert2error.jpg) Make sure you've installed the MSVC 2010 runtimes (its listed in the requirements with a download link in the OP now)
On August 11 2010 07:12 ChickenLips wrote: It works flawlessly, I have already seen a 10% improvement in my APM just by having the constant reminder on my screen (that is without the sound)
However, it still won't let me put in my own values for the x,y of the APM counter :/ I have no idea how it could possibly be failing to let you put in your own values. I've looked over the validation code a bunch of times and tested all kinds of scenarios and it all works fine for me. Putting in 1.5 makes it automatically drop down to 1, putting in -5 makes it go back up to 0, and putting in 0.5 will stay 0.5, etc. I'll keep working at it though. As a temporary fix, you can edit those settings manually with regedit. The values are all located in HKEY_CURRENT_USER\Software\tec27\APMAlert2. (APMXPosition/APMYPosition and ClockXPosition/ClockYPosition)
On August 11 2010 07:28 Gunman_csz wrote:Finally it works for me  Can you change how the apm is calculated. At the moment if I spam 300apm then I can stay idle for the next 15seconds till it gets to 100apm.. what time interval are you using to update apm? Well, I use an exponential decay algorithm similar to what was used in APMAlert (for BW). However, the APM data I receive is unfortunately less accurate, because it is the same as the instantaneous value displayed in replays (and also about 1 or 2 seconds behind what it actually is). So what I do is take the APM value I'm given, then multiply it by how much time has passed since the last APM reading I received so that it converts to a number of actions. I then add these actions to the total and do the decay on that total. The tweaks I've been making recently are to the interval that it takes for an action to decay to a value of 1/e, but I think this interval may still be too high (or there may be some other flaw in my thinking/interfacing with the games instantaneous readings).
I'll keep working at it and hopefully get something that works nicely, but this is like my 4th approach to this problem and the most satisfactory thus far, so you can imagine my frustration at getting to this point If it comes down to it, I'll simply revert to directly showing the value from the game, but I don't like that because I feel its far too jumpy/dynamic. With the ingame values, if you spam for 1 second, you can get your APM up over 400, but then if you stop to type one thing into chat your APM will drop to 0. Thats obviously not too good if we want to be basing alerts off of it. If anyone has any ideas as to how I could smooth that out in a superior way, I'm definitely open to suggestions.
|
On August 11 2010 08:14 tec27 wrote:Show nested quote +On August 11 2010 06:09 ilbh wrote:On August 11 2010 06:08 Torg0th wrote: I seem to have installed everything you've listed along with the last update but i'm still getting "Winjection Error Remote LoadLibrary failed with error 127: can't find the specified procedure" same here is this error only happening with windows XP? Have both of you installed the DX runtime from the Known Fixes section of the OP?
yes, DX runtime(dxwebsetup.exe) and the other thing(vcredist_x86.exe)
|
On August 11 2010 08:17 ilbh wrote:Show nested quote +On August 11 2010 08:14 tec27 wrote:On August 11 2010 06:09 ilbh wrote:On August 11 2010 06:08 Torg0th wrote: I seem to have installed everything you've listed along with the last update but i'm still getting "Winjection Error Remote LoadLibrary failed with error 127: can't find the specified procedure" same here is this error only happening with windows XP? Have both of you installed the DX runtime from the Known Fixes section of the OP? yes, DX runtime(dxwebsetup.exe) and the other thing(vcredist_x86.exe) Hmmmm, thats weird then. I'll look through all of the dependencies again and see if I can find something that XP wouldn't have, but I'm pretty sure I haven't used anything along those lines. I'll let you know though.
|
On August 11 2010 00:29 tec27 wrote:Just put up another update that fixes all the stuff I said would be fixed in the past couple pages. If you're still not getting a logfile and you've installed the MSVC 2010 runtimes, definitely run it and run SC2 and tell me what it says. Show nested quote +On August 11 2010 00:05 CynanMachae wrote:Tried the new version, and I'm getting this now: + Show Spoiler +System.FormatException: Le format de la chaîne d'entrée est incorrect. à System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) à System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt) à System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info) à System.Single.Parse(String s) à PSIStarcraftInjector.Form1.LoadSettings() à PSIStarcraftInjector.Form1.Form1_Load(Object sender, EventArgs e) à System.Windows.Forms.Form.OnLoad(EventArgs e) à System.Windows.Forms.Form.OnCreateControl() à System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) à System.Windows.Forms.Control.CreateControl() à System.Windows.Forms.Control.WmShowWindow(Message& m) à System.Windows.Forms.Control.WndProc(Message& m) à System.Windows.Forms.ScrollableControl.WndProc(Message& m) à System.Windows.Forms.ContainerControl.WndProc(Message& m) à System.Windows.Forms.Form.WmShowWindow(Message& m) à System.Windows.Forms.Form.WndProc(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I thought my changes would have fixed this, but apparently not. I'll look through the settings stuff again. Edit: The version up now should fix that problem, I think. Great, thanks, it's fixed now!
Awesome work tec
|
Just put up a new version that now dynamically loads the DirectX/D3DX/WinMM libraries so that I can do better error checking on them. If you were having LoadLibrary errors before, you should get past that point now and have the libary injected and a log created. Post your log should you find any errors in it and we can try to solve them.
|
The clock is pretty cool, but the apm thing seems pretty useless. I mean, do you look at the counter and go "oh my apm is at 113, I'm clearly forgetting to build drones, thanks apm counter!"
|
The idea is that the sound alert does that sort of thing for you. I always had an issue in BW where come midgame I would slow down and my macro would slip a lot. Thus I could associate the slowdown and macro slippage, and having an annoying sound occur whenever slowed down could remind me "hey, I need to macro!" Thats why I made the original program.
The LiveAPM is mostly just for show, and was implemented in some early BW plugins. It was also a very highly requested feature when I made the original, so apparently you don't have your finger on the pulse of what SC players want 
Edit: Added a source code link to the OP ( http://github.com/tec27/APMAlert2 ). All thats up there for now is the dll itself, not the injector (although the source to Winjection.dll is in the Big Programming Thread here if you want it). And forgive me if its a bit messy
|
|
|
|