Ir para conteúdo

Gnius

Membro
  • Registro em

  • Última visita

  1. Gnius reagiu a uma resposta no tópico: (Resolvido)ITEM QUE SOLTA X ITEM NO CHÃO
  2. Ja consegui resolver, mas mesmo assim obrigado
  3. Olá galera, eu estava precisando de uma script onde um player tem um item e com ao clicar com lado direito nesse item e clicar em x piso ele soltaria um outro item Por exemplo:Tenho 1 item e clico com lado direito nesse item e clico em algum local do piso(chão) e aonde eu clicar aparecia um item Esse item ficaria 10segundos e depois sumiria
  4. Mas ao usar o item no set, iria aumentar mana e hp?
  5. Olá pessoal, estou precisando de uma script onde o player usa x item em x parte do set(helmet, amor, boots, glove) e esse item aumenta a regeneração e mana a 200+ Por exemplo: O armor libera 5000+ de regeranção, ao usar esse item ele liberaria 5200
  6. Gnius postou uma resposta no tópico em Suporte Tibia OTServer
    Pessoal estou com esse erro na distro [11/11/2018 09:59:50] [Error - Action Interface] [11/11/2018 09:59:50] In a timer event called from: [11/11/2018 09:59:50] datapack/actions/scripts/goback.lua:onUse [11/11/2018 09:59:50] Description: [11/11/2018 09:59:50] datapack/lib/newStatusSyst.lua:303: attempt to perform arithmetic on local 'damage' (a boolean value) [11/11/2018 09:59:50] stack traceback: [11/11/2018 09:59:50] datapack/lib/newStatusSyst.lua:303: in function 'doPoison2' [11/11/2018 09:59:50] datapack/lib/newStatusSyst.lua:712: in function <datapack/lib/newStatusSyst.lua:79> Script newstatus
  7. Ainda não foi, agora as parte que tinha [] ela fica a mesma coisa que o espaço
  8. Na real não da erro, ele volta direto pra procura de personagem Segue o print abaixo: Da erro só quando alguém tem algum outro caractere tipo [ADM], segue print abaixo:
  9. Opa pessoal, estou com um problema no meu site(modern acc) eu não consigo pesquisar personagem que tem espaço no nome Tipo Tibiaking vai normal porém Tibia King não vai. REP+ Praquem ajudar
  10. Gnius postou uma resposta no tópico em Suporte Tibia OTServer
    Galera estou com esse erro na distro Script exp2.0
  11. Coloquei pra verficiar se o player tem x storage, se ele tiver storage ele ativa esse look, ai coloquei a função pra mostrar o look no some functions if getPlayerStorageValue(thing, 150420) > 0 then table.insert(str, "\nCasado com ["..getPlayerNameByGUID(k).."].") end
  12. Pode fechar o tópico, ja consegui resolver.
  13. Gnius postou uma resposta no tópico em Suporte Tibia OTServer
    [08/11/2018 19:18:57] [Error - CreatureScript Interface] [08/11/2018 19:18:57] datapack/creaturescripts/scripts/marrylook.lua:onLook [08/11/2018 19:18:57] Description: [08/11/2018 19:18:57] (internalGetPlayerInfo) Player not found when requesting player info #3 [08/11/2018 19:18:57] [Error - CreatureScript Interface] [08/11/2018 19:18:57] datapack/creaturescripts/scripts/marrylook.lua:onLook [08/11/2018 19:18:57] Description: [08/11/2018 19:18:57] datapack/creaturescripts/scripts/marrylook.lua:5: attempt to concatenate a boolean value [08/11/2018 19:18:57] stack traceback: [08/11/2018 19:18:57] datapack/creaturescripts/scripts/marrylook.lua:5: in function <datapack/creaturescripts/scripts/marrylook.lua:1> Coloquei thing.uid, não deu nem 1 erro porém fica dessa forma. Pode fechar o tópico, ja consegui resolver.
  14. Gnius postou uma resposta no tópico em Suporte Tibia OTServer
    function getPlayerDesc(cid, thing, TV) if (not isCreature(cid) or not isCreature(thing)) and not TV then return "" end local vocation = getPlayerVocationName(cid) local pos = getThingPos(thing) local ocup = youAre[getPlayerGroupId(thing)] local rank = (getPlayerStorageValue(thing, 86228) <= 0) and "a Pokemon Trainer" or lookClans[getPlayerStorageValue(thing, 86228)][getPlayerStorageValue(thing, 862281)] local name = thing == cid and "yourself" or getCreatureName(thing) local art = thing == cid and "You are" or (getPlayerSex(thing) == 0 and "She is" or "He is") local str = {} table.insert(str, "You see "..name.." [".. getPlayerLevel(thing) .."]. "..art.." ") if youAre[getPlayerGroupId(thing)] then table.insert(str, (ocup).." and "..vocation.." from ".. getTownName(getPlayerTown(thing))..".") else table.insert(str, (vocation).." from ".. getTownName(getPlayerTown(thing))..".") end if getPlayerGuildId(thing) > 0 then table.insert(str, " "..art.." "..getPlayerGuildRank(thing).." from the "..getPlayerGuildName(thing)..".") end if TV then table.insert(str, " "..art.." watching TV.") end table.insert(str, ((isPlayer(cid) and youAre[getPlayerGroupId(cid)]) and "\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]" or "")) return table.concat(str) end
  15. Gnius postou uma resposta no tópico em Suporte Tibia OTServer
    Ola galera, estou com essa script de quando o player casa ele recebe um look, porém esse look fica no lugar do nome do player e o nome do player é removido tfs 0.3.6 script function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) then local k = getPlayerMarriage(getPlayerGUID(thing.uid)) if k then doPlayerSetSpecialDescription(thing.uid,". " .. (thing.uid == cid and "You are" or (getPlayerSex(thing.uid) == 0 and "She" or "He") .. " is") .. " Casado com [" .. getPlayerNameByGUID(k) .."]") end end return true end
  16. [07/11/2018 18:07:43] [Error - CreatureScript Interface] [07/11/2018 18:07:43] datapack/creaturescripts/scripts/marrylook.lua:onLook [07/11/2018 18:07:44] Description: [07/11/2018 18:07:44] datapack/lib/050-function.lua:695: attempt to concatenate local 'player' (a table value) [07/11/2018 18:07:44] stack traceback: [07/11/2018 18:07:44] datapack/lib/050-function.lua:695: in function 'getPlayerMarriage' [07/11/2018 18:07:44] datapack/creaturescripts/scripts/marrylook.lua:3: in function <datapack/creaturescripts/scripts/marrylook.lua:1>

Informação Importante

Confirmação de Termo