Ir para conteúdo

Ackerzin

Membro
  • Registro em

  • Última visita

Tudo que Ackerzin postou

  1. Tenta esse.
  2. Tenta assim
  3. http://www.tibiaking.com/forum/forums/topic/50390-tile-que-enxe-stamina/
  4. @mostjf que tipo de npc?
  5. Ja aconteceu comigo isso :x o seu mapa foi corrompido, por isso sempre é bom fazer um backup, tenta clicar com o botão direito no seu mapa, propriedades, versões anteriores e volta pra ultima vez que foi salvo, vai te ajudar mas vai perder algumas alterações que foram realizadas desse dia até hoje!
  6. @mostjf Simples, \data\XML abre vocations.xml <vocation id="7" name="Royal Paladin" description="a royal paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="60" gainmanaticks="2" gainmanaamount="60" manamultiplier="1.4" attackspeed="440" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> BASTA DEIXAR "1.0" no skill que quer deixar sem limites
  7. @Necamanuel Usa esse aqui que eu tenho, ele ta em portugues. \data\talkactions\scripts cria um arquivo chamado. Cadeia.lua -- Sistema adaptado por FreaksOT -- -- Tempo em segundos que alguém ficará na prisão -- default_jail = 1000 -- O group ID da permissão para alguém manda o outro para a cadeia. -- grouprequired = 5 -- StorageValue that the player gets -- jailedstoragevalue_time = 1338 jailedstoragevalue_bool = 1339 -- POSICAO DA CADEIA: -- jailpos = { x = 114, y = 56, z =7 } -- POSICAO DO LUGAR QUE ELE VOLTARÁ (RECOMENDADO TEMPO): -- unjailpos = { x = 159, y = 52, z =7 } -- auto kicker, dont edit jail_list = {} jail_list_work = 0 function checkJailList(param) addEvent(checkJailList, 1000, {}) for targetID,player in ipairs(jail_list) do if isPlayer(player) == TRUE then if getPlayerStorageValue(player, jailedstoragevalue_time) < os.time() then doTeleportThing(player, unjailpos, TRUE) setPlayerStorageValue(player, jailedstoragevalue_time, 0) setPlayerStorageValue(player, jailedstoragevalue_bool, 0) table.remove(jail_list,targetID) doPlayerSendTextMessage(player,MESSAGE_STATUS_CONSOLE_ORANGE,'Você foi chutado da prisão! Até logo') end else table.remove(jail_list,targetID) end end end function onSay(cid, words, param) if jail_list_work == 0 then jail_list_work = addEvent(checkJailList, 1000, {}) end if param == '' and (words == '!unjail' or words == '/unjail') then if getPlayerStorageValue(cid, jailedstoragevalue_time) > os.time() then doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'Você está preso até ' .. os.date("%H:%M:%S", getPlayerStorageValue(cid, jailedstoragevalue_time)) .. ' (Agora são: ' .. os.date("%H:%M:%S", os.time()) .. ').') else if getPlayerStorageValue(cid, jailedstoragevalue_bool) == 1 then table.insert(jail_list,cid) doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'Você vai ser expulso da prisão em um segundo.') else doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'Você não está preso.') end end return TRUE end local jail_time = -1 for word in string.gmatch(tostring(param), "(%w+)") do if tostring(tonumber(word)) == word then jail_time = tonumber(word) end end local isplayer = getPlayerByName(param) if isPlayer(isplayer) ~= TRUE then isplayer = getPlayerByName(string.sub(param, string.len(jail_time)+1)) if isPlayer(isplayer) ~= TRUE then isplayer = getPlayerByName(string.sub(param, string.len(jail_time)+2)) if isPlayer(isplayer) ~= TRUE then isplayer = getPlayerByName(string.sub(param, string.len(jail_time)+3)) end end end if jail_time ~= -1 then jail_time = jail_time * 60 else jail_time = default_jail end if words == '!jail' or words == '/jail' then if getPlayerGroupId ( cid ) >= grouprequired then if isPlayer(isplayer) == TRUE then doTeleportThing(isplayer, jailpos, TRUE) setPlayerStorageValue(isplayer, jailedstoragevalue_time, os.time()+jail_time) setPlayerStorageValue(isplayer, jailedstoragevalue_bool, 1) table.insert(jail_list,isplayer) doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'Você está preso '.. getCreatureName(isplayer) ..' até ' .. os.date("%H:%M:%S", getPlayerStorageValue(isplayer, jailedstoragevalue_time)) .. ' (Agora são: ' .. os.date("%H:%M:%S", os.time()) .. ').') doPlayerSendTextMessage ( isplayer, MESSAGE_INFO_DESCR, 'Você foi preso por '.. getCreatureName(cid) ..' até ' .. os.date("%H:%M:%S", getPlayerStorageValue(isplayer, jailedstoragevalue_time)) .. ' (Agora sao: ' .. os.date("%H:%M:%S", os.time()) .. ').') return TRUE else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "O player com este nome não existe ou está offline.") return FALSE end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você não pode libertar outros jogadores.") return FALSE end elseif words == '!unjail' or words == '/unjail' then if getPlayerGroupId ( cid ) >= grouprequired then if isPlayer(isplayer) == TRUE then doTeleportThing(isplayer, unjailpos, TRUE) setPlayerStorageValue(isplayer, jailedstoragevalue_time, 0) setPlayerStorageValue(isplayer, jailedstoragevalue_bool, 0) table.remove(jail_list,targetID) doPlayerSendTextMessage(isplayer,MESSAGE_STATUS_CONSOLE_ORANGE,getCreatureName(cid) .. 'vou deixar você sair da prisão!') doPlayerSendTextMessage ( cid, MESSAGE_INFO_DESCR, 'Voce está solto '.. getCreatureName(isplayer) ..'.') else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "O player com este nome não existe ou está offline.") return FALSE end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você não pode libertar outros jogadores.") return FALSE end end return FALSE end default_jail = 1000 AQUI VOCÊ MUDA O TEMPO, EM SEGUNDOS. 60 = 1 MINUTO Em talkactions.xml você poem. <talkaction words="!jail" script="Cadeia.lua"/> <talkaction words="!unjail" script="Cadeia.lua"/> <talkaction words="/jail" script="Cadeia.lua"/> <talkaction words="/unjail" script="Cadeia.lua"/>
  8. \VertrigoServ\www\config config.lua e da um ctrl + f e poem $config['site']['newaccount_premdays'] = 1; 1 = sim 0 = não
  9. @Necamanuel não é da minha conta, mas você viu que os players saem automatico quando da o tempo ? nao sei que a pessoa iria ficar esperando 2 horas pra ir la e falar o comando
  10. Esse erro aqui é porque ja existe um servidor aberto nesse computador, abre o gerenciador de tarefas e finaliza o TFS Another instance of The Forgotten Server is already running with the same worldid. If you want to run multiple servers, please change the worldid in configuration file.
  11. Tem um script que uso que é parecido, mas é por alavanca, exemplo, se clicar na alavanca é teleportado pra uma AREA, se tiver alguem nessa area não tem como outra pessoa entrar, até quem estiver la dentro saia, se te ajudar, ta ai. \data\actions\scripts function onUse(cid, item, fromPosition, itemEx, toPosition) local area1 = {x = 993, y = 992, z = 7} local area2 = {x = 1106, y = 1016, z = 7} local posquest = {x = 999, y = 1014, z = 7} if #getPlayerInArea(area1, area2) > 0 then doPlayerSendTextMessage(cid, 20, "Ja tem um player nessa area, espere sua vez!") return true else doTeleportThing(cid, posquest) doPlayerSendTextMessage(cid, 20, "Boa Sorte!") return false end end local area1 = {x = 993, y = 992, z = 7} = CANTO SUPERIOR ESQUERDO ! local area2 = {x = 1106, y = 1016, z = 7} = CANTO INFERIOR DIREITO local posquest = {x = 999, y = 1014, z = 7} = LOCAL ONDE VAI SER TELEPORTADO \data\actions\actions.xml <action actionid="4500" event="script" value="apenasumplayer.lua"/> "4500" ACTIONID que você vai por na alavanta que vai teleportar pra area.
  12. Ackerzin postou uma resposta no tópico em Suporte Tibia OTServer
    quando eu chegar da academia vou testar então, qualquer coisa te falo ;} @Gabrielk
  13. Ackerzin postou uma resposta no tópico em Suporte Tibia OTServer
    @Gabrielk Você testou ? funcionou ? tambem estou atras de character.php nesse estilo
  14. Ackerzin postou uma resposta no tópico em Tutoriais Websites
    @Boladaunm entra na sua database na conta do seu god você poem " page_access 999999"
  15. @moviebr claro brother, tmj !
  16. @moviebr desculpa, esqueci de por a tfs, é 0.4
  17. Olá pessoal, queria saber se alguém poderia me ajudar com um probleminha chato, como bloquear para players que não estiver invitado na house, não jogar lixo pelo lado de fora "janela, porta aberta" ou colocar pra só quem for o dono da house abrir as janelas, todos os players conseguem abrir as janelas das houses, e jogar lixo dentro, muito obrigado, tmj ! TFS 0,4
  18. Ackerzin postou uma resposta no tópico em Suporte Tibia OTServer
    Posta o resto do script pra mim fazendo favor ;}
  19. Ackerzin postou uma resposta no tópico em Suporte Tibia OTServer
    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) function countPos(pos,tempo) if tempo > 0 then doSendAnimatedText(pos,tempo,TEXTCOLOR_RED) addEvent(countPos,1000,pos,tempo-1) else doSendMagicEffect(pos,2) end end function onCastSpell(cid, var) countPos(var.pos,20) return doCombat(cid, combat, var) end troca sua script de MW por esse, pra aparecer o tempo !
  20. é impressão minha ou ta escrito "WOLRD" de vez de "WORLD" POKEMON ADVANCED WOLRD
  21. Vai na pasta do seu servidor \data\items e copia os arquivos "items.otb, items, randomization" se tiver outros copia tambem, e joga dentro da pasta do RMB, em \Remere's Map Editor\data\860 ou na versão que é seu servidor 854 ou 850 joga la dentro, e joga tambem a pasta do tibia da versão do seu servidor "Tibia.dat, Tibia.pic, Tibia.spr" não tem como ter erro.
  22. Tenta mudar a parte que ta "tibiarl" pra "tibiacom"
  23. Joga essa pasta "DONATE" dentro da pasta "PAGE" OU "PAGES". https://mega.nz/#!NowCGJRD!PSutxFER3zjvPPsDqFWJzkPBQW8HObdihJsWMqJiYwU em layout.php coloque isso
  24. é eu tentei responder outro topico seu e tambem não tava dando pra comentar os topicos, estranho ! seguinte instala uma maquina virtual no seu PC, ubunto, pra você ir aprendendo mexer ;}

Informação Importante

Confirmação de Termo