[Release]VPLady

08/20/2009 02:55 1supertao#1
Not sure if it works... All she does so far is check your VP Amount...

Code:
                case 300000: //VPLady
                    {
                        if (LinkBack == 0)
                        {
                            Text("Hello, I am the VPLady, what would you like to do?", CSocket);
                            Link("Check My VP's Please", 1, CSocket);
                            //Link("Nothing", 2, CSocket);
                        }
                        if (LinkBack == 1)
                        {

                            CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "You now have " + CSocket.Client.VirtuePoints + " VirtuePoints.", Struct.ChatType.Top));
                            End(CSocket);
                        }
                        break;
                    }
08/25/2009 19:02 cecl33#2
where i put this?
08/25/2009 19:06 taylor2846#3
this dont work lol well the code it self works its just missing some stuff
08/25/2009 19:14 CIRASH#4
Quote:
Originally Posted by taylor2846 View Post
this dont work lol well the code it self works its just missing some stuff
Read the thread before you say stuff

Quote:
Originally Posted by 1supertao View Post
All she does so far is check your VP Amount...
^clearly states the NPC is not finished.
08/25/2009 19:42 taylor2846#5
ya i no i was telling cecl33 becaz he was asking where to put it i was telling him it dont work.
08/25/2009 19:45 CIRASH#6
Oh. i havent tested it but it goes in npctalk.cs i believe. havent looked at the coemuv2 source in quite awhile.
08/25/2009 19:48 taylor2846#7
it cant work lol its missing codes lol 1 lil code ant it will work but without that 1 lil code it wont work its easy code any one can fix this well that no how codemu is codded.
08/25/2009 19:54 CIRASH#8
im gonna guess you need to make a variable for VirtuePoints
08/25/2009 23:43 12tails#9
I think coemu already have....

but.... make the vplady to give the prize for expball and to get meteor too... make it more real xD
08/25/2009 23:54 taylor2846#10
thats esy lol
08/26/2009 00:08 12tails#11
i know... i already do it ^^

i will post here some simple NPCs for who wan't... but not now hehe... i'm doing something more important : P
08/26/2009 00:45 taylor2846#12
Code:
                case 300000://VPLady
                    {
                        if (LinkBack == 0)
                        {
                            Text("helo me need text here plz fill me out?", CSocket);
                            Link("cheack vp", 1, CSocket);
                            Link("clam prize", 2, CSocket);
                            Link("nvm", 255, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            Text("you have " + CSocket.Client.VirtuePoints + " vps", CSocket);
                            Link("tys", 0, CSocket);
                            End(CSocket);

                        }
                        else if (LinkBack == 2)
                        {
                            Text("what prize would you like to have for your vps?", CSocket);
                            Link("DB for 10k vps", 3, CSocket);
                            Link("meteor for 1k vps", 4, CSocket);
                            Link("100 cp for 5k vps", 5, CSocket);
                            Link("i dont want your items", 255, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 3)
                        {
                            if (CSocket.Client.VirtuePoints >= 10000)
                            {
                                CSocket.Client.VirtuePoints -= 10000;
                                AddItem(1088000, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);

                            }
                            End(CSocket);
                        }
                        else if (LinkBack == 4)
                        {
                            if (CSocket.Client.VirtuePoints >= 1000)
                            {
                                CSocket.Client.VirtuePoints -= 1000;
                                AddItem(1088001, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                            }
                            End(CSocket);
                        }
                        else if (LinkBack == 5)
                        {
                            if (CSocket.Client.VirtuePoints >= 5000)
                            {
                                CSocket.Client.VirtuePoints -= 5000;
                                CSocket.Client.CPs += 100;
                            }
                            End(CSocket);
                        }
                        break;
                    }
lol thers is basic npc for vplady
08/26/2009 04:07 rubenz#13
Quote:
Originally Posted by taylor2846 View Post
Code:
                case 300000://VPLady
                    {
                        if (LinkBack == 0)
                        {
                            Text("helo me need text here plz fill me out?", CSocket);
                            Link("cheack vp", 1, CSocket);
                            Link("clam prize", 2, CSocket);
                            Link("nvm", 255, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            Text("you have " + CSocket.Client.VirtuePoints + " vps", CSocket);
                            Link("tys", 0, CSocket);
                            End(CSocket);

                        }
                        else if (LinkBack == 2)
                        {
                            Text("what prize would you like to have for your vps?", CSocket);
                            Link("DB for 10k vps", 3, CSocket);
                            Link("meteor for 1k vps", 4, CSocket);
                            Link("100 cp for 5k vps", 5, CSocket);
                            Link("i dont want your items", 255, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 3)
                        {
                            if (CSocket.Client.VirtuePoints >= 10000)
                            {
                                CSocket.Client.VirtuePoints -= 10000;
                                AddItem(1088000, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);

                            }
                            End(CSocket);
                        }
                        else if (LinkBack == 4)
                        {
                            if (CSocket.Client.VirtuePoints >= 1000)
                            {
                                CSocket.Client.VirtuePoints -= 1000;
                                AddItem(1088001, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                            }
                            End(CSocket);
                        }
                        else if (LinkBack == 5)
                        {
                            if (CSocket.Client.VirtuePoints >= 5000)
                            {
                                CSocket.Client.VirtuePoints -= 5000;
                                CSocket.Client.CPs += 100;
                            }
                            End(CSocket);
                        }
                        break;
                    }
lol thers is basic npc for vplady

fail its like 5k vps for a meteor and 50k for db or 5m ( alteast itw as hwen i was playing ) also 2k vps for that guy
08/26/2009 06:28 taylor2846#14
i no that lol i was just making an example npc lol
08/26/2009 07:26 rubenz#15
examples fail!