|
You last visited: Today at 00:25
Advertisement
About auto qs
Discussion on About auto qs within the General Gaming Discussion forum part of the General Gaming category.
06/23/2011, 16:04
|
#1
|
elite*gold: 0
Join Date: May 2011
Posts: 31
Received Thanks: 1
|
About auto qs
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
|
#2
|
elite*gold: 34
Join Date: Apr 2011
Posts: 1,475
Received Thanks: 1,226
|
There is already a QS Bot, made by me. =>
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
|
#3
|
elite*gold: 0
Join Date: May 2011
Posts: 31
Received Thanks: 1
|
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
|
#4
|
elite*gold: 34
Join Date: Apr 2011
Posts: 1,475
Received Thanks: 1,226
|
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
|
#5
|
elite*gold: 0
Join Date: May 2011
Posts: 31
Received Thanks: 1
|
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
|
#6
|
elite*gold: 34
Join Date: Apr 2011
Posts: 1,475
Received Thanks: 1,226
|
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
|
#7
|
elite*gold: 0
Join Date: May 2011
Posts: 31
Received Thanks: 1
|
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
|
#8
|
elite*gold: 34
Join Date: Apr 2011
Posts: 1,475
Received Thanks: 1,226
|
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
|
#9
|
elite*gold: 0
Join Date: May 2011
Posts: 31
Received Thanks: 1
|
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
|
#10
|
elite*gold: 0
Join Date: May 2011
Posts: 31
Received Thanks: 1
|
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?
|
|
|
All times are GMT +1. The time now is 00:25.
|
|