else if (ItemParts[0] == "MoonBoxID" || ItemParts[0] == "MoonBoxID") // 721020 - 721065 , 721080 - 721090
{
MoonBoxRandom = General.Rand.Next(1, 100); // Finds Random #s
if (MoonBoxRandom < 26) // 25% Win Chance
{
CPs += 1000; // Grants CPs
MyClient.SendPacket(General.MyPackets.Vital((long)UID, 30, CPs));
MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You opened a MoonBox and got 1000 Conquer Points!", 2005));
RemoveItem(UID);
}
else
{
MyClient.SendPacket(General.MyPackets.SendMsg(MyClient.MessageId, "SYSTEM", Name, "You weren't so lucky this time, Sorry!", 2005));
RemoveItem(UID);
}
}
As you see i put MoonBoxID instead of the real IDs, but on the side I gave you the ID ranges. So that's your "homework", Finish it and you have a perfectly working moonbox usage code for ever moonbox.
[Release] Requiem Attack Trainer + Usage 12/03/2012 - General Gaming Releases - 170 Replies Here's my first release of an Attack/Movement Hack for Requiem, which no longer requires you to run CE. It has been tested, and will work with MailMan's hackshield bypass. This attack speed will require you to follow the following rules to work right.
ATTACK USAGE:
- CTRL-A
ATTACK RULES:
[Release] getting perfect moonbox quest 04/12/2010 - CO2 PServer Guides & Releases - 32 Replies ive been release this in 4botter many weeks ago and i decided to release here
lets start in NPCDialog.cs #region fortune teller
case 302:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("did you hear of palace method?"));
GC.AddSend(Packets.NPCLink("palace method?", 1));
...
[Release]MoonBox Quest 03/18/2010 - CO2 PServer Guides & Releases - 16 Replies #region GuardianGod
case 600004:
{
if (GC.MyChar.InventoryContains(721010, 1))
{
GC.AddSend(Packets.NPCSay("I see you have a token for this tactic. This tactic is Peace."));
GC.AddSend(Packets.NPCLink("Ok Thanks!", 255));
...