|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Mar 2003
Posts: 132
|
i found none about it in entire forum, so i decide to post one
according to 2.0 changelog - "Treasures of Tokuno system added. Defaults to requiring the expansion to be set to SE and only SE." but i still don't know how to enable TOT only in ..\Scripts\Misc\CurrentExpansion.cs Code:
private static readonly Expansion Expansion = Expansion.ML;
public static void Configure()
{
Core.Expansion = Expansion;
bool Enabled = Core.AOS;
also, i wander if i set "Expansion.SE", does ML function still enable ? |
|
|
|
|
|
#2 (permalink) | |
|
Account Terminated
|
Quote:
|
|
|
|
|
|
|
#3 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
in TreasuresOfTokuno.cs change this line
Code:
private static bool m_Enabled = (Core.Expansion == Expansion.SE); Code:
private static bool m_Enabled = (Core.Expansion >= Expansion.SE);
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
#4 (permalink) |
|
Forum Novice
Join Date: Mar 2003
Posts: 132
|
i would say "thank you" first
but are you sure ">=" works ? i don't think Expansion.ML >= SE, there's no arithmetical or logical relationship between them. maybe "!=" is a nice choice, any idea ? by the way Code:
private static readonly Expansion Expansion = Expansion.ML;
public static void Configure()
{
Core.Expansion = Expansion;
bool Enabled = Core.AOS;
in my opinion, Expansion is enable when core.AOS is true, but isn't RunUO2.0-core SE ? otherwise it can't support SE function still confused... need help! Last edited by 1235; 06-28-2006 at 05:21 AM. |
|
|
|
|
|
#5 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
'Expansion' is an enum which simple maps the names AOS, SE, and ML to the values 1, 2, and 3, so the answer is, yes, it will work.
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|