What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Need to know swtor PIDs assosiated with current buddywing

alexruler

New Member
Joined
Jan 2, 2014
Messages
10
Reaction score
0
For mount at the moment is using PostMessage(...) for example in Walter's or Joe's code. I thnink they are assuming that there is only a single swtor, because they send vk_key to ALL swtor PIDs.
I try to find out to which 2 swtor PIDs is associated curently buddewing. I found 2 classes ProcessSelector and SelectorProcess, but i donkt know the objects.

Any help would be nice.

Thx in advance.

Alex
 
I don't have an answer now but lets see if I can figure/get you one.

Walter
 
Thx Walter for attention,
it is not so important now.
I found so "quick and durty" solution:
with dependence of character name and swtor window name. I know the name of swtor isboxer window and i know characters names. In code i check the character name and search for appropriate swtor window , then get PID.

Mfg Alexander
 
This is how its done on Joe's

Code:
 foreach (Process proc in Process.GetProcesses()) if (proc.ProcessName.Contains("swtor") && proc.MainWindowTitle.Contains("Star Wars"))
                if (proc.PrivateMemorySize64 > TorMem)
                {

                    SWTORPID = proc.Id;       // <--- PID HERE ! 
                    TorMem = (int)proc.NonpagedSystemMemorySize64;
                    SWTORHWnd = proc.MainWindowHandle;
                }

i have nothing to do with this code, just copy/pasted here. I just knew where it was because Joe's kept resetting the processor affinity to a combination that gave me lag.

Edit: i know this is a question from a few months ago, i just dont like unanswered questions that can be useful to a newcomer (like me :) )
 
Last edited:
Back
Top