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;
put under
Code:
public byte VoteUsed = 0;
now to the NPCDialog.cs add this
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
and replace the NO. to your site Number, 1132296413 <----- Replace this. im sure you like this release its me yhudong
well i edit a little for the reason all have internet explorer
Making it Start Internet Explorer, Cause how would it know Wich Web browser to start so it can load the site,
Just saying if i'am wrong correct me,
This way is even better.
Your PC will figure out what your standard browser is.
I don't use iexplorer, so if it would start IE, it would only be a disadvantage for me.
This one will find out with what program is associated with "http files", and run that one. =)
Haven't tested this, but I'm 99% sure this works completely fine.
Private Server Voting >.< 06/05/2009 - WoW PServer Exploits, Hacks & Tools - 1 Replies Does any one know of a method to trick the voting servers on a private server, Ie world of chris. That way we could vote more then once in a 12 hour period and get more freebies for us?