Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 08:00

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

 

[Online-Status-Addres]Tired of Timeloose when have DC?

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 165
Received Thanks: 114
[Online-Status-Addres]Tired of Timeloose when have DC? + BottingTimer

Okay i've got many Disconnects at night so thougt about a solution to relogin, after DC for botting.

Here is mine made a simple Autoit script that scans the value and relogg when
at Login Screen.

The Address is "0x8E276C" and in-Game value is 1 and Loginscreen is 0.

In combination with FastLogin () and NoCheckVersion Parameter you got
a complete automated relogin.

For this script you will need Autoit and NomadMomory.au3 (can download it from here or the autoit wiki)

Here is my private Version all you need do do ist setup folders of loginxml(from 1 to 4) with
the () addon.
Each folder is for one Char, set Fastlogin up to enter the world after login.
And finally place the script in the Runes of Magic folder.

Updated BotTimer so that you can use micromacro or inject.exe
and can change the address and your micromacro path both were stored in a config.ini.
How to use:
Set up loginxml folders with the fastlogin script and name them loginxml1-4 each for every char you use.
Place the chars were they can start botting.
CLOSE RoM windows start BotTimer.exe make your options and start.
Enjoy interruption free botting ;-)

here is a screenshot what it looks like

You must register and activate your account in order to view images.

