Register for your free account! | Forgot your password?

You last visited: Today at 06:45

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

 

server voting for 5165

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 71
Received Thanks: 39
server voting for 5165

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



gulpi_de_gulat is offline  
Thanks
7 Users
Old   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 98
nice keep it up


coreymills is offline  
Old   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 71
Received Thanks: 39
Quote:
Originally Posted by coreymills View Post
nice keep it up
thankz bro
gulpi_de_gulat is offline  
Old   #4
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
But this wouldn't vote for the server itself.
Seeing as you need to put in those two words it tells you to once you get to the website.


Arcо is offline  
Old   #5
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 118
If you could figure out how the vote systems work then you could make this work like wonders
Goodjob im gonna look into this..
.Ryu is offline  
Old   #6
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 319
Havent tryed this but shouldent it be
Code:
System.Diagnostics.Process.Start("iexplore.exe", "http://www.xtremetop100.com/in.php?site=1132296413");
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,
-Shunsui- is offline  
Old   #7
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
Quote:
Originally Posted by -Shunsui- View Post
Havent tryed this but shouldent it be
Code:
System.Diagnostics.Process.Start("iexplore.exe", "http://www.xtremetop100.com/in.php?site=1132296413");
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.
Basser is offline  
Old   #8
 
elite*gold: 0
Join Date: Jan 2010
Posts: 36
Received Thanks: 12
nice
Sinestro is offline  
Old   #9
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by -Shunsui- View Post
Havent tryed this but shouldent it be
Code:
System.Diagnostics.Process.Start("iexplore.exe", "http://www.xtremetop100.com/in.php?site=1132296413");
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,
Ah I like this much more than the way the OP had it.
And for the exact reasons X mentioned.
Arcо is offline  
Old   #10
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 118
When you go to the vote page open the pages source and see if you can figure it out on when you put Vote For ServersName

And then that would be beastly =P they would actualy be voting and getting cps ^^
.Ryu is offline  
Old   #11
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by .Ryu View Post
When you go to the vote page open the pages source and see if you can figure it out on when you put Vote For ServersName

And then that would be beastly =P they would actualy be voting and getting cps ^^
But it still does a check on if the two words in the box are correct.
Arcо is offline  
Old   #12
 
elite*gold: 20
Join Date: May 2007
Posts: 1,118
Received Thanks: 328
Quote:
Originally Posted by Hepatitis C View Post
But it still does a check on if the two words in the box are correct.
On xtremetop100, that is only there if you have javascript disabled.
LetterX is offline  
Old   #13
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 98
ya the npc works u just gotta put the 2 words in
coreymills is offline  
Old   #14
 
elite*gold: 0
Join Date: Mar 2009
Posts: 71
Received Thanks: 39
Quote:
Originally Posted by -Shunsui- View Post
Havent tryed this but shouldent it be
Code:
System.Diagnostics.Process.Start("iexplore.exe", "http://www.xtremetop100.com/in.php?site=1132296413");
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,
i never put that (iexplore.exe) because i was using mozilla firefox and its easy to open.
gulpi_de_gulat is offline  
Old   #15
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by gulpi_de_gulat View Post
i never put that (iexplore.exe) because i was using mozilla firefox and its easy to open.
Well not everyone uses mozilla firefox.


Arcо is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Is it possible to cheat P.server Voting systems?
can anyone please tell me how to do it if it is =)
1 Replies - Ragnarok Online
Private Server Voting >.<
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...
1 Replies - WoW PServer Exploits, Hacks & Tools



All times are GMT +1. The time now is 06:45.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.