Ir para conteúdo

Cleiton Felipi

Membro
  • Registro em

  • Última visita

Tudo que Cleiton Felipi postou

  1. Boa tarde, não sei se estou na seção correta, qual melhor versão do xampp ou qual o melhor programa para um site recente de 10.77, estou usando a versão 1.7.3, agradeço desde já s22
  2. AAC installation is disabled. To enable it make file install.php in main AAC directory and put there your IP.
  3. Cleiton Felipi postou uma resposta no tópico em Suporte Tibia OTServer
    no latestnews da o seguinte erro. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Referencia' in 'where clause'' in C:\xampp\htdocs\layouts\tibiacom\layout.php:485 Stack trace: #0 C:\xampp\htdocs\layouts\tibiacom\layout.php(485): PDO->query('SELECT COUNT(*)...') #1 C:\xampp\htdocs\index.php(332): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\layouts\tibiacom\layout.php on line 485 se alguem puder me ajudar
  4. Não é querendo de mais, mas eu tentei e não consegui, sabe compilar reset system no distro? eu tentei e nao consegui.
  5. Obrigado, problema resolvido.
  6. Galera preciso de um reset system, mas 1 reset system em mods eu tenho 1 mas preciso de um com stages. aqui ta o meu, se tiver como por stages ae se alguem souber eu agradeço muito. <?xml version="1.0" encoding="UTF-8"?> <mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes"> <!-- Configuracao --> <config name="reset_config"><![CDATA[ config = { level = 700, premium = false, storage = 54676, } function reset(cid) if (config.premium and not(isPremium(cid)) ) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.") end if (getPlayerLevel(cid) < config.level) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".") end if not(getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.") end doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) doCreatureSetStorage(cid, config.storage, getResets(cid)) return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.") end function getResets(cid) return (isPlayer(cid) and getCreatureStorage(cid, config.storage) + 1) end ]]></config> <!-- Talkaction para resetar --> <talkaction words="!reset" event="buffer"><![CDATA[ domodlib('reset_config') reset(cid) ]]></talkaction> <!-- Talkaction para ver quantos resets tem --> <talkaction words="!myresets" event="buffer"><![CDATA[ domodlib('reset_config') return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.") ]]></talkaction> <!-- Tile --> <movevent type="StepIn" actionid="9911" event="script"><![CDATA[ domodlib('reset_config') function onStepIn(cid, item, position, fromPosition) local minResets = 1 if (not(getResets(cid) >= minResets)) then doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") return doTeleportThing(cid, fromPosition) end doPlayerSendCancel(cid, "Bem Vindo") end ]]></movevent> <!-- Porta --> <action actionid="9910" event="script"><![CDATA[ domodlib('reset_config') function onUse(cid, item, position, fromPosition) local minResets = 5 if not(getResets(cid) >= minResets) then return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") end doPlayerSendCancel(cid, "Bem Vindo") end ]]></action> </mod>
  7. meu servidor ja está em sha1 e o gesior também, mas 1 gera salt e outro não.ajuda nesse também. http://www.tibiaking.com/forum/topic/40273-highscores/
  8. Ola galera. bom queria saber como desativa o salt do account manager e deixa igual o do gesior. Quando crio account pelo 1/1 a acc n loga no site e quando crio acc pelo gesior ele n loga no jogo. e vi que o problema esta no salt na DB do servidor contas criadas pelo site n tem salt e pelo acc manager tem salt, como arrumar?
  9. Cleiton Felipi postou uma resposta no tópico em Suporte Tibia OTServer
    Gostaria de saber se alguem tem um highscores.php que mostre os resets "Sim vou fazer um servidor de radbr" igual a esse e aqui ta meu highscore para se alguem souber fazer. desculpa n sei por aquele negocio que esconde o texto <?PHP $list = $_REQUEST['list']; $page = $_REQUEST['page']; switch($list) { case "fist": $id = 0; $list_name = 'Fist Fighting'; break; case "club": $id = 1; $list_name = 'Club Fighting'; break; case "sword": $id = 2; $list_name = 'Sword Fighting'; break; case "axe": $id = 3; $list_name = 'Axe Fighting'; break; case "distance": $id = 4; $list_name = 'Distance Fighting'; break; case "shield": $id = 5; $list_name = 'Shielding'; break; case "fishing": $id = 6; $list_name = 'Fishing'; break; } if(!isset($id)) if($list == "magic") $list_name = "Magic Level"; else { $list_name = 'Nível'; $list = 'experience'; } if(count($config['site']['worlds']) > 1) { $worlds .= '<i>Select Servidor</i> '; foreach($config['site']['worlds'] as $idd => $world_n) { if($idd == (int) $_GET['world']) { $world_id = $idd; $world_name = $world_n; } } } if($idd == (int) $_GET['world']) { $world_id = $idd; $world_name = $world_n; } if(!isset($world_id)) { $world_id = 0; $world_name = $config['server']['serverName']; } $offset = $page * 100; if(isset($id)) $skills = $SQL->query('SELECT name,online,value,level,vocation,promotion FROM players,player_skills WHERE players.world_id = '.$world_id.' AND players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND players.id = player_skills.player_id AND player_skills.skillid = '.$id.' ORDER BY value DESC, count DESC LIMIT 101 OFFSET '.$offset); elseif($list == "magic") $skills = $SQL->query('SELECT name,online,maglevel,level,vocation,promotion FROM players WHERE players.world_id = '.$world_id.' AND players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" ORDER BY maglevel DESC, manaspent DESC LIMIT 101 OFFSET '.$offset); elseif($list == "experience") $skills = $SQL->query('SELECT name,online,level,experience,vocation,promotion FROM players WHERE players.world_id = '.$world_id.' AND players.deleted = 0 AND players.group_id < '.$config['site']['players_group_id_block'].' AND name != "Account Manager" ORDER BY level DESC, experience DESC LIMIT 101 OFFSET '.$offset); //wyswietlanie wszystkiego $main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD><IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD><TD><CENTER><H2>Lista de Jogadores para '.$list_name.' no '.$world_name.'</H2></CENTER><BR>'; $main_content .= '<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%><TR><TD></TD><TD> <FORM ACTION="?subtopic=highscores" METHOD=get><INPUT TYPE=hidden NAME=subtopic VALUE=highscores><INPUT TYPE=hidden NAME=list VALUE=experience> <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4><TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>TOP 100 - Jogadores mais Fortes</B></TD></TR><TR><TD BGCOLOR='.$config['site]['lightborder'].'"> <TABLE BORDER=0 CELLPADDING=1><TR><TD>Servidor: </TD><TD><SELECT SIZE="1" NAME="world"><OPTION VALUE="" SELECTED>(Escolher Servidor)</OPTION>'; foreach($config['site']['worlds'] as $id => $world_n) { $main_content .= '<OPTION VALUE="'.$id.'">'.$world_n.'</OPTION>'; } $main_content .= '</SELECT> </TD><TD><INPUT TYPE=image NAME="Submit" ALT="Submit" SRC="'.$layout_name.'/images/buttons/sbutton_submit.gif" BORDER=0 WIDTH=120 HEIGHT=18> </TD></TR></TABLE></TABLE></FORM></TABLE><br><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 WIDTH=10% CLASS=whites><B>País</B></TD><TD WIDTH=10% CLASS=whites><B>Lugar</B></TD><TD WIDTH=75% CLASS=whites><B>Nome</B></TD><TD WIDTH=15% CLASS=whites><b><center>Nível</center></B></TD>'; if($list == "experience") $main_content .= '<TD CLASS=whites><b><center>Pontos</center></B></TD>'; $main_content .= '</TR><TR>'; foreach($skills as $skill) { $player = $ots->createObject('Player'); $player->find($skill['name']); $account = $player->getAccount(); $account_db = new OTS_Account(); $flagg = $account->getCustomField("flag"); if($number_of_rows < 100) { if($list == "magic") $skill['value'] = $skill['maglevel']; if($list == "experience") $skill['value'] = $skill['level']; if(!is_int($number_of_rows / 2)) { $bgcolor = $config['site']['darkborder']; } else { $bgcolor = $config['site']['lightborder']; } $number_of_rows++; $main_content .= '<tr bgcolor="'.$bgcolor.'"><td><image src="images/flags/'.$flagg.'.png"/></td><td>'.($offset + $number_of_rows).'.</td><td><a href="?subtopic=characters&name='.urlencode($skill['name']).'">'.($skill['online']>0 ? "<font color=\"green\">".$skill['name']."</font>" : "<font color=\"red\">".$skill['name']."</font>").'</a><br><small>'.$skill['level'].' '.$vocation_name[$world_id][$skill['promotion']][$skill['vocation']].'</small></td><td><center>'.$skill['value'].'</center></td>'; if($list == "experience") $main_content .= '<td><center>'.$skill['experience'].'</center></td>'; $main_content .= '</tr>'; } else $show_link_to_next_page = TRUE; } $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='.$list.'&page='.($page - 1).'" CLASS="size_xxs">Previous Page</A></TD></TR>'; if($show_link_to_next_page) $main_content .= '<TR><TD WIDTH=100% ALIGN=right VALIGN=bottom><A HREF="?subtopic=highscores&list='.$list.'&page='.($page + 1).'" CLASS="size_xxs">Next Page</A></TD></TR>'; $main_content .= '</TABLE></TD><TD WIDTH=5%><IMG SRC="'.$layout_name.'/images/general/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>Escolher<br/>Uma habilidade</B></TD></TR><TR BGCOLOR='.$config['site]['lightborder'].'"><TD><A HREF="?subtopic=highscores&list=experience&world='.$world_id.'" CLASS="size_xs">TOP Level</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></TABLE></TD><TD><IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD></TR></TABLE>'; ?>
  10. Absolute, se eu abrir o servidor com o TheForgottenServerCast o char não da save da 1 monte de erro a hora que loga, e se eu abrir com o outro o war system não funciona sabe oque é isso para eu poder arrumar?
  11. falto 1 war system, o seu distro tem suporte?
  12. NPC

    Cleiton Felipi postou uma resposta no tópico em Suporte Tibia OTServer
    Gostaria de um npc para que os players possam mudar seus nomes, um npc que cobre em kks. eu tenho um /renomear para e para o GOD e gostaria de um npc.
  13. Boa noite! eu gostaria de arrumar um highscores, que mostre a quantidade de resets no highscores. tipo assim Katharine Skywalkeer (733) [83] Desde ja obrigado. up UP
  14. Opa, no meu caso não precisa porque os item dos players continuam os mesmo, so resetei o level e a mana e o life, mas obrigado por colaborar. Pode fechar o topico. Minha dúvida ja foi sanada. Obrigado a todos.
  15. Bom dia galera! Bom eu gostaria de saber se existe algum comando para mysql que reseta o level e mana o life e os skill dos players, sem deletar os char, e o comando que manda todos para o templo. Não sei se estou na area correta, se não tiver desculpa. Desde já obrigado.
  16. Velho veja os mapas do death, todos os mapas dele tem castle war 24 hrs, http://www.tibiaking.com/forum/topic/36658-860baiak-bar%C3%A3o-sem-bug-character/,
  17. Este arquivo pode ser baixado apenas com a Conta Premium SpeedyShare. Compre a Conta Premium Agora!

Informação Importante

Confirmação de Termo