Closed Henrybk closed 3 years ago
fixed)
In the first video you are trying to attack a monster that is on the other side of the cliff, which yelds a very long route, this should be prevented by having attackCheckLOS in the config set to 0 (for meele characters). What is your attackCheckLOS setting?
yes - it was 1 ) changed to 0
i also have a feature request: adjust distance that random walk chose point to move + option don't calc a new route after killing mob before old point wasn't reached. For exaple start from one corner of map and move continiously about 300 cells way, killing mobs during this trip, then calc a new long route...
Now kore sometimes cals route like chaotic random ) and bot runing from point to point in one part of map, not like player wiil.
u can keep the old route in ai by reverting this pull request: https://github.com/OpenKore/openkore/pull/2261/files
but openkore will have a issue that when to many monster in screen openkore will move away then back to kill
this issue can be fixed if we add a "monstercheck" before route again
New bug =) poor novice stnad and eating pots, and do nothing if i change attackmaxdist to 2
That one I have not yet been able to reproduce.
mon_control on fabre 0 and attack other mobs, so bot runing and collect agro fabre
with one fabre
Oh, okay, got it
That last bug should be fixed by these last commits
what environment do this branch need ? I download this link https://github.com/OpenKore/openkore/tree/Remake-routing-review but can't run . first , I had XSTools problem , I copy XSTools from some older version , and then wxstart.exe will stuck at process maps can any one fix a manual about how to run this
what environment do this branch need ? I download this link https://github.com/OpenKore/openkore/tree/Remake-routing-review but can't run . first , I had XSTools problem , I copy XSTools from some older version , and then wxstart.exe will stuck at process maps can any one fix a manual about how to run this
i updated the dll's and gitignore, try again now
result:
It is still not opening, I tried with Perl and the wxstart.exe and start.exe
@M45T3Ryu This version works only in perl 5.12 32 bits(x86)
Try this http://strawberryperl.com/download/5.12.3.0/strawberry-perl-5.12.3.0.msi
Just need to run in cmd
cpan install Win32-Console
Then run openkore.pl
I found out that it gets stuck on long routes like it just stops doing everything, and does absolutelly nothing
@M4T3Ryu Vídeo? How to reproduce? Config? Server? AI sequence? Console debug?
@M45T3Ryu
try to set
route_step 9
error while randomwalk sometime it stucks near from "objects" / walls / not walkable cells
Log: https://wtools.io/paste-code/b3NI
another stuck print:
Attack You (307 345) - target Monstro Red Mushroom (1) (308 343) is too far from us to attack, distance is 2, attack maxDistance is 1
Attack You (307 345) - moving to meeting position (308 344)
--------
move 308 344
Coords 308 344 are not walkable at map prt_fild08
where 308 344 is not walkable
@alisonrag don't forget to add a new parameter to the documentation "maxDist" (https://github.com/OpenKore/openkore/pull/2871/commits/be589b167e7eda448329b213aae4be0cf1412260)
@alisonrag don't forget to add a new parameter to the documentation "maxDist" (be589b1)
when everything has been tested and this pull request is ready i will add to documentation. add now can lead a people to use a no implemented feature but thanks for remember
last commit should fix the route stuck issue
let's update the documentation
Congratulations! I am gonna try it Just need to download the latest master or still need to download Remake-routing-review?
Congratulations! I am gonna try it Just need to download the latest master or still need to download Remake-routing-review?
just download the master
and dont use a old config.txt
something wrong with mon_control.txt when I set 1081 0 0 0 kore will leave Yellow Plant alone but when I set 黄草 0 0 0 #“Yellow Plant 0 0 0” kore will attck 1081 , something wrong with chinese name?
this also affect attackSkillSlot when use monsters but chinese name of some event monster works , kore didn't read monsters.txt only read new monsters ?
something wrong with mon_control.txt when I set 1081 0 0 0 kore will leave Yellow Plant alone but when I set 黄草 0 0 0 #“Yellow Plant 0 0 0” kore will attck 1081 , something wrong with chinese name?
this also affect attackSkillSlot when use monsters but chinese name of some event monster works , kore didn't read monsters.txt only read new monsters ?
Can u open a issue?
Please add a description of the new config parameters:
As well as a description of the new timeouts:
Please add a description of the new config parameters:
- attackRouteMaxPathDistance
- attackUpdateMonsterPos
- runFromTarget_maxPathDistance
As well as a description of the new timeouts:
- ai_attack_route_adjust
- ai_attack_failedLOS
@Henrybk @alisonrag
should we replace all distance ()
calls with blockDistance ()
?
@Henrybk @alisonrag should we replace all
distance ()
calls withblockDistance ()
?
blockdistance seems more like client, but we need to check what happens with this change, how different openkore will act
This is the reviewed and cleaned branch of the pathfinding algorithm changes.
Openkore uses an old A* code for pathfinding, it has a few problems:
This branch fixes a few isses.
Features:
Edit: Most of the changes were ideas from here: http://forums.openkore.com/viewtopic.php?f=36&t=1350
this pull fixes #2546.
This pull is a continuation of #1684.
The code was based on Sven Konig publications (Father of most of the pathfinding algorithms used today): http://idm-lab.org/publications.html