The Bytecode Club - Reverse Engineering Forum
Login
Register
Login
Username:
Password:
Lost Password?
Remember me?
The Bytecode Club - Reverse Engineering Forum
Lobby
Game Cheating, Botting & Reverse Engineering
Out of sync
Pages (2):
1
2
Ins4n1ty
01-12-2015, 01:32 AM
#1
I'm trying to delay the time between search when attacked villages, I think it makes very little time between them and pulls me error: Out of sync. If possible you should say me the code to put a delay line and that would be fantastic. thx
GkevinOD
01-12-2015, 02:31 AM
#2
Hello, look for this piece of the code, use Find
Code:
$SearchCount = 0
While 1
If _Sleep(1000) Then ExitLoop (2)
If you can't find it find $SearchCount = 0
Then the _Sleep(
milliseconds
) is the delay between search.
1 second = 1000 milliseconds
Ins4n1ty
01-13-2015, 08:25 AM
#3
Thanks friend, it really works!!
ehsanslipknot
01-15-2015, 06:40 AM
#4
skull1984
01-15-2015, 03:31 PM
#5
Can developers try recognizing this lag (Client and sever are out of sync, or play too long...), after game restart, the bot will stop and restart script.
i see when the game restarts, the log on bot will read resource [G]: 0 [E]: 0 [D]: 0 ...
can you use this to recognize problem ???
Thanks,
dinobot
01-15-2015, 04:13 PM
#6
skull1984
01-15-2015, 05:51 PM
#7
sry mod, I don't want to spam, and I will not ask any more. Because I see LF Robot can solve problem "out of sync" then I ask the developers, and I know it is not bot fault. Not of all gamer have good Internet.
dinobot
01-15-2015, 06:52 PM
#8
Exactly not all gamer has same specification. Good about this bot is, it is open source and all are free to edit and customize to fit individual expectation. Some felt search is slow, so felt search keep giving them out of sync.
I can understand that coz I have a old pc of 8 yr old. For me internet wasn't the problem coz I am using fiber Internet with 300mps speed. Sometime the coc lag while searching and struck and the white screen for a while before it find base... When this happened.. After 1-3 more similar search the out of sync will come out... To resolve or reduce the problem, I put sleep before and after the Next click. This do helps..
Maybe you can try that. As you have know this is open source bot, we hope everyone can contribute to it. Mod it and if it works for you, share it with the rest... Developer also need time to play with the game and not just developing the bot for you. They are not paid after all.. Lol...
By the way, I have tested the out of sync/6th hr break... The bot successfully restart game and restart script. I have tested them on cross version and 5.3.5
Just realised, you have not even tell the developer what version you are using and you expect them to solve the problem when there are various version around due to community contribution?
AtoZ
01-15-2015, 08:10 PM
#9
Ins4n1ty
01-15-2015, 10:02 PM
#10
ehsanslipknot, I had to edit the script .au3 with autoit. Look for these lines:
$SearchCount = 0
While 1
If _Sleep(8000) Then ExitLoop (2)
GetResources() ;Reads Resource Values
You can use the find tool. The value 8000 would change in my case, is given in milliseconds. Try the value that works best for you. Then I compile it in 64 or 32 bits. I hope it works for you. See u
Pages (2):
1
2
Search Thread
Next Oldest
Next Newest
Users browsing this thread:
3 Guest(s)
Contact Us
Forum Team
Forum Members
Return to Top
Mark All Read
RSS Syndication
Bytecode Wiki
TBC Classic
OG Red
OG Green
TBC Modern
Go
Konloch Software
-
Bytecode Viewer
-
Reverse Engineering Forum
Copyright © 2014-2025
The Bytecode Club
. Powered By
MyBB
.
CC0
Unless Specified Otherwise.