bidogo

Initiate
Hi guys! i decided to try making another server with the new high seas support.
i run into a issue i can't solve!
My alter item option is not working on artifacts, only on normal items.
Can someone please point me how to fix?
I'm super rusty on scripting!

Thanks!
 
There is nothing blocking artifacts from being altered. However, each artifact must have the AlterableAttribute defined:

[Alterable(typeof(DefTailoring), typeof(GargishRunedSashOfWarding), true)]
public class RunedSashOfWarding : BodySash
 
I'm very sorry to bother again... can anyone give me any pointers?

[Alterable(typeof(DefBlacksmithy), typeof(GargishBladeOfTheRighteous), true)]
public class BladeOfTheRighteous : Longsword

and here is what i get when start the server!

Thanks for the help!
[doublepost=1476114672][/doublepost]
It can be cumbersome setting for each artifact, but the system needs to know what to turn it into.
np at all! if i learn how to do, i'll gladly script every artifact!
but i'm rusty as hell, it's been like 5 years since i fool around with uo servers
 

Attachments

  • servuo alter problem.png
    servuo alter problem.png
    776.2 KB · Views: 7
I'm gonna guess you aren't using Visual Studio :)

You need to add this to the using directives up top:

using Server.Engines.Craft;


And its no bother, its why we are here.
 
I'm gonna guess you aren't using Visual Studio :)

You need to add this to the using directives up top:

using Server.Engines.Craft;


And its no bother, its why we are here.

thanks again ravenwolfe! you're right, i was scripting on word pad lol... i'm downloading visual studio right now. Thank you very much for the patience
[doublepost=1476132364][/doublepost]
thanks again ravenwolfe! you're right, i was scripting on word pad lol... i'm downloading visual studio right now. Thank you very much for the patience

I'm very grateful, works perfectly! thank you very much kind sir.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back