Page 1 of 1
How to set UOExpansion in accounts in pol096??
Posted: Sat Nov 22, 2008 4:46 am
by Sadahar
How to set UOExpansion in accounts in pol096??
i cant find the way :S
Id like to know also how to set the default expansion (currently: "T2A")
Re: How to set UOExpansion in accounts in pol096??
Posted: Thu Nov 27, 2008 12:31 am
by Yukiko
UOExpansion is a
member that can (should?) be set on the account when it is created.
Code: Select all
Account
{
Name someAccount
Password password
Enabled 1
Banned 1
UOExpansion ML
CProp LastIP a1:a2:S9:127.0.0.1S6:Character
CProp LastLogin i25323310
CProp email hopelivesproject@yahoo.com
}
You can use the
method account.Set_UO_Expansion(expansion) to set this
member's value on the respective account where
account is the object reference to an account and
expansion is a string containing one of the following values:
T2A
LBR
AOS
SE
ML
To set this on existing accounts I'd recommend having the logon.src script look for the UOExpansion
member and check it is set to "T2A" if not use the above
method to set it on the accounts as they log-in. For new accounts you'll want to add the above
method to your account creation script(s).
I hope this is helpful. If you need further help feel free to ask.
Re: How to set UOExpansion in accounts in pol096??
Posted: Wed Dec 03, 2008 2:40 am
by Sadahar
umm ill test it, but in docs that method doesnt appear until pol 097

Re: How to set UOExpansion in accounts in pol096??
Posted: Sat Dec 06, 2008 10:21 pm
by Yukiko
According to online docs for POL 0.96 it does exist see
http://docs.polserver.com/pol096/objref.php