About auto qs

06/23/2011 16:04 tronsy#1
is it passable to do an auto qs for places like Yaksa arena?
i mean that each game it will wait 1 minute than use qs and than wait more 1 minute and kill the Boss battle...
and someone know how to program that in C# it will be usefull...
06/23/2011 16:23 XxharCs#2
There is already a QS Bot, made by me. => [Only registered and activated users can see links. Click Here To Register...]

The normal battle you play normal and when the Boss Battle starts u start my QS Bot. But i think itīs better when u play Boss Battle manually. Only use it on Life Woods~

Lg
06/23/2011 16:43 tronsy#3
yeah im just asking because i need gathering the gatchas items in Yaksa arena map and its boring to be near the computer and do that so i thought maybe we should program an auto qs one for that map.. it will be usefull for many players...

whats the problem to do a timer of 1 minute than the user press W than more W and after that timer set to 1 minute?

btw it will be better to record your actions and repeat them as many as u want i mean:
if the player press W the program will record W something like that..

what language u program that qs bot? can u send me the code?
06/23/2011 16:48 XxharCs#4
Yes but in a Boss Battle u had a time limit. And every Bot doesnīt press a letter in the exact time u said him to do.

Itīs no problem to do a such bot, but the time limit in Boss Battle will be a problem for the bot. The Reason is in my second sentence^^

Lg
06/23/2011 17:02 tronsy#5
what do u mean by each bot doest press in the exact time i told him?

i will give u an idea- the bot start with F5 wait 5 seconds than press space for another 5 seconds than timer set to 1minute by the time the timer is 0 - press W for 10 seconds without stop...
than boss battle bigins - timer set to 1 minute, by the time the timer 0 press W without stop for 2 minutes ( we put mets in W slot)



and i did not understand why the boss battle limitation has a problem...
the limit time is a const parameter -4 minutes or 5 it doesnt change

can you send me your code? and do u know how to program in C#?
06/23/2011 17:12 XxharCs#6
When u take the time that the bot should press W after 1sec, the bot wonīt press it after 1sec, it will after 4secs or something like that. That is that, what i mean.

Anf with that time delay, Boss Battle wonīt be finished everytime~
06/23/2011 17:18 tronsy#7
why its happening? please send me the code...
u mean it press randomly? one time it will press after 1 second in the other it wil lpress after 4 seconds?

if that so your bot doesnt programed well =/ because if i set "press W after 1 second" it should do that thats what i want...
06/23/2011 17:47 XxharCs#8
Every bot but every is not exactly with such things^^

And i donīt share my code, make one by urself~
06/23/2011 17:58 tronsy#9
ok i will program...
im using C# how can i press a key in FT window.. somehow this window has no handle at all =/ its like desktop it has no handle..
06/23/2011 22:20 tronsy#10
well thats what i tried to do in C# there u go:


using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Windows.Forms;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Diagnostics;
using System.Timers;
using System.Runtime.InteropServices;
using System.IO;
using System.Net;
using System.Net.Mail;
using Microsoft.Win32;

using System.Security.Principal;

namespace WindowsInput
{
class Program
{
public static Process[] ft = Process.GetProcessesByName("FT_Client");
public static bool check=false;
[DllImport("user32.dll")]
static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
[DllImport("User32")]
private static extern int SetForegroundWindow(IntPtr hwnd);
[DllImport("User32")]
private static extern IntPtr GetForegroundWindow();

public static Boolean checkProcesses(Process[] z)
{

IntPtr k = GetForegroundWindow();//get the focused process handle

foreach (Process p in z)
{
if (k.Equals(p.MainWindowHandle))
{
return true;

}
}
return false;
}

public static void OnTimedEvent(object source, EventArgs e)
{
if (checkProcesses(ft))
{
/*SetForegroundWindow(ft.MainWindowHandle);*/
SendKeys.SendWait("W");
InputSimulator.SimulateKeyPress(VirtualKeyCode.SPA CE);
InputSimulator.SimulateKeyPress(VirtualKeyCode.VK_ W);

}
}

static void Main(string[] args)
{

IntPtr p = ft[0].MainWindowHandle;
System.Timers.Timer timer;
timer = new System.Timers.Timer();
timer.Elapsed += new ElapsedEventHandler(OnTimedEvent);
timer.AutoReset = true;
timer.Interval = 5000;
timer.Start();
Application.Run();
GC.KeepAlive(timer);


}
}
}


its actially send keystrokes to the application every 5 seconds but there is a problem..
somehow its not working it sending strings only in text box.. in addition if i set W to s it really press s and taking me to "shop".The auto F5 working as well... the only problem is using the key w in the match..
what shall i do?