Sometimes when the bot dies, it doesn't respawn.

International

Moderator: Moderators

Message
Author
Kerfuffle
Noob
Noob
Posts: 1
Joined: 09 Jul 2017, 16:51
Noob?: No

Sometimes when the bot dies, it doesn't respawn.

#1 Post by Kerfuffle »

It's entirely random, it seems. Sometimes when my bot dies, it will respawn and go back to its lockMap as intended. Other times, however, it will just sit there... dead... like it doesn't realize it's actually dead.

It will continue trying to find routes, but of course it can't - because it's dead.

Really annoying because it ends up being hours before I notice that's happened and made zero progress. How could I go about fixing this?

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: Sometimes when the bot dies, it doesn't respawn.

#2 Post by kali »

Why not do a macro that restarts kore when hp is less than a certain number?
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

Jianwei
Noob
Noob
Posts: 8
Joined: 05 Jul 2017, 08:13
Noob?: Yes

Re: Sometimes when the bot dies, it doesn't respawn.

#3 Post by Jianwei »

Kerfuffle wrote:It's entirely random, it seems. Sometimes when my bot dies, it will respawn and go back to its lockMap as intended. Other times, however, it will just sit there... dead... like it doesn't realize it's actually dead.

It will continue trying to find routes, but of course it can't - because it's dead.

Really annoying because it ends up being hours before I notice that's happened and made zero progress. How could I go about fixing this?
go to config.txt , find " saveMap " and edit it .. example : saveMap payon
try that

Henrybk
Developers
Developers
Posts: 11
Joined: 15 Mar 2011, 22:50
Noob?: No

Re: Sometimes when the bot dies, it doesn't respawn.

#4 Post by Henrybk »

This is actually a problem, sometimes on Re:Start kore won't register death and the character will just keep trying to move for hours. Most times it seems to happen after unknown packet 0AB8 is received. I looked at rAthena, HerculesWS and brAthena and didn't find anything about the packet, only that it is from 2017-01-11 hexed.

It was implemented in herculesWS in this pull request: https://github.com/4144/Hercules/commit ... 8ee208f136

krishna123
Noob
Noob
Posts: 10
Joined: 17 Jul 2017, 04:01
Noob?: Yes

Re: Sometimes when the bot dies, it doesn't respawn.

#5 Post by krishna123 »

Oh my god this is exactly what I was looking for for days! I have the exact same problem (And I think many others do too, because I see a lot of "bots" lying around in Toy Factory 2 and not respawning automatically).

I tried many different things: Use a do command to check if status is dead every x seconds and do a relog, but this didn't trigger at all. I tried all kinds of different macros to check if the user is dead or if the console says something like stuck and relog, but these wouldn't trigger either.

Just like Henrybk said, it looks like Openkore doesn't recognize the hp and death state correctly sometimes.

Does anyone have a solution for this?

Edit: I even tried relogging every 600 seconds with a do command, but somehow this wouldn't trigger either:

do relog 1{
timeout 600
}

leozhai
Plain Yogurt
Plain Yogurt
Posts: 71
Joined: 16 Jun 2008, 08:41
Noob?: Yes

Re: Sometimes when the bot dies, it doesn't respawn.

#6 Post by leozhai »

you have to restart you openkore to make the bot work

Reek
Noob
Noob
Posts: 4
Joined: 20 Jul 2017, 16:07
Noob?: Yes

Re: Sometimes when the bot dies, it doesn't respawn.

#7 Post by Reek »

So what i realize is this tend to happen when I die to MVPS.

If you die to MVP somehow the bot does not recognize you as dead
and what happens is you get :
Stuck at map (x,y), while walking from (x,y) to (x,y).
Stuck during route.

I dont know why, but my ghetto solution to this is just use macros

Code: Select all

automacro string {
console /Stuck during route./
run-once 0
exclusive 1
call relog
}

macro relog {
do relog
}
So everytime Stuck during route appears it just relog, and once you relog you should see that you re spawn at your save map.

Aappoolloo
Human
Human
Posts: 25
Joined: 19 Jul 2017, 23:21
Noob?: No

Re: Sometimes when the bot dies, it doesn't respawn.

#8 Post by Aappoolloo »

Reek wrote:So what i realize is this tend to happen when I die to MVPS.

If you die to MVP somehow the bot does not recognize you as dead
and what happens is you get :
Stuck at map (x,y), while walking from (x,y) to (x,y).
Stuck during route.

I dont know why, but my ghetto solution to this is just use macros

Code: Select all

automacro string {
console /Stuck during route./
run-once 0
exclusive 1
call relog
}

macro relog {
do relog
}
So everytime Stuck during route appears it just relog, and once you relog you should see that you re spawn at your save map.
Sorry for my noob question but how and where should i add that macro script? i never tried macro before. thanks

Reek
Noob
Noob
Posts: 4
Joined: 20 Jul 2017, 16:07
Noob?: Yes

Re: Sometimes when the bot dies, it doesn't respawn.

#9 Post by Reek »

Aappoolloo wrote:Sorry for my noob question but how and where should i add that macro script? i never tried macro before. thanks
http://openkore.com/index.php/Macro_plugin

It's your bible! and also use the search feature in this forum, you can learn a lot even from threads that are really really old!

leozhai
Plain Yogurt
Plain Yogurt
Posts: 71
Joined: 16 Jun 2008, 08:41
Noob?: Yes

Re: Sometimes when the bot dies, it doesn't respawn.

#10 Post by leozhai »

can someone tell me what is the command for macro to reboot openkore? not relog

Post Reply