chestercs 2 anos atrás
pai
commit
dd2927c490
1 arquivos alterados com 11 adições e 11 exclusões
  1. 11 11
      klanhaboru_main.au3

+ 11 - 11
klanhaboru_main.au3

@@ -8,12 +8,12 @@
    AutoItSetOption("WinTitleMatchMode", 2)
    AutoItSetOption("TrayAutoPause"     ,0)
 
-   Global $browser = 			IniRead(@ScriptDir & "/config.ini", "Options", "Browser", "Google Chrome")
-   Global $gameTitle = 			IniRead(@ScriptDir & "/config.ini", "Options", "gameTitle", "Klánháború")
-   Global $server = 			IniRead(@ScriptDir & "/config.ini", "Options", "server", "hu83")     ; get it from game url
-   Global $villageId = 			IniRead(@ScriptDir & "/config.ini", "Options", "villageId", "1")     ; get it from game url
-   Global $scavengeMode = 		IniRead(@ScriptDir & "/config.ini", "Options", "scavengeMode", "2")  ; Mode 0-3 (0-Lusta gyûjtögetõk, 1-Szerény gyûjtögetõk, 2-Okos gyûjtögetõk, 3-Kiváló gyûjtögetõk)
-   Global $traytip = true
+   Global $browser = 					IniRead(@ScriptDir & "/config.ini", "Options", "browser", "Google Chrome")
+   Global $gameTitle = 					IniRead(@ScriptDir & "/config.ini", "Options", "gameTitle", "Klánháború")
+   Global $server = 					IniRead(@ScriptDir & "/config.ini", "Options", "server", "hu83")     ; get it from game url
+   Global $villageId = 					IniRead(@ScriptDir & "/config.ini", "Options", "villageId", "1")     ; get it from game url
+   Global $scavengeMode = 				IniRead(@ScriptDir & "/config.ini", "Options", "scavengeMode", "2")  ; Mode 0-3 (0-Lusta gyûjtögetõk, 1-Szerény gyûjtögetõk, 2-Okos gyûjtögetõk, 3-Kiváló gyûjtögetõk)
+   Global $traytip = 					IniRead(@ScriptDir & "/config.ini", "Options", "trayTip", true)
 
    Global $trainUnitRepeatTimer = 		3600            ; in seconds (default: 1h)
    Global $trainLovassagRepeatTimer = 	3600         	; in seconds (default: 1h)
@@ -22,17 +22,17 @@
    Global $trainUnitsEventTimer = 		eventStart(0)   ; delay task after bot started with seconds (default: 0)
    Global $trainLovassagEventTimer = 	eventStart(0) 	; delay task after bot started with seconds (default: 0)
    Global $epitesEventTimer = 			eventStart(0)   ; delay task after bot started with seconds (default: 0)
-   Global $pageLoadTime = 				1500 			;inMs
-   Global $sleepTimesInEndOfTasks = 	2200			;inMs
+   Global $pageLoadTime = 				1500 			; inMs
+   Global $sleepTimesInEndOfTasks = 	2200			; inMs
 #EndRegion
 
 
 
 While 1
    gyujtogetes(true, 2, 0, 0, 0, 0, 0, 0, 0, 0) 	; sendAll, mode, landzsas, kardforgato, bardos, ijasz, konnyulovas, lovasijasz, nehezlovas, lovag (can be -1 what is meant to all unit button)
-   trainUnits(0, 0, 0, 0) 							; landzsas, kardforgato, bardos, ijasz  (can be -1 what is meant to all unit button)
-   trainLovassag(0, 0, 0, 0) 						; kem, konnyulovas, lovasijasz, nehezlovas  (can be -1 what is meant to all unit button)
-   ;epites("wall") 									; Options: main, barracks, stable, watchtower, smith, place, statue, market, wood, stone, iron, farm, storage, hide, wall
+   trainUnits(0, 0, 0, 3) 							; landzsas, kardforgato, bardos, ijasz  (can be -1 what is meant to all unit button)
+   trainLovassag(0, 2, 0, 0) 						; kem, konnyulovas, lovasijasz, nehezlovas  (can be -1 what is meant to all unit button)
+   epites("main") 									; Options: main, barracks, stable, watchtower, smith, place, statue, market, wood, stone, iron, farm, storage, hide, wall
    TrayTipGG("")
 WEnd