RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO 2.0 RC1] Bacaw's <<_Easy Level System_>>

partystuffcloseouts;639708 said:
1.) Ok i removed the line ( using Server.LucidNagual; ) because of an error.

Sorry there is a couple of warnings in there that have nothing to do with this.
but the errors below the warnings will show what you need :)

2.) Then rebooted and the next error was this.

PHP:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 4 warnings)
Warnings:
 + Customs/Custom-Toolbar Furbar v2.0/Furbar GM ToolBar/FullToolbar.cs:
    CS0219: Line 146: The variable 'StrPos' is assigned but its value is never u
sed
 + Multis/BaseHouse.cs:
    CS0429: Line 59: Unreachable expression code detected
    CS0162: Line 62: Unreachable code detected
 + Misc/ServerList.cs:
    CS0618: Line 351: 'System.Net.Dns.Resolve(string)' is obsolete: 'Resolve is
obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.co
m/fwlink/?linkid=14202'
 + Multis/HouseSign.cs:
    CS0429: Line 103: Unreachable expression code detected
    CS0162: Line 105: Unreachable code detected
Errors:
 + Customs/Custom-Easy Level System Lucid Nagual v2.0/[2.0]Bacaw's - Easy Level
System v[3].0.1/EXPTest.cs:
    CS0246: Line 31: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 31: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 31: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0234: Line 34: The type or namespace name 'LucidsCore' does not exist in t
he namespace 'Server' (are you missing an assembly reference?)
    CS0103: Line 54: The name 'ControlCenter' does not exist in the current cont
ext
    CS0103: Line 60: The name 'ControlCenter' does not exist in the current cont
ext
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

Ok sry I edited the one that is used for the MegaPack and is gonna cause some problems, so I edited the script and included the DataCenter that contains the options for the MegaPack. Give it a try and let me know of any issues.

------------------------------------------------------

thank you lucid...hate to hear about hospitals...good luck

Thanks. Give these updates a try and let me know if they help you.
 

Attachments

  • Update.zip
    2.7 KB · Views: 90

Serapis

Wanderer
I downloaded your level system and it came with the ACC system as well, which I know you know. The server gave errors due to the level system. So I downloaded the update you posted a few days ago and tried again and I get this error which is the same one as the one I got before the update

PHP:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Lucid's Systems/Core/DataCenter.cs:
    CS0234: Line 28: The type or namespace name 'Enums' does not exist in the na
