![]() |
|
![]() |
||||||||
| 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 10: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-24-2010), xScott (01-16-2010) | ||
| Google Adsense |
|
|||
|
Quote:
|
|
|||
|
Quote:
|
|
|||
|
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 01:11 AM. |
|
|||
|
Quote:
|
| 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 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Request] Npc to automatically vote for server | Bodaorj | TQ Binaries | 5 | 01-26-2010 05:30 PM |
| i need help Npc Vote. from 5165 | speedco | Conquer Private Servers | 1 | 01-10-2010 07:37 AM |
| [Release] my vote npc | jesusthesecond | TQ Binaries | 3 | 11-16-2009 11:22 PM |
| Come All & Vote!! | DD4Ever | Community (Off Topics) | 16 | 07-21-2009 03:19 PM |