Ir para conteúdo

jNo

Membro
  • Registro em

  • Última visita

Tudo que jNo postou

  1. jNo postou uma resposta no tópico em Suporte Tibia OTServer
    Baiak, tipo é pros player jogar, mais é temporario só 1 mes, acha que 4 giga fica bom pra aturar uns 300 on +?
  2. jNo postou uma resposta no tópico em Suporte Tibia OTServer
    Pessoal, estou querendo comprar um VPS em Windows, só pra abrir o ot e fazer um teste das coisas, tipo... em breve vou passar pra Linux, por enquanto só quero testar 1 mes, o meu mapa pessa 22 mb, e não tem nenhum erro no ot.... zeradinho. Qual a quantidade de ram necessaria, ou vps bom pra compra?
  3. jNo postou uma resposta no tópico em Ouvidoria
    Não faz mal, lhe mandei uma PM, se possivel responder a 2 parte, obg
  4. jNo postou uma resposta no tópico em Suporte Tibia OTServer
    Só uma dúvida, executa isso ai no seu sql, você tem a tabela death list? CREATE TABLE death_list ( id INTEGER NOT NULL, player_id INTEGER NOT NULL, date INTEGER NOT NULL, level INTEGER NOT NULL, killer_name INTEGER NOT NULL, PRIMARY KEY ( id ) ); Vê se é isso http://www.tibiaking.com/forum/topic/12670-talk-deathlist-para-server-sqlite-10/
  5. Deu certo, valeu
  6. Valeu fera! http://i.imgur.com/19COFNk.png Desculpa ae Suicide, mais só vi agora que o tp não some e da esse erro :/
  7. jNo postou uma resposta no tópico em Suporte Tibia OTServer
    skipItemsVersionCheck = true Vai no seu config.lua procure a parte a cima, e coloque true, se não tiver, tentar por
  8. jNo postou uma resposta no tópico em Suporte Tibia OTServer
    https://www.virustotal.com/pt/file/34d7f26c19b07b0c1a878247fce2317536c1c677b3f36fcb5399636568e69960/analysis/1420412363/ https://www.sendspace.com/file/ukbrat Antes de baixar, faça uma cópia do seu tfs e guarde, eu copilei esse acima, faça o teste e vê continua o erro da distro.
  9. jNo postou uma resposta no tópico em Suporte Tibia OTServer
    Responde uma dúvida, esse ot você baixou pronto? Qual nome? Ou você fez do 0? Que TFS É, tira print da parte inicial quando liga
  10. Valeu gato :3
  11. Ah sim, funciono agora, achei que era igual do global kkk valeu
  12. Funciono, muito massa, só fiquei abrindo a passagem umas 10000x reputado
  13. jNo postou uma resposta no tópico em Suporte Tibia OTServer
    Eu já tive esse mesmo erro, por acaso você pegou um tfs e jogou no seu ot? Quando eu fiz isso deu os mesmo erro, o que eu fiz depois pra resolver foi pegar as sources e copila um TFS pra min, sem esses parâmetros dos sistema novos, cast etc... pra roda em sqlite, depois era só adcionar isso quando for por mysql pra Linux
  14. tp.lua local tpId = 1387 local tps = { ["Bazir"] = {pos = {x=1851, y=642, z=8}, toPos = {x=1866, y=642, z=8}, time = 30}, } function removeTp(tp) local t = getTileItemById(tp.pos, tpId) if t then doRemoveItem(t.uid, 1) doSendMagicEffect(tp.pos, CONST_ME_POFF) end end function onDeath(cid) local tp = tps[getCreatureName(cid)] if tp then doCreateTeleport(tpId, tp.toPos, tp.pos) doCreatureSay(cid, "O teleport irá sumir em "..tp.time.." segundos.", TALKTYPE_ORANGE_1) addEvent(removeTp, tp.time*1000, tp) end return TRUE end Estou utilizando esse script abaixo, porém da um erro no "local", e "=", ele é bem antigo, alguém puder fazer um ai, valeu
  15. Se quiser pode fazer rsrsrs, quanto mais capa, melhor, troco 1 por semana
  16. O problema do meu é isso, ele não esta reconhecendo que eu tenho dinheiro, e eu tinha 1kk na bp 07:02 [ADMIN] Juliano [20]: deposit all 07:02 Bank Gates: Please tell me how much gold it is you would like to deposit. 07:02 [ADMIN] Juliano [20]: yes 07:02 Bank Gates: Do you want deposit 0 golds ? 07:02 [ADMIN] Juliano [20]: deposit 10000 07:02 Bank Gates: Please tell me how much gold it is you would like to deposit. 07:02 [ADMIN] Juliano [20]: deposit 1000 07:02 Bank Gates: Please tell me how much gold it is you would like to deposit. 07:02 [ADMIN] Juliano [20]: withdraw 500 07:02 Bank Gates: Please tell me how much gold you would like to withdraw. 07:02 [ADMIN] Juliano [20]: withdraw 500 07:02 Bank Gates: Please tell me how much gold you would like to withdraw. 07:02 [ADMIN] Juliano [20]: balance 07:02 Bank Gates: Your balance are 0 golds. Eu testei esse aqui abaixo, ele deposita, só não da withdraw, a transfery nem importa o balance funciona local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} local moneyTo = {} local playerTo = {} 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 function isValidMoney(money) if isNumber(money) == TRUE and money > 0 and money < 999999999 then return TRUE end return FALSE end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end if msgcontains(msg, 'help') or msgcontains(msg, 'offer') then selfSay("You can check the {balance} of your bank account, {deposit} money or {withdraw} it. You can also {transfer} money to other characters, provided that they have a vocation.", cid) talkState[cid] = 0 ----------------------------------------------------------------- ---------------------------- Balance ---------------------------- ----------------------------------------------------------------- elseif msgcontains(msg, 'balance') or msgcontains(msg, 'Balance') then selfSay('Your account balance is '..getPlayerBalance(cid)..' gold.', cid) talkState[cid] = 0 ----------------------------------------------------------------- ---------------------------- Help ------------------------------- ----------------------------------------------------------------- elseif msgcontains(msg, 'basic functions') then selfSay('You can check the {balance{ of your bank account, Pdeposit{ money or Pwithdraw{ it. You can also {transfer} money to othercharacters, provided that they have a vocation.', cid) talkState[cid] = 0 elseif msgcontains(msg, 'advanced functions') then selfSay('Renting a house has never been this easy. Simply make a bid for an auction. We will check immediately if you haveenough money.', cid) talkState[cid] = 0 ----------------------------------------------------------------- ---------------------------- Deposit ---------------------------- ----------------------------------------------------------------- elseif msgcontains(msg, 'deposit all') then moneyTo[cid] = getPlayerMoney(cid) if moneyTo[cid] < 1 then selfSay('You don\'t have any money to deposit in you inventory..', cid) talkState[cid] = 0 else selfSay('Would you really like to deposit '..moneyTo[cid]..' gold?', cid) talkState[cid] = 2 end elseif msgcontains(msg, 'deposit') then selfSay("Please tell me how much gold it is you would like to deposit.", cid) talkState[cid] = 1 elseif talkState[cid] == 1 then moneyTo[cid] = tonumber(msg) if isValidMoney(moneyTo[cid]) == TRUE then selfSay('Would you really like to deposit '..moneyTo[cid]..' gold?', cid) talkState[cid] = 2 else selfSay('Is isnt valid amount of gold to deposit.', cid) talkState[cid] = 0 end elseif talkState[cid] == 2 then if msgcontains(msg, 'yes') then if doPlayerDepositMoney(cid, moneyTo[cid], 1) ~= TRUE then selfSay('You do not have enough gold.', cid) else selfSay('Alright, we have added the amount of '..moneyTo[cid]..' gold to your balance. You can withdraw your money anytime you want to. Your account balance is ' .. getPlayerBalance(cid) .. '.', cid) end elseif msgcontains(msg, 'no') then selfSay('As you wish. Is there something else I can do for you?', cid) end talkState[cid] = 0 ----------------------------------------------------------------- ---------------------------- Withdraw --------------------------- ----------------------------------------------------------------- elseif msgcontains(msg, 'withdraw') then selfSay("Please tell me how much gold you would like to withdraw.", cid) talkState[cid] = 6 elseif talkState[cid] == 6 then moneyTo[cid] = tonumber(msg) if isValidMoney(moneyTo[cid]) == TRUE then selfSay('Are you sure you wish to withdraw '..moneyTo[cid]..' gold from your bank account?', cid) talkState[cid] = 7 else selfSay('Is isnt valid amount of gold to withdraw.', cid) talkState[cid] = 0 end elseif talkState[cid] == 7 then if msgcontains(msg, 'yes') then if doPlayerWithdrawMoney(cid, moneyTo[cid]) ~= TRUE then selfSay('There is not enough gold on your account. Your account balance is '..getPlayerBalance(cid)..'. Please tell me the amount of gold coins you would like to withdraw.', cid) else selfSay('Here you are, ' .. moneyTo[cid] .. ' gold. Please let me know if there is something else I can do for you.', cid) talkState[cid] = 0 end elseif msgcontains(msg, 'no') then selfSay('As you wish. Is there something else I can do for you?', cid) talkState[cid] = 0 end ----------------------------------------------------------------- ---------------------------- Transfer --------------------------- ----------------------------------------------------------------- elseif msgcontains(msg, 'transfer') then selfSay("Please tell me the amount of gold you would like to transfer.", cid) talkState[cid] = 11 elseif talkState[cid] == 11 then moneyTo[cid] = tonumber(msg) if isValidMoney(moneyTo[cid]) == TRUE then selfSay('Who would you like transfer '..moneyTo[cid]..' gold to?', cid) talkState[cid] = 12 else selfSay('Is isnt valid amount of gold to transfer.', cid) talkState[cid] = 0 end elseif talkState[cid] == 12 then playerTo[cid] = msg if getCreatureName(cid) == playerTo[cid] then selfSay('Ehm, You want transfer money to yourself? Its impossible!', cid) talkState[cid] = 0 return TRUE end if playerExists(playerTo[cid]) then selfSay('So you would like to transfer ' .. moneyTo[cid] .. ' gold to "' .. playerTo[cid] .. '" ?', cid) talkState[cid] = 13 else selfSay('Player with name "' .. playerTo[cid] .. '" doesnt exist.', cid) talkState[cid] = 0 end elseif talkState[cid] == 13 then if msgcontains(msg, 'yes') then if getPlayerBalance(cid) < moneyTo[cid] then selfSay('You dont have enought money on your bank account.', cid) return TRUE end if doPlayerTransferMoneyTo(cid, playerTo[cid], moneyTo[cid]) ~= TRUE then selfSay('This player does not exist on this world or have no vocation.', cid) else selfSay('You have transferred ' .. moneyTo[cid] .. ' gold to "' .. playerTo[cid] ..' ".', cid) playerTo[cid] = nil end elseif msgcontains(msg, 'no') then selfSay('As you wish. Is there something else I can do for you?', cid) end talkState[cid] = 0 end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  17. Achei que eu tinha entendido a programação, mais valeu, jaja libera os rep
  18. Deu certo, só falto uma coordenada z= e a ,, mais eu consegui entender e coloquei, funcionou certinho
  19. Tudo que eu pesquisei era relacionado a isso, enfim olha isso aqui http://www.tibiaking.com/forum/topic/9232-resolvendo-temple-position-is-wrong-contact-the-administrator/
  20. Deu erro aqui amigo.
  21. Não funcionou, e nem deu erro, no actions xml eu uso esse actionid 2002 e coloquei na alavanca tb
  22. Não é por que esta sem templo no mapa? Abri o mapa, aperte ctrl + t e crie um templo Pode não ser isso, ou eu falei merda No X e Y e Z são as coordenadas
  23. Tipo, eu tenho 1 script aqui de alavanca, porém precisava de 1 que o char deve estar no sqm x pra ser teleportado. Exemplo, vai ter o piso e a alavanca do lado, pra ser teleportado ao usar ela, precisa estar em cima do sqm, no meu script atual, qualquer sqm teleporta iausdhiuad -- Script Made By: Sonkis (Gabriel Lisboa) -- Start Config -- local topos = {x=1369, y=1026, z=8} -- Posição para onde o player será teleportado. -- End Config -- function onUse(cid) if doTeleportThing(cid, topos) then doPlayerSendTextMessage(cid,20,"You have been teleported.") -- Mude o NAME para o nome do local que o player será teleportado. end end
  24. Não testei ainda, pode pegar varias vezes o present? Ou tem 1 intervalo de horas? Dias, ?

Informação Importante

Confirmação de Termo