Page 1 of 1

[X YOKO] Clients comunication

Posted: 2004-10-24 05:08:52
by Fonzy
Ok, I know it is not possible, but maybe you can find some tricks to let 2 injections comunicate between them. I explain: i have 2 clients opened, both of them with injection. Now i want that, when an enemy is found, one of the clients "calls" the other one, so that it is alerted of the enemy presence. The 2 characters are in very far places, so thay can't just say something (like HEEELP).

My idea was to make the client write something on a file, and the file was continuosly scanned by the other client (open, read, close, open, read, close), searching a new line. This is not possible because a file can be used only once (i really can't understand why..).

Can you think to something that can be reailzed with what we actually have?

Posted: 2004-10-24 08:35:26
by AGRS
Try 2 use Get(Set)EasyUO(number,"text").



Main Injection

Code: Select all

...
UO.SetEasyUO(20, EnemySerial)
...




Assistent Injection

Code: Select all

...
Var EnemySerial
While True
  Wait(150)
  If UO.GetEasyUO(20)<>"0" Then
    EnemySerial=UO.GetEasyUO(20)
    UO.SetEasyUO(20, "0")
    FightWithEnemy(EnemySerial)
  EndIf
Wend
...


And U must have HKEY_CURRENT_USER\Software\EasyUO in your windows registry.