[Release] item's

07/09/2009 22:11 taylor2846#1
plz post item codes here to help us all out

{THIS IS FOR COEmu}

3 in 1 pots

Code:
                case 720011://Panacea 3 in 1
                    {
                        if (CSocket.Client.Inventory.Count <= 37)
                        {
                            for (int i = 0; i < 3; i++)
                            {
                                AddItem(1002000, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                            }
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You used the Panacea 3 in 1 and obtained 3 Ginsenes.", Struct.ChatType.Top));
                        }
                        else
                        {
                            Delete = false;
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Not enough space in inventory.", Struct.ChatType.Top));
                        }
                        break;
                    }

                case 720012://Ginseng 3 in 1 
                    {
                        if (CSocket.Client.Inventory.Count <= 37)
                        {
                            for (int i = 0; i < 3; i++)
                            {
                                AddItem(1002010, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                            }
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You used the Ginseng 3 in 1 and obtained 3 Ginsenes.", Struct.ChatType.Top));
                        }
                        else
                        {
                            Delete = false;
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Not enough space in inventory.", Struct.ChatType.Top));
                        }
                        break;
                    }
                case 720013://Vabukka 3 in 1
                    {
                        if (CSocket.Client.Inventory.Count <= 37)
                        {
                            for (int i = 0; i < 3; i++)
                            {
                                AddItem(1002020, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                            }
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You used the Vabukka 3 in 1 and obtained 3 Vabukkaes.", Struct.ChatType.Top));
                        }
                        else
                        {
                            Delete = false;
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Not enough space in inventory.", Struct.ChatType.Top));
                        }
                        break;
                    }
Easy but i did not see any one post it yet
07/09/2009 23:03 Roykssop#2
Cool!!
07/09/2009 23:05 raidenx123#3
I dont have coemu but cant i post codes for lotf? :(
07/10/2009 00:07 taylor2846#4
i want this to be only for CoEmu less confusion
07/10/2009 00:28 raidenx123#5
k
07/10/2009 01:11 CIRASH#6
i released my skillbooks a while ago. xD
07/10/2009 01:16 taylor2846#7
ER;; xD.. ya i no i was gona release my skillbooks but then after i had it all codded i found your code xD il release any item i get done here i an hopying you all will do the same
07/10/2009 02:04 CIRASH#8
honestly atm i cant think of any items. gimme a list of some you want me to do and ill try my best.
07/10/2009 02:06 kinshi88#9
Power ExpBall:
Code:
                case 722057: // PowerExpBall
                    {
                        if (CSocket.Client.Level >= 50)
                        {
                            int ExpGain = (int)(Calculation.NeededExp(CSocket.Client.Level) * 0.1);
                            Calculation.GiveExp(CSocket, ExpGain, false);
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You gained " + ExpGain + " Experience from the PowerExpBall!", Struct.ChatType.Top));
                        }
                        else
                        {
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You cannot use the PowerExpBall below level 50!", Struct.ChatType.Top));
                            Delete = false;
                        }
                        break;
                    }
ExpBall:
Code:
                case 723700: // ExpBall
                    {
                        if (CSocket.Client.Level >= 40)
                        {
                            int ExpGain = (int)Math.Floor(600000 * (1 + ((CSocket.Client.Level - 1) * 0.4)));
                            Calculation.GiveExp(CSocket, ExpGain, false);
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You gained " + ExpGain + " Experience from the ExpBall!", Struct.ChatType.Top));
                        }
                        else
                        {
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You cannot use the ExpBall below level 40!", Struct.ChatType.Top));
                            Delete = false;
                        }
                        break;
                    }
Meteor Box:
Code:
                case 723268: // Meteor Box
                    {
                        if (CSocket.Client.Inventory.Count >= 36)
                        {
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "[ERROR] Your inventory is full.", Struct.ChatType.Top));
                            Delete = false;
                            return;
                        }
                        if (Item.Free == 0)
                            Calculation.GetItem(CSocket, 1088001, 0, 0, 0, 0, 0, 0, 0, 5);
                        else
                            Calculation.GetItem(CSocket, 1088001, 0, 0, 0, 0, 0, 0, 1, 5);
                        CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You open the MeteorBox, it contained 5 Meteors!", Struct.ChatType.Top));
                        break;
                    }
Penitence Amulet:
Code:
                case 723727: // PenitenceAmulet
                    {
                        if (CSocket.Client.PkPoints <= 30 && CSocket.Client.PkPoints >= 1)
                            CSocket.Client.PkPoints = 0;
                        else if (CSocket.Client.PkPoints > 30)
                            CSocket.Client.PkPoints -= 30;
                        else if (CSocket.Client.PkPoints == 0)
                        {
                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Don't waste the item!", Struct.ChatType.Top));
                            Delete = false;
                            break;
                        }
                        CSocket.Send(ConquerPacket.Status(CSocket, 2, CSocket.Client.PkPoints, Struct.StatusTypes.PKPoints));
                        break;
                    }
07/10/2009 02:09 n0mansland#10
I'd release Ninja Amulet and crap but most of my stuff you gotta define some thing :D
07/10/2009 02:18 CIRASH#11
have them figure out how to define it themselves xD
07/10/2009 02:22 n0mansland#12
lol ok then here's 1 of them if you guys can set it up yourselves

Code:
                case 723583://Ninja Amulet
                    {
                        if (CSocket.Client.Model == 11004 || CSocket.Client.Model == 2012002)
                            Model(-1, CSocket);
                        else if (CSocket.Client.Model == 11003 || CSocket.Client.Model == 2012001)
                            Model(+1, CSocket);
                        Database.Database.SaveModel(CSocket);
                        CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Your size has been changed.", Struct.ChatType.Top));
                        {
                            Delete = true;
                        }
                        break;
                    }
07/10/2009 02:28 cloudwind360#13
is this loft???
07/10/2009 02:42 n0mansland#14
No it's CoEmuV2
07/10/2009 03:16 raidenx123#15
Wow dont get me started on ideas ill just post as i go right now:

NinjaStar (Special item increases ninja attack by 950 and agi by 15)
PopTart (I released for lotf but not coemu, heals 20k hp)
FruitLoops (Quest item, give to Mr.Kelloggs for a DB Scroll)

SashHolder (Holds 3 sash's any size)
DB Box (25 DBs)

Cant think of anymroe in the next 10secs cause i am gonna eat dinner ;)