RESOLVED
now I get this
Errors:
+ Misc/CharacterCreation.cs:
CS1514: Line 9: { expected
Scripts: One or more scripts failed to compile or no script files were found.
top of script of cc
using System;
using Server.Accounting;
using Server.Engines.XmlSpawner2;
using Server.Items;
using Server.Mobiles;
using Server.Network;
namespace Server.Misc;using daat99;
{
public class CharacterCreation
{
private static readonly CityInfo m_NewHavenInfo = new CityInfo("New Haven", "The Bountiful Harvest Inn", 3503, 2574, 14, Map.Trammel);
private static readonly CityInfo m_SiegeInfo = new CityInfo("Britain", "The Wayfarer's Inn", 1075074, 1602, 1591, 20, Map.Felucca);
private static Mobile m_Mobile;
public static void Initialize()
{
// Register our event handler
EventSink.CharacterCreated += new CharacterCreatedEventHandler(EventSink_CharacterCreated);
}
public static bool VerifyProfession(int profession)
{
if (profession < 0)
return false;
else if (profession < 4)
return true;
else if (Core.AOS && profession < 6)
return true;
else if (Core.SE && profession < 8)
return true;
else
return false;
}
private static void AddBackpack(Mobile m)
{
Container pack = m.Backpack;
if (pack == null)
{
pack = new BackpackOfReduction();
pack.Movable = false;
m.AddItem(pack);
}
PackItem(new RedBook("a book", m.Name, 20, true));
PackItem(new Gold(10000)); // Starting gold can be customized here
PackItem(new Candle()); PackItem(new BankHive()); PackItem(new BlessBag()); PackItem(new Trash4TokensBackpack()); PackItem(new MasterLooterBackpack());