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

Leave Game After Death

Murdo

New Member
Joined
Jun 23, 2012
Messages
7
Reaction score
0
I would like to leave the game and restart the profile after a death instead of respawning. Is there a plugin or profile that does this that I could copy from? I searched but could not find any.

Thanks!

-Murdo
 
Last edited:
I'm thinking this is a function of DB and not configurable via a profile or plugin.
 
I'm thinking this is a function of DB and not configurable via a profile or plugin.

I recently got into DemonBuddy and am loving it, I have 9 years .net experience. From what I could tell there isn't a method exposed to Leave Game, there is a class called something Like CompleteLogoutMessage, with a private function that allows for logout. However, since it is private you cannot access it in a plugin. The resurrection is handled by DB not by a plugin or the profile.

Solutions:
1. DemonBuddy Devs add a function to logout.
2. Capture deaths in a plugin make a global variable to leave game, then teleport to town

I can't think of anything else, other than writing a leave game function using background mouse clicks and pixels which I could write, but seems ugly given the rest of this wondrous bot.

Edit: There might be: ZetaDia.Service.Games.LeaveGame();
If that function exists I can add a quick plugin to leave game on death, however that function might actually close the game not just leave the current session.

Edit2:
Made a quick plugin while at work: --> Posted here <--
 
Last edited:
I can't check right now but isn't this what the Death Handling setting on the settings tab does? It says logout but it really means leave game.
 
either db buildin death handler or get the profile restarter from plugin section
 
Setting > Death handling > Logout. This leaves the game as soon as you die.
I would not recommend using any plugin for a feature which is already there in DB. It will add unnecessary overhead for DB operations.
 
Back
Top