When People try to make WOTLK account menu

User Tag List

Results 1 to 12 of 12
  1. #1
    cainrivera01's Avatar Member
    Reputation
    5
    Join Date
    Nov 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    When People try to make WOTLK account

    website:arthas.ath.cx
    when they choose WOTLK it makes it 3 on the flags on accounts table

    When People try to make WOTLK account
  2. #2
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you trying to change it? What was your question?

    What emulator are you using?

    I live in a shoe

  3. #3
    cainrivera01's Avatar Member
    Reputation
    5
    Join Date
    Nov 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I Want to make it so people can choose WOTLK or BC okay they choose WOTLK but in the accounts table it makes the flags 3 instead of 32

  4. #4
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What website are you using? Edit the account creation.php and look for '3' and change it to 32

    I live in a shoe

  5. #5
    cainrivera01's Avatar Member
    Reputation
    5
    Join Date
    Nov 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it is 32 already its just i think the accounts table only allows one character in accounts table

  6. #6
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That wouldn't make sense..
    Or at east, it shouldn't

    I live in a shoe

  7. #7
    cainrivera01's Avatar Member
    Reputation
    5
    Join Date
    Nov 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    its 32 on the index.php but when they create the account it makes the flags in accounts table 3!

  8. #8
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    post your accounts.php here. I had to edit mine too, and I think I can help you

  9. #9
    cainrivera01's Avatar Member
    Reputation
    5
    Join Date
    Nov 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <?php

    include("config.php");

    error_reporting(E_ALL ^ E_NOTICE);

    session_start();

    $msg = Array();
    $error = Array();

    function addUser(){
    if (empty($_POST)) return false;
    global $config, $msg, $error;
    if (empty($_POST['login'])) $error[] = 'Error, You forgot to enter a account name!';
    if (empty($_POST['password'][0]) || empty($_POST['password'][1])) $error[] = 'Error, You forgot to enter a password!';
    if ($_POST['password'][0] !== $_POST['password'][1]) $error[] = 'Password does not match!';
    if (empty($_POST['email'])) $error[] = 'Please fill in a valid email adress!';
    if (!empty($error)) return false;
    $db = @mysql_connect($config['mysql_host'], $config['mysql_user'], $config['mysql_pass']);
    if (!$db) return $error[] = 'Database: '.mysql_error();
    if (!@mysql_select_db($config['mysql_dbname'], $db)) return $error[] = 'Database: '.mysql_error();
    $query = "SELECT `acct` FROM `accounts` WHERE `login` = '".mysql_real_escape_string($_POST['login'])."'";
    $res = mysql_query($query, $db);
    if (!$res) return $error[] = 'Database: '.mysql_error();
    if (mysql_num_rows($res) > 0) return $error[] = 'Username already in use.';
    //Modified by Jerq
    $query = "INSERT INTO `accounts` (`login`,`password`,`lastip`, `flags`) VALUES ('".mysql_real_escape_string($_POST['login'])."', '".mysql_real_escape_string($_POST['password'][0])."', '".$_SERVER['REMOTE_ADDR']."','".mysql_real_escape_string($_POST['tbc'][0])."')";
    //Modified by Jerq

    $res = mysql_query($query, $db);
    if (!$res) return $error[] = 'Database: '.mysql_error();
    $msg[] = 'The Account <span style="color:#00FF00"><strong>'.htmlentities($_POST['login']).'</strong></span> has been created!';
    mysql_close($db);
    return true;
    }
    {
    addUser();
    }

    ?>


    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>Account Registration Page</title>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <style type="text/css" media="screen">@import url(server_stats.css);</style>
    <!--[if lt IE 7.]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->
    </head>
    <body>

    <center>
    <div class="logo"></div>
    <div style="width:300px">
    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
    <table width="100%" border="0" cellspacing="1" cellpadding="3">
    <tr class="head"><th colspan="2">Account Creation</th></tr>
    <tr>
    <th>Username: </th><td align="center"><input class="button" type="text" name="login" size="30" maxlength="16"/></td>
    </tr>
    <tr>
    <th>Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td>
    </tr>
    <tr>
    <th>Retype Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td>
    </tr>
    <tr>
    <th>E-mail: </th><td align="center"><input class="button" type="text" name="email" size="30" maxlength="30"/></td>
    </tr>

    <th>Account Type:</th><td align="center">
    <select name="tbc" type="select">
    <option value="8">Burning crusade</option>
    </select></td>
    </table>
    <input type="button" class="button" value="Back" onClick="history.go(-1)" />
    <input type="submit" value="Create" class="button"/>
    </form>

    <?php
    if (!empty($error)){
    echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td class="error" align="center">';
    foreach($error as $text)
    echo $text.'</br>';
    echo '</td></tr></table>';
    };
    if (!empty($msg)){
    echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td align="center">';
    foreach($msg as $text)
    echo $text.'</br>';
    echo '</td></tr></table>';
    exit();
    };
    ?>

    </div>
    </center>
    <CENTER><h1><a href="Flags_Update.php"> <img src="http://www.worldofwarcraft.com/news/images/08-11/upgradenow-wrath.gif" bforder="0" width="213" height="91">
    <BR><font color="#468ba5">Update Account to Wrath Of the Lich king</font> </a>
    <BR>


    </table>
    <div align="center">
    <p id="done" style="width: 220px; font-weight: bold; color: #29b503; font-family: tahoma, arial, sans; font-size: 13px;">
    <font color= #468ba5 >Realmlist:</font><br /><font color="white">arthas.ath.cx<br /><br />
    <font color= #468ba5 >Accepted Client(s):</font><br /><font color="white"><h1>3.0.3<br /><br />

    <font color="white">[</font><a href="http://arthas.ath.cx/forum"> <font color="#468ba5">Forums</font> </a><font color="white">]</font><font color="white">[</font><a href="stats.xml"> <font color="#468ba5">Stats</font> </a><font color="white">]</font><br />

    </body>
    </html>

  10. #10
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try this one

    Code:
    <?php
    
    include("config.php");
    
    error_reporting(E_ALL ^ E_NOTICE);
    
    session_start();
    
    $msg = Array();
    $error = Array();
    
    function addUser(){
    if (empty($_POST)) return false;
    global $config, $msg, $error;
    if (empty($_POST['login'])) $error[] = 'Error, You forgot to enter a account name!';
    if (empty($_POST['password'][0]) || empty($_POST['password'][1])) $error[] = 'Error, You forgot to enter a password!';
    if ($_POST['password'][0] !== $_POST['password'][1]) $error[] = 'Password does not match!';
    if (empty($_POST['email'])) $error[] = 'Please fill in a valid email adress!';
    if (!empty($error)) return false;
    $db = @mysql_connect($config['mysql_host'], $config['mysql_user'], $config['mysql_pass']);
    if (!$db) return $error[] = 'Database: '.mysql_error();
    if (!@mysql_select_db($config['mysql_dbname'], $db)) return $error[] = 'Database: '.mysql_error();
    $query = "SELECT `acct` FROM `accounts` WHERE `login` = '".mysql_real_escape_string($_POST['login'])."'";
    $res = mysql_query($query, $db);
    if (!$res) return $error[] = 'Database: '.mysql_error();
    if (mysql_num_rows($res) > 0) return $error[] = 'Username already in use.';
    //Modified by Jerq
    $query = "INSERT INTO `accounts` (`login`,`password`,`lastip`, `flags`) VALUES ('".mysql_real_escape_string($_POST['login'])."', '".mysql_real_escape_string($_POST['password'][0])."', '".$_SERVER['REMOTE_ADDR']."','".mysql_real_escape_string($_POST['tbc'][0])."')";
    //Modified by Jerq
    
    $res = mysql_query($query, $db);
    if (!$res) return $error[] = 'Database: '.mysql_error();
    $msg[] = 'The Account <span style="color:#00FF00"><strong>'.htmlentities($_POST['login']).'</strong></span> has been created!';
    mysql_close($db);
    return true;
    }
    {
    addUser();
    }
    
    ?>
    
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>Account Registration Page</title>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <style type="text/css" media="screen">@import url(server_stats.css);</style>
    <!--[if lt IE 7.]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->
    </head>
    <body>
    
    <center>
    <div class="logo"></div>
    <div style="width:300px">
    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
    <table width="100%" border="0" cellspacing="1" cellpadding="3">
    <tr class="head"><th colspan="2">Account Creation</th></tr>
    <tr>
    <th>Username: </th><td align="center"><input class="button" type="text" name="login" size="30" maxlength="16"/></td>
    </tr>
    <tr>
    <th>Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td>
    </tr>
    <tr>
    <th>Retype Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td>
    </tr>
    <tr>
    <th>E-mail: </th><td align="center"><input class="button" type="text" name="email" size="30" maxlength="30"/></td>
    </tr>
    
    <th>Account Type:</th><td align="center">
    <select name="wotlk" type="select">
    <option value="32">Wrath of the Lich King</option>
    </select></td>
    </table>
    <input type="button" class="button" value="Back" onClick="history.go(-1)" />
    <input type="submit" value="Create" class="button"/>
    </form>
    
    <?php
    if (!empty($error)){
    echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td class="error" align="center">';
    foreach($error as $text)
    echo $text.'</br>';
    echo '</td></tr></table>';
    };
    if (!empty($msg)){
    echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td align="center">';
    foreach($msg as $text)
    echo $text.'</br>';
    echo '</td></tr></table>';
    exit();
    };
    ?>
    
    </div>
    </center>
    <CENTER><h1><a href="Flags_Update.php"> <img src="http://www.worldofwarcraft.com/news/images/08-11/upgradenow-wrath.gif" bforder="0" width="213" height="91">
    <BR><font color="#468ba5">Update Account to Wrath Of the Lich king</font> </a>
    <BR>
    
    
    </table>
    <div align="center">
    <p id="done" style="width: 220px; font-weight: bold; color: #29b503; font-family: tahoma, arial, sans; font-size: 13px;">
    <font color= #468ba5 >Realmlist:</font><br /><font color="white">arthas.ath.cx<br /><br />
    <font color= #468ba5 >Accepted Client(s):</font><br /><font color="white"><h1>3.0.3<br /><br />
    
    <font color="white">[</font><a href="http://arthas.ath.cx/forum"> <font color="#468ba5">Forums</font> </a><font color="white">]</font><font color="white">[</font><a href="stats.xml"> <font color="#468ba5">Stats</font> </a><font color="white">]</font><br />
    
    </body>
    </html>

  11. #11
    cainrivera01's Avatar Member
    Reputation
    5
    Join Date
    Nov 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <?php
    
    include("config.php");
    
    error_reporting(E_ALL ^ E_NOTICE);
    
    session_start();
    
    $msg = Array();
    $error = Array();
    
    function addUser(){
    if (empty($_POST)) return false;
    global $config, $msg, $error;
    if (empty($_POST['login'])) $error[] = 'Error, You forgot to enter a account name!';
    if (empty($_POST['password'][0]) || empty($_POST['password'][1])) $error[] = 'Error, You forgot to enter a password!';
    if ($_POST['password'][0] !== $_POST['password'][1]) $error[] = 'Password does not match!';
    if (empty($_POST['email'])) $error[] = 'Please fill in a valid email adress!';
    if (!empty($error)) return false;
    $db = @mysql_connect($config['mysql_host'], $config['mysql_user'], $config['mysql_pass']);
    if (!$db) return $error[] = 'Database: '.mysql_error();
    if (!@mysql_select_db($config['mysql_dbname'], $db)) return $error[] = 'Database: '.mysql_error();
    $query = "SELECT `acct` FROM `accounts` WHERE `login` = '".mysql_real_escape_string($_POST['login'])."'";
    $res = mysql_query($query, $db);
    if (!$res) return $error[] = 'Database: '.mysql_error();
    if (mysql_num_rows($res) > 0) return $error[] = 'Username already in use.';
    //Modified by Jerq
    $query = "INSERT INTO `accounts` (`login`,`password`,`lastip`, `flags`) VALUES ('".mysql_real_escape_string($_POST['login'])."', '".mysql_real_escape_string($_POST['password'][0])."', '".$_SERVER['REMOTE_ADDR']."','".mysql_real_escape_string($_POST['tbc'][0])."')";
    //Modified by Jerq
    
    $res = mysql_query($query, $db);
    if (!$res) return $error[] = 'Database: '.mysql_error();
    $msg[] = 'The Account <span style="color:#00FF00"><strong>'.htmlentities($_POST['login']).'</strong></span> has been created!';
    mysql_close($db);
    return true;
    }
    {
    addUser();
    }
    
    ?>
    
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>Account Registration Page</title>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <style type="text/css" media="screen">@import url(server_stats.css);</style>
    <!--[if lt IE 7.]>
    <script defer type="text/javascript" src="pngfix.js"></script>
    <![endif]-->
    </head>
    <body>
    
    <center>
    <div class="logo"></div>
    <div style="width:300px">
    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
    <table width="100%" border="0" cellspacing="1" cellpadding="3">
    <tr class="head"><th colspan="2">Account Creation</th></tr>
    <tr>
    <th>Username: </th><td align="center"><input class="button" type="text" name="login" size="30" maxlength="16"/></td>
    </tr>
    <tr>
    <th>Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td>
    </tr>
    <tr>
    <th>Retype Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td>
    </tr>
    <tr>
    <th>E-mail: </th><td align="center"><input class="button" type="text" name="email" size="30" maxlength="30"/></td>
    </tr>
    
    <th>Account Type:</th><td align="center">
    <select name="tbc" type="select">
    <option value="8">Burning crusade</option>
    </select></td>
           </table>
            <input type="button" class="button" value="Back" onClick="history.go(-1)" />
            <input type="submit" value="Create" class="button"/>
            </form>
    
    		<?php
            if (!empty($error)){
                echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td class="error" align="center">';
                foreach($error as $text)
                    echo $text.'</br>';
                echo '</td></tr></table>';
            };
            if (!empty($msg)){
                echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td align="center">';
                foreach($msg as $text)
                    echo $text.'</br>';
                echo '</td></tr></table>';
                exit();
            };
            ?>
    
        </div>
        </center>
    <CENTER><h1><a href="Flags_Update.php">  <img src="http://www.worldofwarcraft.com/news/images/08-11/upgradenow-wrath.gif" bforder="0" width="213" height="91">
    <BR><font color="#468ba5">Update Account to Wrath Of the Lich king</font> </a>				
    <BR>
    
    
    </table>
    <div align="center">
    <p id="done" style="width: 220px; font-weight: bold; color: #29b503; font-family: tahoma, arial, sans; font-size: 13px;">
    <font color= #468ba5 >Realmlist:</font><br /><font color="white">arthas.ath.cx<br /><br />
    <font color= #468ba5 >Accepted Client(s):</font><br /><font color="white"><h1>3.0.3<br /><br />
    
    <font color="white">[</font><a href="http://arthas.ath.cx/forum"> <font color="#468ba5">Forums</font> </a><font color="white">]</font><font color="white">[</font><a href="stats.xml"> <font color="#468ba5">Stats</font> </a><font color="white">]</font><br />
    
    </body>
    </html>

  12. #12
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes try that

Similar Threads

  1. Replies: 5
    Last Post: 04-16-2010, 06:44 PM
  2. [MaNGOS] Cannot Log in when trying to make public
    By rhorix in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 04-02-2010, 04:05 PM
All times are GMT -5. The time now is 01:47 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search