Nolife_x Web Gift RZ Coins and EV Coins problem.

Results 1 to 4 of 4
  1. #1
    Apprentice TheWinner is offline
    MemberRank
    Dec 2009 Join Date
    flamegaming.netLocation
    15Posts

    Nolife_x Web Gift RZ Coins and EV Coins problem.

    Hello everyone!!!

    I am having some small problems with the web nolife_x, last night I was testing the RZ Gift Coins Function and the GIFT EV Coins Function, I put the character name of the person I was gift, and when I clicked on the button "GIFT" These coins that I would gift. Were to me and not him.

    Here is the code :



    RZ Coins Gift :

    Code:
    if($_SESSION['UGradeID'] == 254){
        msgbox("Access Denied","index.php");
    }
    if($_SESSION['UGradeID'] == 252){
        msgbox("Access Denied","index.php");
    }
    
    if (isset($_POST['submit'])){
        $type = clean($_POST['type']);
        $id = clean($_POST['id']);
        $coins1 = clean($_POST['coins1']);
        //--
        if ($type == 1){
            $res = mssql_query_logged("SELECT * FROM Account WHERE UserID = '$id'");
            if(mssql_num_rows($res) == 0){
                msgbox("User ID $id Doesnt Exist","index.php?do=rzgift");
    }else{
                $data = mssql_fetch_assoc($res);
                $userID = $data['UserID'];
                $UserAID = $data['AID'];
                if($_POST['C1'] == "ON"){
                }
    $query = mssql_query_logged("SELECT [RZCoins] FROM [Login] WHERE [UserID] = '$userid'");
    $item = mssql_fetch_assoc($query);
    $coins = $item['RZCoins'];
    $amountcoins = $_POST['coins1'];
    $coins += $amountcoins;
    mssql_query_logged("UPDATE [Login] SET [RZCoins] = $coins WHERE [UserID] = '$userid'");
                msgbox("The User With The ID $id Has Been Gifted!!","index.php?do=rzgift");
            }
        }else{
            $res = mssql_query_logged("SELECT * FROM Character WHERE Name = '$id'");
            if(mssql_num_rows($res) == 0){
                msgbox("The Character $id Doesnt Exist","index.php?do=rzgift");
            }else{
                $res = mssql_query_logged("SELECT * FROM Character WHERE Name = '$id'");
                $data = mssql_fetch_assoc($res);
                $UserAID = $data['AID'];
    $query = mssql_query_logged("SELECT [RZCoins] FROM [Login] WHERE [UserID] = '$userid'");
    $item = mssql_fetch_assoc($query);
    $coins = $item['RZCoins'];
    $amountcoins = $_POST['coins1'];
    $coins += $amountcoins;
    mssql_query_logged("UPDATE [Login] SET [RZCoins] = $coins WHERE [UserID] = '$userid'");
                msgbox("The User With The Character $id Has Been Gifted!!","index.php?do=rzgift");
            }
        }
    
    }
    EV Coins Gift :

    Code:
    <?
    
    include "authadmin.php";
    
    if (isset($_POST['submit'])){
        $type = clean($_POST['type']);
        $id = clean($_POST['id']);
        $coins1 = clean($_POST['coins']);
        //--
        if ($type == 1){
            $res = mssql_query_logged("SELECT * FROM Account WHERE UserID = '$id'");
            if(mssql_num_rows($res) == 0){
                msgbox("UserID $id doesnt exist","index.php?do=evgift");
    }else{
                $data = mssql_fetch_assoc($res);
                $userID = $data['UserID'];
                $UserAID = $data['AID'];
                if($_POST['C1'] == "ON"){
                }
    $query = mssql_query_logged("SELECT [EVCoins] FROM [Login] WHERE [UserID] = '$userid'");
    $item = mssql_fetch_assoc($query);
    $coins = $item['EVCoins'];
    $amountcoins = $_POST['coins1'];
    $coins += $amountcoins;
    mssql_query_logged("UPDATE [Login] SET [EVCoins] = $coins WHERE [UserID] = '$userid'");
                msgbox("The user with the ID $id has been gifted","index.php?do=evgift");
            }
        }else{
            $res = mssql_query_logged("SELECT * FROM Character WHERE Name = '$id'");
            if(mssql_num_rows($res) == 0){
                msgbox("The character $id doesnt exist","index.php?do=evgift");
            }else{
                $res = mssql_query_logged("SELECT * FROM Character WHERE Name = '$id'");
                $data = mssql_fetch_assoc($res);
                $UserAID = $data['AID'];
    $query = mssql_query_logged("SELECT [EVCoins] FROM [Login] WHERE [UserID] = '$userid'");
    $item = mssql_fetch_assoc($query);
    $coins = $item['EVCoins'];
    $amountcoins = $_POST['coins1'];
    $coins += $amountcoins;
    mssql_query_logged("UPDATE [Login] SET [EVCoins] = $coins WHERE [UserID] = '$userid'");
                msgbox("The user with the character $id has been gifted","index.php?do=evgift");
            }
        }
    
    }
    Thank you.
    TheWinner
    Last edited by TheWinner; 16-01-10 at 11:13 AM.


  2. #2
    Apprentice TheWinner is offline
    MemberRank
    Dec 2009 Join Date
    flamegaming.netLocation
    15Posts

    Re: Nolife_x Web Gift RZ Coins and EV Coins problem.

    Can someone help me?

  3. #3
    Be a kicker than cheater. cheaterastic is offline
    MemberRank
    Dec 2009 Join Date
    764Posts

    Re: Nolife_x Web Gift RZ Coins and EV Coins problem.

    Yes.... Me, I can help you...
    Pls. Click 1st the Thanks Button to thank me, before I will do helping you...
    After you click thanks send me a PM message.

  4. #4
    Account Upgraded | Title Enabled! ::.kakashi.:: is offline
    MemberRank
    May 2009 Join Date
    MarsLocation
    321Posts

    Re: Nolife_x Web Gift RZ Coins and EV Coins problem.

    Quote Originally Posted by cheaterastic View Post
    Yes.... Me, I can help you...
    Pls. Click 1st the Thanks Button to thank me, before I will do helping you...
    After you click thanks send me a PM message.
    noob go get life -.+



Advertisement