Register for your free account! | Forgot your password?

You last visited: Today at 21:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release]VPLady

Discussion on [Release]VPLady within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2009
Posts: 104
Received Thanks: 7
[Release]VPLady

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;
                    }
1supertao is offline  
Old 08/25/2009, 19:02   #2
 
elite*gold: 0
Join Date: Jul 2007
Posts: 16
Received Thanks: 2
where i put this?
cecl33 is offline  
Old 08/25/2009, 19:06   #3
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
this dont work lol well the code it self works its just missing some stuff
taylor2846 is offline  
Old 08/25/2009, 19:14   #4
 
CIRASH's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
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.
CIRASH is offline  
Old 08/25/2009, 19:42   #5
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
ya i no i was telling cecl33 becaz he was asking where to put it i was telling him it dont work.
taylor2846 is offline  
Old 08/25/2009, 19:45   #6
 
CIRASH's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
Oh. i havent tested it but it goes in npctalk.cs i believe. havent looked at the coemuv2 source in quite awhile.
CIRASH is offline  
Old 08/25/2009, 19:48   #7
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
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.
taylor2846 is offline  
Old 08/25/2009, 19:54   #8
 
CIRASH's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
im gonna guess you need to make a variable for VirtuePoints
CIRASH is offline  
Old 08/25/2009, 23:43   #9
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 458
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
12tails is offline  
Old 08/25/2009, 23:54   #10
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
thats esy lol
taylor2846 is offline  
Old 08/26/2009, 00:08   #11
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 458
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
12tails is offline  
Old 08/26/2009, 00:45   #12
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
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
taylor2846 is offline  
Old 08/26/2009, 04:07   #13
 
elite*gold: 0
Join Date: Nov 2006
Posts: 160
Received Thanks: 15
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
rubenz is offline  
Old 08/26/2009, 06:28   #14
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
i no that lol i was just making an example npc lol
taylor2846 is offline  
Old 08/26/2009, 07:26   #15
 
elite*gold: 0
Join Date: Nov 2006
Posts: 160
Received Thanks: 15
examples fail!
rubenz is offline  
Reply




All times are GMT +1. The time now is 21:02.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.