Ir para conteúdo

MalokeroO

Membro
  • Registro em

  • Última visita

Tudo que MalokeroO postou

  1. MalokeroO postou uma resposta no tópico em Playground (Off-topic)
    qem ve pensa que come muitas.
  2. MalokeroO postou uma resposta no tópico em Suporte Tibia OTServer
    tenta usar esse http://tibiaking.com/forum/topic/23559-player-online-spoof/page__hl__spoof
  3. pensei q ia ficar bem dahora, mais...
  4. MalokeroO postou uma resposta no tópico em Outros Jogos
    joguei um pouco mais nao achei legal.
  5. MalokeroO postou uma resposta no tópico em Suporte Tibia OTServer
    pra mudar a localizaçao que o player vai nascer, vc tem que ir no Config.lua e mudar essa parte newPlayerSpawnPosX = 1027 newPlayerSpawnPosY = 912 newPlayerSpawnPosZ = 5 coloca a posiçao nova.
  6. entao vai em talkactions.xml, e procura por transformar e ve em qual script ele ta ai vc faz.
  7. se for 8.54 é facil, basta vc ir em data/talkactions/scripts e procurar pelo script transformar. se vc nao sabe como fazer as transforms passa o id da vocations e os numeros da outifit que no caso sera o transform.
  8. na pagina de instalaçao do site vc coloca o nome do server o ip deixa 127.0.0.1 e o nome da database vc coloca LocalHost
  9. sqlDatabase = "LocalHost" tente colocar essa LocalHost no nome da database
  10. MalokeroO postou uma resposta no tópico em Playground (Off-topic)
    ksopaksaopsk combino com vc, bom trabalho a manin.
  11. manda o Config.lua pra min revisar
  12. tenta esse function onDeath(cid, corpse, deathList) if isPlayer(cid) and isPlayer(deathList[1]) then doSetItemSpecialDescription(doPlayerAddItem(deathList[1],5943, 1),"This is the heart of "..getPlayerName(cid).." killed at Level "..getPlayerLevel(cid).." by "..getPlayerName(deathList[1])..".") doPlayerSendTextMessage(deathList[1], MESSAGE_STATUS_CONSOLE_ORANGE, "You Killed " .. getCreatureName(cid) .. ".") doSendMagicEffect(getPlayerPosition(deathList[1]), 12) end return true end Adicione a tag no creaturescript e registre o script no onLogin.lua <event type="death" name="Reward" event="script" value="hearts.lua"/> Agora vai em data > creaturescript > script > login.lua e adicione antes do último return true : registerCreatureEvent(cid, "Reward") @EDIT Testei e aqui deu certo,
  13. vc tem q colocar o nome da database que vc criou no phpmyadmin.
  14. MalokeroO postou uma resposta no tópico em Suporte Tibia OTServer
    vai no config.lua e coloca o ip que vc criou la, se nao der tenta colocar o Ip em numeros e entrar com o ip que vc criou
  15. MalokeroO postou uma resposta no tópico em Suporte Tibia OTServer
    tente trokar encryptionType = "plain" por encryptionType = "sha1"
  16. Obrigado, Fico Feliz que tenha conseguido.
  17. MalokeroO postou uma resposta no tópico em Playground (Off-topic)
    Pelo que eu vi no youtube parece um jogo bem manero. nao, mais pretendo comprar.
  18. MalokeroO postou uma resposta no tópico em Suporte Tibia OTServer
    <?xml version="1.0" encoding="UTF-8"?> <npc name="Tiger Lucan" script="data/npc/scripts/bless.lua" walkinterval="1000" floorchange="0"> <health now="100" max="100"/> <look type="73" head="0" body="0" legs="0" feet="0" addons="0"/> <parameters> <parameter key="message_greet" value="Hi, Selling 5 Types of Bless. {First Bless}, {Second Bless}, {Third Bless}, {Fourth Bless}, {Fifth Bless} Want to Buy?'"/> <parameter key="message_farewell" value="bye.."/> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="job;" /> <parameter key="keyword_reply1" value="I am a busy man. I run the Ironhouse also im selling bless." /> <parameter key="module_shop" value="1"/> <parameter key="shop_sellable" value="" /> <parameter key="shop_buyable" value="" /> </parameters> </npc> Data>Npc>Scripts cria um arquivo chamado bless local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local node1 = keywordHandler:addKeyword({'first bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the first blessing for 10000 gold?'}) node1:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 1, premium = true, cost = 10000}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node2 = keywordHandler:addKeyword({'second bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the second blessing for 10000 gold?'}) node2:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 2, premium = true, cost = 10000}) node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node3 = keywordHandler:addKeyword({'third bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the third blessing for 10000 gold?'}) node3:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 3, premium = true, cost = 10000}) node3:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node4 = keywordHandler:addKeyword({'fourth bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the fourth blessing for 10000 gold?'}) node4:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 4, premium = true, cost = 10000}) node4:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) local node5 = keywordHandler:addKeyword({'fifth bless'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you want to buy the fifth blessing for 10000 gold?'}) node5:addChildKeyword({'yes'}, StdModule.bless, {npcHandler = npcHandler, bless = 5, premium = true, cost = 10000}) node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Too expensive, eh?'}) npcHandler:addModule(FocusModule:new())
  19. 1º Para arrumar esse bug do ''Server Offline'', basta ir no arquivo em \xampp\htdocs\layouts\tibiacom\layout.php nele, encontre if($config['status']['serverStatus_online'] == 1) 2º substituia por if($config['status']['serverStatus_online'] >= 0) Pronto! Problema do Server Offline Resolvido! se agora ta aparecendo 0 players online 1º Agora, adicione ainda no layout.php, antes da tag <head> o seguinte script: <?PHP $update_interval = 10; if(count($config['site']['worlds']) > 1) { $worlds .= '<i>Select world:</i> '; foreach($config['site']['worlds'] as $id => $world_n) { $worlds .= ' <a href="?subtopic=whoisonline&world='.$id.'">'.$world_n.'</a> , '; if($id == (int) $_GET['world']) { $world_id = $id; $world_name = $world_n; } } $main_content .= substr($worlds, 0, strlen($worlds)-3); } if(!isset($world_id)) { $world_id = 0; $world_name = $config['server']['serverName']; } $order = $_REQUEST['order']; if($order == 'level') $orderby = 'level'; elseif($order == 'vocation') $orderby = 'vocation'; if(empty($orderby)) $orderby = 'name'; $tmp_file_name = 'cache/whoisonline-'.$orderby.'-'.$world_id.'.tmp'; if(file_exists($tmp_file_name) && filemtime($tmp_file_name) > (time() - $update_interval)) { $tmp_file_content = explode(",", file_get_contents($tmp_file_name)); $number_of_players_online = $tmp_file_content[0]; $players_rows = $tmp_file_content[1]; } else { $players_online_data = $SQL->query('SELECT * FROM players WHERE world_id = '.(int) $world_id.' AND online > 0 ORDER BY '.$orderby); $number_of_players_online = 0; foreach($players_online_data as $player) { $number_of_players_online++; $acc = $SQL->query('SELECT * FROM '.$SQL->tableName('accounts').' WHERE '.$SQL->fieldName('id').' = '.$player['account_id'].'')->fetch(); if(is_int($number_of_players_online / 2)) $bgcolor = $config['site']['darkborder']; else $bgcolor = $config['site']['lightborder']; $rs = ""; if ($player['skulltime'] > 0 && $player['skull'] == 3) $rs = "<img style='border: 0;' src='./images/whiteskull.gif'/>"; elseif ($player['skulltime'] = $player['skull'] == 4) $rs = "<img style='border: 0;' src='./images/redskull.gif'/>"; elseif ($player['skulltime'] = $player['skull'] == 5) $rs = "<img style='border: 0;' src='./images/blackskull.gif'/>"; $players_rows .= '<TR BGCOLOR='.$bgcolor.'><TD WIDTH=10%><image src="images/flags/'.$acc['flag'].'.png"/></TD><TD WIDTH=70%><A HREF="?subtopic=characters&name='.urlencode($player['name']).'">'.$player['name'].$rs.'</A></TD><TD WIDTH=10%>'.$player['level'].'</TD><TD WIDTH=20%>'.$vocation_name[$world_id][$player['promotion']][$player['vocation']].'</TD></TR>'; } } ?> 4º E onde estiver echo $config['status']['serverStatus_players'].'<br />Players Online'; Substitua por echo ''.$number_of_players_online.'<br />Players Online'; CREDITOS: TheFog
  20. eu fiz 1 sign, eu achei q fico bonita, kkk, vamo ver a opnião dos outros, Postei la no outro topico.
  21. MalokeroO postou uma resposta no tópico em Playground (Off-topic)
    ele ajuda a comunidade,nao importa post,rep entre outras coisas, ajudando a comunidade a crescer é o que importa.
  22. tem q comprar, se nao tiver eu jogo com vc

Informação Importante

Confirmação de Termo