|
You last visited: Today at 02:59
Advertisement
[QUESTION] Auto-Reconnect
Discussion on [QUESTION] Auto-Reconnect within the CO2 Programming forum part of the Conquer Online 2 category.
04/24/2009, 06:40
|
#1
|
elite*gold: 0
Join Date: Dec 2007
Posts: 108
Received Thanks: 42
|
[QUESTION] Auto-Reconnect
Is this possible with ahk or autoit? I tried in ahk but the client does not seem to read send keys even though the text shows up. I just get "Wrong password" every time.
|
|
|
04/24/2009, 07:01
|
#2
|
elite*gold: 0
Join Date: Feb 2007
Posts: 348
Received Thanks: 2,175
|
Its possible, i can't see ur script, but what i think might be happening is the key-presses from the script are too fast for the client. I had a problem where when i type my password too fast, it does not get all the letters. (Maybe co checks every frame, and does not use an event queue, not sure). I'll have a go at making one for ya... 1 sec
Back:
Something like this
PHP Code:
Global Const $PASSWORD = "YourPassword" Global Const $CLICK_COORDS[2] = [506, 684]
HotKeySet("{F1}", "Reconnect") HotKeySet("{F2}", "ExitProg")
While 1 Sleep(1000) WEnd
Func Reconnect() MouseClick("left", $CLICK_COORDS[0], $CLICK_COORDS[1]) Sleep(500) For $i = 1 To StringLen($PASSWORD) $a = StringMid($PASSWORD, $i, 1) If StringIsUpper($a) Then Send("{SHIFTDOWN}") Sleep(500) EndIf Send("{" & $a & " down}") Sleep(500) Send("{" & $a & " up}") If StringIsUpper($a) Then Sleep(500) Send("{SHIFTUP}") EndIf Next Send("{ENTER down}") Sleep(500) Send("{ENTER up}") EndFunc
Func ExitProg() Exit(0) EndFunc
You will have to fill in these two though:
Global Const $PASSWORD = "YourPassword"
Global Const $CLICK_COORDS[2] = [506, 684]
for your clicking coordinates and password.
|
|
|
04/24/2009, 11:34
|
#3
|
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
|
Nice program clintonselke!
It seems that you are pretty good at programming,eh?
Keep going!
I hope you make a proxy someday!
|
|
|
04/24/2009, 17:09
|
#4
|
elite*gold: 0
Join Date: Dec 2007
Posts: 108
Received Thanks: 42
|
Quote:
Originally Posted by clintonselke
Its possible, i can't see ur script, but what i think might be happening is the key-presses from the script are too fast for the client. I had a problem where when i type my password too fast, it does not get all the letters. (Maybe co checks every frame, and does not use an event queue, not sure). I'll have a go at making one for ya... 1 sec
Back:
Something like this
PHP Code:
Global Const $PASSWORD = "YourPassword" Global Const $CLICK_COORDS[2] = [506, 684] HotKeySet("{F1}", "Reconnect") HotKeySet("{F2}", "ExitProg") While 1 Sleep(1000) WEnd Func Reconnect() MouseClick("left", $CLICK_COORDS[0], $CLICK_COORDS[1]) Sleep(500) For $i = 1 To StringLen($PASSWORD) $a = StringMid($PASSWORD, $i, 1) If StringIsUpper($a) Then Send("{SHIFTDOWN}") Sleep(500) EndIf Send("{" & $a & " down}") Sleep(500) Send("{" & $a & " up}") If StringIsUpper($a) Then Sleep(500) Send("{SHIFTUP}") EndIf Next Send("{ENTER down}") Sleep(500) Send("{ENTER up}") EndFunc Func ExitProg() Exit(0) EndFunc
You will have to fill in these two though:
Global Const $PASSWORD = "YourPassword"
Global Const $CLICK_COORDS[2] = [506, 684]
for your clicking coordinates and password.
|
Very nice, thank you
|
|
|
04/26/2009, 11:12
|
#5
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
|
Quote:
Originally Posted by Alexios
Nice program clintonselke!
It seems that you are pretty good at programming,eh?
Keep going!
I hope you make a proxy someday!
|
Programming in context, compared to auto-it is much more challenging, nor (to my knowledge) can a proxy be written in auto it. Just thought I'd point that out.
|
|
|
04/26/2009, 21:24
|
#6
|
elite*gold: 0
Join Date: Feb 2007
Posts: 1,366
Received Thanks: 256
|
Quote:
Originally Posted by InfamousNoone
Programming in context, compared to auto-it is much more challenging, nor (to my knowledge) can a proxy be written in auto it. Just thought I'd point that out.
|
My thoughts and my problem exactly.
|
|
|
04/26/2009, 23:45
|
#7
|
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
|
Quote:
Originally Posted by InfamousNoone
Programming in context, compared to auto-it is much more challenging, nor (to my knowledge) can a proxy be written in auto it. Just thought I'd point that out.
|
Programming in other imperative programming languages is just using the same logic, applied differently. It may be 'more challenging' in other languages because there's a bigger syntax to remember. You also need to be familiar with APIs, but the same goes for any language. Of course, modern languages aren't just straighforward imperative languages, and learning about good OOP designs and such isn't so straightforward.
Auto-it is turing complete though. You can write a proxy, or whatever the **** you want with it. (Someone has already demonstrated by coding a server-client framework in it). However, doing so is just rediculous, because you end up doing extended amounts of work to interface to APIs in other languages, where it'd be much simpler to use languages where the APIs are already defined.
|
|
|
05/01/2009, 14:16
|
#8
|
elite*gold: 0
Join Date: Feb 2007
Posts: 1,366
Received Thanks: 256
|
Quote:
Originally Posted by unknownone
However, doing so is just rediculous, because you end up doing extended amounts of work to interface to APIs in other languages, where it'd be much simpler to use languages where the APIs are already defined.
|
Not to mention that using a 'modern' language would run more stably and faster.
|
|
|
|
Similar Threads
|
Auto reconnect?
07/31/2010 - SRO Private Server - 1 Replies
Is there a addon or tool for sro-db bot to auto reconnect when you d/c
|
Auto-reconnect
05/14/2010 - Silkroad Online - 2 Replies
Is there any program which would auto-reconnect my chars (except SBot), I'm really busy in school right now and I hate when I get dc, and no reconnect, and with iBot takes me at least 4 tryes to connect to game (bug).
Pls help
|
WoW auto reconnect
04/26/2010 - General Coding - 7 Replies
Huhu, hab mal frage. Und zwar bin ich atm viel am botten weil ich öfters mal nen Disconnect habe (und nachts um 3, 24h dc) und mein bot kein autoreconnect hat :/ wollte ich mal fragen ob mir jemand mit autoit oder whatever ein "Autoreconnect script" schreiben könnte und sich mit dem letzten char einloggen.
Also -- DC-> PW eingeben -> Enter drücken -> Enter drücken -> fertig.
Wäre voll lüb <3
|
Wow auto reconnect/login bot
12/16/2009 - WoW Bots - 10 Replies
Hi leute,
ich hab mir einen farmbot runtergeladen den ich immer anmache wenn ich aus dem haus gehe. wenn ich wiederkomme hab ich meißtens nen disconnect deswegen suche ich nen bot oder script der sich auto wieder einloggt, ohne das ich iwas machn muss, und den char auswählt damit ich weiterbotten kann.
Hat jmd vllt nen guten bot oder script der sowas macht wär für jede hilfe dankbar!
MFG nitsuj1001
|
auto reconnect??
11/16/2006 - Conquer Online 2 - 0 Replies
hi i rembmer there was a thread explainig how to auto reconnect always automatic
anyoner can give me link plz i didnt found
|
All times are GMT +2. The time now is 02:59.
|
|