Ir para conteúdo

SkyDarkyes

Infante
  • Total de itens

    1685
  • Registro em

  • Última visita

Tudo que SkyDarkyes postou

  1. Apenas com OTCLIENT?
  2. Eu tambem,tou muito curioso rsrsrs
  3. SkyDarkyes

    Erro

    Esqueçe,eu tava tentando liga o server sem a pasta data.
  4. SkyDarkyes

    Erro

    Instalei o site tudo certinho ta até on,soque quando vou ligar o server,da Unable to Load items OTB
  5. É para a versão 8.60?Se sim,o Orochi elf,postou uma distro já com esse system.
  6. Talvez ajude http://www.xtibia.com/forum/topic/212312-pokemons-da-3-a-4-geracao-em-idc/
  7. SkyDarkyes

    Erro tile

    Já fui man e nada
  8. Como tiro esse erro:
  9. Esse é o Cast do TK neh...
  10. Muito bom tutorial,irá ajudar MUITOS ininciates.
  11. Hm,entendi,Vlw,desculpa estou com limite de rep.
  12. ¬¬ Isso eu sei neh Queria que alguem me explicasse detalhadamente sem possivel
  13. Gostaria de saber oque esse creaturescript faz skillConfig = {skill = getConfigValue('rateSkill'), magiclevel = getConfigValue('rateMagic')} skillStages = {} skillStages[SKILL_FIST] = { {0,8},{60,5},{80,3},{100,2} } skillStages[SKILL_CLUB] = { {0,8},{60,5},{80,2},{100,1} } skillStages[SKILL_SWORD] = { {0,8},{60,5},{80,2},{100,1} } skillStages[SKILL_AXE] = { {0,8},{60,5},{80,2},{100,1} } skillStages[SKILL_DISTANCE] = { {0,8},{60,5},{80,2},{100,1} } skillStages[SKILL_SHIELD] = { {0,9},{60,8},{80,7},{100,6},{110,3} } skillStages[SKILL_FISHING] = { {0,5},{60,4},{80,3},{100,2},{110,1} } skillStages[SKILL__MAGLEVEL] = { {0,10},{6,5},{15,7},{80,5},{90,2},{99,1} } showInfoOnAdvance = true -- send player message about skill rate change showInfoOnLogin = true -- send player message about skill rates when he login function getPlayerSkillRatesText(cid) local skillInfo = getPlayerRates(cid) return "YOUR RATES: [ Magic Level: " .. skillInfo[SKILL__MAGLEVEL] * skillConfig.magiclevel .. "x || Fist: " .. skillInfo[SKILL_FIST] * skillConfig.skill .. "x | Club: " .. skillInfo[SKILL_CLUB] * skillConfig.skill .. "x | Sword: " .. skillInfo[SKILL_SWORD] * skillConfig.skill .. "x | Axe: " .. skillInfo[SKILL_AXE] * skillConfig.skill .. "x | Distance: " .. skillInfo[SKILL_DISTANCE] * skillConfig.skill .. " | Shielding: " .. skillInfo[SKILL_SHIELD] * skillConfig.skill .. "x | Fishing: " .. skillInfo[SKILL_FISHING] * skillConfig.skill .. "x ]" end
  14. Obrigado,limite de REP,se nao eu dava.
  15. BOm quando uso o item não some tipo Eu coloco o item na bag e uso ele,ai ele some mas eu coloco o item no chao e uso nao some local invisible = createConditionObject(CONDITION_INVISIBLE) setConditionParam(invisible, CONDITION_PARAM_TICKS, 10 * 1000) function onUse(cid, item, frompos, item2, topos) cid = isCreature(item2.uid) and item2.uid or cid if getCreatureCondition(cid, CONDITION_INVISIBLE) then return not doPlayerSendCancel(cid, "You are already invisible.") end doAddCondition(cid, invisible) doSendMagicEffect(getThingPos(cid), CONST_ME_TELEPORT) doPlayerRemoveItem(cid, 2153, 1) return true end
  16. Obrigado deu certo,acabou os reps,se não eu dava.
  17. Deu certo,REP+ Dado,obrigado.
  18. SkyDarkyes

    Crystal Onix - ICH1GO

    Acho que está sem detalhes
  19. Tem como alguem colocar para nao ir nas paredes function onUse(cid, item, fromPosition, itemEx, toPosition) local pos = fromPosition local aqui = getPlayerPosition(cid) local vocs = {300, 301, 303, 304, 305, 306, 307, 308, 309} local agua = {4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825} if getDistanceBetween(aqui, toPosition) >= 10 then return doPlayerSendTextMessage(cid, 27, "This is soo far.") elseif(not(isSightClear(aqui, toPosition, 1))) then return doPlayerSendTextMessage(cid, 27, "This is impossible.") elseif(getTilePzInfo(aqui)) then return doPlayerSendCancel(cid, "voce nao pode usar quando estiver em protect zone.") elseif(getTilePzInfo(toPosition)) then return doPlayerSendCancel(cid, "voce nao pode entra em protec zone.") elseif(isInArray(agua, itemEx.itemid)) then return doPlayerSendTextMessage(cid, 27, "voce nao pode usar em agua") elseif((getTileHouseInfo(toPosition))) then return doPlayerSendCancel(cid, "You can't enter in a house.") elseif(not(isInArray(vocs, getPlayerVocation(cid)))) then return doPlayerSendTextMessage(cid, 27, "Sorry, your vocation don't use it.") end if(doTeleportThing(cid, toPosition, false)) then doSendMagicEffect(pos, 134) doSendMagicEffect(toPosition, 131) return doSendDistanceShoot(pos, toPosition, 134) end return doPlayerSendCancel(cid, "Sorry, not possible.") end
  20. Não deu certo.
  21. Teria como colocar um Exasted igual desse SCRIPT: local newPos1 = {x = 0, y = 0, z = 0} --pos pra onde sera levado o caster da spell local newPos2 = {x = 242, y = 1056, z = 4} --pos pra onde sera levado o target local time = 20 --tempo pra teleporta devolta, em segs local function teleport(cid, pid, pos, pos2) if isCreature(pid) then doTeleportThing(pid, getClosestFreeTile(pid, pos2 or pos)) doSendMagicEffect(getPlayerPosition(pid), 75) end end function onCastSpell(cid, var) local target = getCreatureTarget(cid) if not isCreature(target) or not isPlayer(target) then return doPlayerSendTextMessage(cid, 27, "Voce So Pode Usar Essa Spell Em Players e Fora de Exames,Arenas,Quests") end if getPlayerStorageValue(cid, 33333) < os.time () then local target = getCreatureTarget(cid) local posCid = getPlayerPosition(cid) local posTarget = getPlayerPosition(target) setPlayerStorageValue(cid, 33333, os.time () + 200) doSendMagicEffect(posCid, 30) doSendMagicEffect(posTarget, 196) teleport(cid, target, newPos1, newPos2) addEvent(teleport, time*1000, cid, target, posCid, posTarget) else doPlayerSendCancel(cid, " VOCE SÓ PODE USAR DAKI A "..getPlayerStorageValue(cid, 33333) - os.time ().." SEGUNDOS ") end return true end Nesse local DESTINO = {x = 1109, y = 581, z = 7} local TEMPO_PARA_VOLTAR = 20 * 1000 -- em ms local events = {} local dbfunc = db and type(db.executeQuery) == "function" and db.executeQuery or db and type(db.query) == "function" and db.query or error local function teleport_back(guid, position) local cid = getPlayerByGUID(guid) if isCreature(cid) then doTeleportThing(cid, position) doSendMagicEffect(position, CONST_ME_TELEPORT) else dbfunc("UPDATE players SET posx = "..position.x..", posy = "..position.y..", posz = "..position.z.." WHERE id = "..guid) end events[guid] = nil end function onCastSpell(cid) local pos, guid = getThingPos(cid), getPlayerGUID(cid) if events[guid] then return not doPlayerSendCancel(cid, "You can't cast this spell now!") end doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) doTeleportThing(cid, DESTINO) doSendMagicEffect(DESTINO, CONST_ME_TELEPORT) events[guid] = addEvent(teleport_back, TEMPO_PARA_VOLTAR, guid, pos) return true end
  • Quem Está Navegando   0 membros estão online

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