Register for your free account! | Forgot your password?

You last visited: Today at 21:49

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

Advertisement



server voting for 5165

Discussion on server voting for 5165 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 02/06/2010, 02:10   #46


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Ok so, thanks to tanes post in general to point us in the correct direction, its a simple Chat packet, not string packet, i was misinformed.

The type is 0x839 or 2105 depending on if your storing it as hex or decimal.

To: ALLUSERS
From: SYSTEM
Message: website address here.

Enjoy~
Korvacs is offline  
Thanks
5 Users
Old 02/06/2010, 03:54   #47
 
.Ocularis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
<3
.Ocularis is offline  
Old 02/08/2010, 13:18   #48
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
Nothing on this really helps any voting code lol
coz it all loads on the host pc :P
LegalConquer is offline  
Old 02/08/2010, 13:38   #49
 
.Ocularis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
Quote:
Originally Posted by Korvacs View Post
Ok so, thanks to tanes post in general to point us in the correct direction, its a simple Chat packet, not string packet, i was misinformed.

The type is 0x839 or 2105 depending on if your storing it as hex or decimal.

To: ALLUSERS
From: SYSTEM
Message: website address here.

Enjoy~
Code:
Game.World.SendMsgToAll("SYSTEM", "http://www.yahoo.com/", 2011, 0);
Not working. Am I doing something wrong?

Edit:
Ahem, I obviously am. So what am I doing wrong
.Ocularis is offline  
Old 02/08/2010, 15:11   #50


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by Mentalis View Post
Code:
Game.World.SendMsgToAll("SYSTEM", "http://www.yahoo.com/", 2011, 0);
Not working. Am I doing something wrong?

Edit:
Ahem, I obviously am. So what am I doing wrong
Well lets see, your type is wrong obviously

2011 != 2105
Korvacs is offline  
Thanks
2 Users
Old 02/08/2010, 17:14   #51
 
.Ocularis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
<3 again. I'm on my phone atm, playing golf right now.

I'll try this when I get home and see if it works.

Just in case I'm getting mentally challenged I'm thinking your saying to try this

Code:
Game.World.SendMsgToAll("SYSTEM", "http://www.yahoo.com/", 2105, 0);
.Ocularis is offline  
Thanks
2 Users
Old 02/08/2010, 17:35   #52


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Correct.
Korvacs is offline  
Thanks
2 Users
Old 06/14/2010, 23:22   #53
 
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
Code:
 #region Vote
                            case 3016555:
                                {
                                    if ([COLOR="Red"]option[/COLOR] == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Would you like to vote for CrankCo?"));
                                        GC.AddSend(Packets.NPCLink("yes afcourse", 1));
                                        GC.AddSend(Packets.NPCLink("uhh na, im lame!", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());

                                    }
                                    if ([COLOR="red"]option[/COLOR] == 1)
                                    {
                                        if (GC.MyChar.VoteUsed == 0)
                                        {
                                            GC.MyChar.VoteUsed++;
                                            GC.MyChar.CPs += 5000;
                                            Game.World.SendMsgToAll("SYSTEM", "http://www.xtremetop100.com/in.php?site=1132270770", 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


there ya go the whole thingy*(btw this is my mysql version)
chnage it (if needed)so u can use flatfiled..
Red marked will change in: Control
for the most of you.
pintser is offline  
Old 06/15/2010, 04:18   #54
 
AngeaL™'s Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 12
Received Thanks: 7
Nice Release Man!!!!!!!
AngeaL™ is offline  
Old 06/28/2010, 18:32   #55
 
ftp4life's Avatar
 
elite*gold: 0
Join Date: Mar 2007
Posts: 130
Received Thanks: 9
why is it when someone uses this npc it send the Message to everyone's pc, do you need to change this
Code:
Game.World.SendMsgToAll("SYSTEM", "http://www.xtremetop100.com/in.php?site=1132306914", 2105, 0);
            Game.World.SendMsgToAll("SYSTEM", " Congratulations " + GC.MyChar.Name + " recieved 50000 cps for voting ", 2011, 0);
To this??
Code:
Game.World.CharacterFromName("SYSTEM", "http://www.xtremetop100.com/in.php?site=1132306914", 2105, 0);
            Game.World.SendMsgToAll("SYSTEM", " Congratulations " + GC.MyChar.Name + " recieved 50000 cps for voting ", 2011, 0);
ftp4life is offline  
Thanks
1 User
Old 06/28/2010, 18:57   #56
 
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
ty
pintser is offline  
Old 04/16/2011, 14:38   #57
 
elite*gold: 0
Join Date: Feb 2011
Posts: 3
Received Thanks: 0
Where is character.cs?:|
axel0899 is offline  
Reply


Similar Threads Similar Threads
Is it possible to cheat P.server Voting systems?
04/07/2010 - Ragnarok Online - 1 Replies
can anyone please tell me how to do it if it is =)
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?



All times are GMT +1. The time now is 21:50.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.