4Botters


 
Go Back   4Botters" I am A Bad Ass Botter " > Online Games > Conquer Online Sections > Conquer Bots > Conquer Private Servers

Conquer Private Servers Post guides , scripts , advertise , anything related to Conquer Private Servers !

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-16-2010, 12:14 PM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 203
Thanks: 48
Thanked 63 Times in 32 Posts
Default vote for the server 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;
add 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

Last edited by yhudong; 02-08-2010 at 10:25 PM.
Reply With Quote
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
  #2 (permalink)  
Old 01-16-2010, 02:49 PM
Beginner
 
Join Date: Nov 2009
Posts: 92
Thanks: 109
Thanked 18 Times in 15 Posts
Default Re: vote for the server 5165

Nice release, i was thinking about making this, saved my time =]

cos its only allowed once, you should change
Code:
int VotesUsed = 0;

to a boolean,
Reply With Quote
  #3 (permalink)  
Old 01-16-2010, 05:10 PM
Bad Ass Botta!
 
Join Date: Sep 2009
Posts: 386
Thanks: 69
Thanked 20 Times in 20 Posts
Default Re: vote for the server 5165

Could you add a timer to clear that VOTED attribut after 6 hours, for example???
Reply With Quote
  #4 (permalink)  
Old 01-16-2010, 08:51 PM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 203
Thanks: 48
Thanked 63 Times in 32 Posts
Default Re: vote for the server 5165

Quote:
Originally Posted by xScott Sorry you can't view links because you are not registered. [ Click here to register ]
Nice release, i was thinking about making this, saved my time =]

cos its only allowed once, you should change
Code:
int VotesUsed = 0;

to a boolean,
hmmmm but we only allowed vote for the server i think once a day or twice?
Reply With Quote
  #5 (permalink)  
Old 01-16-2010, 09:00 PM
Bad Ass Botta!
 
Join Date: Sep 2009
Posts: 386
Thanks: 69
Thanked 20 Times in 20 Posts
Default Re: vote for the server 5165

I Think twice.

So after 12 hours the voted attribute must be cleaned.
Reply With Quote
  #6 (permalink)  
Old 01-16-2010, 09:11 PM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 203
Thanks: 48
Thanked 63 Times in 32 Posts
Default Re: vote for the server 5165

Quote:
Originally Posted by metalfa_n1 Sorry you can't view links because you are not registered. [ Click here to register ]
I Think twice.

So after 12 hours the voted attribute must be cleaned.
i try to figure this out, but if had finish in this you can share me?
Reply With Quote
  #7 (permalink)  
Old 01-16-2010, 09:16 PM
Bad Ass Botta!
 
Join Date: Sep 2009
Posts: 386
Thanks: 69
Thanked 20 Times in 20 Posts
Default Re: vote for the server 5165

I will try to do that tomorrow.

If I get it I will release.
Reply With Quote
  #8 (permalink)  
Old 01-17-2010, 12:47 AM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 203
Thanks: 48
Thanked 63 Times in 32 Posts
Default Re: vote for the server 5165

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);
replace to this

Last edited by yhudong; 02-09-2010 at 01:11 AM.
Reply With Quote
  #9 (permalink)  
Old 01-19-2010, 07:20 AM
A Botter
 
Join Date: Dec 2009
Posts: 136
Thanks: 27
Thanked 19 Times in 10 Posts
Default Re: vote for the server 5165

wow thx man i love you
Reply With Quote
  #10 (permalink)  
Old 01-19-2010, 10:46 AM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 203
Thanks: 48
Thanked 63 Times in 32 Posts
Default Re: vote for the server 5165

Quote:
Originally Posted by speedco Sorry you can't view links because you are not registered. [ Click here to register ]
wow thx man i love you
your welcome bro, enjoy
Reply With Quote
  #11 (permalink)  
Old 01-19-2010, 08:34 PM
cakobu's Avatar
Beginner
 
Join Date: Jul 2008
Location: ||*||Catalunya||*||
Posts: 98
Thanks: 25
Thanked 43 Times in 12 Posts
Default Re: vote for the server 5165

This code does not tell you in no time who has to make the process "System.Diagnostics.Process.Start (http://www.xtremetop100.com/in.php?site=1132296413"); "
Then the computer will be hosting is opening the website.

I'm not sure about this, I have not tried. But is the logic I see him.


PS: I used the translator for this text


=)
__________________
I always have hidden text in my messages! Find them by selecting the text as you do now.
----------------------------------------------------------------------------------------------------
Sorry about my English,I'm Spanish
Reply With Quote
The Following User Says Thank You to cakobu For This Useful Post:
WHITELIONX (02-02-2010)
  #12 (permalink)  
Old 01-24-2010, 03:44 AM
Noob
 
Join Date: Dec 2008
Posts: 21
Thanks: 19
Thanked 2 Times in 2 Posts
Default Re: vote for the server 5165

Wow nice release bro good work
Reply With Quote
  #13 (permalink)  
Old 02-02-2010, 05:36 PM
WHITELIONX's Avatar
Bad Ass Botta!
 
Join Date: Mar 2008
Location: in conquer ^^
Age: 33
Posts: 303
Thanks: 135
Thanked 51 Times in 31 Posts
Default Re: vote for the server 5165

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
Reply With Quote
  #14 (permalink)  
Old 02-08-2010, 10:28 PM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 203
Thanks: 48
Thanked 63 Times in 32 Posts
Default Re: vote for the server 5165

try again this is work now 100%
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


Translate This Page

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


All times are GMT. The time now is 09:28 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.