Xtrap - The current issue

01/14/2010 08:23 afkguy#1
Xtrap is a bitch. If it wasn't for X-crap my script, and many many others could run on many different versions of TS2. So it would seem this should be the main focus for a lot of people.

After doing some googling I found a few different non working ways to bypass xtrap. I don't know how or who ever got those methods to work..... anyway I finally stumbled upon this method:

[Only registered and activated users can see links. Click Here To Register...]

I take Zero credit for this, I'm just making it available for others to see. I have not tried this yet. Actually im trying it right now, I just need to download Mayns version onto my laptop, along with "synergy" which you can get here:

[Only registered and activated users can see links. Click Here To Register...]

Ill post after I test to see if it works.

---------------------------------------------------------------
EDIT:

Okay so I have synergy installed on my laptop and it works awesome!! That is to say synergy itself. I am still downloading TS2 Mayn on my laptop to test.

For those who don't want to do all the reading. The basic concept is that Synergy is a small program you put on two computers that are on the same LAN (you can do this remotely too but much more difficult). Synergy makes one computer a client and one the server. The inputs (keyboard/mouse) can be sent from the server and executed on the client.

For this example I will be using my desktop as the server, and my laptop as the client. The laptop will be running Twelve Sky 2 Mayn version. The desktop will be running my bot AFKGuy version 2. I can't run the bot on the same computer as TS2 mayn version because Xtrap hides TS2 from the script, making it useless. However, I can run my script on one computer, and have the inputs sent to another computer. As far as I understand Synergy will also allow the script to read from the clients screen as if it was the servers screen. Meaning the bot will be able to see whats going on in TS2, then process what to do on the server machine, then send the inputs back to the client.

Boom headshot?!?

We shall see... Ill get back to you once Ive downloaded TS2 mayn and tested.


.............

:( well doesn't look like it will work, but ill still try. AutoIt window spy doesn't read from the client machine. I'm looking into ways of possibly working around this.

.............. :( even worse news, TS2 doesn't accept input from synergy. sad day. still looking into this idea.
01/14/2010 15:58 spare2#2
TS2 doesn't recognize virtual keyboard messages sent to it.
01/15/2010 00:26 afkguy#3
Quote:
Originally Posted by spare2 View Post
TS2 doesn't recognize virtual keyboard messages sent to it.

Actually it does, its Xtrap that doesn't allow it.

I can do this with Aeria Games, but that doesn't solve my problem.

However it does make it extremely handy when controlling an alt. I have my laptop set right next to my monitor, all I do is slide my mouse over and I'm controlling my alt account on my laptop. VERY VERY handy.

In fact you could use synergy to control multiple machines if you wanted to make a bot/gold farming system. If your CPU/RAM was strong enough you might also be able to do multi clients on each machine. Have the script flip thru each window/machine really fast to do the commands.

Example, four machines each with two clients all running off the same keyboard/mouse.

Imagine the computers as arrays.

IE:
$computerone = $clientone . $clienttwo
$computertwo = $clientone . $clienttwo
$computerthree = $clientone . $clienttwo
$computerfour = $clientone . $clienttwo


Script would read the screen on $computerone[0] first, checking for dmg/missing pills whatever, then send whatever needed inputs. Then it would focus over to $computerone[1] (the second client on the first computer) and do the same thing. Then onto $computertwo[0], $computertwo[1], etc etc and back to $computerone[0].

Imagine a script doing that rapidly. I dont know if AHK can focus on screens over lan, I havnt tried that with AGE yet, Ill do that in a minute. But even if it couldnt all you would have to do is run the script on each machine. Then of course the script would have to be designed to wait for the mouse to come back to a certain position (sent from the previous script via a relative postion movement).

Idea ideas... i dunno this synergy thing rocks tho.
01/15/2010 01:52 spare2#4
Quote:
Originally Posted by afkguy View Post
Actually it does, its Xtrap that doesn't allow it.

I can do this with Aeria Games, but that doesn't solve my problem.

However it does make it extremely handy when controlling an alt. I have my laptop set right next to my monitor, all I do is slide my mouse over and I'm controlling my alt account on my laptop. VERY VERY handy.

In fact you could use synergy to control multiple machines if you wanted to make a bot/gold farming system. If your CPU/RAM was strong enough you might also be able to do multi clients on each machine. Have the script flip thru each window/machine really fast to do the commands.

Example, four machines each with two clients all running off the same keyboard/mouse.

Imagine the computers as arrays.

IE:
$computerone = $clientone . $clienttwo
$computertwo = $clientone . $clienttwo
$computerthree = $clientone . $clienttwo
$computerfour = $clientone . $clienttwo


Script would read the screen on $computerone[0] first, checking for dmg/missing pills whatever, then send whatever needed inputs. Then it would focus over to $computerone[1] (the second client on the first computer) and do the same thing. Then onto $computertwo[0], $computertwo[1], etc etc and back to $computerone[0].

Imagine a script doing that rapidly. I dont know if AHK can focus on screens over lan, I havnt tried that with AGE yet, Ill do that in a minute. But even if it couldnt all you would have to do is run the script on each machine. Then of course the script would have to be designed to wait for the mouse to come back to a certain position (sent from the previous script via a relative postion movement).

Idea ideas... i dunno this synergy thing rocks tho.
I meant it doesn't work if you try to send it specifically to 12Sky2.
If it worked, I would've made a background bot long long time ago.