Ir para conteúdo

Maenilse

Conde
  • Total de itens

    711
  • Registro em

  • Última visita

  • Dias Ganhos

    1

Tudo que Maenilse postou

  1. da erro nao, a num ser que vc modifique no rme tambem, mas no caso so o nome do monster, nao.
  2. para aplica-lo ao lugar, voce deve abrir seu remere's map editor, abrir teu mapa, procurar a posiçao da onde tu quer colocar, da dois click com o botao esquerdo no tile, e botar a actionid que desejar.
  3. concordo com o viado acima, da pra colocar em qualquer internet, mas tipo os roteadores d-link e tp-link pra mim sao os mas faceis de liberar portas e talz.
  4. @Vodkart, ae thiago tem alguns sistemas de reset que nao requer storage e sim por db, entao eu dei uma atualizada no teu. local config = { MaxPlayer = 10, fight_skills = { ['fist'] = 0, ['club'] = 1, ['sword'] = 2, ['axe'] = 3, ['distance'] = 4, ['shielding'] = 5, ['fishing'] = 6, ['dist'] = 4, ['shield'] = 5, ['fish'] = 6, }, other_skills = { [''] = "level", ['level'] = "level", ['magic'] = "maglevel", ['health'] = "healthmax", ['mana'] = "manamax", ['reset'] = "reset" }, vocations = { ['sorcerer'] = {1,5}, ['druid'] = {2,6}, ['paladin'] = {3,7}, ['knight'] = {4,8} }, storages = { ['frags'] = 824544, ['resets'] = 2310 } } function onSay(cid, words, param) local param,str = string.lower(param),"" if not config.fight_skills[param] and not config.other_skills[param] and not config.vocations[param] and not config.storages[param] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "este rank não existe.") return true end str = "--[ RANK "..(param == "" and "LEVEL" or string.upper(param)).." ]--\n\n" query = config.fight_skills[param] and db.getResult("SELECT `player_id`, `value` FROM `player_skills` WHERE `skillid` = "..config.fight_skills[param].." ORDER BY `value` DESC;") or config.other_skills[param] and db.getResult("SELECT `name`, `"..config.other_skills[param].."` FROM `players` WHERE `id` > 6 AND `group_id` < 2 ORDER BY `"..config.other_skills[param].."` DESC, `name` ASC;") or config.storages[param] and db.getResult("SELECT `player_id`, `value` FROM `player_storage` WHERE `key` = "..config.storages[param].." ORDER BY cast(value as INTEGER) DESC;") or db.getResult("SELECT `name`, `level` FROM `players` WHERE `group_id` <= 2 AND `vocation` = "..config.vocations[param][1].." or `vocation` = "..config.vocations[param][2].." ORDER BY `level` DESC;") if (query:getID() ~= -1) then k = 1 while true do str = str .. "\n " .. k .. ". "..(config.fight_skills[param] and getPlayerNameByGUID(query:getDataString("player_id")) or config.storages[param] and getPlayerNameByGUID(query:getDataString("player_id")) or query:getDataString("name")).." - [" .. query:getDataInt((config.fight_skills[param] and "value" or config.storages[param] and "value" or config.vocations[param] and "level" or config.other_skills[param])) .. "]" k = k + 1 if not(query:next()) or k > config.MaxPlayer then break end end query:free() end doShowTextDialog(cid,6500, str) return true end @EDIT botei 2 reset. o !rank reset pra ver os resets que sao por database. e o !rank resets que ver os resets por storage ^^
  5. Maenilse

    Removido

    Removido.
  6. uma ideia legal tambem seria, aparecer essa janela de outfit quando o player logar. function onLogin(cid) doPlayerSendOutfitWindow(cid) end
  7. kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk, gean sem exautaçaum fera
  8. Maenilse

    Saudades

    q foda kk'
  9. /\ acho que falta o true. pelo menos eu uso meus scripts de tile, com doTeleportThing(cid, formPoistion, true) local lvl = 2 function onStepIn(cid, item, position, lastPosition, fromPosition) if getPlayerLevel(cid) < lvl then doPlayerSendCancel(cid, "you need "..lvl.." to enter here..") doTeleportThing(cid, fromPosition, true) return true end return true end
  10. /\ faz favor ae fera, isso daki é barzinho do eks, pode se comentar qualquer coisa, desde que o membro nao se sinta ofendido, ja voce faz flood em todas as sessao, vlwflw.
  11. /\ blz fera, mas e lava loça manjas ou nem?
  12. que viadage é essa jove?
  13. go po, quero ver sangui, gogo
  14. /\, faze oque se pego todas mentira, eu so lindo, mas forever, mas lindo.
  15. oia a briga oia oia oia oia, porrada, haoeauoe, zoas'
  16. toma ae lek. OBS: esse é o script do slicer. local config = { msg = "Club UP", eff = CONST_ME_FIREWORK_BLUE, } function onAdvance(cid, skill, oldlevel, newlevel) local diff = newlevel - oldlevel if skill == 1 then doSendMagicEffect(getThingPos(cid), config.eff) doSendAnimatedText(getThingPos(cid), config.msg.."["..newlevel.."]", 86) return TRUE end setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+(diff*25)) doCreatureAddHealth(cid, diff*25) return true end
  17. @Slicer é o teu script, eu so botei a skill Sword, e pra add mana.
  18. @Zikaduh pedido via chat, faça o mesmo passo que tu fez com o script de club e so mude o script. pra esse. peguei do slicer, e editei. local config = { msg = "Skill UP", eff = CONST_ME_FIREWORK_BLUE, } function onAdvance(cid, skill, oldlevel, newlevel) local diff = newlevel - oldlevel if skill == 2 then doSendMagicEffect(getThingPos(cid), config.eff) doSendAnimatedText(getThingPos(cid), config.msg.."["..newlevel.."]", 86) return TRUE end setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+(diff*25)) doCreatureAddHealth(cid, diff*25) return true end
  19. botei a funçao que o slicer falo, testa ae. local config = { [1] = { "Club UP", 30} -- 30 = variable[2] } function onAdvance(cid, skill, oldlevel, newlevel) local pos = getPlayerPosition(cid) local effectPositions = { {x = pos.x, y = pos.y - 1, z = pos.z}, {x = pos.x, y = pos.y + 1, z = pos.z}, {x = pos.x - 1, y = pos.y, z = pos.z}, {x = pos.x + 1, y = pos.y, z = pos.z}, {x = pos.x - 1, y = pos.y - 1, z = pos.z}, {x = pos.x + 1, y = pos.y - 1, z = pos.z}, {x = pos.x + 1, y = pos.y + 1, z = pos.z}, {x = pos.x - 1, y = pos.y + 1, z = pos.z} } for type, variable in pairs(config) do if skill == type then for _, ePos in pairs(effectPositions) do setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+25) doCreatureAddHealth(cid, 25) doSendAnimatedText(pos, ""..variable[1].."["..newlevel.."]", 86) doSendMagicEffect(pos, CONST_ME_FIREWORK_BLUE) end end end return TRUE end
  20. @EDIT eskeçe bugo memo, kkk'
  21. dei uma editada no script do thiago, e botei pra mostrar o level do player tambem, nada demais.-. function onSay(cid, words, param, channel) if getPlayerGuildId(cid) <= 0 then doPlayerSendTextMessage(cid, 27, "você não tem guild.") return true end str = "Jogadores Da Guild " ..getPlayerGuildName(cid).. ": "..(param == "" and "" or "Online").."" guild = param == "" and getGuildMembers(getPlayerGuildId(cid)) or getGuildMembersOnline(getPlayerGuildId(cid)) for i = 1,#guild do str = str..""..(param == "" and guild[i] or getPlayerName(guild[i])).. " level [" ..getPlayerLevel(cid).."]"..(#guild == i and "." or ", ") end return doPlayerSendTextMessage(cid, 27, str) end
  22. /\ depende do server dele, o meu é sqlite, e sim quando algum player upa e ganha a hp, ela é salva no meu banco de dados, "SQLITE"
  23. eu tinha eskeçido de mandar a tag de adcionar no login.lua
  24. e como nao percebe
  25. local config = { [1] = { "Club UP", 30} -- 30 = variable[2] } function onAdvance(cid, skill, oldlevel, newlevel) local pos = getPlayerPosition(cid) local effectPositions = { {x = pos.x, y = pos.y - 1, z = pos.z}, {x = pos.x, y = pos.y + 1, z = pos.z}, {x = pos.x - 1, y = pos.y, z = pos.z}, {x = pos.x + 1, y = pos.y, z = pos.z}, {x = pos.x - 1, y = pos.y - 1, z = pos.z}, {x = pos.x + 1, y = pos.y - 1, z = pos.z}, {x = pos.x + 1, y = pos.y + 1, z = pos.z}, {x = pos.x - 1, y = pos.y + 1, z = pos.z} } for type, variable in pairs(config) do if skill == type then for _, ePos in pairs(effectPositions) do setCreatureMaxHealth(cid, 25) doSendAnimatedText(pos, ""..variable[1].."["..newlevel.."]", 86) doSendMagicEffect(pos, CONST_ME_FIREWORK_BLUE) end end end return TRUE end
  • Quem Está Navegando   0 membros estão online

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