i want to let AAC character View 5 quests, i'v tried many ways but fail someone help me
the other problem after creating account then character i find the password in the database like this "c9e4f619a1fe4af5e818b404effe9e3efcf0fa94"
and in my config :
in the same time i want to add the eq and show spell
dose anyone have a thread or an idea for that?.
i will not forget the Rep++
PHP:
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$characterPageQuests = array();
/* A list of quests for character/view page. It will be listed on the page as a table to show acomplished missions.
Array contains array of quests which includes STORAGE ID, STORAGE VALUE (Required to finish quest) and NAME
To create new quest copy line accross and change values.
*/
$player = $GLOBALS['player'];
/* Eg. $characterPageQuests[] = array('storage'=>5000, 'value'=>1, 'name'=>'Demon Helmet Quest'); */
$characterPageQuests[] = array('storage'=>5000, 'value'=>1, 'name'=>'Demon Helmet Quest');
if(count($characterPageQuests) != 0) {
echo "<div class='bar'>Quests</div>";
echo "<table width='100%'>";
echo "<tr><td width='90%'><center><b>Quest Name</b></center></td><td><b><center>Status</center></b></td></tr>";
$SQL = POT::getInstance()->getDBHandle();
foreach($characterPageQuests as $value) {
$quest = $SQL->query("SELECT `value` FROM `player_storage` WHERE `player_id` = ".$player->getId()." AND `key` = '".$value['storage']."' AND `value` = '".$value['value']."'")->fetch();
$status = ($quest) ? "true" : "false";
echo "<tr><td width='90%'><center>".$value['name']."</center></td><td><center><img src='../../../public/images/$status.gif'></center></td></tr>";
}
echo "</table>";
}
?>
and in my config :
so how i can solve this pleaseencryptionType = "sha1"
in the same time i want to add the eq and show spell
dose anyone have a thread or an idea for that?.
i will not forget the Rep++
Last edited: