Ultima Online?
2 posters
Page 1 of 1
Ultima Online?
Have you ever heard or played a game called Ultima Online? I have a server i am running for people to play for free and it uses C#. I was wondering if you would be able to try and help me out with some scripting.
Here is a sample script of an item...
Here is a sample script of an item...
- Code:
using System;
using Server.Items;
using Server.Mobiles;
namespace Server.Items
{
public class HoodedRobe : Robe
{
[Constructable]
public HoodedRobe()
{
ItemID = 9860;
Weight = 10.0;
Name = "Hooded Robe";
Hue = 1975;
LootType = LootType.Blessed;
Attributes.WeaponDamage = 100;
Attributes.BonusInt = 50;
Attributes.BonusHits = 25;
Attributes.ReflectPhysical = 65;
}
public HoodedRobe(Serial serial): base(serial)
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
public override void OnDoubleClick( Mobile from )
{
if (this.ItemID == 9860) this.ItemID = 7939;
else if (this.ItemID == 7939) this.ItemID = 9860;
}
}
}
Espcevan- Posts : 12
Join date : 2011-09-13
Age : 36
Location : Western NY
Re: Ultima Online?
Maybe I'm a little confused, but what are you asking my assistance on? I see that this is code to construct an object in Ultima, but what point are you needing the assistance with? And just as a note, C+ is actual code, not script. Scripting implies line by line interpretation of instructions, where as C and it's variants are compiled object oriented code.
Re: Ultima Online?
Well, I guess what I'm really looking for is someone that can script for me. I'm decent at modding but no where near what i would like to be able to do. One script in general is what i really want. Im looking to make a system for the game where players vote for "Mayors" for selected towns and then the mayor can add deco to the towns and so forth. If you would like to see what ultima online is like u can log into my server.
Lumyr : UO
Lumyr : UO
Espcevan- Posts : 12
Join date : 2011-09-13
Age : 36
Location : Western NY
Re: Ultima Online?
Ok, now that there is a goal, I must unfortunately say I don't believe I would be of help. I haven't had experience with C unfortunately, so I would more than likely hamper your progress as I would have to learn from the ground up.
Re: Ultima Online?
not a problem. Im learning slowly so i guess in time ill get it. Have you ever heard of Ultima online? its a really fun game and its FREE to play on some servers.
Espcevan- Posts : 12
Join date : 2011-09-13
Age : 36
Location : Western NY
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
2016-08-21, 6:03 am by Khristos
» Chat with the Admin
2016-08-21, 3:14 am by Khristos
» DDChr - Updates
2016-07-29, 5:25 pm by Khristos
» DDChr - Suggestions
2015-11-20, 8:05 am by Khristos
» DDChr - Issues
2015-11-20, 8:04 am by Khristos
» New NPC List
2014-11-30, 5:45 pm by Khristos
» Eve-Pricer Now v1.6.1 and Going Mobile!
2013-08-09, 3:54 pm by Khristos
» Eve-Pricer - Issues
2013-08-09, 3:04 pm by Khristos
» VMS is now on Facebook!
2012-10-02, 4:11 pm by Khristos