Ir para conteúdo

ADM Mayk on BaiakME

Membro
  • Registro em

  • Última visita

Tudo que ADM Mayk on BaiakME postou

  1. pode me ajudar? é oque significa as 2 position? ["Kinkaku"] = {pos = {x=1024, y=920, z=7}, toPos = {x=796, y=1074, z=8}, time = 50} tentei por no meu ot 8.6 tfs 0.4 não da erro na distro não da erro em nada mais quando o bixo morre só aparece o corpo ....
  2. desculpa esta revivendo o tópico mais é que não tem outro a não ser esse, TEM COMO ADAPTAR PRA TFS 0.4 ??? POR FAVOR DA UMA AJUDA AI
  3. TEM COMO ADAPTAR PRA TFS 0.4 ??? POR FAVOR PESSOAL DA UMA AJUDA AI SE TIVER 8.60 HEAL - Se o life dele chega a 50k, ele solta um aviso, e depois de 5 segundos heala 300k. Crie um arquivo em creaturescripts/scripts/ com o nome heal_gaz.lua e coloque esse código: -- <event type="healthchange" name="HealGaz" script="heal_gaz.lua"/> local config = { life_ative = 50000, life_add = 300000, seconds_ative = 5, gStorage = 90702, } local function Uheal(cid) local gaz = Monster(cid) gaz:addHealth(config.life_add) gaz:say("Gaz'haragoth HEALS himself!", TALKTYPE_MONSTER_SAY) gaz:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) Game.setStorageValue(config.gStorage, 0) end function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) if attacker then if creature:getHealth() < config.life_ative and Game.getStorageValue(config.gStorage) < 1 then creature:say("Gaz'haragoth beginns to draw on the nightmares to HEAL himself!", TALKTYPE_MONSTER_SAY) addEvent(Uheal, 1000 * config.seconds_ative, creature.uid) Game.setStorageValue(config.gStorage, 1) end end return primaryDamage, primaryType, secondaryDamage, secondaryType end A tag que deve add ao creaturescript.xml esta como comentário no script, é só add. Depois para funcionar no Gaz, vá até o xml dele em monster e coloque em seu código: <script> <event name="HealGaz" /> </script> TELEPORT - Quem passa em cima do corpo dos summons do boss é teleportado para perto dele. Crie um arquivo em movements/scripts/ com o nome tp_gaz.lua e coloque esse código: -- <movevent event="StepIn" itemid="22455" script="teleport_gaz.lua"/> function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if player == nil then return false end local monster = Creature("Gaz'Haragoth") if monster then player:teleportTo(monster:getPosition()) else player:teleportTo(fromPosition) end return true end
  4. funcionou porém não troca o effect mesmo eu mudando de ID ele continua o mesmo
  5. TFS 0.4 alguém poderia me ajudar queria por um item x que ao da use nele fica saindo x effect a cada x segundos recupera X de vida é mana por segundos, apenas pra PREMIUM ACCOUNT... é um pra free account se possível se não for pedir muito .... por favor TMJ ...
  6. TFS 0.4 8.60 QUERIA POR ESSE SCRIPT PRA TANTO FREE QUANTO PREMIUM COMPRA AS BLESS o free quando ele compra é desloga ele não fica com a bless é pode compra a mesma bless..... já o premium ele compra a bless se desloga a bless fica com ele ... é ele não pode comprar outra PREMIUM ta normal...
  7. [19:46:29.536] > Loading Zombie.xml...[Warning - MoveEvents::addEvent] Duplicate move event found: 45110 [19:46:29.539] [Warning - TalkAction::registerEvent] Duplicate registered talkaction with words: /zombiestart [19:46:29.539] [Warning - TalkAction::registerEvent] Duplicate registered talkaction with words: !zombiestart estou com esses erros pode me ajudar?
  8. link quebrado por favor concerta ai ! é poe imagem .....
  9. Nice System pena que no meu não aparece a caveira black Reputado ?
  10. mesmo assim não funcionou de nenhum jeito ...
  11. não funcionou eu compro no site no jogo não aparece nenhuma msg é não aparece nos outfits sera que tem alguma coisa haver no meu shop da database?
  12. USO The Forgotten Server 0.4 8.60 desculpa esta revivendo o tópico mais eu preciso muito desse script ai já tentei de todas as maneiras mais não funciona não da erro na distro a senha quando digito la é não abre a porta Em "data/creaturescripts/creaturescripts.xml" adicione está tag : Em "data/creaturescripts/scripts/login.lua" adicione está tag no final do script : Em "data/creaturescripts/scripts/senhaporta.lua" adicione este script :
  13. desculpa poderia ser por alavanca ? assim todos os players do ot teria acesso a puxar a alavanca ??? Reputado ...
  14. é que tipo no outfits.xml exemplo se eu compra premium 30 dias quem for premium vai poder usar o outfit que esta no shop tendeu .... é eu queria tirar isso ...
  15. The Forgotten Server 0.4 8.60 Exemplo o player loga no SITE, vai na loja ... compra o outfit é recebe no jogo Como faço pra por storage nos outfits ? GlobalEvets/scripts -- Shop.lua local SHOP_MSG_TYPE = MESSAGE_EVENT_ORANGE local SQL_interval = 30 --- ### Outfits List ### local femaleOutfits = { ["RetroCitizen"]={371}, } local maleOutfits = { ["RetroCitizen"]={370}, } function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) local action = tostring(result_plr:getDataString("action")) local delete = tonumber(result_plr:getDataInt("delete_it")) local cid = getPlayerByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local outfit_name = string.lower(tostring(result_plr:getDataString("param3"))) local itemvip = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local points = tonumber(result_plr:getDataInt("param7")) local received_item = 0 local full_weight = 0 if(action == 'give_item') then full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end local free_cap = getPlayerFreeCap(cid) local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) if full_weight <= free_cap then received_item = doPlayerAddItemEx(cid, new_item) if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'Voce Recebeu >> '.. add_item_name ..' << Da Nossa Loja, Relogue Para Salvar A Compra.') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if(action == 'give_outfit') then if outfit_name ~= "" and maleOutfits[outfit_name] and femaleOutfits[outfit_name] then local add_outfit = getPlayerSex(cid) == 0 and femaleOutfits[outfit_name][1] or maleOutfits[outfit_name][1] if not canPlayerWearOutfit(cid, add_outfit, 3) then db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS) doPlayerAddOutfit(cid, add_outfit, 3) doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, "Voca Recebeu A Roupa " .. add_item_name .. " Da Nossa Loja.") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, "Voce Ja Tem Essa Roupa. Seus Pontos Foram Devolvidos, Obrigado.") db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("UPDATE `accounts` SET `premium_points` = `premium_points` + " .. points .. " WHERE `id` = " .. getPlayerAccountId(cid) .. ";") end end end end if not(result_plr:next()) then break end end result_plr:free() end return true end outfits.xml
  16. vlw funcionou agora só falta eu retirar os outfits exemplo deixar exclusivo apenas pra quem comprar no site ?
  17. The Forgotten Server 0.4 Server 8.6 isso só acontece com as outfits alguém pode me ajudar? será que eu estou configurando errado? já tentei de tudo mais não achei a solução...
  18. The Forgotten Server 0.4 quando alguém fizer uma compra no site depois de 30 segundos o item comprado aparece na Backpack... é que ele funcione com os Outfits addon 1 é addon 2 já completo....
  19. vish então o jeito vai ser remover o account manager sabe como faço isso ? exemplo o player digita 1/1 é aparece um POP com o endereço do site
  20. vlw mano me ajudou muito sobre distro que gera salt não preciso pois não quero ter acesso a senha dos players, é sem falar que o server que tenho deu pra mim por vários addons de outras versão ... melhor coisa ?
  21. The Forgotten Server 0.4 Gesior GesiorACC 2012 Natanael Beckman já tentei de tudo porem quando digito 1/1 não fala que a senha ta errada .... ID:1 LOGIN:1 SENHA CODIGO COMO SENHA ???? mesmo eu mudando ela pra 1 não funciona fala que ta errada
  22. não da pra criar accounts já tentei de tudo
  23. 'htdocs.rar' is unavailable.O link para o arquivo que você solicitou não é válido.

Informação Importante

Confirmação de Termo