Slaves dc when master dc...

This section is created for developers and non-developers who think that he/she has a good (and realistic) idea that might contribute to the OpenKore community.

Moderator: Moderators

Message
Author
ExSlasher91
Noob
Noob
Posts: 1
Joined: 06 May 2008, 03:30
Noob?: No

Slaves dc when master dc...

#1 Post by ExSlasher91 »

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...

Cadeath
Plain Yogurt
Plain Yogurt
Posts: 59
Joined: 05 Apr 2008, 05:14

Re: Slaves dc when master dc...

#2 Post by Cadeath »

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

Chontrad
Human
Human
Posts: 30
Joined: 23 Apr 2008, 10:11
Noob?: No
Location: Indonesia TANAH AIRKU
Contact:

Re: Slaves dc when master dc...

#3 Post by Chontrad »

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.

Cozzie
Spam Generator
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...

#4 Post by Cozzie »

you can do it with a macro though as a default option this would be nice.
Make Openkore Awesome. Join the team.

Post Reply