Ir para conteúdo

T0RR3SM0

Membro
  • Registro em

  • Última visita

  1. Tibia The Duel / UGG Call of Duty - Modern Warfare 3
  2. Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\xampp\htdocs\config\config.php on line 4
  3. T0RR3SM0 reagiu a uma resposta no tópico: 2015 GESIOR ACC 1.0 BY VICTORWEBMASTER
  4. T0RR3SM0 reagiu a uma resposta no tópico: Experience System
  5. http://www.tibiaking.com/forum/topic/16242-perfect-bounty-hunter-system-com-php/ aiai, luuki para de tenta ganha rep nas custas dos outros coloque os créditos do WarW0lf
  6. T0RR3SM0 reagiu a uma resposta no tópico: Passagem secreta diferente
  7. T0RR3SM0 reagiu a uma resposta no tópico: Passagem secreta diferente
  8. os scripts estão aqui .. http://www.tibiaking.com/forum/topic/33713-evento-blood-castle-autom%C3%A1tico/ @up
  9. Esse é o de menos então, se alguém poder arruma a função pra sumonar ficaria grato até por que as paredes elas sumonam quando o evento acaba por que não as pedras? se n tiver jeito msm ainda quero alguma ajuda no script 1 :v alguém?
  10. Eai pessoal hoje vim pedir para vocês humildemente uma ajudinha com um script de um evento chamando (BLOD CASTLE) é o seguinte estou com dois probleminha nesse evento 1 - Quando eu inicio o evento na lib do script coloquei o máximo de 5 player o script não obedece essa listagem o tp fica aberto até da inicio ao evento ele só fecha na verdade quando o evento vai inicia ae ele some ae tá errado certo era quando passa os 5 players o tp fecharia automaticamente ai eles aguardariam o inicio do evento. 2 - Quando o evento vai inicia tem 4 pedras que impedem os player de passar só que quando o evento inicia automaticamente elas somem só que estou com um probleminha quando o evento acaba é talz as 4 pedras do inicio que saiu elas n renascem no lugar sabe? pra dar continuidade ao um próximo (BLOOD CASTLE) .. quem puder me ajudar ficaria muito grato mesmo é também vai ter meus +Reps do dia garantido..
  11. T0RR3SM0 reagiu a uma resposta no tópico: [2015] Gesior 1.0 - VictorWEBMaster
  12. Hmm é quanto ao bug dos players? tão entrando +pessoas do que o normal se não poderia criar um script ou sei lá arruma o mesmo pra que quando a quantia certa entrar o TP fechar pra n entrar mais ninguém é uma ideia boa seria também que quando o evento acaba-se o pessoal que tive na área do evento fossem todos automaticamente pro templo!?
  13. Não msm ctz que vc chegou a testar? " BLOOD CASTLE " . configurei pra 3 nego só pra teste entrava quantos quiser, é também quando o evento termina as 4 PEDRAS do inicio não renascem pra ter continuidade de um próximo " BLOOD CASTLE " ahh é so pra constar o evento não precisar de nenhuma query na database pro funcionamento dele.
  14. Eventos bugados só para constar.. se puder fixa-los ficaria grato!
  15. Tá sem bugs os eventos luuki seu lindo? blood castle etc .. ?
  16. T0RR3SM0 reagiu a uma resposta no tópico: onStatsChange for TFS 1.0
  17. Adicionar em creaturescripts.xml <event type="login" name="fraglook_register" event="script" value="fraglook.lua"/> <event type="look" name="fraglook" event="script" value="fraglook.lua"/> Logo após isso criar um arquivo .lua em data/creaturescript/scripts fraglook.lua function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } return size.day + size.week + size.month end function onLogin(cid) registerCreatureEvent(cid, "fraglook") return true end function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid then doPlayerSetSpecialDescription(thing.uid,'[Frags: '..getPlayerFrags(thing.uid)..']') return true elseif thing.uid == cid then doPlayerSetSpecialDescription(cid,'[Frags: '..getPlayerFrags(cid)..']') local string = 'You see yourself.' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end string = string..getPlayerSpecialDescription(cid)..'' if getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil then string = string..' You are '.. (getPlayerSex(cid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(cid)) ..'.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false end return true end
  18. T0RR3SM0 reagiu a uma resposta no tópico: Anel de Sauron
  19. T0RR3SM0 reagiu a uma resposta no tópico: Knight Implode/Explode
  20. T0RR3SM0 reagiu a uma resposta no tópico: Puxar/Empurrar (conjunto de spells)
  21. T0RR3SM0 postou uma resposta no tópico em Suporte Tibia OTServer
    Eai galerinha queria um npc com a função de apostar tipo? um exemplo de como ele funcionaria ele vai girar o dado se cair no número "6" eu vou ganhar 5x o valor apostado. se eu perder eu perco a grana apostada nessa faixa de valor (1000000-5000000 gold coin). dependo do valor que eu for apostar é sim o número "6" é o padrão, então aqui uma imagem de especificação

Informação Importante

Confirmação de Termo