Ir para conteúdo

Flaah

Barão
  • Total de itens

    201
  • Registro em

  • Última visita

Tudo que Flaah postou

  1. Poxa esse é bom, mais se vc clicar 2 veses seguido na alavanca, o script buga :c Queria que algum pudesse ver o meu, ele é perfeitinho, so falta arruma esse erro Alguem da um HELP ai?
  2. Me ajuda?! Deu esse erro aqui quando começa a aparecer as 3 paredes Tibia versão: 8.54 [16/05/2012 14:49:02] [Error - Action Interface] [16/05/2012 14:49:02] In a timer event called from: [16/05/2012 14:49:02] data/actions/scripts/cassino.lua:onUse [16/05/2012 14:49:02] Description: [16/05/2012 14:49:02] (luaDoTransformItem) Item not found [16/05/2012 14:49:08] [Error - Action Interface] [16/05/2012 14:49:08] In a timer event called from: [16/05/2012 14:49:08] data/actions/scripts/cassino.lua:onUse [16/05/2012 14:49:08] Description: [16/05/2012 14:49:08] (luaDoTransformItem) Item not found [16/05/2012 14:49:14] [Error - Action Interface] [16/05/2012 14:49:14] In a timer event called from: [16/05/2012 14:49:14] data/actions/scripts/cassino.lua:onUse [16/05/2012 14:49:14] Description: [16/05/2012 14:49:14] (luaDoTransformItem) Item not found Script que eu usei: --[[ Advanced Slot Machine by EddyHavoc ]]-- --REQUIRED MONEY(gp) TO PLAY SLOT MACHINE local money = 1 --MILISECONDS TO CHANGE FRUITS local time = 200 --ITERATOR TIME TO STOP CHANGING FRUIT IF PLAYER DOESN'T (30 is like 7 seconds) local limit = 30 --FRUITS THAT WILL RANDOMLY APPEAR AND SWITCH local fruits = {1128,1129,1132,1133,1144,1148,1146,1152} --PRIZES TABLES local win = { -- [{FRUIT.1,FRUIT.2,FRUIT.3} = {PRIZE,#PRIZE}] --MIXED COMBOS [{1144,1144,1144}] = {2160,2}, -- cherry-pumpkin-cherry [{1152,1152,1152}] = {2160,1}, -- lemon-melon-lemon --TRIPLE COMBOS [{1128,1129,1132}] = {2152,10}, -- triple strawberry [{1133,1144,1152}] = {2152,20}, -- triple mango --ANY COMBOS [{ANY,1128,1129}] = {2152,50}, -- double pumpkin right [{1132,1133,ANY}] = {2152,50}, -- double pumpkin left [{1144,ANY,1144}] = {2152,100}, -- pumpkin sides combo [{ANY,1148,1148}] = {2152,40}, -- double cherry right [{1152,1152,ANY}] = {2152,40}, -- double cherry left } --MESSAGES THAT RANDOMLY APPEAR WHEN PLAYER WINS local messages = {'Bingo!','Lucky!','Jackpot!','Win!'} --FRUITS ROWS local p = { --[LEVER.UNIQUEID] [6297] = {},[6298] = {},[6299] = {},[6300] = {}, --[6301] = {}, } --JUST PUT THE INITIAL ROW POS FROM LEFT, SECOND & THIRD WILL BE AUTOM. GENERATED for i = 1,3 do --p, UNIQUEID.LEVER, {POS FROM TILE OF LEFT} table.insert(p[6297],i,{x=865+(i-1),y=732,z=7,stackpos=1}) table.insert(p[6298],i,{x=95+(i-1),y=145,z=7,stackpos=1}) table.insert(p[6299],i,{x=99+(i-1),y=145,z=7,stackpos=1}) table.insert(p[6300],i,{x=103+(i-1),y=145,z=7,stackpos=1}) -- table.insert(p[6301],i,{x=19+(i-1),y=145,z=7,stackpos=1}) end function verifyRow(cid, array, pos) local result, prize = false, '' for a, b in pairs(win) do if getTileItemById(pos[1],a[1]).uid > 1 or a[1] == ANY then if getTileItemById(pos[2],a[2]).uid > 1 or a[2] == ANY then if getTileItemById(pos[3],a[3]).uid > 1 or a[3] == ANY then doPlayerAddItem(cid, b[1], b[2] or 1, true) doSendAnimatedText(getThingPos(cid), messages[math.random(#messages)], math.random(255)) result, prize, amount = true, b[1], b[2] end end end end if prize ~= '' then doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, 'Congratulations!! You won '..amount..' '..getItemPluralNameById(prize)..'!') end for i = 1,3 do doSendMagicEffect(pos[i], result and CONST_ME_GIFT_WRAPS or CONST_ME_EXPLOSIONHIT) doRemoveItem(getTileThingByPos(pos[i]).uid) end return not result and doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, 'You have lost in the Slot Machine Try again') end function onUse(cid, item, fromPosition, itemEx, toPosition) local function doFruit(pos,cid,id,limit) if not isPlayer(cid) then return doItemEraseAttribute(item.uid, 'aid'), getTileThingByPos(pos).uid > 0 and doRemoveItem(getTileThingByPos(pos).uid) end if getTileThingByPos(pos).itemid < 1 then doSendMagicEffect(pos, CONST_ME_POFF) doCreateItem(fruits[math.random(#fruits)], 1, pos) else doTransformItem(getTileThingByPos(pos).uid,fruits[math.random(#fruits)],1) end if limit <= 0 then doSendMagicEffect(pos,math.random(28,30)) doTransformItem(getTileThingByPos(pos).uid,fruits[math.random(#fruits)],1) doItemSetAttribute(getTileThingByPos(fromPosition) .uid, 'aid', getTileThingByPos(fromPosition).actionid+1) doTransformItem(getTileThingByPos(fromPosition).ui , getTileThingByPos(fromPosition).itemid == 9826 and 9825 or 9826) elseif getTileThingByPos(fromPosition).actionid > id then doSendMagicEffect(pos,math.random(28,30)) doTransformItem(getTileThingByPos(pos).uid,fruits[math.random(#fruits)],1) else addEvent(doFruit,time,pos,cid,id,limit-1) end end if item.actionid == 0 then if not doPlayerRemoveMoney(cid, money) then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, 'You need '..money..' gps to play Slot Machine.') end doItemSetAttribute(item.uid, 'aid', 1) doCreatureSetNoMove(cid, true) doTransformItem(item.uid, item.itemid == 9826 and 9825 or 9826) doSendAnimatedText(getThingPos(cid), '-$'..money,COLOR_RED) for i = 1,3 do doFruit(p[item.uid][i],cid,i,i*limit) end elseif isInArray({1,2,3},item.actionid) then doItemSetAttribute(item.uid, 'aid', item.actionid+1) doTransformItem(item.uid, item.itemid == 9826 and 9825 or 9826) elseif item.actionid == 4 then doCreatureSetNoMove(cid, false) doItemEraseAttribute(item.uid, 'aid') doTransformItem(item.uid, item.itemid == 9826 and 9825 or 9826) verifyRow(cid, win, p[item.uid]) end return true end VALENDO +REP
  3. ForeverTobi deu quase certo, só que esta dando o seguintes ERROS: [15/04/2012 15:30:18] [Error - Action Interface] [15/04/2012 15:30:18] data/actions/scripts/goback.lua:onUse [15/04/2012 15:30:18] Description: [15/04/2012 15:30:18] (luaDoTransformItem) Item not found [15/04/2012 15:30:18] [Error - CreatureScript Interface] [15/04/2012 15:30:18] data/creaturescripts/scripts/goback.lua:onDeath [15/04/2012 15:30:18] Description: [15/04/2012 15:30:18] (luaDoTransformItem) Item not found OBS: Além desses ERROS, quando chamo o pokémon depois de 2 segundos ele morre, mais da pra chama de novo, mais morre denovo, ai fica nessa vai e vem. AJUDA? Porfavor?
  4. Ola amigos do XTIBIA tenho um grande problema que esta acontecendo no meu server, que seria: O ERRO que de um sistema de Go/Back de um Pokemon Tibia que eu achei. Este é o unico erro que esta no meu server, porfavor amigos me ajuda ae, VALENDO +REP! Erro quando coloco pra FORA da pokebola o pokémon. [13/04/2012 13:59:18] [Error - Action Interface] [13/04/2012 13:59:18] data/actions/scripts/goback.lua:onUse [13/04/2012 13:59:18] Description: [13/04/2012 13:59:18] (luaDoItemSetAttribute) Item not found [13/04/2012 13:59:18] [Error - Action Interface] [13/04/2012 13:59:18] data/actions/scripts/goback.lua:onUse [13/04/2012 13:59:18] Description: [13/04/2012 13:59:18] (luaDoTransformItem) Item not found [13/04/2012 13:59:18] [Error - Action Interface] [13/04/2012 13:59:18] data/actions/scripts/goback.lua:onUse [13/04/2012 13:59:18] Description: [13/04/2012 13:59:18] (luaDoItemSetAttribute) Item not found Erro quando coloco pra DENTRO da pokebola o pokémon. [13/04/2012 13:59:18] [Error - Action Interface] [13/04/2012 13:59:18] data/actions/scripts/goback.lua:onUse [13/04/2012 13:59:18] Description: [13/04/2012 13:59:18] (luaDoItemSetAttribute) Item not found [13/04/2012 13:59:30] [Error - Action Interface] [13/04/2012 13:59:30] data/actions/scripts/goback.lua:onUse [13/04/2012 13:59:30] Description: [13/04/2012 13:59:30] (luaDoTransformItem) Item not found [13/04/2012 13:59:30] [Error - Action Interface] [13/04/2012 13:59:30] data/actions/scripts/goback.lua:onUse [13/04/2012 13:59:30] Description: [13/04/2012 13:59:30] (luaDoItemSetAttribute) Item not found Arquivo: GoBack.lua function onUse(cid, item, fromPosition, itemEx, toPosition) function getPokemonMaxLife(name) local file = io.open('data/monster/monsters.xml','r') local arquivo = file:read(-1):lower():match('') file:close() local data = io.open('data/monster/'..(arquivo or ''),'r') if not data then return 100 end local maximo = data:read(-1):match('max%s*=%s*"(%d+)"') data:close() return maximo end ----- Config ----- local MaximoSummon = 1 local nome1 = getItemName(item.uid) local nome = nome1:match('(.-) Pokeball') local summons = getCreatureSummons(cid) local action_id = getItemAttribute(item.uid, "aid") ------ Config ----- local summons = getCreatureSummons(cid) if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_AMMO).uid then doPlayerSendCancel(cid, "Coloque no slot certo!.") return TRUE end if getTilePzInfo(getCreaturePosition(cid)) then return doPlayerSendCancel(cid, "You can't use pokeball in Protection Zones.") end if getItemAttribute(item.uid,"level") >= getPlayerLevel(cid) then doPlayerSendCancel(cid, "You dont have level to use.") return TRUE end if(table.maxn(summons) < MaximoSummon) then -- no summons creature = doSummonCreature(nome, getCreaturePosition(cid)) doConvinceCreature(cid, creature) local hp = getCreatureHealth(getCreatureSummons(cid)[1]) doItemSetAttribute(getPlayerSlotItem(cid,8).uid, "aid", hp) doPlayerSay(cid, "Go,"..nome.."", TALKTYPE_SAY) registerCreatureEvent(cid, "PlayerPokeDeath") registerCreatureEvent(creature, "DiePoke") doSendMagicEffect(getCreaturePosition(creature), 188) doTransformItem(getPlayerSlotItem(cid,8).uid, 2532, 1) doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name",""..nome.." Pokeball") if action_id ~= 0 then doCreatureAddHealth(creature, -(tonumber(getPokemonMaxLife(nome) - action_id))) else doCreatureAddHealth(creature, getPokemonMaxLife(nome)) end else for _, pid in ipairs(summons) do if (table.maxn(summons) >= 1) then doItemSetAttribute(item.uid, "aid", getCreatureHealth(summons[1])) doSendMagicEffect(getCreaturePosition(creature), 188) doPlayerSay(cid, "Back,"..nome.."", TALKTYPE_SAY) doRemoveCreature(pid) doTransformItem(getPlayerSlotItem(cid,8).uid, 2532, 1) doItemSetAttribute(getPlayerSlotItem(cid,8).uid,"name", nome .." Pokeball") end end end return true end Valendo +REP Poxa galera, preciso muuuuuito da ajuda de vcs AJUDA ALGUEM AI, PORFAVOR VALENDO +REP
  5. Vlw amigo, me ajudo bastante, +REP pra você PS: Obrigado XTibia, esse forum me ajuda bastante, KKKK', pode fexar o tópico ^^
  6. Mais tipo tenho 3 perguntas: Quais são os arquivos sources? Como eu descompilo os arquivos sources? E como eu compilo denovo os arquivos sources?
  7. Ola galera to com um grande problema que esta me atrapalhando no meu projeto... O problema é a tradução dessas partes que estão em ingles que ficam dentro do server não no cliente, que seria: You see, You see yourself, You are, entre outras coisas que estão em ingles, mais não consegui acha o arquivo de origem pra traduzir... Alguem poderia me ajuda nesse momento de dificuldade... VALENDO +REP
  8. Ai galera me ajuda com 3 paradinhas que estou tendo dificuldade! Que são: Um Map Editor de Narutibia 8.54 e um Tutorial com uzar o Map Editor e como coloca no meu server... Obrigador, add no MSN pra me ajudar melhor: otnarutobrasil@hotmail.com Cara ninguem ajuda aqui, não?! '-' Da um Help alguem ai, to precisando muito .-.' Cara ninguem ajuda aqui NÃO?! '-' Qual é galera, da uma ajuda ai, .-.
  9. Ola boa noite, estou querendo 3 coisas desse magnifico forum que descobri apartir do meu primo... Minhas duvidas são: Alguem poderia me manda um otserve do naruto ATUALIZADO, com todos os arquivos, e quando envia pf mande a versão que ele for, ok?! Um cliente de Narutibia ATUALIZADO tbm, da mesma versão do otserve! Preciso tbm de um Tutorial como edita o server e como coloca ele ONLINE, porq eu tentei umas mil veses aqui e deu o seguinte ERRO quando tentei coloca ele ONLINE, pelo changer IP e client: ======================================================= Cannot connect to a login server. Error: Connection refused. All login server are offiline. Check wwww.ExTNL.com for more information. For more information take a look at the FAQs in the guide section at www.ExTNL.com. ====================================================== PORFAVOR ME AJUDE, ESSE PROJETO É MUITO SÉRIO, E QUEM ME AJUDA PODERA SER DA MINHA EQUIPE! Abraços, Obrigado e Parabéns Equipe do Forum XTibia, muito bom esse Forum! Para mais contatos se quizer me ajuda: otnarutobrasil@hotmail.com
  10. Ola tudo bom, seu Ot é De mais, parabéns Eu queria sabe como que fais um NaruTibia, pow ja tentei de tudo mais nada :x Ajuda pf?
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...