Ir para conteúdo

Diiego Liima

Membro
  • Registro em

  • Última visita

Tudo que Diiego Liima postou

  1. pelo jeito e o mapa. ele esta pesando 300MB, entao que seria no minimo uma VPS de 16gb a 24GB pra abrir
  2. Posta a spells que vc quer fazer pra usar. o effect. fica mais facil alguem te ajuda
  3. CREATE TABLE `z_news_tickers` ( `id` int(11) NOT NULL, `date` int(11) NOT NULL DEFAULT '1', `author` int(11) NOT NULL DEFAULT '29', `image_id` int(3) NOT NULL DEFAULT '0', `text` text NOT NULL, `hide_ticker` tinyint(1) NOT NULL DEFAULT '1' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; ALTER TABLE `z_news_tickers` ADD PRIMARY KEY (`id`); ALTER TABLE `z_news_tickers` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
  4. pra começo sua source precisa ter o sistema de damage.. caso nao tiver vc tem que fazer por Promotion.. cria uma nova promotion e almentar o DMG dentro do vocations.xml
  5. manda print. da sua tag dentro do spells.xml
  6. Verifica. a ela dentro do seu spells.xml a tag dela. ja tem a opçao de por o exhausted. e o tanto de mana que vai utilizar
  7. inves de clicar tento passar emcima do tile. com o item
  8. local cfg = { storage = 15052, -- storage do tempo interval = 100, -- tempo em segundos para usar de novo exit = {x = 5068, y = 5011, z = 7}, -- posição de saida cap_needed = 105, -- cap necessario rewards = { -- recompensas (sera ganhado o item com maior chance em caso de falha em todas as chances) {id = 9971, amount = 150, chance = 33}, -- 150kk {id = 9693, amount = 1, chance = 17}, -- Addon Doll {id = 7443, amount = 1, chance = 18}, -- Event Exp Potion {id = 7440, amount = 1, chance = 19}, -- Double Exp Potion {id = 2346, amount = 1, chance = 20}, -- Stamina Refiller {id = 12614, amount = 10, chance = 30}, -- Dodge Stone {id = 12435, amount = 10, chance = 31}, -- Critical Stone {id = 12640, amount = 10, chance = 32}, -- Reflect Feather {id = 8978, amount = 1, chance = 11}, -- Super UP {id = 5808, amount = 1, chance = 10}, -- Genius Brain {id = 8306, amount = 1, chance = 9} -- Pure Energy } } function onUse(cid, item, fromPosition, itemEx, toPosition) local timeNow = os.time() local remainingTime = (tonumber(getCreatureStorage(cid, cfg.storage)) or 0) - timeNow if (remainingTime > 0) then doTeleportThing(cid, cfg.exit) doSendMagicEffect(fromPosition, 12) doPlayerSendTextMessage(cid, 27, "Seu tempo para Quest ainda não expirou! Você não deveria estar nesta SALA!!") return true end if (getPlayerFreeCap(cid) < cfg.cap_needed) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Você precisa ter mais que '" .. cfg.cap_needed ..".00oz' para abrir o baú, por segurança.") return true end local chosenReward = nil local highestChance = nil local highestChanceReward = nil local chance = math.random(100) local tmpChance = nil for i = 1, #cfg.rewards do local reward = cfg.rewards[i] if (not highestChance or reward.chance > highestChance) then highestChanceReward = reward end if (reward.chance >= chance and (not tmpChance or reward.chance < tmpChance)) then chosenReward = reward tmpChance = reward.chance end end if (not chosenReward) then chosenReward = highestChanceReward end if (doPlayerAddItem(cid, chosenReward.id, chosenReward.amount)) then doTeleportThing(cid, cfg.exit) doSendMagicEffect(toPosition, CONST_ME_MAGIC_GREEN) doCreatureSetStorage(cid, cfg.storage, timeNow + cfg.interval) doPlayerSendTextMessage(cid, 27, "Você finalizou a Quest e recebeu um item. Poderá fazer a novamente em nesse exato momento!!") else doPlayerPopupFYI(cid, " [+] Quest [+]\n\nVocê está sem espaço em sua backpack. Libere espaço.\nSe continuar clicando poderá perder sua!") end return true end
  9. qual sua tfs ?
  10. Leia com Atenção eu Adicionei um Sistema de Boss Room ! so vc utilizar
  11. qual a sua tfs ? 0.4 e bem dificil encontrar caso utiliza o 1.3 + ja tem
  12. Pega a Base do BaiakPVP la tem esse sistema. na parte dos Actions
  13. Sim se chama Damage System. Ele almenta tudo !
  14. tem que verificar alguma pasta sua vc deve ter errado na hra de mecher.
  15. mande os erro da sua distro alguma coisa que ta dando erro na db, que n ta salvando
  16. SET GLOBAL sql_mode = ''; Executa esse comando na database com servidor fechado
  17. vc deve ter adicionado algo na spells que bugo a linha no XML. confere trocando a Pasta Spells. por uma outra so pra testar
  18. 18 o 16 tanto faiz DiegoLima#2543
  19. estala ai o 16.04 ubuntu e compila com o makefile q te mandei
  20. qual src vc esta usando. otx 2?
  21. manda o makefile seu dentro da src
  22. sim, so de perde a house os items ja vai pro depot fique tranquilo

Informação Importante

Confirmação de Termo