Character Not found? menu

User Tag List

Results 1 to 1 of 1
  1. #1
    DoxramosPS's Avatar Knight
    Reputation
    26
    Join Date
    Aug 2010
    Posts
    214
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Character Not found?

    So this is directed at everyone, but I see Snicker being my savior once again.
    So far I have
    PHP Code:
    <form autocomplete="off" method="post" action="<?php echo $_SERVER['PHP_SELF'?>">
    <input type="hidden" name="csrftoken" value="" />
    <?php 
    if(isset($_POST['submit']))
    {
        
        
        
            if(
    $price['type'] == 'vote'){
                if(
    $account_extra['vote_points'] < $price['vp'])$errors[] = "You don't have enough vote points (Needed ".$price['vp']." VP)";
            }else if(
    $price['type'] == 'donate'){
                if(
    $account_extra['donation_points'] < $price['dp'])$errors[] = "You don't have enough donation points (Needed ".$price['dp']." DP)";
            }
        
        if(
    count($errors) < 1){
        
        
    $username '******';
    $password '****';
    $character $_GET['character'];
    $id_reward $_POST['pets'];
    $subject "This is the Original RA access Command.";
    $text "Assuming this works correctly then I should be able to enter a name and send this message with the attached item. With that the items can be listed as a drop down menu so that they can choose the item and character from a dropdown menu. For now we'll be testing that the item itself sends correctly.";
    $host "logon.doxramos.org";
    $soapport 7878;
    $command 'send items '.$character.' "'.$subject.'" "'.$text.'" '.$id_reward.'';
    $client = new SoapClient(NULL,
    array(
        
    "location" => "http://$host:$soapport/",
        
    "uri" => "urn:TC",
        
    "style" => SOAP_RPC,
        
    'login' => $username,
        
    'password' => $password
    ));

    try {
        
    $result $client->executeCommand(new SoapParam($command"command"));
            echo 
    "Command succeeded! Output:<br />\n";
        echo 
    $result;
    }
    catch (
    Exception $e)
    {
        echo 
    "Command failed! Reason:<br />\n";
        echo 
    $e->getMessage();
    }
    For the top portion of my donation page. Below that I have
    PHP Code:

        <div class="form-row required">
            <label for="character" class="label-full ">
                <strong>Select a Character</strong>
                <span class="form-required">*</span>
            </label>
            
            <?php
            $get_chars 
    mysql_query("SELECT * FROM $server_cdb.characters WHERE account = '".$account_information['id']."'");
                while(
    $character mysql_fetch_array($get_chars)){
                }
            
    ?>
            
            <select id="character" name="character">
                <?php
                $online 
    0;
                
    $get_chars mysql_query("SELECT * FROM $server_cdb.characters WHERE account = '".$account_information['id']."'");
                    while(
    $character mysql_fetch_array($get_chars)){
                        echo 
    '<option value="'.$character['guid'].'">'.$character['name'].'</option>';
                        if(
    $character['online'] == 1$online 1;
                    }
                
    ?>
            </select>
        </div>

        <div class="form-row required">
            <label for="CharNew" class="label-full ">
                <strong>Pet Selection</strong>
                <span class="form-required">*</span>
            </label>
            <select id="pets" name ="pets" onchange="showPet(this.value)">
            <?php
            $get_vote_pets 
    mysql_query("SELECT * FROM $server_db.pet_rewards WHERE price =10 ORDER BY guid");
                    while(
    $results mysql_fetch_array($get_vote_pets)){
                    echo 
    '<option value="'.$results['id'].'">'.$results['name'].'</option>';
                    }
                    
    ?>
            </select>
            
        </div>

        <fieldset class="ui-controls " >
            <?php
            
    echo '<button class="ui-button button1" type="submit" name="submit" id="settings-submit" value="Continue" tabindex="1">';
            
    ?>
            <span><span>Continue</span></span>
            </button>
            
            <a class="ui-cancel" href="account_man.php" tabindex="1"><span>Cancel</span></a>
        </fieldset>

    </form>
    When you select a character and an in game pet from the dropdown menu it says character not found. I'm assuming it's not pulling the POST commands or the GET seeing as I've tried both. When the script is being ran on the same page does anyone know what I'm doing wrong?
    Mangos and Trinity Emulation
    Windows | Linux
    Under Development : morgangreen.org WoW CMS Site

    Character Not found?

Similar Threads

  1. "Instance not found"
    By Shao111 in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 01-19-2008, 07:49 PM
  2. Plz HelpMe! [Item Not Found]
    By kristian92 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-19-2008, 05:08 PM
  3. The item was not found
    By daveander in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 12-21-2007, 12:03 AM
  4. item was not found wannouncement
    By bahumatneo in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 11-22-2007, 05:02 AM
  5. Characters not created??
    By Xylos92 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 10-16-2007, 01:47 PM
All times are GMT -5. The time now is 04:01 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