rev 572, profile event <onUnstickFailure> intro

For changelogs and discussion related to a specific revision.
Post Reply
Message
Author
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

rev 572, profile event <onUnstickFailure> intro

#1 Post by lisa » Wed Jun 01, 2011 7:14 pm

New in rev 572 is an addition of an event in profile.xml
The new addition is

Code: Select all

	<onUnstickFailure><![CDATA[
		-- Lua code to execute when MAX_UNSTICK_TRIALS is reached.
	]]></onUnstickFailure>
This event will occur when the maximum unstick trials is reached, the default value for this is 10, can be changed by user in profile options. So any code added inbetween these tags will be executed upon reaching the max unstick tries.
If the code doesn't fix the issue and there is another unstick then it will execute the default which is set by user profile with LOGOUT_SHUTDOWN, LOGOUT_WHEN_STUCK and CLOSE_WHEN_STUCK.
If no code is added to the profile between the new tags then the bot will perform it's usual actions once maximum unstick tries is reached.

One utilisation would be to log next character but the posibilities are now endless.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest