Döschl
Initiate
hi
i have two scripts ... here is the first
and in the second is one piece of that wok-set ... but server didnt like that...
server said, server.setitem does not have a definition of WOK
whats my mistake? i try to compile this set in JustUO .... the scripts runs in runuo2.3 .
I have no idea, what i have to change in this line 10 in wokarms.cs
Can anybody help me please?
Greetings Döschl
i have two scripts ... here is the first
Code:
using System;
using Server;
using Server.Mobiles;
namespace Server.Items
{
public class WOK : BaseTalisman
{
public override bool ForceShowName{ get{ return true; } }
[Constructable]
public WOK() : base( 0x2F58 )
{
Hue = 1281;
Name = "a racing wok";
Attributes.Luck = 60;
}
public WOK( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
and in the second is one piece of that wok-set ... but server didnt like that...
Code:
using System;
using Server.Items;
namespace Server.Items
{
public class WOKArms : LeatherHiroSode
{
public override SetItem SetID{ get{ return SetItem.WOK; } }
public override int Pieces{ get{ return 7; } }
public override int BasePhysicalResistance{ get{ return 10; } }
public override int BaseFireResistance{ get{ return 11; } }
public override int BaseColdResistance{ get{ return 11; } }
public override int BasePoisonResistance{ get{ return 11; } }
public override int BaseEnergyResistance{ get{ return 11; } }
server said, server.setitem does not have a definition of WOK
whats my mistake? i try to compile this set in JustUO .... the scripts runs in runuo2.3 .
I have no idea, what i have to change in this line 10 in wokarms.cs
Can anybody help me please?
Greetings Döschl