• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Outfitter 8.60 - showing outfits on website

for example in modern acc using a character view edited
PHP:
<?PHP
	$GLOBALS['player'] = $player; 
	echo '
		
		<center><table width=80% border="1" cellpadding="3" cellspacing="3">
		<tr align="center" bgcolor="#cfdfe1">
			<td>Outfit</td>
			<td>Name</td>
			<td>Sex</td>
			<td>Position</td>
			<td>Premium</td>
			<td>Last login</td>
			<td>Vocation</td>
		</tr>
		<tr align="center">
			<td>
			<image src="public/outfitter.php?id='.$player->getLookType().'&addons='.$player->getLookAddons().'&head='.$player->getLookHead().'&body='.$player->getLookBody().'&legs='.$player->getLookLegs().'&feet='.$player->getLookFeet().'"/>  
			</td>
			<td>
			<b>'.$player->GetName().'</b>
			</td>	
			<td>';
			?>
            <?PHP
			echo $sex = ($player->getSex() == 1) ? "Male" : "Female"
			?>
            <?PHP
			echo'
			</td>
			<td>
			';
			?>
			<?PHP
			$playerg = $player->GetGroup();
			if ($playerg == 1) {
				
				echo 'Player';
			} else if ($playerg == 2) {
				
				echo 'Tutor';
			} else if ($playerg == 3) {
			
				echo 'Senior tutor';	
			} else if ($playerg == 4) {
				
				echo 'Community Manager';	
			} else if ($playerg == 5) {
			
				echo 'Gamemaster';	
			} else if ($playerg == 6) {
				
				echo 'Admin';	
			}
			?>
            <?PHP
			echo'
			</td>
			<td>
			';
			?>
            <?PHP
			echo $prem = ($account->IsPremium()) ? "Yes" : "No";
			?>
			<?PHP
			echo'
			</td>
			<td>
			';
			?>
            <?PHP
			  echo $llog = ($player->GetLastLogin() == 0) ? "Never" : UNIX_TimeStamp($player->GetLastLogin);
			?>
            <?PHP
			echo '
			</td>
			<td>
			';
			?>
            <?PHP
			$playerv = $player->GetVocation();
			if ($playerv == 1) {
				
				echo'Sorcerer';
			} else if($playerv == 2) {
			
				echo'Druid';	
			} else if($playerv == 3) {
			
				echo'Paladin';	
			} else if($playerv == 4) {
			
				echo'Knight';	
			} else if($playerv == 5) {
			
				echo'Master Sorcerer';	
			} else if($playerv == 6) {
				
				echo'Elder Druid';	
			} else if($playerv == 7) {
			
				echo'Royal Paladin';	
			} else if($playerv == 8) {
			
				echo'Elite Knight';	
			}
			?>
            <?PHP
			echo '
			</td>
		</center></table>
	';
	
?>

Paste this in your view_character and see the result then just remove the uneecesary part

- - - Updated - - -

tibiamakers and me are working on this with 9.60 support, nice eh?xD




Uploaded with ImageShack.us
 
yes, but what should I add?

here for modern
PHP:
<image src="public/outfitter.php?id='.$player->getLookType().'&addons='.$player->getLookAddons().'&head='.$player->getLookHead().'&body='.$player->getLookBody().'&legs='.$player->getLookLegs().'&feet='.$player->getLookFeet().'"/>

and for gesior?
 
yes, but what should I add?

here for modern
PHP:
<image src="public/outfitter.php?id='.$player->getLookType().'&addons='.$player->getLookAddons().'&head='.$player->getLookHead().'&body='.$player->getLookBody().'&legs='.$player->getLookLegs().'&feet='.$player->getLookFeet().'"/>

and for gesior?

It's the same code? Just change outfiter.php path only
 
Characters.php part already exist here in the thread. Shouldn't be that hard to make it for whoisonline.php aswell.
 
Well i paid this kid to do this for me about 2 months ago, a heads up to anyone that pays him to work for him he will release your work... eventually..
 
You paid him to make this for you 2 months ago? I bought this from him 6 months ago lol
 
the time is irrelevant, paying for something released is garbage...

- - - Updated - - -

it actually could have been longer and most likely has been longer 3-4 mo's sounds about right...
 
@phantom22
I just released 8.6< version, and everyone which has bought 8.6+ version has support till the last of tibia version.
 
Back
Top