VampyreMan Studios - Project Boards
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Latest topics
» DDChr - ReadMe
Ultima Online? Empty2016-08-21, 6:03 am by Khristos

» Chat with the Admin
Ultima Online? Empty2016-08-21, 3:14 am by Khristos

» DDChr - Updates
Ultima Online? Empty2016-07-29, 5:25 pm by Khristos

» DDChr - Suggestions
Ultima Online? Empty2015-11-20, 8:05 am by Khristos

» DDChr - Issues
Ultima Online? Empty2015-11-20, 8:04 am by Khristos

» New NPC List
Ultima Online? Empty2014-11-30, 5:45 pm by Khristos

» Eve-Pricer Now v1.6.1 and Going Mobile!
Ultima Online? Empty2013-08-09, 3:54 pm by Khristos

» Eve-Pricer - Issues
Ultima Online? Empty2013-08-09, 3:04 pm by Khristos

» VMS is now on Facebook!
Ultima Online? Empty2012-10-02, 4:11 pm by Khristos

May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar


Ultima Online?

2 posters

Go down

Ultima Online? Empty Ultima Online?

Post  Espcevan 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 : 36
Location : Western NY

Back to top Go down

Ultima Online? Empty Re: Ultima Online?

Post  Khristos 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

http://www.vampyremanstudios.com

Back to top Go down

Ultima Online? Empty Re: Ultima Online?

Post  Espcevan 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 : 36
Location : Western NY

Back to top Go down

Ultima Online? Empty Re: Ultima Online?

Post  Khristos 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

http://www.vampyremanstudios.com

Back to top Go down

Ultima Online? Empty Re: Ultima Online?

Post  Espcevan 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 : 36
Location : Western NY

Back to top Go down

Ultima Online? Empty Re: Ultima Online?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


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