Edrick
Initiate
- ServUO Version
- Publish Unknown
- Ultima Expansion
- Mondain's Legacy
Hello,
I have not worked on this server in 16 years. it was shut down when we lost out drive. I had this backup that was about a month older. It is RunUo 1.0R2. I am currently moving one script over at a time from my custom folder to the 2.3 Custom folder. I have a travelstone for our old server. when I move it over I get this code.
Errors:
+ Cutsom Scripts/Player Base Stuff/TravelGump.cs:
CS0246: Line 15: The type or namespace name 'CommandEventArgs' could not be found (are you missing a using directive or an assembly reference?)
I have read the how to convert files from 1.0 to 2.0 page. it has helped a ton but not with this file. Any advice would be great.
Thanks Edrick Nubblies Shard
Here is line 15 is bold.
using System;
using Server;
using Server.Gumps;
using Server.Network;
namespace Server.Gumps
{
public class TravelStoneGump : Gump
{
public static void Initialize()
{
CommandSystem.Register( "TravelStoneGump", AccessLevel.GameMaster, new CommandEventHandler( TravelStoneGump_OnCommand ) );
}
private static void TravelStoneGump_oncommand( CommandEventArgs e )
{
e.Mobile.SendGump( new TravelStoneGump( e.Mobile ) );
}
public TravelStoneGump( Mobile owner ) : base( 50,50 )
{
I have not worked on this server in 16 years. it was shut down when we lost out drive. I had this backup that was about a month older. It is RunUo 1.0R2. I am currently moving one script over at a time from my custom folder to the 2.3 Custom folder. I have a travelstone for our old server. when I move it over I get this code.
Errors:
+ Cutsom Scripts/Player Base Stuff/TravelGump.cs:
CS0246: Line 15: The type or namespace name 'CommandEventArgs' could not be found (are you missing a using directive or an assembly reference?)
I have read the how to convert files from 1.0 to 2.0 page. it has helped a ton but not with this file. Any advice would be great.
Thanks Edrick Nubblies Shard
Here is line 15 is bold.
using System;
using Server;
using Server.Gumps;
using Server.Network;
namespace Server.Gumps
{
public class TravelStoneGump : Gump
{
public static void Initialize()
{
CommandSystem.Register( "TravelStoneGump", AccessLevel.GameMaster, new CommandEventHandler( TravelStoneGump_OnCommand ) );
}
private static void TravelStoneGump_oncommand( CommandEventArgs e )
{
e.Mobile.SendGump( new TravelStoneGump( e.Mobile ) );
}
public TravelStoneGump( Mobile owner ) : base( 50,50 )
{