MetScroll Bugged?

06/29/2009 06:32 JustChillin#1
Code:
case 720027: // MeteorScroll
                    {
                        if (CSocket.Client.Inventory.Count <= 30)
                        {
                            for (int i = 0; i < 10; i++)
                            {
                                Struct.ItemInfo SubItem = new Struct.ItemInfo();
                                SubItem.Bless = SubItem.Enchant = SubItem.Position =
                                SubItem.Color = SubItem.Soc1 = SubItem.Soc2 = SubItem.Plus = 0;
                                SubItem.Dura = 1;
                                SubItem.ItemID = 1088001;
                                SubItem.UID = Nano.Rand.Next(1, 9999999);
                                bool created = Database.Database.NewItem(SubItem, CSocket);
                                while (!created)
                                {
                                    SubItem.UID = Nano.Rand.Next(1, 9999999);
                                    created = Database.Database.NewItem(SubItem, CSocket);
                                }
                                CSocket.Client.Inventory.Add(SubItem.UID, SubItem);
                                CSocket.Send(ConquerPacket.ItemInfo(SubItem.UID, SubItem.ItemID, SubItem.Plus, SubItem.Bless, SubItem.Enchant, SubItem.Soc1, SubItem.Soc2, SubItem.Dura, SubItem.MaxDura, SubItem.Position, SubItem.Color));
                            }
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You used the MeteorScroll and obtained 10 Meteors.", Struct.ChatType.Top));
                        }
                        else
                        {
                            Delete = false;
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Not enough space in inventory.", Struct.ChatType.Top));
                        }
                        break;
                    }
Any1 else notice that you can only open 1 met scroll then it says you dont have enough room. Anyway to fix this. When i tried it just let me have like unlimited inventory space. Lol
Code:
                        if (CSocket.Client.Inventory.Count >= 10)
Would it need to be like this?
06/29/2009 06:33 Pete1990#2
I think its gonna be a Inv bug maybe?
06/29/2009 06:47 JustChillin#3
Quote:
Originally Posted by Pete1990 View Post
I think its gonna be a Inv bug maybe?
Yes, soemthing like that but idk where it would be located, gotta venture into the unknown