Ir para conteúdo

churupetinha

Membro
  • Registro em

  • Última visita

  1. churupetinha postou uma resposta no tópico em Suporte Tibia OTServer
    @Malblofor Como assim poderia me explicar? eu tenho que trocar a data base e?
  2. churupetinha postou uma resposta no tópico em Suporte Tibia OTServer
    Ola Galera eu tenho uma duvida eu gostaria de saber como eu faço pra tirar esse pequeno erro que fica dando no meu console.
  3. @Talesigorvr E nao tem como da um jeito nao ? se nao tiver ta de boa vlw
  4. @Talesigorvr Boa noite eu estou atraz desse system de hunt exclusiva tbm ai vi que vc colocou ali e tentei colocar no meu ot so que quando eu vou use no iten ou o player que nao deu use no iten tentar entrar no teleporte da o seguinte erro : [04/08/2016 02:35:58] [Error - MoveEvents Interface] [04/08/2016 02:35:58] data/movements/scripts/hunttime.lua:onStepIn [04/08/2016 02:35:58] Description: [04/08/2016 02:35:58] data/lib/032-position.lua:2: attempt to index global 'position' (a nil value) [04/08/2016 02:35:58] stack traceback: [04/08/2016 02:35:58] data/lib/032-position.lua:2: in function 'isInRange' [04/08/2016 02:35:58] data/movements/scripts/hunttime.lua:13: in function 'getPlayersInArea' [04/08/2016 02:35:58] data/movements/scripts/hunttime.lua:29: in function <data/movements/scripts/hunttime.lua:1>
  5. Vlw mano
  6. churupetinha reagiu a uma resposta no tópico: Mensagem Para o Player
  7. Vlw mano vou testa aki Testado e Aprovado , funciono direitinho vlw mesmo me tire uma duvida, para eu adcionar mas mensagem eu tenho que add isso e? msg2 = {"Mensagem aqui", 150, 6002} end if getPlayerLevel(cid) == tab.msg1[2] and getPlayerStorageValue(cid, tab.msg1[3]) < 1 then doPlayerPopupFYI(cid, ""..tab.msg1[1].."") doSendMagicEffect(getCreaturePosition(cid), 10) setPlayerStorageValue(cid, tab.msg1[3], 1)
  8. Boa Noite galeta , gostaria de pedir um script que quando o player segasse a certo lvl ele receberia uma mensagem so que eu quero com Storage pra caso o player morra nao receba novamente, e gostaria de por varia mensagem em um so script tipo: [Level] (Mensagem) {Storage} [Level] (Mensagem) {Storage} [Level] (Mensagem) {Storage} E assim Por diante, Agradecido desde de Ja , essas mensagem poderia ser com essa tag doPlayerPopupFYI(cid) ?
  9. Ola Galera do Tk Eu gostaria um npc que vendesse script do elf bot , mas nao que ele desse o arquivo, mas que ele desse um link para o player baixar,seria mas ou menos assim: Se alguem souber algum site que eu possa colocar esses arquivos para download que nao seja nessecario fica colocando toda hora, fico agradesido. PLayer:Hi Npc:ola PLAYERNOME eu vendo Script da Cavebot,diga o nome do monstro que eu te darei o link para fazer o download do arquivo,cada script lhe custara 1kk PLayer: Demon Npc: Aki estar o Link para o download . [Aki seria o Link que eu vou colocar]. Mas eu nao queria que fosse so um bicho nao seria varios links para o player escolher
  10. Isso ai mesmo Vlw
  11. churupetinha reagiu a uma resposta no tópico: Arrumar scripts [Npc]
  12. Boa noite irmao , nesse script ai em cima tem so pra remover um item do player , eu queria que ele removesse 5 itens nessa parte tipo o npc pediria para o player os seguinte itens com quantidade. idIten/Quantidade ex: 2160- 100 2157- 10 5881- 20 5880- 150 5882- 200 Assim so que ai em baixo so remove do player o iten 12597 , queria por mas itens ai. elseif(msgcontains(msg, 'Demonhunter Doll') and talkState[talkUser] == 1 and (getPlayerStorageValue(cid,700) < 1)) then if(doPlayerRemoveItem(cid, 12597, 100) == TRUE) then setPlayerStorageValue(cid,700,1) doPlayerAddItem(cid,8821, 1) -- Recompensa selfSay('Thank you.', cid) talkState[talkUser] = 0 else selfSay('Voçe nao tem todo os itens para ganhar um {Demonhunter Doll}.', cid) end
  13. Ola galera boa noite , entao eu tenho um script de um npc de missao so que ele so remove um iten do player eu queria que ele removesse 5 itens com certas quantidade para ganhar um unico iten. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} 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 function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if(msgcontains(msg, 'quest')) then selfSay('To start this quest tell {mission}', cid) --This is just an example, In this script added 4 mission for you end if(msgcontains(msg, 'mission')) then if(getPlayerStorageValue(cid,700) < 1) then selfSay('Sua primeira missão será a de obter 100 Penas ,120 Sushi ,150 Largatixa ,100 Coraçao ,115 Marijuana Para Ganhar um {Demonhunter Doll}.', cid) talkState[talkUser] = 1 elseif (getPlayerStorageValue(cid,701) < 1) then selfSay('Your next mission will be to get 150 {strands of medusa hair}.', cid) talkState[talkUser] = 1 elseif (getPlayerStorageValue(cid,702) < 0) then selfSay('Your next mission will be to get 300 {red dragon scales}.', cid) talkState[talkUser] = 1 elseif (getPlayerStorageValue(cid,703) < 0) then selfSay('Your next mission will be to get 300 {red dragon scales}.', cid) talkState[talkUser] = 1 elseif (getPlayerStorageValue(cid,704) < 0) then selfSay('Your next mission will be to get 400 {green dragon scales}.', cid) talkState[talkUser] = 1 elseif (getPlayerStorageValue(cid,703) == 1) then --zmieniac w zaleznosci od ostatniego storage!! selfSay('You have done all missions.', cid) talkState[talkUser] = 1 end --------------------------------------- elseif(msgcontains(msg, 'Demonhunter Doll') and talkState[talkUser] == 1 and (getPlayerStorageValue(cid,700) < 1)) then if(doPlayerRemoveItem(cid, 12597, 100) == TRUE) then setPlayerStorageValue(cid,700,1) doPlayerAddItem(cid,8821, 1) -- Recompensa selfSay('Thank you.', cid) talkState[talkUser] = 0 else selfSay('Voçe nao tem todo os itens para ganhar um {Demonhunter Doll}.', cid) end --------------------------------------- elseif(msgcontains(msg, 'strands of medusa hair') and talkState[talkUser] == 1 and (getPlayerStorageValue(cid,701) < 1) and (getPlayerStorageValue(cid,700) == 1)) then if(doPlayerRemoveItem(cid, 12597, 150) == TRUE) then setPlayerStorageValue(cid,701,1) doPlayerAddItem(cid,8821, 1) -- Recompensa selfSay('Thank you.', cid) talkState[talkUser] = 0 else selfSay('To end mission you need have 150 {strands of medusa hair}.', cid) end --------------------------------------- elseif(msgcontains(msg, 'red dragon scales') and talkState[talkUser] == 1 and (getPlayerStorageValue(cid,702) < 1) and (getPlayerStorageValue(cid,701) == 1)) then if(doPlayerRemoveItem(cid, 5882, 300) == TRUE) then setPlayerStorageValue(cid,702,1) doPlayerAddPercentLevel(cid, 6) selfSay('Thank you.', cid) talkState[talkUser] = 0 else selfSay('To end mission you need have 300 {red dragon scales}.', cid) end --------------------------------------- elseif(msgcontains(msg, 'green dragon scales') and talkState[talkUser] == 1 and (getPlayerStorageValue(cid,703) < 1) and (getPlayerStorageValue(cid,702) == 1)) then if(doPlayerRemoveItem(cid, 5920, 400) == TRUE) then setPlayerStorageValue(cid,703,1) doPlayerAddPercentLevel(cid, 5) selfSay('Thank you.', cid) talkState[talkUser] = 0 else selfSay('To end mission you need have 400 {green dragon scales}.', cid) end ------------------------------------------ end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  14. churupetinha reagiu a uma resposta no tópico: Magnus Challenger
  15. churupetinha reagiu a uma resposta no tópico: Anél de Experiência' [Exp Ring]
  16. Pode Ser entao
  17. versão e 8.6 olha ai fiz tudo como vc falou ai e mesmo assim nao vai , ve se da pra vc ver essas imagem ai que nao conseguir colocar nao olhe como fica ai agora se eu tiver com crystal coins na bp ele vende mas com a outra moeda nao tenho que mecher em alguma coisa no item.xml? https://photos.google.com/search/_tra_/photo/AF1QipPFA7uSO7AdQ2NDBb1GFxqtMEMSPKmw-YcZvjwX https://lh3.googleusercontent.com/1KcMRnnqthzjMzACOkfRoUyJsTb9T4CJGyD_ciPaphkHB2MmMS06ZsivZ-XLkZkepPYfcIvB3rBmGKdS8-Svb8I8ByZ4DaJS7LCF94pSjI08nLnsv_sXrS0JWl7ydav_gRCVoX5D3u7E4mdHM7xCgcp9DBq4m6FC2boBDGD66f7OUKKx6X8YhUR3LFEWuRkm5e38lxNYVNK17S04H1AillVt_PZaU0N2YoUaup1BRBZ8Bd3ZxiPiXzMe-a8TAJeuTpwEsj0fFAc_pSgxlkqu7ZykLKOgueUrmZm_Xp4cwitIE4CUMWhRDwzyZh2EPsvljhiGktG9z-n-9Vw7HgUDSLBM052Xo1o-aGXmu5kiMWjzxhi2NAVdXu9etiEGoFpzdo_zxUKvRv0P-Yp_MiAZCdaUwASmBp4xwB_Si5mM-5QbKGmrl3iyhQ3fU6nIPEQk0mbqmYIq2GpXbrAJIiDKEnvVTwlj-HM4ebdhV3jnS2ShWx1HmfGR8C_ljwDnbx-c_SLqwDlxEzbmaXfVH8YEuir0UxlGCX2d6J4YabBPfejcQLf43dSBI8UgtQpMKZJ5A39WQRambHuoJ3yt0VIkuUil1CDSJGw=w1187-h667-no
  18. Vodkart reagiu a uma resposta no tópico: Npc events coins
  19. #up #up
  20. Boa noite mano o npc nao estar comprando os itens nao aparece o shop mas ela nao compra. como faço pra ele vender tbm? mano deu esse erro aki, vc teria como me mandar a outra parte do npc? [18/06/2016 00:56:01] [Error - LuaScriptInterface::loadFile] data/npc/scripts/runes.lua:5: function arguments expected near ':' [18/06/2016 00:56:01] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/runes.lua [18/06/2016 00:56:01] data/npc/scripts/runes.lua:5: function arguments expected near ':'

Informação Importante

Confirmação de Termo