|
On August 10 2010 03:17 tec27 wrote:Show nested quote +On August 10 2010 03:06 ChickenLips wrote:On August 10 2010 02:52 tec27 wrote:On August 10 2010 02:35 Polska wrote:Can you recompile it down to a lower .net version (3.5) if its easily doable so those with it already (win 7) don't need to dl 4 . Done. (Sorry I hadn't done that before, its like the first program I wrote with C# so I wasn't sure where to change that until I looked just now). Also any chance this could be picked up by warden (or whatever hack detection they may/may not be using) and result in a ban?
Very small chance. I modify 6 bytes in d3d9.dll. Warden has never monitored d3d9.dll, and the modification I do is similar to that done by Fraps, Steam, Xfire, Mumble, etc. so its doubtful it will ever be monitored for use in banning people. I just uploaded a new version with a lower .NET target, along with a test exe for those of you not seeing a log file. If you are in that group, please download: http://tec27.com/APMAlert2/PSIStarcraftInjector-msg.exe and place it in the same folder you installed APMAlert2 into. When you run it and then run SC2.exe, it should display a message box stating that it is attempting an injection. Tell me if you see that, then we can start narrowing down the problem a bit more. This outputs "Injecting C:/path/APMalert/apmalert2.dll" into PID:5092". Nothing more. I ran it twice, the first time it was i think 1496. Weird that it outputs nothing after that but then still generates no logfile. Guess I'll have to sit down and try to figure out how that could possibly happen. It's probably got something to do with how some paths or filenames differentiate on my OS / Starcraft 2 Install / EU client.
|
I don't think so. If it was a problem with the EU client, it wouldn't find display that message box because it wouldn't detect SC2 as being launched. The fact that its show that message box means its about to use Winjection.dll. The fact that no error pops up after that but that no log file is generated signals to me that Winjection.dll is failing in some unexpected way, so I'll take a look into that possibility.
|
On August 10 2010 03:24 tec27 wrote: I don't think so. If it was a problem with the EU client, it wouldn't find display that message box because it wouldn't detect SC2 as being launched. The fact that its show that message box means its about to use Winjection.dll. The fact that no error pops up after that but that no log file is generated signals to me that Winjection.dll is failing in some unexpected way, so I'll take a look into that possibility.
Cool, just tell me when and if I can help.
|
Alright, I made some progress on the issue. The reason its not injecting is because it can't find Winjection.dll. The program never displayed that exception though, because I was injecting from an event handler for my process monitor, and it was just dropping exceptions. I added some custom exception handling to that so it gets picked up, but I still have no idea why its unable to find Winjection.dll when its in the same directory. Once I know that, it should be an easy fix.
|
On August 10 2010 08:34 tec27 wrote: Alright, I made some progress on the issue. The reason its not injecting is because it can't find Winjection.dll. The program never displayed that exception though, because I was injecting from an event handler for my process monitor, and it was just dropping exceptions. I added some custom exception handling to that so it gets picked up, but I still have no idea why its unable to find Winjection.dll when its in the same directory. Once I know that, it should be an easy fix.
Cant you just put all that shit into the .exe? I remember that from my old MapleStory injection days (just a leecher^^)
|
Its possible to write an injector directly in the code I have for the exe, but it would be a pain and less sophisticated than the methods I use in Winjection. If it comes to that, I'll do it, but I think the problem is solvable otherwise.
|
US client. seems to install. I get to configure everything but in game nothing shows up.
|
|
Downloaded and installed it:
Started it as admin, now comes:
Remote LoadLibrary failed with error126: The module wasnt found (translating from german) then again that it failed injecting.
|
On August 10 2010 09:00 ChickenLips wrote: Downloaded and installed it:
Started it as admin, now comes:
Remote LoadLibrary failed with error126: The module wasnt found (translating from german) then again that it failed injecting. See the known fix in the OP. (all the way at the bottom)
|
hope you guys dont get banned i think if blizzard wanted an ingame clock in there games they wouldve added it. im guessing they dont want that clock there to not give certain players an advantage on timings but i dono i could be wrong.
|
Thanks for working on something like this. Seems like it will be really useful if blizzard accepts it and you can get it stabilized. Good luck sir!!
|
On August 10 2010 09:21 sNes. wrote: hope you guys dont get banned i think if blizzard wanted an ingame clock in there games they wouldve added it. im guessing they dont want that clock there to not give certain players an advantage on timings but i dono i could be wrong.
Eh I trust tec and his explanation sounds reasonable.
IT WORKS! lol
After having downloaded approx. 100MB in Windows updates im now gonna fiddle with the settings.
Ill make sure to keep this thread bumped with feedback and bug reports.
|
Got it working, thanks alot tec.
Might be a little bug I encountered, I couldn't turn the clock off.
I have tried to untick the "enable Clock", apply settings, restart game, and even restarted PSI. Clock will always show up as soon game starts. I'm sure the settings is saved, as other change such as apm colour and position has been updated.
|
On August 10 2010 09:59 furymonkey wrote: Got it working, thanks alot tec.
Might be a little bug I encountered, I couldn't turn the clock off.
I have tried to untick the "enable Clock", apply settings, restart game, and even restarted PSI. Clock will always show up as soon game starts. I'm sure the settings is saved, as other change such as apm colour and position has been updated. Very possible that I didn't ever put in the code to make that setting work, lol. Will be fixed in the next update.
On August 10 2010 09:47 ChickenLips wrote:Show nested quote +On August 10 2010 09:21 sNes. wrote: hope you guys dont get banned i think if blizzard wanted an ingame clock in there games they wouldve added it. im guessing they dont want that clock there to not give certain players an advantage on timings but i dono i could be wrong. Eh I trust tec and his explanation sounds reasonable. IT WORKS! lol After having downloaded approx. 100MB in Windows updates im now gonna fiddle with the settings. Ill make sure to keep this thread bumped with feedback and bug reports. Thats a pretty nice style you have there. Sort of on the opposite end from the 'Big APM' style, but could definitely be just as successful in the right hands.
|
|
I love the APM number for winning. Very funny :-)
|
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
EDIT: Restarted SC2 a couple times and got it to run. Happy Panda! :D
|
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 One of my friends was having problems with the default APM position not being onscreen or something. Centering horizontally brought it out. I should have that problem figured out by tomorrow. No idea why it wouldn't be doing the sound alert.
|
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.
|
|
|
|