Slaves dc when master dc...
Moderator: Moderators
-
- Noob
- Posts: 1
- Joined: 06 May 2008, 03:30
- Noob?: No
Slaves dc when master dc...
As topic, it would be really good if openkore could have a function like all slaves following the master dc when master dc... This would prevent a lot of unwanted problems to occur such as if master suddenly dc due to connection lag or out of sync with server or anything else, the slaves jz stand there duno wat to do and got hit and eventually died... Hope it helps...
Re: Slaves dc when master dc...
Maybe this stuff wont work nicely...
if your reason are he "slaves jz stand there duno wat to do and got hit and eventually died" well if u don't want to stand you can set the idle time that if the slave is on idle, he/she will sit down and if u don't want to get hit well he/she will die even if the master is around. Think about it, master can't kill monster that is attacking the slave if he/she is also attacking...
how can you connect when the master is connected? kore to kore base program?
how about your bot are in different computer how can the pass signal if they aren't connected.
God Bless
if your reason are he "slaves jz stand there duno wat to do and got hit and eventually died" well if u don't want to stand you can set the idle time that if the slave is on idle, he/she will sit down and if u don't want to get hit well he/she will die even if the master is around. Think about it, master can't kill monster that is attacking the slave if he/she is also attacking...
how can you connect when the master is connected? kore to kore base program?
how about your bot are in different computer how can the pass signal if they aren't connected.
God Bless
-
- Human
- Posts: 30
- Joined: 23 Apr 2008, 10:11
- Noob?: No
- Location: Indonesia TANAH AIRKU
- Contact:
Re: Slaves dc when master dc...
Agreed with cadeath. Just answering, if u insist:
<Line 2031, File: SRC\AI\CoreLogic.pm>
if ($players_old{$args->{'ID'}}{'disconnected'}) {
message T("My master disconnected\n"), "follow";
AI::dequeue;
$quit = 1;
Just remember, this won't reconnect the bot when the master reconnected. This will simply quit it.
<Line 2031, File: SRC\AI\CoreLogic.pm>
if ($players_old{$args->{'ID'}}{'disconnected'}) {
message T("My master disconnected\n"), "follow";
AI::dequeue;
$quit = 1;
Just remember, this won't reconnect the bot when the master reconnected. This will simply quit it.
-
- Spam Generator
- Posts: 499
- Joined: 04 Apr 2008, 09:30
- Noob?: No
- Location: Melbourne, City of beer and awful sushis
Re: Slaves dc when master dc...
you can do it with a macro though as a default option this would be nice.
Make Openkore Awesome. Join the team.