[GUIDE] MeteorBox..

09/07/2009 09:26 UnoAmigos#1
a noob release.... (advance: don't post if you don't like my guide)
also this is the first time to release...

first search for... character.cs and ctrl+f then type
else if (ItemParts[0] == "720010")
the below that group code..add this

Code:
else if (ItemParts[0] == "1088001")//5 mets to MeteorPack
            {
                if (ItemsInInventory < 40)
                {
                    if (InventoryContains(1088001, 5))
                    {
                        AddItem("721510-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        RemoveItem(ItemNext(1088001));
                        RemoveItem(ItemNext(1088001));
                        RemoveItem(ItemNext(1088001));
                        RemoveItem(ItemNext(1088001));
                        RemoveItem(ItemUID);
                    }
                }
            }
next is how to how meteor box turn into 5 mets...
below that code (else if (ItemParts[0] == "1088001")//5 mets to MeteorPack) add this...


Code:
else if (ItemParts[0] == "721510")//MeteorPack to 5 mets 
            {
                if (ItemsInInventory < 36)
                {
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    RemoveItem(ItemUID);
                }


that all...easy... just correction if i'm wrong....
.it's just my own code... remember...
Like: Press +Thanks
Dislike : Don't Post and leave
09/07/2009 09:29 damianpesta#2
Quote:
Originally Posted by UnoAmigos View Post
a noob release.... (advance: don't post if you don't like my guide)
also this is the first time to release...

first search for... character.cs and ctrl+f then type
else if (ItemParts[0] == "720010")
the below that group code..add this

Code:
else if (ItemParts[0] == "1088001")//5 mets to MeteorPack
            {
                if (ItemsInInventory < 40)
                {
                    if (InventoryContains(1088001, 5))
                    {
                        AddItem("721510-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                        RemoveItem(ItemNext(1088001));
                        RemoveItem(ItemNext(1088001));
                        RemoveItem(ItemNext(1088001));
                        RemoveItem(ItemNext(1088001));
                        RemoveItem(ItemUID);
                    }
                }
            }
next is how to how meteor box turn into 5 mets...
below that code (else if (ItemParts[0] == "1088001")//5 mets to MeteorPack) add this...


Code:
else if (ItemParts[0] == "721510")//MeteorPack to 5 mets 
            {
                if (ItemsInInventory < 36)
                {
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    AddItem("1088001-0-0-0-0-0", 0, (uint)General.Rand.Next(346623472));
                    RemoveItem(ItemUID);
                }


that all...easy... just correction if i'm wrong....
.it's just my own code... remember...
Like: Press +Thanks
Dislike : Don't Post and leave
Isnt it better to repeat AddItem 4 times instead of doing same thing 4 times? Just a suggestion.

E.G

Code:
                if (Itemz[0] == "720013")
                {
                    if (ItemsInInventory <= 37)
                    {
                        for (int DB = 0; DB < 3; DB++)
                        {
                            AddItem("1002020-0-0-0-0-0", 0, (uint)General.Rand.Next(57458353));
                            RemoveItem(ItemUID);
                        }
                    }
                }
09/07/2009 09:33 UnoAmigos#3
Great then.... i see...that's good one.. :D