Page 1 of 1
Change how TOTAME=0 works?
Posted: Fri Feb 24, 2006 9:53 pm
by Xuri
According to both stratics and uo.com's bestiary, there are animals that require 0.0 taming skill to be able to tame. Cats, for instane. This is currently impossible in UOX3 as any creature with a TOTAME value of 0 is impossible to tame.
The question is - should we keep it that way, and set a minimum required TOTAME=1 taming those animals, or allow taming of creatures with TOTAME=0 and find a different way of disallowing taming something?
Posted: Fri Feb 24, 2006 9:58 pm
by giwo
Well, technically a player could have 0.0 taming skill and want to train by taming animals.... that being the case It would be a good idea to default TOTAME to, maybe 0xFFFF, and then anything with TOTAME=0 is tamable even at 0 skill.
Posted: Sat Feb 25, 2006 2:08 pm
by Xuri
Default it to 0xFFFF in the DFNs or in the source?
Posted: Sat Feb 25, 2006 2:47 pm
by Grimson
Xuri wrote:Default it to 0xFFFF in the DFNs or in the source?
I guess in the source. And change the following lines in taming.js:
Code: Select all
else if( skillToTame == 0 || skillToTame > 1000 )
pSock.SysMessage( GetDictionaryEntry( 1593, pLanguage ) );
to:
Code: Select all
else if( skillToTame > 1000 )
pSock.SysMessage( GetDictionaryEntry( 1593, pLanguage ) );
Posted: Sat Feb 25, 2006 3:07 pm
by Grimson
Grimson wrote:
I guess in the source. And change the following lines in taming.js:
Code: Select all
else if( skillToTame == 0 || skillToTame > 1000 )
pSock.SysMessage( GetDictionaryEntry( 1593, pLanguage ) );
to:
Code: Select all
else if( skillToTame > 1000 )
pSock.SysMessage( GetDictionaryEntry( 1593, pLanguage ) );
Done it, tested it and will commit it to the CVS in a few moments.
Posted: Sat Feb 25, 2006 3:12 pm
by Xuri
Might want to set that to > 1500 or something like that, as some creatures require more than 100.0 taming to tame

I've removed all TOTAME tags from non-tameable creatures already, so there should no longer be any non-tameable creatures with TOTAME tags above 1000.
Also, please default TOPROV and TOPEACE to 0xFFFF in the source as well.
Posted: Sat Feb 25, 2006 3:17 pm
by Grimson
Xuri wrote:Might want to set that to > 1500 or something like that, as some creatures require more than 100.0 taming to tame

I've removed all TOTAME tags from non-tameable creatures already, so there should no longer be any non-tameable creatures with TOTAME tags above 1000.
It defaults to 0x7FFF (maximum value for a SI16) which is 32767, should be high enough

.
Also, please default TOPROV and TOPEACE to 0xFFFF in the source as well.
Ok.