mespace 'Server' (are you missing an assembly reference?)
    CS0234: Line 29: The type or namespace name 'Messages' does not exist in the
 namespace 'Server' (are you missing an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
 
Serapis;665836 said:
I downloaded your level system and it came with the ACC system as well, which I know you know. The server gave errors due to the level system. So I downloaded the update you posted a few days ago and tried again and I get this error which is the same one as the one I got before the update

PHP:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Lucid's Systems/Core/DataCenter.cs:
    CS0234: Line 28: The type or namespace name 'Enums' does not exist in the na
mespace 'Server' (are you missing an assembly reference?)
    CS0234: Line 29: The type or namespace name 'Messages' does not exist in the
 namespace 'Server' (are you missing an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

OK re-d/l the package in post #1 it has been updated and is now in drag and drop format.
 

Sampiro

Wanderer
Lucid Nagual;665849 said:
OK re-d/l the package in post #1 it has been updated and is now in drag and drop format.



Hello, i downloaded the file after this up date. after placing this {EXPValidate.EXPTest(ds.m_Mobile,this);//Mod for Level System} in BaseCreature.cs. Thats all i have done to RunUo. Ok, now for whats wrong




Customs/lucid's Systems/Bacaw's Eazy Level System/EXPTest.cs:
CS0246: line 31: the Type or namespace name 'playermodule' could not be found <are you missing a using directive or an assembly reference?>
CS0246: line 31: the Type or namespace name 'playermodule' could not be found <are you missing a using directive or an assembly reference?>
CS0246: line 31: the Type or namespace name 'playermodule' could not be found <are you missing a using directive or an assembly reference?>
CS0234: line 34: The type or namespace name 'lucidscore' Does not exist in the namespace 'Server' <are you missing a using directive or an assembly reference?>




Thanks much.
 

Serapis

Wanderer
I get the same error. And yes I did download the one from the 1st post. :(

PHP:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Customs/Lucid's Systems/Bacaw's Easy Level System/EXPTest.cs:
    CS0246: Line 31: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 31: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 31: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0234: Line 34: The type or namespace name 'LucidsCore' does not exist in t
he namespace 'Server' (are you missing an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
 
Serapis;665989 said:
I get the same error. And yes I did download the one from the 1st post. :(

PHP:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
 + Customs/Lucid's Systems/Bacaw's Easy Level System/EXPTest.cs:
    CS0246: Line 31: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 31: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 31: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0234: Line 34: The type or namespace name 'LucidsCore' does not exist in t
he namespace 'Server' (are you missing an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

OK re-d/l the new package in post #1 and follow the instructions for a PlayerMobile edit.
 

Serapis

Wanderer
Ok. Redownloaded again and did what the directions said exactly and got this error.

PHP:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
Errors:
 + custom/Lucid's Systems/Modules/PlayerModule.cs:
    CS0234: Line 38: The type or namespace name 'DuelSystem' does not exist in t
he namespace 'Server' (are you missing an assembly reference?)
 + Mobiles/PlayerMobile.cs:
    CS0246: Line 77: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 80: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
 
Serapis;666297 said:
Ok. Redownloaded again and did what the directions said exactly and got this error.

PHP:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
Errors:
 + custom/Lucid's Systems/Modules/PlayerModule.cs:
    CS0234: Line 38: The type or namespace name 'DuelSystem' does not exist in t
he namespace 'Server' (are you missing an assembly reference?)
 + Mobiles/PlayerMobile.cs:
    CS0246: Line 77: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 80: The type or namespace name 'PlayerModule' could not be foun
d (are you missing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

Replace the PlayerModule with this one and don't forget the PlayerMobile edit at the top:
Code:
[B][COLOR=blue]After:[/COLOR][/B]
using Server.Engines.Craft;
[B][COLOR=blue]Add:[/COLOR][/B]
//Customs
using Server.ACC.CM;
using Server.LucidNagual;
//Customs
 

Attachments

  • PlayerModule.cs
    25.4 KB · Views: 92
Greetings. i have this error when i put this in my 2.0 server.

any help be great

Code:
Errors:
 + Mobiles/PlayerMobile.cs:
    CS0246: Line 113: The type or namespace name 'ClassGump' could not be found
(are you missing a using directive or an assembly reference?)
    CS1502: Line 113: The best overloaded method match for 'Server.Mobile.SendGu
mp(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 113: Argument '1': cannot convert from 'ClassGump' to 'Server.G
umps.Gump'
    CS0246: Line 116: The type or namespace name 'RavensRaceGump' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0103: Line 116: The name 'RavensRacePage' does not exist in the current co
ntext
    CS1502: Line 116: The best overloaded method match for 'Server.Mobile.SendGu
mp(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 116: Argument '1': cannot convert from 'RavensRaceGump' to 'Ser
ver.Gumps.Gump'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
 
WonderlandADnc;667651 said:
Greetings. i have this error when i put this in my 2.0 server.

any help be great

Code:
Errors:
 + Mobiles/PlayerMobile.cs:
    CS0246: Line 113: The type or namespace name 'ClassGump' could not be found
(are you missing a using directive or an assembly reference?)
    CS1502: Line 113: The best overloaded method match for 'Server.Mobile.SendGu
mp(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 113: Argument '1': cannot convert from 'ClassGump' to 'Server.G
umps.Gump'
    CS0246: Line 116: The type or namespace name 'RavensRaceGump' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0103: Line 116: The name 'RavensRacePage' does not exist in the current co
ntext
    CS1502: Line 116: The best overloaded method match for 'Server.Mobile.SendGu
mp(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 116: Argument '1': cannot convert from 'RavensRaceGump' to 'Ser
ver.Gumps.Gump'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

Change that edit to 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.
 

Clames

Sorceror
I dwnld all these files and put in my cusoms. Server started right but if i kill something in game and get exps, i always have exps on number 0 in [level gump.
can you help me please?
 
Clames;667811 said:
I dwnld all these files and put in my cusoms. Server started right but if i kill something in game and get exps, i always have exps on number 0 in [level gump.
can you help me please?

OK thx 4 the report. In the meantime your players can get their info by typing: [myinfo
 
Attention:

Updated to v[2].0.1 (e)
Fixes Include:
  • Some changes with packaging.
  • Changed the PlayerMobile edit instructions.
  • Some modifications to ExpTest.cs.
  • Modifications to the gumps.
  • Corrected and updated all module and null checks to the current system.
  • Fixed all stat info in the level gump.
 

Clames

Sorceror
With this update i get thic error.

Errors:
+ Customs/Lucid's Systems/Bacaw's Easy Level System/Reward Items/LevelRewardBal
l.cs:
CS0246: Line 31: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 31: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 31: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 32: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 32: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 71: The name 'ELS' does not exist in the current context

I hope that i do everything all right.
 
Clames;669982 said:
With this update i get thic error.

Errors:
+ Customs/Lucid's Systems/Bacaw's Easy Level System/Reward Items/LevelRewardBal
l.cs:
CS0246: Line 31: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 31: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 31: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 32: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0246: Line 32: The type or namespace name 'LevelKeeperModule' could not be
found (are you missing a using directive or an assembly reference?)
CS0103: Line 71: The name 'ELS' does not exist in the current context

I hope that i do everything all right.

Here is the fix:
 

Attachments

  • LevelRewardBall.cs
    3.2 KB · Views: 58

Clames

Sorceror
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;670081 said:
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:
[B][SIZE=2][COLOR=#0000ff]public [/B][/COLOR][/SIZE][SIZE=2][COLOR=#a52a2a]static [/COLOR][/SIZE][SIZE=2][COLOR=#ff0000]void [/COLOR][/SIZE][B][SIZE=2][COLOR=#191970]Initialize[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]()
{
[/COLOR][/SIZE][SIZE=2]CommandSystem[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][B][SIZE=2][COLOR=#191970]Register[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]"GetInfo"[/COLOR][/SIZE][SIZE=2][COLOR=#006400], [/COLOR][/SIZE][SIZE=2]AccessLevel[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][SIZE=2]GameMaster[/SIZE][SIZE=2][COLOR=#006400], [/COLOR][/SIZE][B][SIZE=2][COLOR=#008b8b]new [/COLOR][/SIZE][SIZE=2][COLOR=#191970]CommandEventHandler[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2]GetInfo_OnCommand [/SIZE][SIZE=2][COLOR=#006400]) );
[/COLOR][/SIZE][SIZE=2]CommandSystem[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][B][SIZE=2][COLOR=#191970]Register[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]"MyInfo"[/COLOR][/SIZE][SIZE=2][COLOR=#006400], [/COLOR][/SIZE][SIZE=2]AccessLevel[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][SIZE=2]Player[/SIZE][SIZE=2][COLOR=#006400], [/COLOR][/SIZE][B][SIZE=2][COLOR=#008b8b]new [/COLOR][/SIZE][SIZE=2][COLOR=#191970]CommandEventHandler[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2]MyInfo_OnCommand [/SIZE][SIZE=2][COLOR=#006400]) );
[/COLOR][/SIZE][SIZE=2]CommandSystem[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][B][SIZE=2][COLOR=#191970]Register[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]"BODInfo"[/COLOR][/SIZE][SIZE=2][COLOR=#006400], [/COLOR][/SIZE][SIZE=2]AccessLevel[/SIZE][SIZE=2][COLOR=#006400].[/COLOR][/SIZE][SIZE=2]Player[/SIZE][SIZE=2][COLOR=#006400], [/COLOR][/SIZE][B][SIZE=2][COLOR=#008b8b]new [/COLOR][/SIZE][SIZE=2][COLOR=#191970]CommandEventHandler[/B][/COLOR][/SIZE][SIZE=2][COLOR=#006400]( [/COLOR][/SIZE][SIZE=2]BODInfo_OnCommand [/SIZE][SIZE=2][COLOR=#006400]) );
}
[/COLOR][/SIZE]

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.
 

Clames

Sorceror
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. :)
 
Top