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 04-03-2007, 05:35 PM   #76 (permalink)
Forum Newbie
 
Join Date: Dec 2006
Age: 17
Posts: 4
Default

Hi Lucid. Your lvl system is best that i know. But maybe i found another mistake. My Acceslevel is owner and when i use a commands [myexp or [getexp i get a message "this is not a valid command". Is it mistake when you repair gumps showing level, exps, skillpts, ... or is there something bad in my runuo?ks
Thank you for advice.
Clames is offline   Reply With Quote
Old 04-03-2007, 09:20 PM   #77 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile

Quote:
Originally Posted by Clames View Post
Hi Lucid. Your lvl system is best that i know. But maybe i found another mistake. My Acceslevel is owner and when i use a commands [myexp or [getexp i get a message "this is not a valid command". Is it mistake when you repair gumps showing level, exps, skillpts, ... or is there something bad in my runuo?ks
Thank you for advice.
If you look carefully at the code you will see the info that you are seeking
Code:
public static void Initialize()
{
CommandSystem.Register( "GetInfo", AccessLevel.GameMaster, new CommandEventHandler( GetInfo_OnCommand ) );
CommandSystem.Register( "MyInfo", AccessLevel.Player, new CommandEventHandler( MyInfo_OnCommand ) );
CommandSystem.Register( "BODInfo", AccessLevel.Player, new CommandEventHandler( BODInfo_OnCommand ) );
}
Players use the command: [MyInfo and [BODInfo
Staff use the command: [GetInfo

The GetInfo command brings up a properties menu allowing staff to change the module info on anyone they target.
__________________
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 04-10-2007, 03:04 PM   #78 (permalink)
Forum Newbie
 
Join Date: Dec 2006
Age: 17
Posts: 4
Default

i found another mistake. "[getinfo" command shows me a target cursor and when i target a player a get a msg "that is to far away". when i am near the player it shows me gump to edit my module so i cant edit modules of other players.
Thanks for all your help.
Clames is offline   Reply With Quote
Old 04-11-2007, 04:23 PM   #79 (permalink)
Forum Novice
 
qwerty84's Avatar
 
Join Date: Apr 2006
Location: Abbiategrasso, Italy
Age: 24
Posts: 134
Send a message via ICQ to qwerty84 Send a message via MSN to qwerty84
Default

the command [ACC is not a function
qwerty84 is offline   Reply With Quote
Old 04-13-2007, 06:30 AM   #80 (permalink)
Forum Novice
 
qwerty84's Avatar
 
Join Date: Apr 2006
Location: Abbiategrasso, Italy
Age: 24
Posts: 134
Send a message via ICQ to qwerty84 Send a message via MSN to qwerty84
Default

Fix for [acc command and open gump

Excuse my terible englisc
Attached Files
File Type: cs ACCGump.cs (4.3 KB, 51 views)
qwerty84 is offline   Reply With Quote
Old 06-08-2007, 03:10 PM   #81 (permalink)
Forum Expert
 
drgsldr69's Avatar
 
Join Date: Feb 2003
Location: illinois
Age: 32
Posts: 301
Send a message via ICQ to drgsldr69 Send a message via AIM to drgsldr69 Send a message via MSN to drgsldr69 Send a message via Yahoo to drgsldr69
Default

hmmm where can i get the a_li_n stuff for this cause as is the link aint opening the page to download it it goes to a forum but there is no download there.
drgsldr69 is offline   Reply With Quote
Old 06-08-2007, 03:51 PM   #82 (permalink)
Forum Expert
 
drgsldr69's Avatar
 
Join Date: Feb 2003
Location: illinois
Age: 32
Posts: 301
Send a message via ICQ to drgsldr69 Send a message via AIM to drgsldr69 Send a message via MSN to drgsldr69 Send a message via Yahoo to drgsldr69
Default

ok nm fixed all problems

Last edited by drgsldr69; 06-08-2007 at 07:58 PM.
drgsldr69 is offline   Reply With Quote
Old 06-10-2007, 10:33 AM   #83 (permalink)
Newbie
 
Join Date: Dec 2004
Location: UK
Age: 44
Posts: 10
Send a message via Yahoo to jpmythic
Smile Minor tweak to Age System

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

Last edited by jpmythic; 06-10-2007 at 10:40 AM.
jpmythic is offline   Reply With Quote
Old 06-26-2007, 12:19 PM   #84 (permalink)
Forum Newbie
 
Join Date: Jun 2007
Posts: 2
Default getting some errors

We installed the files and we think that we have them all here but errors keep popping up with the Player.mobile file. I would post the errors exactly but i don't see how to copy them in here. we are getting 5 different errors with the Scripts from the easy lvl system all concerning the server.mobiles.playermobiles does not contain a def'n for "playermodule"

we are at a complete loss as to what to do to fix it

thanks in advance for your help
idgfight is offline   Reply With Quote
Old 06-27-2007, 02:21 PM   #85 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Thumbs up

I have some similiar problems with the Central Memory in all of my systems. I am planning a major overhaul. I have recently started scripting on Second Life but plan on continuing my support here too. Second Life will be taking up a lot of my time. I am working with a team of people scripting motorcycles. I have sat back and wrote out how I can fix all these systems and what core changes need to take place. I am confident that these new changes will put me in the right direction. I ask for your patience and all ideas are always welcome. This is OUR script. Many thanks................Lucid Nagual.
__________________
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 08-19-2007, 04:12 PM   #86 (permalink)
Lurker
 
Join Date: Aug 2007
Age: 24
Posts: 6
Default i use runuo svn 200 please help me..

1. install all follow this method and run sever no problem..

2. but [acc or [getexp not ..play

and levelcontrolston click is sever crash

what this problem .....? gump windows not appear....

only use [level or [qs

please tell me ...who success svn + this script?
hwang1 is offline   Reply With Quote
Old 08-25-2007, 04:26 PM   #87 (permalink)
Newbie
 
Join Date: Dec 2006
Posts: 15
Default so when does the leveling start?

ok i got everything to load in the server. its all there, but when i start a new character and kill a bunch of monsters, i dont get any exp, am i not doing something right?? do i have to state how much exp a monster gives? and if so could someone tell me how, also i tried killing things like rats and stuff, also i still gain skill like regular not like the system says, do i have to throw out the regular one?? and where is it located.

thanks
Enigma-Doom is offline   Reply With Quote
Old 08-26-2007, 11:54 AM   #88 (permalink)
Forum Expert
 
Join Date: Mar 2004
Location: MDI Maine
Age: 19
Posts: 833
Send a message via ICQ to bacaw Send a message via MSN to bacaw
Default

Quote:
Originally Posted by Enigma-Doom View Post
ok i got everything to load in the server. its all there, but when i start a new character and kill a bunch of monsters, i dont get any exp, am i not doing something right?? do i have to state how much exp a monster gives? and if so could someone tell me how, also i tried killing things like rats and stuff, also i still gain skill like regular not like the system says, do i have to throw out the regular one?? and where is it located.

thanks
enigma i posted what ibelieve is the solution for your problems in your Script Support forum
__________________
~Wanderer~
bacaw is offline   Reply With Quote
Old 08-30-2007, 04:44 PM   #89 (permalink)
Lurker
 
Join Date: May 2007
Age: 17
Posts: 1
Default

RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (12 errors, 0 warnings)
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1001: (line
137, column 64) Identifier expected
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1519: (line
137, column 81) Invalid token '>' in class, struct, or interface member declara
tion
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1519: (line
137, column 88) Invalid token ')' in class, struct, or interface member declara
tion
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1520: (line
139, column 9) Class, struct, or interface method must have a return type
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1001: (line
139, column 36) Identifier expected
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1001: (line
139, column 43) Identifier expected
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1519: (line
140, column 29) Invalid token '(' in class, struct, or interface member declara
tion
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1519: (line
140, column 35) Invalid token ',' in class, struct, or interface member declara
tion
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1519: (line
140, column 48) Invalid token ')' in class, struct, or interface member declara
tion
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1518: (line
144, column 19) Expected class, delegate, enum, interface, or struct
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1518: (line
153, column 19) Expected class, delegate, enum, interface, or struct
- Error: c:\Documents and Settings\Jára\Plocha\e\Scripts\Nová složka\Customs\Lu
cid's Systems\Bacaw's Easy Level System\Reward Items\Sprinkler.cs: CS1022: (line
249, column 1) Type or namespace definition, or end-of-file expected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again. What about it?
pivna is offline   Reply With Quote
Old 10-28-2007, 11:24 PM   #90 (permalink)
Forum Novice
 
Arwen_NightHawk's Avatar
 
Join Date: Oct 2003
Location: Missouri
Age: 33
Posts: 335
Send a message via ICQ to Arwen_NightHawk
Default

Hey Lucid, just a quick question. When my players choose the weapon part, it gives them a brand new weapon with an attribute that they chose. How do I change it to where they can add 3 attributes to that one weapon without it giving them a brand new weapon each time with just one of those attributes? I looked through the scripts but I couldnt find anything about the weapon it gives part. Thanks hun. This is an awesome script btw. So thanks bunches to you and Bacaw.
Arwen_NightHawk is offline   Reply With Quote
Old 11-15-2007, 09:28 PM   #91 (permalink)
Forum Novice
 
Arwen_NightHawk's Avatar
 
Join Date: Oct 2003
Location: Missouri
Age: 33
Posts: 335
Send a message via ICQ to Arwen_NightHawk
Default

Not sure what is going on here. But.....
Code:
Errors:
 + Custom/Distro Mods/PlayerMobile.cs:
    CS0117: Line 97: 'Server.Mobiles.PlayerMobile.CountAndTimeStamp' does not co
ntain a definition for 'Serial'
    CS0117: Line 101: 'Server.Mobiles.PlayerMobile.CountAndTimeStamp' does not c
ontain a definition for 'Serial'
    CS0117: Line 102: 'Server.Mobiles.PlayerMobile.CountAndTimeStamp' does not c
ontain a definition for 'Serial'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/Gumps/Leve
landQSGumps.cs:
    CS0117: Line 32: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'PlayerModule'
    CS0117: Line 50: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'PlayerModule'
    CS0117: Line 334: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
    CS0117: Line 748: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
    CS0117: Line 757: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/Gumps/Skil
lPointRewardGump.cs:
    CS0117: Line 182: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/Gumps/WepU
pgradeGump.cs:
    CS0117: Line 464: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/Reward Ite
ms/LevelRewardBall.cs:
    CS0117: Line 33: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'PlayerModule'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/EXPTest.cs
:
    CS0117: Line 32: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'PlayerModule'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
I put the 2 lines in playermobile like I was suppose to:
Code:
using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Misc;
using Server.Items;
using Server.Gumps;
using Server.Multis;
using Server.Engines.Help;
using Server.ContextMenus;
using Server.Network;
using Server.Spells;
using Server.Spells.Fifth;
using Server.Spells.Sixth;
using Server.Spells.Seventh;
using Server.Spells.Necromancy;
using Server.Spells.Ninjitsu;
using Server.Spells.Bushido;
using Server.Targeting;
using Server.Engines.Quests;
using Server.Factions;
using Server.Regions;
using Server.Accounting;
using Server.Engines.CannedEvil;
using Server.Engines.Craft;
using Server.Spells.Spellweaving;
//Customs
using Server.ACC.CM;
using Server.LucidNagual;
//Customs

namespace Server.Mobiles
{
	#region Enums
	[Flags]
	public enum PlayerFlag // First 16 bits are reserved for default-distro use, start custom flags at 0x00010000
	{
		None				= 0x00000000,
		Glassblowing		= 0x00000001,
		Masonry				= 0x00000002,
		SandMining			= 0x00000004,
		StoneMining			= 0x00000008,
		ToggleMiningStone	= 0x00000010,
		KarmaLocked			= 0x00000020,
		AutoRenewInsurance	= 0x00000040,
		UseOwnFilter		= 0x00000080,
		PublicMyRunUO		= 0x00000100,
		PagingSquelched		= 0x00000200,
		Young				= 0x00000400,
		AcceptGuildInvites	= 0x00000800,
		DisplayChampionTitle= 0x00001000,
		
		#region Mondain's Legacy
		Bedlam				= 0x00010000,
		LibraryFriend		= 0x00020000,
		Spellweaving		= 0x00040000,
		#endregion
	}

	public enum NpcGuild
	{
		None,
		MagesGuild,
		WarriorsGuild,
		ThievesGuild,
		RangersGuild,
		HealersGuild,
		MinersGuild,
		MerchantsGuild,
		TinkersGuild,
		TailorsGuild,
		FishermensGuild,
		BardsGuild,
		BlacksmithsGuild
	}

	public enum SolenFriendship
	{
		None,
		Red,
		Black
	}
	#endregion

	public class PlayerMobile : Mobile, IHonorTarget
	{
		private class CountAndTimeStamp
		{
////////PlayerModule edit.
        private PlayerModule m_PlayerModule;
		
        [CommandProperty( AccessLevel.GameMaster )]
        public PlayerModule PlayerModule
        {
            get
	{
	    PlayerModule existingModule = ( PlayerModule )CentralMemory.GetModule( this.Serial, typeof( PlayerModule ) );
				
	    if ( existingModule == null )
	    {
	        PlayerModule module = new PlayerModule( this.Serial );
	        CentralMemory.AppendModule( this.Serial, module, true );
					
	        return ( m_PlayerModule = module as PlayerModule );
	   }
	   else
	   {
	       if ( m_PlayerModule != null )
	           return m_PlayerModule;
					
	       return ( m_PlayerModule = existingModule as PlayerModule );
	   }
                }
           }
/////////PlayerModule edit.

			private int m_Count;
			private DateTime m_Stamp;

			public CountAndTimeStamp()
			{
			}
And not sure if this has anything to do with it...but I am using SVN 264
What it is asking for is in playermobile so I dont understand the error. Thank you. I will take this out until its fixed...but I hate doing that because I have it on my current shard and its working perfectly. So was hoping to put it in my upgrade. Thanks to all.
Arwen_NightHawk is offline   Reply With Quote
Old 11-16-2007, 12:20 AM   #92 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Quote:
Originally Posted by Arwen_NightHawk View Post
Not sure what is going on here. But.....
Code:
Errors:
 + Custom/Distro Mods/PlayerMobile.cs:
    CS0117: Line 97: 'Server.Mobiles.PlayerMobile.CountAndTimeStamp' does not co
ntain a definition for 'Serial'
    CS0117: Line 101: 'Server.Mobiles.PlayerMobile.CountAndTimeStamp' does not c
ontain a definition for 'Serial'
    CS0117: Line 102: 'Server.Mobiles.PlayerMobile.CountAndTimeStamp' does not c
ontain a definition for 'Serial'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/Gumps/Leve
landQSGumps.cs:
    CS0117: Line 32: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'PlayerModule'
    CS0117: Line 50: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'PlayerModule'
    CS0117: Line 334: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
    CS0117: Line 748: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
    CS0117: Line 757: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/Gumps/Skil
lPointRewardGump.cs:
    CS0117: Line 182: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/Gumps/WepU
pgradeGump.cs:
    CS0117: Line 464: 'Server.Mobiles.PlayerMobile' does not contain a definitio
n for 'PlayerModule'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/Reward Ite
ms/LevelRewardBall.cs:
    CS0117: Line 33: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'PlayerModule'
 + Custom/Systems/Bacaw's Easy Level System/Bacaw's Easy Level System/EXPTest.cs
:
    CS0117: Line 32: 'Server.Mobiles.PlayerMobile' does not contain a definition
 for 'PlayerModule'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
I put the 2 lines in playermobile like I was suppose to:
Code:
using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Misc;
using Server.Items;
using Server.Gumps;
using Server.Multis;
using Server.Engines.Help;
using Server.ContextMenus;
using Server.Network;
using Server.Spells;
using Server.Spells.Fifth;
using Server.Spells.Sixth;
using Server.Spells.Seventh;
using Server.Spells.Necromancy;
using Server.Spells.Ninjitsu;
using Server.Spells.Bushido;
using Server.Targeting;
using Server.Engines.Quests;
using Server.Factions;
using Server.Regions;
using Server.Accounting;
using Server.Engines.CannedEvil;
using Server.Engines.Craft;
using Server.Spells.Spellweaving;
//Customs
using Server.ACC.CM;
using Server.LucidNagual;
//Customs

namespace Server.Mobiles
{
	#region Enums
	[Flags]
	public enum PlayerFlag // First 16 bits are reserved for default-distro use, start custom flags at 0x00010000
	{
		None				= 0x00000000,
		Glassblowing		= 0x00000001,
		Masonry				= 0x00000002,
		SandMining			= 0x00000004,
		StoneMining			= 0x00000008,
		ToggleMiningStone	= 0x00000010,
		KarmaLocked			= 0x00000020,
		AutoRenewInsurance	= 0x00000040,
		UseOwnFilter		= 0x00000080,
		PublicMyRunUO		= 0x00000100,
		PagingSquelched		= 0x00000200,
		Young				= 0x00000400,
		AcceptGuildInvites	= 0x00000800,
		DisplayChampionTitle= 0x00001000,
		
		#region Mondain's Legacy
		Bedlam				= 0x00010000,
		LibraryFriend		= 0x00020000,
		Spellweaving		= 0x00040000,
		#endregion
	}

	public enum NpcGuild
	{
		None,
		MagesGuild,
		WarriorsGuild,
		ThievesGuild,
		RangersGuild,
		HealersGuild,
		MinersGuild,
		MerchantsGuild,
		TinkersGuild,
		TailorsGuild,
		FishermensGuild,
		BardsGuild,
		BlacksmithsGuild
	}

	public enum SolenFriendship
	{
		None,
		Red,
		Black
	}
	#endregion

	public class PlayerMobile : Mobile, IHonorTarget
	{
		private class CountAndTimeStamp
		{
////////PlayerModule edit.
        private PlayerModule m_PlayerModule;
		
        [CommandProperty( AccessLevel.GameMaster )]
        public PlayerModule PlayerModule
        {
            get
	{
	    PlayerModule existingModule = ( PlayerModule )CentralMemory.GetModule( this.Serial, typeof( PlayerModule ) );
				
	    if ( existingModule == null )
	    {
	        PlayerModule module = new PlayerModule( this.Serial );
	        CentralMemory.AppendModule( this.Serial, module, true );
					
	        return ( m_PlayerModule = module as PlayerModule );
	   }
	   else
	   {
	       if ( m_PlayerModule != null )
	           return m_PlayerModule;
					
	       return ( m_PlayerModule = existingModule as PlayerModule );
	   }
                }
           }
/////////PlayerModule edit.

			private int m_Count;
			private DateTime m_Stamp;

			public CountAndTimeStamp()
			{
			}
And not sure if this has anything to do with it...but I am using SVN 264
What it is asking for is in playermobile so I dont understand the error. Thank you. I will take this out until its fixed...but I hate doing that because I have it on my current shard and its working perfectly. So was hoping to put it in my upgrade. Thanks to all.
You put the lines in the wrong spot:
Try moving this

Code:
////////PlayerModule edit.
        private PlayerModule m_PlayerModule;
		
        [CommandProperty( AccessLevel.GameMaster )]
        public PlayerModule PlayerModule
        {
            get
	{
	    PlayerModule existingModule = ( PlayerModule )CentralMemory.GetModule( this.Serial, typeof( PlayerModule ) );
				
	    if ( existingModule == null )
	    {
	        PlayerModule module = new PlayerModule( this.Serial );
	        CentralMemory.AppendModule( this.Serial, module, true );
					
	        return ( m_PlayerModule = module as PlayerModule );
	   }
	   else
	   {
	       if ( m_PlayerModule != null )
	           return m_PlayerModule;
					
	       return ( m_PlayerModule = existingModule as PlayerModule );
	   }
                }
           }
/////////PlayerModule edit.
above this line

Code:
private class CountAndTimeStamp

Last edited by Tru; 11-16-2007 at 12:23 AM.
Tru is offline   Reply With Quote
Old 11-16-2007, 01:50 AM   #93 (permalink)
Forum Novice
 
Arwen_NightHawk's Avatar
 
Join Date: Oct 2003
Location: Missouri
Age: 33
Posts: 335
Send a message via ICQ to Arwen_NightHawk
Default

Ugg that was it. I swore I had it in the right place and it looked right to me everytime I looked at it. LOL. Thank you for having better eyes then me. Also I am on Q..just hidden. I will make it where you can see me whenever you are on. Thank you again hun. *hugs*
Arwen_NightHawk is offline   Reply With Quote
Old 02-03-2008, 02:01 AM   #94 (permalink)
Lurker
 
Join Date: Jan 2006
Posts: 3
Default

Heya Lucid, you've got a great level system, and I thoroughly enjoy all of the features it offers.Unfortunatly, I'm running into some problems. When I use this system, none of the commands work, like [getexp, etc, and when players try to craft weapons using the skillpoints, they can only add one attribute, and the weapon gump closes. I had found what I believe is an older system, the 3.0 version I think, and this fixed the weapon gump problem, but then I realized skillpoints were not randomly dropping like they should. I've been working on it for a good 3 hours now without a clue on what could be wrong. Skillpoints is set to true in the els settings, and the data center. Any advice on this situation would be greatly appreciated.


Edit: I reinstalled, and realized I was using the wrong command, so that parts fixed. But the weapon gump still closes when you try to add an attribute. I will continue to try to fix this issue, but I noticed Arwin was having an issue similar to this, but perhaps I read it wrong.

Last edited by MetaPsychosis; 02-03-2008 at 02:22 AM. Reason: partial problem fixed.
MetaPsychosis is offline   Reply With Quote
Old 02-24-2008, 03:17 PM   #95 (permalink)
Forum Novice
 
Hands Of God's Avatar
 
Join Date: Dec 2004
Age: 21
Posts: 121
Default

How do i make it harder to level.
Hands Of God is offline   Reply With Quote
Old 03-04-2008, 10:55 PM   #96 (permalink)
Forum Novice
 
Arwen_NightHawk's Avatar
 
Join Date: Oct 2003
Location: Missouri
Age: 33
Posts: 335
Send a message via ICQ to Arwen_NightHawk
Default

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?
__________________
Quote:
Originally Posted by Lord_Greywolf
rep is like BS - it has to be spread around to be of any use to anyone
Arwen_NightHawk is offline   Reply With Quote