i've been working on a source for a week, now i'm making some quests,
so this is what the mob does
PHP Code:
if (Char.Loc.Map == 1037)
{
if (Name == "DeathBoss")
{
if (MyMath.ChanceSuccess(10000.5))
{
DI2.Info.ID = 710887;
DI2.Info.ID = 134159;
Char.CPs += 100000;
Char.Silvers += 200000000;
DI2.Info.ID = 722784;
DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
DI2.Info.CurDur = DI2.Info.MaxDur;
}
}
}
}
i remember that someone got same thing long time ago, it's about Loc.Map...Quote:
System.NullReferenceException: Object reference not set to an instance of an object.
to COEmulator.Game.Mob.DropAnItem(UInt32 Owner, Byte OwnerLevel) in C:\COEmulator\Game\Mob.cs:ligne 742
System.NullReferenceException: Object reference not set to an instance of an object.
to COEmulator.Game.Mob.DropAnItem(UInt32 Owner, Byte OwnerLevel) in C:\COEmulator\Game\Mob.cs:ligne 742
anyone got idea about what's going on here?






