Muito bom cara, este sistema é muito bom. Há muitos websites que já usam este sistema. Obrigado por compartilhar conosco do XTibia;
Rep+
Abraços.
By Hudsin, 21 de dez. de 2010 in Tutoriais de Websites
info
Group: Infante
Joined: 15/05/10
Posts: 1.5k
Reputation: +230
Tibia Character: Alia Dori

Muito bom cara, este sistema é muito bom. Há muitos websites que já usam este sistema. Obrigado por compartilhar conosco do XTibia;
Rep+
Abraços.
info
Group: Campones
Joined: 30/10/09
Posts: 4
Reputation: 0
Tibia Character: Hazes Hangee

Esse sistema éh mto bom kra, parabens ai, funfo direitinho no meu server =D
info
Group: Herói
Joined: 23/12/08
Posts: 2.4k
Reputation: +359
Gender: Masculino
Tibia Character: Gordo Warlike

Como faço para que ele funfe como no global, ou seja, so apareca para o dono do char e se tiver logado no site. alguem pode ajudar??
info
Group: Artesão
Joined: 13/01/11
Posts: 116
Reputation: +24
Tibia Character: Não tenho

Ganhou meu REP+ ! Vlw
info
Group: Campones
Joined: 14/04/11
Posts: 10
Reputation: +1

Ótimo sistema, muito interessante e além de tudo útil, REP +
Vou reportar para que um moderador mova para a área correta (Tutoriais de Websites)
Obrigado.
info
Group: Cavaleiro
Joined: 03/03/07
Posts: 150
Reputation: +48
Gender: Masculino
Tibia Character: Kaball Madness
Estive procurando por esse sistema no Xtibia e nao encontrei...
Depois de muita pesquisa econtrei e resolvi postar aqui pra vocês(não sei se tem outro aqui pq eu não escontrei '-').
Autor: Xampy
Obs: Não sei se essa é a area certa para o post,caso nao for,se puderem mover agradeço mt :smile_positivo:
Vá na pasta xampp\htdocs\characters.php e Adicione:
:php2: PHP Code:
//frags list by Xampy $frags_limit = 10; // frags limit to show? // default: 10 $player_frags = $SQL->query('SELECT `player_deaths`.*, `players`.`name`, `killers`.`unjustified` FROM `player_deaths` LEFT JOIN `killers` ON `killers`.`death_id` = `player_deaths`.`id` LEFT JOIN `player_killers` ON `player_killers`.`kill_id` = `killers`.`id` LEFT JOIN `players` ON `players`.`id` = `player_deaths`.`player_id` WHERE `player_killers`.`player_id` = '.$player->getId().' ORDER BY `date` DESC LIMIT 0,'.$frags_limit.';'); if(count($player_frags)) { $frags = 0; $frag_add_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><br><TR BGCOLOR='.$config['site']['vdarkborder'].'><TD COLSPAN=2 CLASS=white><B>Frags</B></TD></TR>'; foreach($player_frags as $frag) { $frags++; if(is_int($number_of_rows / 2)) $bgcolor = $config['site']['darkborder']; else $bgcolor = $config['site']['lightborder']; $number_of_rows++; $frag_add_content .= "<tr bgcolor=\"".$bgcolor."\"> <td width=\"20%\" align=\"center\">".date("j M Y, H:i", $frag['date'])."</td> <td>".(($player->getSex() == 0) ? 'She' : 'He')." fragged <a href=\"index.php?subtopic=characters&name=".$frag[name]."\">".$frag[name]."</a> at level ".$frag[level].""; $frag_add_content .= ". (".(($frag[unjustified] == 0) ? "<font size=\"1\" color=\"green\">Justified</font>" : "<font size=\"1\" color=\"red\">Unjustified</font>").")</td></tr>"; } if($frags >= 1) $main_content .= $frag_add_content . '</TABLE>'; } // end of frags list by XampyNa linha $frags_limit = 10; // frags limit to show? // default: 10
Você pode subistituir o que está em negrito para a quantidade dos kills pra mostrar :tongue2:
ScreenShot:
Se pegar comenta ai
Quem gostou REP+ se puder,por trazer ao Xtibia
Edited Janeiro 3 by Hudsin