Ir para conteúdo

rodrygosos

Membro
  • Registro em

  • Última visita

  1. rodrygosos postou uma resposta no tópico em Websites
    horrível o site para download não tem nada do demon, bem inferior...
  2. Como eu faço para ganhar multiplos items ao atingir certo lvl? não to conseguindo de jeito nenhum, se eu boto tudo no lvl 8 só ganha o ultimo item da lista, to querendo por para os players que saem de rook. local table = { -- [level] = type = "item", id = {ITEM_ID, QUANTIDADE}, msg = "MENSAGEM"}, -- [level] = type = "bank", id = {QUANTIDADE, 0}, msg = "MENSAGEM"}, -- [level] = type = "addon", id = {ID_ADDON_FEMALE, ID_ADDON_MALE}, msg = "MENSAGEM"}, -- [level] = type = "mount", id = {ID_MOUNT, 0}, msg = "MENSAGEM"}, [7] = {type = "item", id = {2190, 1}, msg = "Voce ganhou 1 wand of vortex por alcancar o level 8! guarde ate sair de rook se for sorcerer"}, [8] = {type = "item", id = {2182, 1}, msg = "Voce ganhou 1 snakebite rod por alcancar o level 8! guarde ate sair de rook se for druid"}, [3] = {type = "item", id = {8602, 1}, msg = "Voce ganhou 1 jagged sword por alcancar o level 8! guarde ate sair de rook se for knight"}, [6] = {type = "item", id = {2428, 1}, msg = "Voce ganhou 1 orcish axe por alcancar o level 8! guarde ate sair de rook se for knight"}, [5] = {type = "item", id = {2439, 1}, msg = "Voce ganhou 1 daramian mace por alcancar o level 8! guarde ate sair de rook se for knight"}, [4] = {type = "item", id = {2389, 1}, msg = "Voce ganhou 1 spear por alcancar o level 8! guarde ate sair de rook se for paladin"}, [8] = {type = "item", id = {10318, 1}, msg = "Voce ganhou 1 shield Nevermourn por alcancar o level 8! guarde ate sair de rook"}, [9] = {type = "bank", id = {5000, 0}, msg = "Foi depositado em seu bank 5000 gold coints!"}, [100] = {type = "addon", id = {136, 128}, msg = "Voce ganhou o addon citizen full por alcancar o level 100!"}, [10] = {type = "mount", id = {13, 0}, msg = "Voce ganhou a montaria Donkey para te ajudar nessa grande aventura!"}, } local storage = 16000 function onAdvance(player, skill, oldLevel, newLevel) if skill ~= SKILL_LEVEL or newLevel <= oldLevel then return true end for level, _ in pairs(table) do if newLevel >= level and player:getStorageValue(storage) < level then if table[level].type == "item" then player:addItem(table[level].id[1], table[level].id[2]) elseif table[level].type == "bank" then player:setBankBalance(player:getBankBalance() + table[level].id[1]) elseif table[level].type == "addon" then player:addOutfitAddon(table[level].id[1], 3) player:addOutfitAddon(table[level].id[2], 3) elseif table[level].type == "mount" then player:addMount(table[level].id[1]) else return false end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, table[level].msg) player:setStorageValue(storage, level) end end player:save() return true end
  3. você podia postar o script corrigido rs
  4. as portas de lvl, que so passa com x lvl não estão fechando, se um player passa elas continuam abertas corrigi o erro substitui o que ta dentro de movements/clossingdoors ------------------------------------------------------------- function onStepOut(cid, item, position, lastPosition)if(getTileInfo(position).creatures > 0) thenreturn trueendlocal newPosition = {x = position.x + 1, y = position.y, z = position.z}local query = doTileQueryAdd(cid, newPosition)if(query == RETURNVALUE_NOTENOUGHROOM) thennewPosition.x = newPosition.x - 1newPosition.y = newPosition.y + 1query = doTileQueryAdd(cid, newPosition) -- repeat until foundendif(query == RETURNVALUE_NOERROR and query == RETURNVALUE_NOTENOUGHROOM) thendoRelocate(position, newPosition)endposition.stackpos = -1local i, tileItem, tileCount = 1, {uid = 1}, getTileThingByPos(position)while(tileItem.uid ~= 0 and i < tileCount) doposition.stackpos = itileItem = getTileThingByPos(position)if(tileItem.uid ~= 0 and tileItem.uid ~= item.uid and isMovable(tileItem.uid)) thendoRemoveItem(tileItem.uid)elsei = i + 1endendlocal itemInfo = getItemInfo(item.itemid)doTransformItem(item.uid, itemInfo.transformUseTo)return trueendfunction onStepOut(cid, item, position, lastPosition)local itemInfo = getItemInfo(item.itemid)doTransformItem(item.uid, itemInfo.transformUseTo)return trueend
  5. ta dando esse erro ao abrir as portas nos trainers. Error - MoveEvents Interface] data/movements/scripts/closingdoor.lua:onStepOut Description: data/movements/scripts/closingdoor.lua:20: attempt to compare number with table stack traceback: data/movements/scripts/closingdoor.lua:20: in function <data/movements/scripts/closingdoor.lua:1>
  6. deu certo, conteúdo muito top qual melhor versao do xamp? Warning: Use of undefined constant itemtype - assumed 'itemtype' (this will throw an Error in a future version of PHP) in E:\xamp\htdocs\pages\characters.php on line 471
  7. ta dando erro no item.otbm com a distro que tu postou
  8. podia ter postado as src compiladas mano...
  9. mapa com ou sem teleports?
  10. Topico antigos, mas muito util, funciona perfeitamente em qualquer gesior. Parabéns pelo conteúdo.
  11. rodrygosos postou uma resposta no tópico em Websites
    Cade a database?
  12. pode por o download novamente?
  13. rodrygosos postou uma resposta no tópico em Formação de Equipe
    Se for um servidor de baixa exp e sem teleports, tenho interesse. manda email para [email protected]
  14. Que servidor foi esse né amigo, bom demais! era louco nesse mapa, obrigado por trazer.
  15. rodrygosos postou uma resposta no tópico em Websites
    Parabéns pelo conteúdo! Muito bom.

Informação Importante

Confirmação de Termo