BOT

Hello everyone, 

I am having 1 error, can anyone help me fix this one? I searched everywhere and could not find the solution.

Thank you so much.

image.pngHe

image.png

EDIT: Managed compiling without error but not working. :(

EDIT: SOLVED

 
Last edited by a moderator:
does this work in hercules?

having same error as this

There is no file  Index: db/const.txt - latest revision

there is no file Index: db/sc_config.txt 

no file - 

 
Last edited by a moderator:
i think i got it..

is it right sir ??

bool bot_check_target(struct block_list *src, unsigned int id){ struct block_list *bl = map->id2bl(id); if (bl) { if (path->search(NULL, bl, src->m, src->x, src->y, bl->x, bl->y, 1, CELL_CHKNOREACH) && distance_xy(src->x, src->y, bl->x, bl->y) < 11) { TBL_MOB *md = BL_CAST(BL_MOB, bl); if (md) { if (md->status.hp > 0) { return true; } } } } return false;}

bool bot_check_target(struct block_list *src, unsigned int id){ struct block_list *bl = map->id2bl(id); if (bl) { if (path->search(NULL, bl, src->m, src->x, src->y, bl->x, bl->y, 1, CELL_CHKNOREACH) && distance_xy(src->x, src->y, bl->x, bl->y) < 11) { TBL_MOB *md = BL_CAST(BL_MOB, bl); if (md) { if (md->status.hp > 0) { return true; } } } } return false;}


recompile is success.. but i dont know if its right

edit**

DOOOONE~~~

ITS WORK GUUYS~~~

domo arigatouuu /bow

><

Love you guuuysss~
Kindly post some help or guide for this one sir?

 
Back
Top