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, 01:14 PM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 201
Thanks: 48
Thanked 54 Times in 30 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 11: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-25-2010), xScott (01-16-2010)
Google Adsense

  #2 (permalink)  
Old 01-16-2010, 03:49 PM
Beginner
 
Join Date: Nov 2009
Posts: 54
Thanks: 41
Thanked 8 Times in 8 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, 06:10 PM
Bad Ass Botta!
 
Join Date: Sep 2009
Posts: 364
Thanks: 70
Thanked 16 Times in 16 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, 09:51 PM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 201
Thanks: 48
Thanked 54 Times in 30 Posts
Default Re: vote for the server 5165

Quote:
Originally Posted by xScott View Post
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, 10:00 PM
Bad Ass Botta!
 
Join Date: Sep 2009
Posts: 364
Thanks: 70
Thanked 16 Times in 16 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, 10:11 PM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 201
Thanks: 48
Thanked 54 Times in 30 Posts
Default Re: vote for the server 5165

Quote:
Originally Posted by metalfa_n1 View Post
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, 10:16 PM
Bad Ass Botta!
 
Join Date: Sep 2009
Posts: 364
Thanks: 70
Thanked 16 Times in 16 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, 01:47 AM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 201
Thanks: 48
Thanked 54 Times in 30 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 02:11 AM.
Reply With Quote
  #9 (permalink)  
Old 01-19-2010, 08:20 AM
A Botter
 
Join Date: Dec 2009
Posts: 132
Thanks: 25
Thanked 11 Times in 9 Posts
Default Re: vote for the server 5165

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

Quote:
Originally Posted by speedco View Post
wow thx man i love you
your welcome bro, enjoy
Reply With Quote
  #11 (permalink)  
Old 01-19-2010, 09:34 PM
cakobu's Avatar
Beginner
 
Join Date: Jul 2008
Location: ||*||Catalunya||*||
Posts: 84
Thanks: 17
Thanked 28 Times in 9 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, 04: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, 06:36 PM
WHITELIONX's Avatar
A Botter
 
Join Date: Mar 2008
Location: in conquer ^^
Posts: 271
Thanks: 106
Thanked 45 Times in 27 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, 11:28 PM
A Botter
 
Join Date: Sep 2009
Location: Philippines
Posts: 201
Thanks: 48
Thanked 54 Times in 30 Posts
Default Re: vote for the server 5165

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

Bookmarks

« NPC's | All my work »
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


All times are GMT. The time now is 11:38 PM.

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