Code:
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=RoM.ico
#AutoIt3Wrapper_Outfile=BotTimer.exe
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Opt("TrayAutoPause", 0)
Opt("TrayIconDebug", 1)
#include <NomadMemory.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
HotKeySet("{F10}", "Terminate")
#Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\froz3none\eigene dateien\romdc\gui.kxf
$Form1_1 = GUICreate("Bot-Timer", 194, 385, 282, 136)
$char1 = GUICtrlCreateCheckbox("loginxml1", 32, 176, 97, 17)
$char2 = GUICtrlCreateCheckbox("loginxml2", 32, 192, 97, 17)
$char3 = GUICtrlCreateCheckbox("loginxml3", 32, 208, 97, 17)
$char4 = GUICtrlCreateCheckbox("loginxml4", 32, 224, 97, 17)
$dauer = GUICtrlCreateInput("300", 56, 96, 57, 21)
GUICtrlSetTip(-1, "Zeit in Minuten")
GUICtrlSetCursor(-1, 4)
$recon = GUICtrlCreateInput("30", 56, 136, 57, 21)
GUICtrlSetTip(-1, "Zeit in Sekunden")
$start = GUICtrlCreateButton("Start", 56, 352, 75, 25, $WS_GROUP)
GUICtrlSetTip(-1, "Startet den Timer und schließt dieses Fenster")
$Label3 = GUICtrlCreateLabel("Which Chars should be used", 24, 160, 146, 17)
GUICtrlSetColor(-1, 0xFF0000)
GUICtrlSetTip(-1, "At least one Char must be choosen")
$Label1 = GUICtrlCreateLabel("How many seconds to wait after DC", 8, 120, 181, 17)
$Label2 = GUICtrlCreateLabel("How long do you wish to bot", 16, 80, 135, 17)
GUICtrlSetTip(-1, "in Minutes")
$Label4 = GUICtrlCreateLabel("Which Bot should be started", 16, 248, 153, 17)
GUICtrlSetTip(-1, "Startet inject.exe")
$inject = GUICtrlCreateCheckbox("Start inject.exe", 32, 264, 105, 17)
$shutdown = GUICtrlCreateCheckbox("Shutdown PC after Botting", 32, 328, 145, 17)
$micro = GUICtrlCreateCheckbox("Start micromacro", 32, 280, 97, 17)
$save = GUICtrlCreateInput(IniRead("config.ini", "config", "address", "0x8E2764"), 32, 56, 121, 21)
$Label5 = GUICtrlCreateLabel("Online Status Address", 40, 40, 108, 17)
GUICtrlSetColor(-1, 0xFF0000)
$Label6 = GUICtrlCreateLabel("Peterhartzt's online Timer", 8, 8, 183, 24)
GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x0000FF)
$mpath = GUICtrlCreateInput(IniRead("config.ini", "config", "path", "put path here"), 32, 304, 121, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $start
			IniWrite("config.ini", "config", "path", GUICtrlRead($mpath))
			IniWrite("config.ini", "config", "address", GUICtrlRead($save))
			GUISetState(@SW_HIDE)
			$60Count = 0
			$begin = TimerInit()
			While GUICtrlRead($dauer) > $60Count

				If ProcessExists("Client.exe") Then
					$pid = WinGetProcess("[CLASS:Radiant Arcana]")
					Sleep("1000")
					Do
						$dif = TimerDiff($begin)
						$dif2 = StringLeft($dif, StringInStr($dif, ".") - 1)
						$Count = Int($dif / 1000)
						$60Count = Int($Count / 60)
						ToolTip("Given Time:  = " & StringLeft((GUICtrlRead($dauer) / 60),4) & " hours ( " & GUICtrlRead($dauer) & " Minuten ) " & @CRLF & "Time = " & $60Count & ":" & $Count - ($60Count * 60) & @CRLF & " Press F10 to quit!", 450, 15, "Bot-Timer", 1)
						Sleep("100")
						If $Count / 60 > GUICtrlRead($dauer) Then
							ExitLoop
						EndIf
					Until _MemoryRead(IniRead("config.ini", "config", "address", "0x8E2764"), _MemoryOpen($pid)) = 0
					While ProcessExists("Client.exe")
						ProcessClose("Client.exe")
					WEnd
					While ProcessExists("micromacro.exe")
						ProcessClose("micromacro.exe")
					WEnd
					For $p = 10 To 1 Step -1
						ToolTip("Time over or DC go on in  " & $p & " seconds", 0, 0)
						Sleep("1000")
					Next
				ElseIf Not ProcessExists("Client.exe") Then
					;loginxml muss hier hin
					If GUICtrlRead($char1) = 1 Then
						FileCopy("interface\loginxml1\*.*", "interface\loginxml\", 1)
						Sleep("3000")
						ShellExecute("Client.exe", "NoCheckVersion")
						For $i = GUICtrlRead($recon) To 1 Step -1
							ToolTip("Start, logging in with loginxml1... Warte noch :  " & $i & " sekunden ", 0, 0)
							Sleep("1000")
						Next
						WinSetTitle("Runes of Magic", "", "loginxml1")
						If GUICtrlRead($micro) = 1 Then
							ShellExecute("micromacro.exe", "", IniRead("config.ini", "config", "path", "C:\Games\micromacro"))
							Sleep("3000")
							Send("rom/bot.lua{Enter}")
							Sleep("2000")
							WinActivate("loginxml1")
							Sleep("2000")
							WinSetTitle("loginxml1", "", "Runes of Magic")
							Sleep("2000")
							Send("{DELETE}")
							Sleep("2000")
						EndIf
					EndIf
					If GUICtrlRead($char2) = 1 Then
						FileCopy("interface\loginxml2\*.*", "interface\loginxml\", 1)
						Sleep("3000")
						ShellExecute("Client.exe", "NoCheckVersion")
						For $i = GUICtrlRead($recon) To 1 Step -1
							ToolTip("Start, logging in with loginxml2... Warte noch :  " & $i & " sekunden ", 0, 0)
							Sleep("1000")
						Next
						WinSetTitle("Runes of Magic", "", "loginxml2")
						If GUICtrlRead($micro) = 1 Then
							ShellExecute("micromacro.exe", "", IniRead("config.ini", "config", "path", "C:\Games\micromacro"))
							Sleep("3000")
							Send("rom/bot.lua{Enter}")
							Sleep("2000")
							WinActivate("loginxml2")
							Sleep("2000")
							WinSetTitle("loginxml2", "", "Runes of Magic")
							Sleep("2000")
							Send("{DELETE}")
							Sleep("2000")
						EndIf
					EndIf
					If GUICtrlRead($char3) = 1 Then
						FileCopy("interface\loginxml3\*.*", "interface\loginxml\", 1)
						Sleep("3000")
						ShellExecute("Client.exe", "NoCheckVersion")
						For $i = GUICtrlRead($recon) To 1 Step -1
							ToolTip("Start, logging in with loginxml3... Warte noch :  " & $i & " sekunden ", 0, 0)
							Sleep("1000")
						Next
						WinSetTitle("Runes of Magic", "", "loginxml3")
						If GUICtrlRead($micro) = 1 Then
							ShellExecute("micromacro.exe", "", IniRead("config.ini", "config", "path", "C:\Games\micromacro"))
							Sleep("3000")
							Send("rom/bot.lua{Enter}")
							Sleep("2000")
							WinActivate("loginxml3")
							Sleep("2000")
							WinSetTitle("loginxml3", "", "Runes of Magic")
							Sleep("2000")
							Send("{DELETE}")
							Sleep("2000")
						EndIf
					EndIf
					If GUICtrlRead($char4) = 1 Then
						FileCopy("interface\loginxml4\*.*", "interface\loginxml\", 1)
						Sleep("3000")
						ShellExecute("Client.exe", "NoCheckVersion")
						For $i = GUICtrlRead($recon) To 1 Step -1
							ToolTip("Start, logging in with loginxml4... Warte noch :  " & $i & " sekunden ", 0, 0)
							Sleep("1000")
						Next
						WinSetTitle("Runes of Magic", "", "loginxml4")
						If GUICtrlRead($micro) = 1 Then
							ShellExecute("micromacro.exe", "", IniRead("config.ini", "config", "path", "C:\Games\micromacro"))
							Sleep("3000")
							Send("rom/bot.lua{Enter}")
							Sleep("2000")
							WinActivate("loginxml4")
							Sleep("2000")
							WinSetTitle("loginxml4", "", "Runes of Magic")
							Sleep("2000")
							Send("{DELETE}")
							Sleep("2000")
						EndIf
					EndIf
					If GUICtrlRead($inject) = 1 Then
						ShellExecute("inject.exe")
						Sleep("5000")
						Send("{ENTER}")
						For $i = 10 To 1 Step -1
							ToolTip("Gatherer wurde injected! ", 0, 0)
							Sleep("1000")
						Next
					EndIf
				EndIf
			WEnd
			If GUICtrlRead($shutdown) = 1 Then
				Shutdown(6)
			Else
				MsgBox(64, "Time is over!!", "Time was over!   ")
			EndIf
			Exit
	EndSwitch

WEnd

Func Terminate()
	Exit 0
EndFunc   ;==>Terminate

Like to thanks Ikaruz , how gave me the idea with the address.

have fun with this

Hab mal anghängt was ich mir gebastelt habe. Und einen Timer der RoM nach eingebener anzahl an minuten schließt.
Attached Files
File Type: rar NomadMemory.rar (3.5 KB, 31 views)
File Type: rar timer.rar (279.7 KB, 16 views)



Peterhartzt is offline  
Thanks
3 Users
Old   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 165
Received Thanks: 114
scan der timer.exe


Antivir: Nichts gefunden
ArcaVir: Nichts gefunden
Avast: Nichts gefunden
AVG: Nichts gefunden
BitDefender: Nichts gefunden
F-Prot: Nichts gefunden
Norman: Nichts gefunden
Rising: Nichts gefunden
VirusBlokAda32: Nichts gefunden
VirusBuster: Nichts gefunden


Überprüft von


Peterhartzt is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2008
Posts: 12
Received Thanks: 0
Hey

I tried it... it works great but it doesnt work with "Elverion's RoM Bot" which I use, it looks like you set it up to work with a harvesting bot that no longer exists. nice work tho!
specture18 is offline  
Old   #4
 
elite*gold: 0
Join Date: May 2009
Posts: 165
Received Thanks: 114
Yeah it was designed for Gatherer. But you can easily change it to work with Elverion's RoM Bot.
If you can't make it yourself pm me and we'll find a solution ;-)

cheers^^


Peterhartzt is offline  
Old   #5
 
elite*gold: 0
Join Date: Apr 2008
Posts: 12
Received Thanks: 0
hey

thanks for the reply i actually have 2 copys of the game running at the same time and when I ran it, it actually turned them both off and turned one back on lol Im sure it wasnt designed for that but Im also sure you probably have the skill to make it work
specture18 is offline  
Old   #6
 
elite*gold: 0
Join Date: Mar 2009
Posts: 9
Received Thanks: 1
Quote:
Originally Posted by specture18 View Post
thanks for the reply i actually have 2 copys of the game running at the same time and when I ran it, it actually turned them both off and turned one back on lol Im sure it wasnt designed for that but Im also sure you probably have the skill to make it work
Peter gave me a good idea with his post and i implemented it in my own autoit and it works perfekt. The only i had to do was to find the correct address because on my computers its different - on 2 of them - on the 3rd its the same. So be prepared to change it after next patch - f.e. use a defined variable in the script (and write some remarks to find it) - you would also have to do so if you use a script 2 times i think.

I have no problem with unwanted DC but with wanted
It means my RomBot doese some dailys, then logs of and Autoit logs on with the next char, starts RomBot and so on.

With to instances of Runes of magic and RomBot there is the problem to have autoit recognize the correct windows.
In Rombot there is I think the posibilty to rename the windowname at startup but with RoM
runensammler is offline  
Old   #7
 
elite*gold: 0
Join Date: Apr 2008
Posts: 12
Received Thanks: 0
hey

im just interested in the address for the in-Game value. The address as stated above is address "0x8E276C" and when i messaged him last he told me to try a new address which is address "0x8E2764" do you have a different address for the login screen us client?
specture18 is offline  
Old   #8
 
elite*gold: 0
Join Date: May 2009
Posts: 165
Received Thanks: 114
He is the person where i got the address from xD
But to find out your own simply start cheat enige
attach the client.exe search for a 1 then log out to char screen
search a 0 and repeapt until you have only one address left
this is the one you should use.
But i found a bug that i never recognized before so i will release a new version of it tonight
it will a have a box inside to change the address *thanks to runensammler for this awesome idea*
and i will add a option start micromacro bot instead of inject.exe
Peterhartzt is offline  
Thanks
1 User
Old   #9
 
elite*gold: 0
Join Date: May 2009
Posts: 165
Received Thanks: 114
Quote:
Originally Posted by runensammler View Post
With to instances of Runes of magic and RomBot there is the problem to have autoit recognize the correct windows.
In Rombot there is I think the posibilty to rename the windowname at startup but with RoM
WinSetTitle("Runes of Magic", "", "what title you want")
WinActivate("what should be turned in front")

I think this will help you.

Peterhartzt is offline  
Thanks
1 User
Old   #10
 
elite*gold: 0
Join Date: Apr 2008
Posts: 12
Received Thanks: 0
hey

well I'm having a hard time testing this due to the fact I have been getting an error from the bot not related to the program and because the error interrupts the login prosses the program gets the client loaded and the bot but as the bot is about to start it causes an error that isnt related to this program (i tried loading bot and client with out relogin program and got the error still) and stops the bot from starting I'm trying to fix this problem now.


Ok.. I fixed the error it was getting and I've been able to test it to some degree but theres only one probelm, the client loads then the bot and the timer starts but the bot program doesnt start it remains at the screen where you have to hit the delete key to get the bot going and you stand there til the timer runs out.


Hey I think I found what the problem was because I fixed it I ajusted your sleep times between each action loging in and starting of the bot. The bot was updated and searches your inventory for hp and mp potions and a couple other things, so as long as you not near any mobs that want to kill you, the bot now waits about 30 to 45 sec and restarts no problem I'm very excited to see the results.... ty again
specture18 is offline  
Old   #11
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1
Received Thanks: 0
How can i say thatwhen he start the micaromacro.exe automatic start my waypoint file?


Keks123 is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
PServer Online Status für HP
Hi, Ich suche ein Online status für meine HP. Hat jemand da was für mich? SuFu nix gefunden. Mfg D4nT3
4 Replies - Metin2 PServer - Discussions / Questions
Online status
hallo alle zusammen, ich wollte mal fragen wie man für einen hamachi server einen Online Status erstellt ??? habe momentan ein script was bei...
10 Replies - Metin2 PServer - Discussions / Questions
Metin2OL online status
Hier wierd immer gepostet ob der server on bzw offline ist damit nicht 100 threads aufgemacht werden 27.9.09 er ist online wenn der server...
5 Replies - Metin2 PServer - Discussions / Questions
ICQ-Online-Status-Tester zb.FÜR GM/GA
Hallo Liebe Com, Hier habe ich ein sehr nützliches Tool,wenn ihr die ICQ-Nummer dess GM`s/GA`s habt er euch abernicht in die Liste addet so könnt...
4 Replies - Metin2 PServer - Discussions / Questions



All times are GMT +1. The time now is 08:00.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.