Shadowz75 Posted June 28, 2008 Share Posted June 28, 2008 (edited) I've got a little problem. The game is silkroad online.2 Silkroad characters are in the game.I want to show the first and the second character name in two labels. First label: #include <Mem.au3> Global $CharPointer = 0x00CEA538 $var = WinList("[CLASS:CLIENT]") For $i = 1 to $var[0][0] Next ; ^^ Gets the PID and name of all sro clients, $var[1][1] is client 1, $var[1][2] is client 2 etc etc. ;///Gets the character name of the character in client 1\\\ Global $Process = WinGetProcess("SRO_Client") $DllInfo1 = _MemoryOpen($Process) Global $charname = _MemoryRead($CharPointer, $DllInfo1, "wchar[40]") _MemoryClose($Process) GUICtrlSetData($Label_2,$CharName) Ok this is working for the first character.But how do i put the name of the 2nd character in the 2nd label? Edited June 28, 2008 by Shadowz75 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now