problem with my NPC

06/28/2011 07:49 Jay10291#1
I made this NPC for practise and it was working fine before. Now its deciding not to give me the items anymore. Wtf could cause that.. i didnt change anything. Heres a part of the code, the rest is coded the same. Can you guys go through it and tell me why its not giving me the item? -.-
Code:
#region DragonSoulShop
                case 10292:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Dragon Souls here! Get your Dragon Souls!");
                                    dialog.Link("Who are you?", 1);
                                    dialog.Link("Not interested.", 255);
                                    dialog.Avatar(6);
                                    dialog.Send();
                                    break;
                                }
                            case 1:
                                {
                                    dialog.Text("I have an abundance of Dragon Souls I can give you, but I'll charge a fee of 5,000 CPs for each one. Check out the Artifacts Inventory if you're interested.");
                                    dialog.Link("Artifacts Inventory.", 2);
                                    dialog.Link("Nevermind.", 255);
                                    dialog.Avatar(6);
                                    dialog.Send();
                                    break;
                                }
                            case 2:
                                {
                                    dialog.Text("See anything you need?");
                                    dialog.Link("Boots", 3);
                                    dialog.Link("Rings", 4);
                                    dialog.Link("Bracelets", 5);
                                    dialog.Link("1-handers", 6);
                                    dialog.Link("2-handers", 7);
                                    dialog.Link("Headgear", 8);
                                    dialog.Link("Armors", 9);
                                    dialog.Link("Shields", 99);
                                    dialog.Avatar(3);
                                    dialog.Send();
                                    break;
                                }
                            #region Boots Select
                            case 3:
                                {
                                    dialog.Text("Ahh, boots? I have some right here.");
                                    dialog.Link("Flame Boots", 10);
                                    dialog.Avatar(3);
                                    dialog.Send();
                                    break;
                                }
                            #endregion
#region Boots Give
                            case 10:
                                {
                                    if (client.Entity.Level >= 70)
                                    {
                                        if (client.Inventory.Count < 40)
                                        {
                                            if (client.Entity.ConquerPoints >= 5000)
                                            {
                                                client.Inventory.Add(824001, 0, 1);
                                                client.Entity.ConquerPoints -= 5000;
                                            }
                                            else
                                            {
                                                dialog.Text("You do not have 5,000 CPs");
                                                dialog.Link("Darn.", 255);
                                                dialog.Avatar(3);
                                                dialog.Send();
                                                break;
                                            }
                                        }
                                        else
                                        {
                                            dialog.Text("Please free up some space in your inventory first.");
                                            dialog.Link("Will do.", 255);
                                            dialog.Avatar(3);
                                            dialog.Send();
                                            break;
                                        }
                                    }
                                    else
                                    {
                                        dialog.Text("You do not meet the level requirement. You must reach level 70 before you can buy Artifiacts.");
                                        dialog.Link("Will do.", 255);
                                        dialog.Avatar(3);
                                        dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            #endregion
**Edit**
It started working again, then stopped again. I have nooo clue wtf is going on but its pissing me off :@
06/28/2011 09:54 Spirited42#2
Are you Jay from Project Phoenix in Dec. 2009?