View Single Post
Old 07-14-2006, 04:49 PM   #5 (permalink)
Staceman
 
Join Date: Feb 2005
Age: 38
Posts: 44
Default ACC System

I just got through with an install on a fresh shard and had a problem with A-Li-N's system. Does this work for you? Is it 2.0 compliant?


(Here's what I posted on the Script support board)
This is on a brand new from-scratch shard with Ronin's Taming system, Lucid's All Spell system (which requires ACC),and Nerun's Distro.

I get
...

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:
+ Custom/Alien Completely Custom/ACCGump.cs:
CS0246: Line 18: The type or namespace name 'CommandEventArgs' could not be
found (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.
...
Here is the error section of code.

<code>
using System;
using System.Collections;
using Server;
using Server.Gumps;
using Server.Network;

namespace Server.ACC
{
public class ACCGump : Gump
{
public static void Initialize()
{
Server.Commands.Register( "ACC", AccessLevel.Administrator, new CommandEventHandler( OnCommand ) );
}

[Usage( "ACC" )]
[Description( "Sends the ACC Gump" )]
private static void OnCommand( CommandEventArgs e )
{
e.Mobile.SendGump( new ACCGump( e.Mobile, null, null ) );
}

private ArrayList m_List;
private int m_Page;
private ACCSystem m_Syst;
private object[] m_SubP;

public ACCGump( Mobile from, string system, object[] subParams ) : base( 0, 0 )
{
if( from.AccessLevel != AccessLevel.Administrator )
return;
</code>

Is there a newer version of this or am I missing something else?
Staceman is offline   Reply With Quote