Register for your free account! | Forgot your password?

You last visited: Today at 07:15

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

Advertisement



[HELP]Vote

Discussion on [HELP]Vote within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 238
Received Thanks: 8
[HELP]Vote

hello everybody .
can some one give me vote script ?
vote for coins ?

this script :


or EG dekaron one ,, or any simple one ..

thanks .
lelothebest is offline  
Old   #2
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,892
its pretty easy in theory

Click -> account name (adds 25coins to mssql) -> Proceed to vote
BUT !
you cant give in your account name, and proceed to the vote, but dont vote (capatacha)

easy cheat
janvier123 is offline  
Old   #3
 
antondude's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 690
Received Thanks: 66
its not very simple actually, need some msql plugins
antondude is offline  
Old   #4
 
elite*gold: 0
Join Date: May 2008
Posts: 238
Received Thanks: 8
right .. i had this script .
but i lost it now ... so can some one share it with me again plz ?

so any know have this script ?

# merged by -= Re@p3r =-
lelothebest is offline  
Old   #5


 
Gentleman Jack's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 20,285
Received Thanks: 7,684
reported
doublepost
Gentleman Jack is offline  
Old   #6
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,892
ill try to make one as soon as i finish the website for DKv with the dekaron layout
its comming pretty good, and you gave me the idea to vote so ...
ill see whate i can do, and post it

Enter name (manual)

- would a option to enter your name be better

Drop Down list (Auto - Easy)

- do you need a list of players from a drop down list ?
- do you want to add [GM] / [DEV] to the list ?
janvier123 is offline  
Old   #7
 
turfstarz's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 23
Received Thanks: 2
I'll make a script when i get home. I'm used to mysql, shouldn't be too difficult with mssql.
turfstarz is offline  
Old   #8
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,892
Call it "vote.php"
This is only the drop downlist pulled for the DB, does not add coins yet !

PHP Code:
<?php

$mssql 
= array(
        
'host' => "YOURIP"// 127.0.0.1 or localhost are common used
        
'user' => "USERNAME"// mostly "sa"
        
'pass' => "YOURPASSWORD"
    
);
    
if(empty(
$_POST['select'])) {
    echo 
"<center><form action='vote.php' method='POST'>
        <table class='innertab'>
            <tr>
                <td colspan='2' align='left'><b><u>VOTE</b></u></td>
            </tr>
            <tr>
                <td colspan='2' align='left'>&nbsp;</td>
            </tr>
            <tr>
                <td align='left'>Select Character</td>
                <td><select name='character_name'>"
;
                    
$ms_con mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
                    
$result mssql_query("SELECT * FROM character.dbo.user_character",$ms_con);

                    while(
$row mssql_fetch_row($result)) {
                    
// Look at the list below 2 options
//
//if you want [GM]'s remove the "//" infront of :  if(!preg_match("/[[GM]]/i",$row[1])) {
//if you want [DEV]'s remove the "//" infront of : if(!preg_match("/[[DEV]]/i",$row[1])) {
//                    
//                            if(!preg_match("/[[GM]]/i",$row[1])) {
                            
if(!preg_match("/[[DEV]]/i",$row[1])) {
                            if(!
preg_match("/[+]/i",$row[1])) {

                        echo 
"<option value='".$row[0]."'>".$row[1]."</option>";
                    }
                    }
                    }
                echo 
"</select></td>
            </tr>
            <tr>
                <td align='left' colspan='2'>
                    <input type='hidden' name='select' value='1'>
                    <input type='submit' value='Select'>
                </td>
            </tr>
        </table>
    </form></center>"
;
    }    
?>
janvier123 is offline  
Old   #9
 
elite*gold: 0
Join Date: May 2008
Posts: 238
Received Thanks: 8
thx ... i'll try to get it too .
lelothebest is offline  
Old   #10
 
elite*gold: 0
Join Date: Jul 2009
Posts: 158
Received Thanks: 57
Quote:
Originally Posted by janvier123 View Post
Call it "vote.php"
This is only the drop downlist pulled for the DB, does not add coins yet !

PHP Code:
<?php

$mssql 
= array(
        
'host' => "YOURIP"// 127.0.0.1 or localhost are common used
        
'user' => "USERNAME"// mostly "sa"
        
'pass' => "YOURPASSWORD"
    
);
    
if(empty(
$_POST['select'])) {
    echo 
"<center><form action='vote.php' method='POST'>
        <table class='innertab'>
            <tr>
                <td colspan='2' align='left'><b><u>VOTE</b></u></td>
            </tr>
            <tr>
                <td colspan='2' align='left'>&nbsp;</td>
            </tr>
            <tr>
                <td align='left'>Select Character</td>
                <td><select name='character_name'>"
;
                    
$ms_con mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
                    
$result mssql_query("SELECT * FROM character.dbo.user_character",$ms_con);

                    while(
$row mssql_fetch_row($result)) {
                    
// Look at the list below 2 options
//
//if you want [GM]'s remove the "//" infront of :  if(!preg_match("/[[GM]]/i",$row[1])) {
//if you want [DEV]'s remove the "//" infront of : if(!preg_match("/[[DEV]]/i",$row[1])) {
//                    
//                            if(!preg_match("/[[GM]]/i",$row[1])) {
                            
if(!preg_match("/[[DEV]]/i",$row[1])) {
                            if(!
preg_match("/[+]/i",$row[1])) {

                        echo 
"<option value='".$row[0]."'>".$row[1]."</option>";
                    }
                    }
                    }
                echo 
"</select></td>
            </tr>
            <tr>
                <td align='left' colspan='2'>
                    <input type='hidden' name='select' value='1'>
                    <input type='submit' value='Select'>
                </td>
            </tr>
        </table>
    </form></center>"
;
    }    
?>
what to do with this xD ?
rezevil4o is offline  
Old   #11
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,892
its for turfstarz and lelothebest to help him out, and a example
iam still busy with the site, so after that ill look at the vote.php

and waiting for turfstarz if hes gonna create one or not
janvier123 is offline  
Old   #12
 
elite*gold: 0
Join Date: May 2008
Posts: 238
Received Thanks: 8
this one will not help ...
coz it choose the whole character list xD
lelothebest is offline  
Old   #13
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,892


done
janvier123 is offline  
Thanks
1 User
Old   #14
 
elite*gold: 0
Join Date: May 2008
Posts: 238
Received Thanks: 8
Thanks And Nice Work ...
but i have this error :
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\Vote\vote.php on line 73

any help ?
lelothebest is offline  
Reply


Similar Threads Similar Threads
T> WPE Dupe hack for Vote Hack /Wpe clonar items por vote hack
08/25/2010 - RFO Hacks, Bots, Cheats, Exploits & Guides - 6 Replies
Hello Trade mine WPE dupe hack for Vote hack (Gamepoinst) Tradeo mi WPE dupe hack por Vote Hack Mine msn :[email protected]
Could you please vote?
07/12/2010 - Off Topic - 7 Replies
Hi could you please vote for my video in youtube? And maybe even signup at that site? Video link - http://www.youtube.com/watch?v=x9qUhhjRDNY Thank you!
[Vote] Vote here plz and tell me ur opinon
12/09/2008 - EO PServer Hosting - 21 Replies
Will People Hate me if i became a Guard ? YES NO
[VOTE]what language do u prefer[VOTE]
01/30/2007 - Conquer Online 2 - 10 Replies
Vote here



All times are GMT +2. The time now is 07:15.


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

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