Page 1 of 2

how to prevent bot from falling from maps.

Posted: 28 Feb 2018, 15:51
by Goflow
I have set my bot to go to ayo_dun02 and in order to do so, it has to go past the dun01 which has holes where the bot would always walks off, fall and die.
How exactly do i go about avoiding the holes? or changing the map and make it so bot would think of it as an obstacle?
thanks
Image

Re: how to prevent bot from falling from maps.

Posted: 28 Feb 2018, 17:39
by fadreus

Re: how to prevent bot from falling from maps.

Posted: 08 Mar 2018, 13:19
by Goflow
thanks, as suggested by a comment in the thread, i could edit a field cell to make a certain parts of a map unwalkable, but how exactly do i do it? i tried looking up at the .fld but i dont knwo what program i should use to edit it. Any suggestion pls.
c4c1n6kr3m1 wrote:well , i believe Routeweights.txt is not for you
as far as i know , Routeweights mean to "avoid map" , by add number, so your "route" become "far" , than bot will choose another map with lower map route step

in your case , you want to avoid some trap cell ? isn't it ?
may be edit the field cell ( make it unwalkable ) is more suitable for you
or reduce your route_step as low as you can may be help,( but , if too low , will make your bot easy recognized by people's eye )
or macro , ( do move .... here , do move .... there)

No idea..

Posted: 08 Mar 2018, 18:12
by fadreus
Urgh.. Hurm.. Welp.. No suggestion in mind (if you already tried the tools form github & wiki) :?

I barely remember but 2 things I did last time was using macro and put those pit as portals so bot will avoid walking through it. :roll:
But then I get raped by Kraben so I decide to dump the whole thing. :(
Better buy than farm coz zeny is easy than getting items xD. :D

Hahahaha.. :lol:
Sorry 'bout that.
I avoid complicated solution, only approach simple solution. >w<

Re: how to prevent bot from falling from maps.

Posted: 08 Mar 2018, 23:50
by c4c1n6kr3m1
get maps from original client
edit
than convert it to fld

Re: how to prevent bot from falling from maps.

Posted: 09 Mar 2018, 03:58
by fadreus
c4c1n6kr3m1 wrote:edit
Goflow wrote:but i dont knwo what program i should use to edit it

Re: how to prevent bot from falling from maps.

Posted: 09 Mar 2018, 13:38
by Goflow
c4c1n6kr3m1 wrote:get maps from original client
edit
than convert it to fld
Where exactly do i extract the map files from the client? thanks

Re: how to prevent bot from falling from maps.

Posted: 10 Mar 2018, 04:51
by fadreus
Goflow wrote:i could edit a field cell to make a certain parts of a map unwalkable, but how exactly do i do it?
Goflow wrote:Where exactly do i extract the map files from the client? thanks
You mean this?
http://openkore.com/index.php/FLD_Creation_Guide
http://openkore.com/index.php/Field_file_format
https://github.com/OpenKore/field-editor
https://github.com/OpenKore/openkore/tr ... elds/tools
http://forums.openkore.com/viewtopic.php?f=28&t=28180

Re: how to prevent bot from falling from maps.

Posted: 10 Mar 2018, 09:57
by Goflow
i have solved it.
First i had to use browedit to edit the GAT on the .RSW file. and create areas around the holes as non walkable. then converted it into FLD.
Image
There is are tutorials on how to use browedit on youtube.

Re: how to prevent bot from falling from maps.

Posted: 10 Mar 2018, 19:18
by fadreus
Glad for you. :D

Maybe you can upload your fld file here if anyone else need same solution.
Since same thread already existed before. ;)