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!

Expansions Disabled - Expansion Art Enabled

newbies13

Sorceror
I am looking to try and re-enable the art for expansions while disabling the expansion for the most part. I can still spawn AOS monsters for example, but their art is wrong. Beatles show up as llama's, wyverns show up as drakes etc.

I had done this before by changing the packet information in AOS.cs to always use the aos packets even when disabled. But with the newest version of runuo, how this is all done appears to have changed. So I have been searching the forums, and found a few solutions that use Server.Network.SupportedFeatures, all of these are currently throwing errors as well though, and use various different packets, making it unclear as to which is correct.

So!

If someone could shed some light on the situation that would be lovely.

Currently I have SupportedFeatures.Value = 0x82DF; in the config portion of my currentexpansion.cs, it is giving me an error that I can not convert an int to a Supported Feature Flag, which is strange since 0x82DF isn't an int... And I am also not 100% on that being the correct packet.
 

newbies13

Sorceror
Figured it out. This seems to be adding the art so far.

Made a new file called expansionart.cs in my custom folder, and put this in it.

Code:
using System;
using Server;
using Server.Network;

namespace Server.Misc
{
    public class ExpansionArt
    {
          public static void Initialize() {
           Server.Network.SupportedFeatures.Value = FeatureFlags.ExpansionSA;

        }
    }
}
 
Figured it out. This seems to be adding the art so far.

Made a new file called expansionart.cs in my custom folder, and put this in it.

Code:
using System;
using Server;
using Server.Network;

namespace Server.Misc
{
    public class ExpansionArt
    {
          public static void Initialize() {
           Server.Network.SupportedFeatures.Value = FeatureFlags.ExpansionSA;

        }
    }
}
thanks for sharing your findings
 

spawndef

Sorceror
Work perfectly Thanks.
[Runuo 2.1 SVN 669]

Figured it out. This seems to be adding the art so far.

Made a new file called expansionart.cs in my custom folder, and put this in it.
Code:
using System;
using Server;
using Server.Network;

namespace Server.Misc
{
    public class ExpansionArt
    {
          public static void Initialize() {
          Server.Network.SupportedFeatures.Value = FeatureFlags.ExpansionSA;

        }
    }
}
 
Top