Difference between revisions of "GetDefaultDieDecay"

From UODemo Wiki
Jump to: navigation, search
m (Update URL's to point to UO98.org)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
integer '''getDefaultDieDecay'''(void);<br>
 
integer '''getDefaultDieDecay'''(void);<br>
  
This function returns a value known as the default die decay, not much is known yet about the exact meaning of the returned value. Please review the following topic on the JoinUO forums: [http://www.joinuo.com/forums/viewtopic.php?f=32&t=852 House decay time].
+
This function returns a value known as the default die decay, not much is known yet about the exact meaning of the returned value. Please review the following topic on the JoinUO forums: [http://forums.uo98.org/viewtopic.php?f=32&t=852 House decay time].
  
This function can be used to detect the decay mode to server is currently using. The following list represents the return value of this function and the related mode.
+
This function can be used to detect the decay mode the server is currently using. The following list represents the return values of this function and the related decay modes.
 
<pre>
 
<pre>
 
0x48 = mode 1
 
0x48 = mode 1
0xF0 = mode 0
+
0xFA = mode 0
 
0xFF = mode 2
 
0xFF = mode 2
 
</pre>
 
</pre>

Latest revision as of 18:56, 21 July 2016

integer getDefaultDieDecay(void);

This function returns a value known as the default die decay, not much is known yet about the exact meaning of the returned value. Please review the following topic on the JoinUO forums: House decay time.

This function can be used to detect the decay mode the server is currently using. The following list represents the return values of this function and the related decay modes.

0x48 = mode 1
0xFA = mode 0
0xFF = mode 2

Please refer to the setDecayTest function for more information about the modes.


Return to the Command List.