Ir para conteúdo

mapper slaver slave

Membro
  • Registro em

  • Última visita

Tudo que mapper slaver slave postou

  1. Ao dar comando !online Bug do talk todos os jogadores aparecem com mesmo Reset, como mostra a imagem, o numero [3] são os resets. Esse é o Talk: function onSay(cid, words, param, channel) local player = Player(cid) local hasAccess = player:getGroup():getAccess() local players = Game.getPlayers() local playerCount = Game.getPlayerCount() player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, playerCount .. " Jogadores online.") local i = 0 local msg = "" for k, tmpPlayer in ipairs(players) do function getResets(cid) local resultId = db.storeQuery("SELECT `resets` FROM `players` WHERE `id`= "..getPlayerGUID(cid)) if resultId ~= false then local resets = result.getDataInt(resultId, 'resets') result.free(resultId) return resets end return 0 end if hasAccess or not tmpPlayer:isInGhostMode() then if i > 0 then msg = msg .. ", " end msg = msg .. tmpPlayer:getName() .. " (" .. tmpPlayer:getLevel() .. ") [".. getResets(cid) .."]" i = i + 1 end if i == 10 then if k == playerCount then msg = msg .. "." else msg = msg .. "," end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, msg) msg = "" i = 0 end end if i > 0 then msg = msg .. "." player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, msg) end return false end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  2. Está funcionando, alterei o campat.lua será q isso altera?
  3. Query> <action uniqueid="1995" script="summon.lua" /> function onUse(cid, item, frompos, item2, topos) item1pos = {x=350, y=1261, z=9, stackpos=255} -- Posição do Luky monsterpos1 = {x=324, y=1265, z=9} -- Posição do Monstro Luky 1 monsterpos2 = {x=324, y=1259, z=9} -- Posição do Monstro Luky 2 monsterpos3 = {x=324, y=1256, z=9} -- Posição do Monstro Luky 3 monsterpos4 = {x=324, y=1268, z=9} -- Posição do Monstro Luky 4 item1 = getThingfromPos(item1pos) porcentagem = math.random(1, 100) -- Luki Nível 1 -- if item.itemid == 1945 and item1.itemid == 6550 then if item.uid == 1995 and item.itemid == 1946 then doTransformItem(item.uid,item.itemid-1) end if porcentagem >= 1 and porcentagem <= 25 then doSummonCreature("Demon", monsterpos1) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 26 and porcentagem <= 50 then doSummonCreature("Fire Elemental", monsterpos1) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 51 and porcentagem <= 75 then doSummonCreature("Hellfire Fighter", monsterpos1) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 76 and porcentagem <= 76 then doSummonCreature("Dourado", monsterpos1) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 77 then doPlayerSendTextMessage(cid,22,'O summon não funcionou.') doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_POFF) return true end end -- Luki Nível 2 -- if item.itemid == 1945 and item1.itemid == 6551 then if item.uid == 1995 and item.itemid == 1946 then doTransformItem(item.uid,item.itemid-1) end if porcentagem >= 1 and porcentagem <= 25 then doSummonCreature("Gigante de Gelo", monsterpos2) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 26 and porcentagem <= 50 then doSummonCreature("Papao", monsterpos2) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 51 and porcentagem <= 75 then doSummonCreature("Frost Dragon", monsterpos2) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 76 and porcentagem <= 76 then doSummonCreature("Gigante de Gelo", monsterpos2) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 77 then doPlayerSendTextMessage(cid,22,'O summon não funcionou.') doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_POFF) return true end end -- Luki Nível 3 -- if item.itemid == 1945 and item1.itemid == 6549 then if item.uid == 1995 and item.itemid == 1946 then doTransformItem(item.uid,item.itemid-1) end if porcentagem >= 1 and porcentagem <= 25 then doSummonCreature("Hydra", monsterpos3) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 26 and porcentagem <= 50 then doSummonCreature("Multi", monsterpos3) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 51 and porcentagem <= 75 then doSummonCreature("Juggernaut", monsterpos3) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 76 and porcentagem <= 76 then doSummonCreature("Guardiao da Montanha", monsterpos3) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 77 then doPlayerSendTextMessage(cid,22,'O summon não funcionou.') doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_POFF) return true end end -- Luki Nível 4 -- if item.itemid == 1945 and item1.itemid == 6548 then if item.uid == 1995 and item.itemid == 1946 then doTransformItem(item.uid,item.itemid-1) end if porcentagem >= 1 and porcentagem <= 25 then doSummonCreature("Thunder Dragon", monsterpos4) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 26 and porcentagem <= 50 then doSummonCreature("Minotaur Mage", monsterpos4) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 51 and porcentagem <= 75 then doSummonCreature("Dragon Guardian", monsterpos4) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 76 and porcentagem <= 76 then doSummonCreature("Nephthys", monsterpos4) doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_MAGIC_RED) doPlayerSendTextMessage(cid,22,'O monstro foi sumonado com sucesso.') return true end if porcentagem >= 77 then doPlayerSendTextMessage(cid,22,'O summon não funcionou.') doTransformItem(item.uid,item.itemid+1) doRemoveItem(item1.uid,1) doSendMagicEffect(frompos,CONST_ME_POFF) return true end end end
  4. Olá amigo, não aparece nem um erro, apenas a alavanca fica travada add eu no watts (55) 92311494
  5. .Qual servidor ou website você utiliza como base? Otxserver sem ravscript Olá meus amigos estou preciso de ajuda em um script que era da versão 0.4 e passei ele para otx 3.1! O script funciona da seguinte maneira você pode usar a alavanca se tiver x item e ai é sumonado uma criatura, mas o action nao esta dando OnUse! Você tem alguma imagem que possa asuxiliar no problema? Se sim, coloque-a aqui.

Informação Importante

Confirmação de Termo