![]() |
|
![]() |
||||||||
| Conquer Private Servers Post guides , scripts , advertise , anything related to Conquer Private Servers ! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
![]() |
|
![]() |
||||||||
| Conquer Private Servers Post guides , scripts , advertise , anything related to Conquer Private Servers ! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
i dont know if someone release like this, vote for the server, but i saw some server have this NPC too.
here we go first open character.cs and look for Code:
public byte LotteryUsed = 0; Code:
public byte VoteUsed = 0; Code:
#region Vote server
case 30165:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("You want to vote the server?"));
GC.AddSend(Packets.NPCLink("yes", 1));
GC.AddSend(Packets.NPCLink("no", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1)
{
if (GC.MyChar.VoteUsed == 0)
{
GC.MyChar.VoteUsed++;
GC.MyChar.CPs += 5000;
Game.World.SendMsgToAll("SYSTEM", "http://www.xtremetop100.com/in.php?site=1132296413", 2105, 0);
Game.World.SendMsgToAll("SYSTEM"," Congratulation " + GC.MyChar.Name + " recieve 5000 cps upon voting the server ", 2011, 0);
}
else
{
GC.AddSend(Packets.NPCSay("you can vote only once a day"));
GC.AddSend(Packets.NPCLink("I see", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
Last edited by yhudong; 02-08-2010 at 11:25 PM. |
| The Following 7 Users Say Thank You to yhudong For This Useful Post: | ||
angeloraaf (01-24-2010), Closo (01-16-2010), mikedaking (01-16-2010), newmind2 (01-16-2010), silveriah64 (02-03-2010), stiwen (01-25-2010), xScott (01-16-2010) | ||
|
|||
|
hmmmm but we only allowed vote for the server i think once a day or twice?
|
|
|||
|
i try to figure this out, but if had finish in this you can share me?
|
|
|||
|
for who never use mozilla firefox maybe you can use this code
Code:
Game.World.SendMsgToAll("SYSTEM", "http://www.xtremetop100.com/in.php?site=1132296413", 2105, 0);
Last edited by yhudong; 02-09-2010 at 02:11 AM. |
| The Following User Says Thank You to cakobu For This Useful Post: | ||
WHITELIONX (02-02-2010) | ||
|
||||
|
Does this actually work because I have tried this before and it seems to only open the webpage for the person who is hosting the server. Such as I used it and my brother tries to access the page but it opens a page on MY computer and not his. Cakobu is correct this will only open the webserver on the hosters computer and not the clients computer >.<
__________________
If I have helped in any way, shape or form please press thanks
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|