mmmm... never thought in that.
My logic sucks, all of me sucks xD going to suicide brb
My logic sucks, all of me sucks xD going to suicide brb
I´m not quite sure but remembering my old pixel bot 2+ years ago in VB or C#, doesn´t really matter, it was more or less the same slow speed. But I thought of an idea I had that time when I stopped the project to make it much more faster.Quote:
None of both: Java
why?
Because AutoIt sucks and my pixel search algorythm takes 1 - 2 seconds to find the pixel in c#
r = random.nextInt(9) + 1;
for(int i = 0; i < imgArr.length; i++)
{
Point p = new Point();
//give coordinates
return p;
}
the C# bot that i am releasing this weekend does that. i also have it use a timer do the delay like you suggested. but i made the timer so it would run for a different amount of time on every computer. my only problem is i cant figure out how to circle the npc. otherwise it kills them all fairly wellQuote:
Putting a perfectly tested timer is faster, because there will always be a delay between the message and the collection. But for npc it would be very stable indeed.
// specify the host, protocol, and port
HttpHost target = new HttpHost(Main.server + ".darkorbit.bigpoint.com", 80, "http");
// specify the get request
HttpGet getRequest = new HttpGet("/indexInternal.es?action=internalStart&dosid="+ Main.sid);
//Execute Request
HttpResponse httpResponse = httpclient.execute(target, getRequest);
//Save resource
HttpEntity entity = httpResponse.getEntity();
//Go to fuck
There must be a mathematic formula that gives you the position of the next point of a circle, so you can run it in a loop and circle around the middle of the screen, eventually the npc will stand in the middle.Quote:
the C# bot that i am releasing this weekend does that. i also have it use a timer do the delay like you suggested. but i made the timer so it would run for a different amount of time on every computer. my only problem is i cant figure out how to circle the npc. otherwise it kills them all fairly well
Login with COM?Quote:
in java is like this:
Code:// specify the host, protocol, and port HttpHost target = new HttpHost(Main.server + ".darkorbit.bigpoint.com", 80, "http"); // specify the get request HttpGet getRequest = new HttpGet("/indexInternal.es?action=internalStart&dosid="+ Main.sid); //Execute Request HttpResponse httpResponse = httpclient.execute(target, getRequest); //Save resource HttpEntity entity = httpResponse.getEntity(); //Go to fuck
WB.Navigate("darkorbit.com")
While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy ; wait for the page to load
Sleep, 50
wb.document.getElementById("bgcdw_login_form_username").value := Username
wb.document.getElementById("bgcdw_login_form_password").value := Password
wb.document.getElementsByClassName("bgcdw_button bgcdw_login_form_login")[0].click()
If you need a circle function for your gameplay you can use the Darkorbit Helper Manager, even if it is quite old and its servers are down -> slow startQuote:
There must be a mathematic formula that gives you the position of the next point of a circle, so you can run it in a loop and circle around the middle of the screen, eventually the npc will stand in the middle.