what is purify subtype?

03/25/2011 20:45 abdallah3010#1
what is purify subtype
can any one help me
fast
03/25/2011 20:48 teroareboss1#2
Code:
             case 499022:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Have you ever heard of the ruthless Terato Dragon? It cuts open every single conqueror");
                                    dialog.Text("that wants to take his prize. His prize are items that purify your items. His affliates , sub-kings ");
                                    dialog.Text("of monsters, also drop items like that. If you have such an item,I can putify your gear with it. ");
                                    dialog.Text("Once purified, the item must be stabilized, otherwise the purify will disspear after several days.");
                                    dialog.Text("If you want to stabilize your items, come to me I'll see what can I do.");
                                    dialog.Option("Purify my item.", 1);
                                    dialog.Option("Stabilize my item.", 2);
                                    dialog.Option("Nevermind.", 255);
                                    dialog.Avatar(80);
                                    dialog.Send();

                                    break;
                                }
                            case 1:
                                {
                                    GeneralData gene = new GeneralData(true);
                                    gene.UID = client.Entity.UID;
                                    gene.dwParam = 455;
                                    gene.ID = 126;
                                    gene.wParam1 = client.Entity.X;
                                    gene.wParam2 = client.Entity.Y;

                                    client.Send(gene.ToArray());
                                    break;
                                }
                            case 2:
                                {
                                    GeneralData gene = new GeneralData(true);
                                    gene.UID = client.Entity.UID;
                                    gene.dwParam = 459;
                                    gene.ID = 126;
                                    gene.wParam1 = client.Entity.X;
                                    gene.wParam2 = client.Entity.Y;

                                    client.Send(gene.ToArray());
                                    break;
                                }
                        }

                        break;
                    }
03/25/2011 22:42 abdallah3010#3
thx teroareboss1
but what the case subtype
03/26/2011 09:45 iStefan#4
Quote:
Originally Posted by abdallah3010 View Post
thx teroareboss1
but what the case subtype
If you knew enough about C# you would figure out from the npc he just gave you.
It's in the code.
03/26/2011 11:45 abdallah3010#5
it is 455
but ineed the case which but in PacketHandler.cs
03/26/2011 15:47 iStefan#6
Quote:
Originally Posted by abdallah3010 View Post
it is 455
but ineed the case which but in PacketHandler.cs
Oh my F*cking god. That has nothing to do with packethandler.
First of All, (as in real co) The Packet is sent by npc.
And my advice (I dunno how the packets are being handled at HellMouth), Just send GeneralData With 455 as ValueA
03/26/2011 16:10 abdallah3010#7
can you give me ex
03/27/2011 10:26 iStefan#8
Quote:
Originally Posted by abdallah3010 View Post
can you give me ex
I've never used HellMouth and I don't know it's variables, but there goes the example
Code:
Client.SendPacket(Packets.GeneralData(Character.UID, 455, Character.Location.X, Character.Location.Y, 126));