Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 17:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Question] Checking DC

Discussion on [Question] Checking DC within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 108
Received Thanks: 42
[Question] Checking DC

I searched for an hour for this. What is the best way to check if a char disconnects? This is for my auto-reconnect programme in AutoIt (which is going well). Currently I just check for the "Tip" window but that isn't really practical since any client's disconnection would trigger the script. My current check looks like this:

Code:
If WinExists("Tip") And WinExists($CO_HANDLE) Then
	; close "Tip" window
	$tip_handle = WinGetHandle("Tip")
	WinActivate($tip_handle)
	ControlClick($tip_handle, "", 2)

	Wait(5) ; give co flash window time to load
	ConnectCO()
	Configure5bot()
EndIf
Belth is offline  
Thanks
1 User
Old 05/07/2009, 03:15   #2
 
447767's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 43
Received Thanks: 8
Wouldnt it be easyer to just use autoIT as a ghost mouse and everytime it sees the tip window set it to close it then use MouseClick("left", yyy ,rrr) to click were it has to click then put ur pass in the script to type it for you then press enter?
447767 is offline  
Old 05/07/2009, 03:25   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 108
Received Thanks: 42
That is exactly what it does already...

ConnectCo() - gives focus to the co client, enters pass and connects
Configure5bot() - loads a pre-determined profile with the settings I want

But you tell me, what happens if I want to run, say, 2 bots and then 1 disconnects? Both scripts will read the tip window and try to reconnect.
Belth is offline  
Old 05/07/2009, 03:38   #4
 
447767's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 43
Received Thanks: 8
umm i think theres a file in the conquer>log>(servername)..... then look though those files there names are random numbers i gess but it mite have a error code in the setup file some were and you could set it to that one account.
im not sure if it would even work at all but its work a look?
447767 is offline  
Old 05/07/2009, 03:46   #5
 
447767's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 43
Received Thanks: 8
Do you have a msn or yahoo?
let me know if you do it would be alot easyer to talk about this.
447767 is offline  
Reply


Similar Threads Similar Threads
checking
08/18/2010 - Archlord Trading - 1 Replies
hi all i only wanna check the offers for : zerk lv 7x armor of nuendo 8% sb greaves of nuendo 190 hp gauntlets and boots of kildemor noob extra stats^^ helmet of mongola helmet elite + 27 with wisdom to exp easy with mana helmet lv35 +17 with stam lv3 for chaotic helmet lv 60 + 24/ 8%all ele resi stam lv3
Just checking.
06/16/2010 - 9Dragons Trading - 2 Replies
Alright so I didn't see anything that said I couldn't "check" for offers. If I was to trade my Cs HD warrior on Asura would anyone be willing to trade a 8 B for it? -Once its restored..I'll probably leave SOME(400 def set,dodge wbs and shoes,some of the BK relics) items on it- Get back to me.
[Question] Checking a Map for Mobs [5165]
03/03/2010 - CO2 Private Server - 5 Replies
Hey Everyone =P #resolved ^^ thx peoples



All times are GMT +2. The time now is 17:35.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.