Page 1 of 1

kirk "He's dead, Jim" scotty "He's dead already"

Posted: Sun Nov 15, 2015 8:58 am
by beanybabe
I ran into problem where char can die running a wp. Then later I run another one but it stops at the dead char as I have resurrecting from death turned off. Can I turn this on from a wp. I only want it to res if the char was dead at log in but not if it gets killed after already logged in. Id like to add it into the log in next char function to resurrect char if it is dead at log on.

I dont want to get some loop of dying and resurrecting going so I keep it turned off.

Code: Select all

function relog()
	SetCharList({
	 -- enter account number and char numbers that you like to run this script
	{account=1 , chars= {1,2,3,4,5,6,7,8}},  
	 });
	LoginNextChar();
	--
	--  need way to log in dead char and make it alive.
	--
	loadProfile();  
	kill_stupid_newbie_pet()
end	

Re: kirk "He's dead, Jim" scotty "He's dead already"

Posted: Mon Nov 16, 2015 8:12 am
by noobbotter
I think there's a Max_Deaths setting you can set in the profile so that it will only resurrect so many times before giving up.