Open Crooncode opened 5 years ago
In d2bot-with-kolbot-master / d2bs / kolbot / D2BotFollow.dbj:
At the bottom of "break;" of "case 38: // Game is full - ( line 806 of an unmodified .dbj ) and at the top of "default:" - ( line 814 )
put
case 39: // TCP/IP Game
if (!ControlAction.click(-1, 264, 350, 272, 35)) {
break;
}
break;
case 40: // Join Game
if (!ControlAction.click(-1, 265, 264, 272, 35)) {
break;
}
break;
case 30:
if (!ControlAction.click(-1, 264, 350, 272, 35)) {
break;
}
delay(500);
D2Bot.restart();
break;
case 41: // Click Ok
if (!ControlAction.click(-1, 421, 337, 96, 32)) {
break;
}
try {
login(me.profile);
} catch (e) {
print(e + " " + getLocation());
}
break;
Just a noob-hotfix on my side, because I am not a programmer. I just copy/pasted this stuff in the past. Hope it helps all of you mates, who wants to bot in tcp/ip mode !
PS: You may set your ip manually first by hosting an tcp/ip game manually, if it's not already set, I guess. No clue atm where to look at existing code, so bot would check and/or delete and replaces incompatible ip by a compatible ip.
nvm
finally, I added a new wiki page: https://github.com/blizzhackers/documentation/blob/master/kolbot/TCP-IP%20games.md#tcpip-games
Thanks alot for your effort, will study throught tomorrow!
Gesendet: Montag, 09. September 2019 um 15:39 Uhr Von: "mf022" notifications@github.com An: kolton/d2bot-with-kolbot d2bot-with-kolbot@noreply.github.com Cc: soubie1 jonas.seelen@web.de, Comment comment@noreply.github.com Betreff: Re: [kolton/d2bot-with-kolbot] TCP/IP join issue (#1496)
finally, I added a new wiki page: https://github.com/blizzhackers/documentation/blob/master/kolbot/TCP-IP%20games.md#tcpip-games
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
For those who followed the link here - https://github.com/blizzhackers/documentation/blob/master/kolbot/TCP-IP%20games.md#tcpip-games
If you download the files, and put them in the kolbot folder, you will need to edit them in Notepad++ and then save them as a normal text file (hit save as) and then manually type .dbj after the title and it will save in .dbj format so the d2bot.exe can recognize them! This is working beautifully, thank you to mf022
My host TCP/IP setting works fine, but the Join TCP/IP setting doesn't seem to know which IP to enter and crashes at the IP entry window. Is there a way to fix this so it automatically detects the IP or can I enter it somewhere in a config?
Cheers