What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

[Request] [Plugin] New game if player die

jaja123

New Member
Joined
Jun 11, 2012
Messages
42
Reaction score
0
Hello,

Would anyone be able to make a plugin, where we can control whether our player should leave the game after we died X number of times. Sometimes we may meet an superior mob pack, which we (or the bot) isn't able to deal with. Instead of revieing and trying to kill the mob constantly, it would leave the game and start a new game.


Thanks.
 
Request this in the Unstucker thread. It doesn't seem too hard, but I gotta get some sleep. Maybe he'll help you out.

But leave this thread in case somebody out there gets some ambition :)
 
At the moment I have found no reliable and efficient way to check for deaths. If a DB developer is reading this, adding a Zeta.CommonBot.GameEvents.OnDeath event would be awesome.
 
At the moment I have found no reliable and efficient way to check for deaths. If a DB developer is reading this, adding a Zeta.CommonBot.GameEvents.OnDeath event would be awesome.

Oh well.. I hope a dev reads this and make this possible in a future release then! :)
 
At the moment I have found no reliable and efficient way to check for deaths. If a DB developer is reading this, adding a Zeta.CommonBot.GameEvents.OnDeath event would be awesome.
Not very efficient but.

StopWatch() or something for the timer...

if (blahblah.Me.IsDead && !5SecondTimer.IsRunning())
DeathCount += 1;
5SecondTimer.Start();
 
Not very efficient but.

StopWatch() or something for the timer...

if (blahblah.Me.IsDead && !5SecondTimer.IsRunning())
DeathCount += 1;
5SecondTimer.Start();


If only i could understand that :)

Devs we need your attention here!
 
Not very efficient but.

StopWatch() or something for the timer...

if (blahblah.Me.IsDead && !5SecondTimer.IsRunning())
DeathCount += 1;
5SecondTimer.Start();

Considered that but there's that efficiency issue...you would have to poll really fast if you didn't want to miss any deaths.
There might be a OnHit event somewhere I haven't found yet. Makes sense that they would have that for automatic potion usage.
 
What about a game length timer? IE more than 5min and it leaves. No quality run should take more than 5min or so. Of course it being adjustable is key.

EDIT I read you guys say it'd be hard to track deaths, what about the revive timer? The more you die the longer it takes. Just a thought.
 
To be reliable we need Events. Like in Honorbuddy when you would go into combat, there would be something like BotEvents.EnteredCombat.
We could then add a hook onto this that pointed to a void where we would just do TimesEnteredCombat += 1;

Until more is added to the API of Demonbuddy it's going to be a developers hell to get any major projects completed.
Granted we "could" use the work around I listed, but it is not reliable at all. It would depend on if it even ran the plugins while it was reviving itself in that case.
 
Back
Top