RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

how to enable treasures of tokuno

1235

Sorceror
how to enable treasures of tokuno

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;

how to enable TOT? need help ,thx
also, i wander if i set "Expansion.SE", does ML function still enable ?
 

Phantom

Knight
also, i wander if i set "Expansion.SE", does ML function still enable ?

If you set the expansion to support SE features why would it support ML features? If you want to enable this system you need set the expansion to SE just like the changelog said.
 

ArteGordon

Wanderer
in TreasuresOfTokuno.cs change this line

Code:
private static bool m_Enabled = (Core.Expansion == Expansion.SE);

to something like

Code:
private static bool m_Enabled = (Core.Expansion >= Expansion.SE);

and then it will work for SE or ML
 

1235

Sorceror
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 code above, if the expansion is ML, what does this mean "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!
 

ArteGordon

Wanderer
'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.
 

etherplague

Sorceror
how to enable treasures of tokuno

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;

how to enable TOT? need help ,thx
also, i wander if i set "Expansion.SE", does ML function still enable ?

I found that i didnt have an Enable in the totadmin account and i didnt have the totstone, but i did figure out another way to enable tots.
Look for this in TreasuresOfTokuno.cs

public static TreasuresOfTokunoEra DropEra
{
get { return _DropEra; }
set { _DropEra = value; }
and change it to

public static TreasuresOfTokunoEra DropEra
{
get { return _DropEra; }
set { _DropEra = TreasuresOfTokunoEra.ToTThree; }
Thats what got them to start dropping for me. You can check it with totadmin and see it enabled.
 
Top