Ir para conteúdo

baiakuda

Membro
  • Registro em

  • Última visita

Tudo que baiakuda postou

  1. @Dragon Ball Hiper PERFEITO!!!! OBRIGADO.
  2. @Dragon Ball Hiper [16:0:07.752] [Error - LuaInterface::loadFile] data/talkactions/scripts/online.lua:22: unfinished string near '"])' [16:0:07.754] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/online.lua) [16:0:07.770] data/talkactions/scripts/online.lua:22: unfinished string near '"])'
  3. TFS 0.4 / TIBIA 8.6 Boa tarde galera do TK. Gostaria de saber se tem como o comando !online só mostrar a quantidade de players ONLINE, pois NÃO QUERO QUE MOSTRE OS NOMES DOS JOGADORES ONLINE!!! local config = { showGamemasters = getBooleanFromString(getConfigValue('displayGamemastersWithOnlineCommand')) } function onSay(cid, words, param, channel) local players = getPlayersOnline() local strings = {""} local i, position = 1, 1 local added = FALSE for _, pid in ipairs(players) do if(added) then if(i > (position * 7)) then strings[position] = strings[position] .. "," position = position + 1 strings[position] = "" else strings[position] = i == 1 and "" or strings[position] .. ", " end end if((config.showGamemasters or getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES) or not getPlayerCustomFlagValue(pid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) and (not isPlayerGhost(pid) or getPlayerGhostAccess(cid) >= getPlayerGhostAccess(pid))) then strings[position] = strings[position] .. getCreatureName(pid) .. " [" .. getPlayerLevel(pid) .. "]" i = i + 1 added = TRUE else added = FALSE end end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, (i - 1) .. " player(s) online:") for i, str in ipairs(strings) do if(str:sub(str:len()) ~= ",") then str = str .. "." end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, str) end return TRUE end
  4. Desculpa e muito obrigado pelo feedback, farei da maneira correta agora
  5. Bom dia amigos do TK. TFS: 0.4 / 8.60 Gostaria de saber porque quando eu ativo o GLOBAL SAVE do script abaixo ele não reinicia... Resumindo: ele salva as 05:30, fecha o TFS, porem NÃO ABRE NOVAMENTE. JÁ RESOLVI ... CASO ALGUEM TENHA O MESMO PROBLEMA EM WINDOWS RESOLVI ASSIM \/
  6. Tudo ok com a instalação, porem os points nao chegam automaticamente para o player nem para a database =/
  7. Galera do TK, preciso da ajuda de vocês ... Eu baixei o TFS 3884 compilado aqui do fórum (link abaixo), mas os players em não conseguem passar dentro do outro em área pz . Alguém poderia me explicar o motivo e me dizer se tem como corrigir?
  8. Script para: GESIOR 2012 / TFS 0.4 / tibia 8.60 Gostaria de saber se é possivel aparecer a vocação do char ao lado do level, ou no lugar do "points" aparecer a vocation em vez da experiencia <?PHP if(!defined('INITIALIZED')) exit; $list = 'experience'; if(isset($_REQUEST['list'])) $list = $_REQUEST['list']; $page = 0; if(isset($_REQUEST['page'])) $page = min(50, $_REQUEST['page']); $vocation = ''; if(isset($_REQUEST['vocation'])) $vocation = $_REQUEST['vocation']; switch($list) { case "fist": $id=Highscores::SKILL_FIST; $list_name='Fist Fighting'; break; case "club": $id=Highscores::SKILL_CLUB; $list_name='Club Fighting'; break; case "sword": $id=Highscores::SKILL_SWORD; $list_name='Sword Fighting'; break; case "axe": $id=Highscores::SKILL_AXE; $list_name='Axe Fighting'; break; case "distance": $id=Highscores::SKILL_DISTANCE; $list_name='Distance Fighting'; break; case "shield": $id=Highscores::SKILL_SHIELD; $list_name='Shielding'; break; case "fishing": $id=Highscores::SKILL_FISHING; $list_name='Fishing'; break; case "magic": $id=Highscores::SKILL__MAGLEVEL; $list_name='Magic'; break; default: $id=Highscores::SKILL__LEVEL; $list_name='Experience'; break; } if(count($config['site']['worlds']) > 1) { foreach($config['site']['worlds'] as $idd => $world_n) { if($idd == (int) $_REQUEST['world']) { $world_id = $idd; $world_name = $world_n; } } } if(!isset($world_id)) { $world_id = 0; $world_name = $config['server']['serverName']; } if(count($config['site']['worlds']) > 1) { $main_content .= ' <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%> <TR> <TD></TD> <TD> <FORM ACTION="" METHOD=get> <INPUT TYPE="hidden" NAME="subtopic" VALUE="highscores"> <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4> <TR> <TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>World Selection</B></TD> </TR> <TR> <TD BGCOLOR="'.$config['site']['darkborder'].'"> <TABLE BORDER=0 CELLPADDING=1> <TR> <TD>Best players on world:</TD> <TD><SELECT SIZE="1" NAME="world">'; foreach($config['site']['worlds'] as $wid => $world_n) { if($wid == $world_id) $main_content .= ' <OPTION VALUE="'.htmlspecialchars($wid).'" selected="selected">'.htmlspecialchars($world_n).'</OPTION>'; else $main_content .= ' <OPTION VALUE="'.htmlspecialchars($wid).'">'.htmlspecialchars($world_n).'</OPTION>'; } $main_content .= ' </SELECT> </TD> <TD> <INPUT TYPE="image" NAME="Submit" ALT="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif"> </TD> </TR> </TABLE> </TABLE> </FORM> </TABLE>';} $offset = $page * 100; $skills = new Highscores($id, 100, $page, $world_id, $vocation); $main_content .= ' <TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%> <TR> <TD WIDTH=100% ALIGN=right VALIGN=bottom> <CENTER><H2>Ranking for '.htmlspecialchars($list_name).' on '.htmlspecialchars($world_name).'</H2></CENTER><BR>'; $main_content .= ' <br><TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%></TABLE> <TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%> <TR BGCOLOR="'.$config['site']['vdarkborder'].'"> <TD CLASS=whites><strong>Rank</strong></TD> <TD WIDTH=75% CLASS=whites><B>Name</B></TD> <TD WIDTH=15% CLASS=whites><b>Level</B></TD>'; if($list == "experience") $main_content .= ' <TD CLASS=whites><b>Points</B></TD>'; $main_content .= ' </TR>'; $number_of_rows = 0; foreach($skills as $skill) { if($list == "magic") $value = $skill->getMagLevel(); elseif($list == "experience") $value = $skill->getLevel(); else $value = $skill->getScore(); $bgcolor = (($number_of_rows++ % 2 == 1) ? $config['site']['darkborder'] : $config['site']['lightborder']); $main_content .= ' <tr bgcolor="'.$bgcolor.'"> <td>'.($offset + $number_of_rows).'</td> <td><a href="?subtopic=characters&name='.urlencode($skill->getName()).'">'.htmlspecialchars($skill->getName()).'</a></td> <td>'.$value.'</td>'; if($list == "experience") $main_content .= ' <td>'.$skill->getExperience().'</td>'; $main_content .= ' </tr>'; } $main_content .= ' </TABLE> <TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1 WIDTH=100%>'; if($page > 0) $main_content .= ' <TR> <TD WIDTH=100% ALIGN=right VALIGN=bottom> <A HREF="?subtopic=highscores&list='.urlencode($list).'&page='.($page - 1).'&vocation=' . urlencode($vocation) . '&world=' . urlencode($world_id) . '" CLASS="size_xxs">Previous Page</A> </TD> </TR>'; if($page < 50) $main_content .= ' <TR> <TD WIDTH=100% ALIGN=right VALIGN=bottom> <A HREF="?subtopic=highscores&list='.urlencode($list).'&page='.($page + 1).'&vocation=' . urlencode($vocation) . '&world=' . urlencode($world_id) . '" CLASS="size_xxs">Next Page</A> </TD> </TR>'; $main_content .= ' </TABLE> </TD> <TD WIDTH=5%> <IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=1 HEIGHT=1 BORDER=0> </TD> <TD WIDTH=15% VALIGN=top ALIGN=right> <TABLE BORDER=0 CELLPADDING=4 CELLSPACING=1> <TR BGCOLOR="'.$config['site']['vdarkborder'].'"> <TD CLASS=whites><B>Choose a category</B></TD> </TR> <TR BGCOLOR="'.$config['site']['lightborder'].'"> <TD> <A HREF="?subtopic=highscores&list=experience&world='.$world_id.'" CLASS="size_xs">Experience</A><BR> <A HREF="?subtopic=highscores&list=magic&world='.$world_id.'" CLASS="size_xs">Magic</A><BR> <A HREF="?subtopic=highscores&list=shield&world='.$world_id.'" CLASS="size_xs">Shielding</A><BR> <A HREF="?subtopic=highscores&list=distance&world='.$world_id.'" CLASS="size_xs">Distance</A><BR> <A HREF="?subtopic=highscores&list=club&world='.$world_id.'" CLASS="size_xs">Club</A><BR> <A HREF="?subtopic=highscores&list=sword&world='.$world_id.'" CLASS="size_xs">Sword</A><BR> <A HREF="?subtopic=highscores&list=axe&world='.$world_id.'" CLASS="size_xs">Axe</A><BR> <A HREF="?subtopic=highscores&list=fist&world='.$world_id.'" CLASS="size_xs">Fist</A><BR> <A HREF="?subtopic=highscores&list=fishing&world='.$world_id.'" CLASS="size_xs">Fishing</A><BR> </TD> </TR> </TABLE> </TD> <TD><IMG SRC="'.$layout_name.'/images/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD> </TR> </TABLE>'; ?>
  9. Fatal error: Uncaught exception 'Exception' with message 'PagSeguroLibrary: cURL library is required.' in C:\xampp\htdocs\custom_scripts\PagSeguroLibrary\utils\PagSeguroHttpConnection.class.php:33 Stack trace: #0 C:\xampp\htdocs\custom_scripts\PagSeguroLibrary\service\PagSeguroPaymentService.class.php(73): PagSeguroHttpConnection->__construct() #1 C:\xampp\htdocs\custom_scripts\PagSeguroLibrary\domain\PagSeguroPaymentRequest.class.php(627): PagSeguroPaymentService::createCheckoutRequest(Object(PagSeguroAccountCredentials), Object(PagSeguroPaymentRequest), false) #2 C:\xampp\htdocs\dntpagseguro.php(21): PagSeguroPaymentRequest->register(Object(PagSeguroAccountCredentials)) #3 {main} thrown in C:\xampp\htdocs\custom_scripts\PagSeguroLibrary\utils\PagSeguroHttpConnection.class.php on line 33 Alguem poderia me ajudar??? Obs: estou usando o GESIOR do proprio autor desse script.
  10. Desculpa, mas por enquanto só tenho ele compilado. Assim que eu conseguir as sources te mando um email.
  11. Segue abaixo: http://speedy.sh/MYud9/theforgottenserver obs: não sei como faço pra por aqueles scanner de virus
  12. Boa noite. Galera notei que quando coloco meu server em PVP ENFORCED o char não pega PK (WHITE SKULL). Gostaria de saber se tem algum jeito para fazer eles pegarem PK.
  13. Realmente existe porem já baixei e encontrei diversos bugs, como por exemplo esse tfs que tenho para linux funfa ACC MANNAGER e GESIOR em sha1... já esse outro ai não. Fora os bugs de globalevents...
  14. baiakuda postou uma resposta no tópico em Suporte Tibia OTServer
    Bom dia, Quando um player morre pela guild rival aparece no guild chat o nome dele, quem o matou e quanto esta a war. Exemplo: 11:49 Opponent Player Test was killed by Player Killer. The new score is 1:0 frags (limit 999). Mas eu queria que isso aparece-se na tela de todos players da guild em verde (broadcast) ao invez de mostrar somente no guild chat. Alguém sabe como mudo isso??
  15. Boa tarde, Bom gostaria de trazer um tfs 0.4 rev. 3777 com Cast System sem bugs para todos do TK, porem ele só esta rodando em LINUX. Gostaria de saber se alguém poderia compilar (ou alguma coisa do tipo) para que ele possa rodar em windows e assim distribuir esse tfs para todos os Tibiakinganos.

Informação Importante

Confirmação de Termo