Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 05-04-2008, 10:06 AM   #101 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Thumbs up

Quote:
Originally Posted by drgsldr69 View Post
ok i see whre to edit the names of classes and races but how do you implment them? [myinfo says class none race human etc etc how do i change that or allow players to select a race and class?
The class and race system was never completed. I can start working on it if u like. Now would be a good time for ideas on how it should be structured. If u have any ideas on how the coding should be done or if u have ideas on the creative side... send them my way.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 05-04-2008, 10:09 AM   #102 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Thumbs up

Quote:
Originally Posted by Arwen_NightHawk View Post
I have a quick question...To make it where other skills gain exp points like say carpentry or tailoring...I looked in basecreature and seen this line

Code:
////////////////////////BEGINLEVELSYSTEMUPDATE
            EXPValidate.EXPTest(ds.m_Mobile,this);//Mod for Level System
///////////////////////ENDLEVELSYSTEMUPDA
Now if I add that line to say defcarpentry or deftailoring, would that make them gain exp points making those items?
Another great idea. I will take a look, but to be truthful.... sounds like I'll have to recode the EXPTest script. This would be a good time since I'm updating it.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 05-04-2008, 10:10 AM   #103 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Thumbs up

Quote:
Originally Posted by qwerty84 View Post
Fix for [acc command and open gump

Excuse my terible englisc
Thanks for sharing u'r fix with us Qwerty! I'll add it to my update.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 05-04-2008, 10:56 AM   #104 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Thumbs up

Quote:
Originally Posted by jpmythic View Post
In the Exptest.cs file add the Following:

The Basic setup at the Top....

Code:
//Mythic DEBUG
using Server.Network;
 
namespace Server.Mobiles
{
    public class EXPValidate
    {
        //Mythic DEBUG Begin
        public static void Initialize()
        {
            EventSink.Login += new LoginEventHandler(AgeTest_OnLogin);
        }
 
        private static void AgeTest_OnLogin(LoginEventArgs e)
        {
            Mobile from = e.Mobile;
 
            if (from != null)
            {
                AgeTest(from);
            }
        }
The add at the Bottom...

Code:
       //Mythic DEBUG Age System
        //IF Null we let AllSpells Create it
        //We only test this on each Login, NOT Every time we get experience
        //
        //Everyone starts at 18 for now...
        //Later maybe we have different Starting Ages by Race
        //Then every Interval their Age Incs a Year.
        //Simple
        public static void AgeTest(Mobile from)
        {
            Account acct = from.Account as Account;
            if (acct != null)
            {
                PlayerModule module = (PlayerModule)CentralMemory.GetModule(from.Serial, typeof(PlayerModule));     //pm.PlayerModule;
                if (module != null)
                {
                    if (module.Age < 18)
                    {
                        module.Age = 18;
                    }
                    else
                    {
                        TimeSpan totalTime = (DateTime.Now - acct.Created);
                        int testAge = ((int)totalTime.TotalDays % (int)AgeInterval.TotalDays) + 18;
                        if( module.Age < testAge )
                        {
                            module.Age = testAge;
                        }
                    }
                }
            }
        }
I removed the Age Test from Skill test during combat..
Excessive to check account age every time we award experience.

Mythic
Great idea Mythic! I added it to the system.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 10-14-2008, 12:02 AM   #105 (permalink)
Newbie
 
hellalex's Avatar
 
Join Date: Dec 2005
Posts: 83
Default

I was wondering how does the aging and race works? Does it work or it`s still under construction? and is there a way to add a new string under a players name, to show it`s level (ex: get.playermodule.level = {0} 0 being the level) without having to wipe out the players?

Last edited by hellalex; 11-24-2008 at 10:56 AM. Reason: Had more questions to ask.
hellalex is offline   Reply With Quote
Old 11-07-2008, 01:27 AM   #106 (permalink)
Lurker
 
Join Date: Sep 2007
Location: New Jersey
Age: 15
Posts: 3
Default

Hey, I tried to download the Alien thing, but when I got to there site and click that link the web page said it could not be found...
Shinra is offline   Reply With Quote
Old 11-09-2008, 01:06 PM   #107 (permalink)
Lurker
 
Artificer2008's Avatar
 
Join Date: Oct 2008
Posts: 5
Default Issues

I am still having this problem...

+ Customs/Lucid's Systems/Bacaw's Easy Level System/EXPTest.cs:
CS0234: Line 34: The type or namespace name 'LucidsCore' does not exist in the namespace 'Server' (are you missing an assembly reference?)

Any help would be great

Last edited by Artificer2008; 11-09-2008 at 01:20 PM. Reason: Resolved some issues
Artificer2008 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5