|
You last visited: Today at 21:01
Advertisement
[Release]VPLady
Discussion on [Release]VPLady within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
08/20/2009, 02:55
|
#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;
}
|
|
|
08/25/2009, 19:02
|
#2
|
elite*gold: 0
Join Date: Jul 2007
Posts: 16
Received Thanks: 2
|
where i put this?
|
|
|
08/25/2009, 19:06
|
#3
|
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
|
|
|
08/25/2009, 19:14
|
#4
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
Quote:
Originally Posted by taylor2846
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
All she does so far is check your VP Amount...
|
^clearly states the NPC is not finished.
|
|
|
08/25/2009, 19:42
|
#5
|
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.
|
|
|
08/25/2009, 19:45
|
#6
|
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.
|
|
|
08/25/2009, 19:48
|
#7
|
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.
|
|
|
08/25/2009, 19:54
|
#8
|
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
|
im gonna guess you need to make a variable for VirtuePoints
|
|
|
08/25/2009, 23:43
|
#9
|
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
|
|
|
08/25/2009, 23:54
|
#10
|
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
|
thats esy lol
|
|
|
08/26/2009, 00:08
|
#11
|
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
|
|
|
08/26/2009, 00:45
|
#12
|
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
|
|
|
08/26/2009, 04:07
|
#13
|
elite*gold: 0
Join Date: Nov 2006
Posts: 160
Received Thanks: 15
|
Quote:
Originally Posted by taylor2846
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
|
#14
|
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
|
i no that lol i was just making an example npc lol
|
|
|
08/26/2009, 07:26
|
#15
|
elite*gold: 0
Join Date: Nov 2006
Posts: 160
Received Thanks: 15
|
examples fail!
|
|
|
All times are GMT +1. The time now is 21:02.
|
|