RELEASE INT/STEAM BOT WITH SOURCE

08/13/2016 15:44 Zaworek#16
Hello,
nokia999 this release is really very good, but can you tell me how to open more than one client of kal on one pc. And is there any possibility to sit or load mana in any way instead of crashing bot when trying to attack without mana?

And why my bot is not using skills like meditation or defense incantation?
08/13/2016 17:17 omega2k#17
Quote:
Originally Posted by nokia999 View Post
...and chrashes.

This bot use at last 2 threads but i didn't add any thread synchronization and use kal send function not from kal thread so it can lead to random crashes.
I was using it on 8-10 bots at the same time and crashes was ryly rare so adding synchronization was overkill for this litle project.
Change source for 1 thread, add thread synchronization, set 1 core affinity should help.
If you send many packets at the same time you get higher probability of crash.
Thank you so much, i'll look into that later. And Thanks again for the release :)
08/13/2016 21:26 Edu100#18
for a while the steam version works great.
now kal crash without any error as soon as i start the bot.

w764bit, got just 1 kal open

sum1 got a clue?

Edit:

got it, its the mana
08/14/2016 08:55 magicjan1#19
This bot using good LA at archer? Anyone got test at it?
08/14/2016 16:14 xarkez1#20
No it just does one then normal attacks, I wish I rolled EA.
08/14/2016 17:05 magicjan1#21
So bot uses one time LA and rest shots with normal attack? With next mob again 1x LA and end killing with normal yes? and btw why EA?
08/15/2016 12:21 xarkez1#22
Yes even if you change the CD on LA it only seems to cast it once, the EA one just slams off focus shot really quick.
08/15/2016 14:15 meak1#23
Quote:
Originally Posted by xarkez1 View Post
Yes even if you change the CD on LA it only seems to cast it once, the EA one just slams off focus shot really quick.
bec focus shot u need an animation Packet and if u change cd on LA it only cast once bec u cant use it without cooldown lol
08/15/2016 17:39 magicjan1#24
When i using bot i still get Connection lost after some minutes, when i don't using bot all is good anyone know whats going on? And also sometimes got engine.exe error only when using bot... I doing something wrong? I have Win 7 64bit.
08/15/2016 18:22 nokia999#25
Quote:
Originally Posted by nokia999 View Post

This bot use at last 2 threads but i didn't add any thread synchronization and use kal send function not from kal thread so it can lead to random crashes.
I was using it on 8-10 bots at the same time and crashes was ryly rare so adding synchronization was overkill for this litle project.
Change source for 1 thread, add thread synchronization, set 1 core affinity should help.
If you send many packets at the same time you get higher probability of crash.
Just read all posts before ask.
08/15/2016 18:23 luki180pl#26
Quote:
Originally Posted by magicjan1 View Post
When i using bot i still get Connection lost after some minutes, when i don't using bot all is good anyone know whats going on? And also sometimes got engine.exe error only when using bot... I doing something wrong? I have Win 7 64bit.
Did you set 1 core coligation on engine.exe?
08/15/2016 19:34 magicjan1#27
I will try, so i need to set 1 core at engine.exe and it's all? I know how to set 1 core at process, but what is this thread synchronization where to set it?
08/15/2016 19:49 nokia999#28
Thread synchronization is made at code. Mean you need mostly remake this source :D
08/15/2016 20:40 luki180pl#29
I know 2 ways how to solve the threading issue:

1 - You need to keep all calls to SendPacket function inside recv, so that they are all executed by the client thread.

2 - Actually it's the thread synchronization. This way is about locking access to the SendFunction while your application executes it.
08/16/2016 10:44 magicjan1#30
How about mage skills using by bot? My mage using only normal lighting magic skill and ice + fire, i have lighting blow too, but bot dont use it. Why? And i uses one core affinity, but Im still getting connection lost after sometime, only when using bot.