Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Latest topics
» DDChr - ReadMe
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

October 2017
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     

Calendar Calendar


Ultima Online?

View previous topic View next topic Go down

Ultima Online?

Post  Espcevan on 2012-03-12, 2:27 am

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

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 : 29
Location : Western NY

View user profile

Back to top Go down

Re: Ultima Online?

Post  Khristos on 2012-03-12, 4:27 pm

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.

Khristos

Posts : 54
Join date : 2009-12-01
Location : Camp Leatherneck, Afghanistan

View user profile http://www.vampyremanstudios.com

Back to top Go down

Re: Ultima Online?

Post  Espcevan on 2012-03-12, 4:33 pm

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

Espcevan

Posts : 12
Join date : 2011-09-13
Age : 29
Location : Western NY

View user profile

Back to top Go down

Re: Ultima Online?

Post  Khristos on 2012-03-13, 10:23 am

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.

Khristos

Posts : 54
Join date : 2009-12-01
Location : Camp Leatherneck, Afghanistan

View user profile http://www.vampyremanstudios.com

Back to top Go down

Re: Ultima Online?

Post  Espcevan on 2012-03-13, 11:48 am

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. Laughing

Espcevan

Posts : 12
Join date : 2011-09-13
Age : 29
Location : Western NY

View user profile

Back to top Go down

Re: Ultima Online?

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum