-
Total de itens
1685 -
Registro em
-
Última visita
Tudo que SkyDarkyes postou
-
Luck funcionou perfeitamente,porem tem como,colocar um efeito no player que usou e no player que for teleportado?e colocar um exasted
-
@Edit irei testar a spelll.
-
Tipo man,a imagen,os shields tals n gostei mt
-
Luck,mas eu quero que quando o player vai no portal,ele volta pra onde ele foi teleportado exemplo eu mandei o cara da pos 1000x 1000z 1000y ai quando ele entra no tp ele volta pra pos 1000x 1000z 1000y
-
Tipo: Spell Descrição: O player usa a magia em outro o player,o player alvo é teleportado para X lugar,para ele sair de la ele precisa entrar no X tp que fica na x y z,quando ele entra no TP,ele volta de onde foi teleportado.
-
Mas os dois estão em 8.54 =x
-
Quando tento abrir o 2 mapa no RME,ele fecha o que ja estava aberto como arrumo?
-
Vlw ae,mals ae limite rep
-
Essa é uma Script de potion,gostaria que ao usar aparece uma mensagem,eu amarelo no default tipo Isso heala heala function onUse(cid, item, fromPosition, itemEx, toPosition) local vida = 60000 local mana = 75000 if not isPremium(cid) then return doPlayerSendCancel(cid, "You need Premium Account.") and true end if getPlayerStorageValue(cid, 823316) > os.time() then doPlayerSendCancel(cid, "You are exhausted.") doSendMagicEffect(getCreaturePosition(cid), 2) else doCreatureAddHealth(cid, vida) doCreatureAddMana(cid, mana) doSendMagicEffect(getCreaturePosition(cid), 13) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 823316, os.time() + 2) end return true end
-
Basta esperar,demora umpouco mesmo.
-
Potions...
-
Erro attempt to index global 'itemEx'
-
Erro 'end' expected (to close 'function' at line 26) local config = { removeOnUse = "yes", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "no", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 1.0 } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [2150] = {empty = 7478, splash = 7, health = {5000, 5000}}, -- heal potion [2151] = {empty = 7478, splash = 7, health = {20000, 20000}}, -- heal strong potion [2144] = {empty = 7478, splash = 7, mana = {5000, 5000}}, -- strong mana potion [2149] = {empty = 7478, splash = 7, mana = {15000, 15000}}, -- great mana potion [2146] = {empty = 7478, splash = 7, health = {38000, 38000}, mana = {45000, 45000}}, -- ultimate potion } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doTransformItem(item.uid, potion.empty) return TRUE end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) if(not realAnimation) then doCreatureSay(itemEx.uid, "I feel better!") else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "I feel better!", TALKTYPE_SAY, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then doRemoveItem(item.uid, 1) return TRUE end
-
Brigado,
-
Tenho vários scripts aqui,gostaria de saber pra que eles servem 1-: function onAdvance(cid, skill, oldLevel, newLevel) local config = { [20] = {item = 2160, count = 2}, [50] = {item = 2160, count = 5}, [100] = {item = 2160, count = 10}, [150] = {item = 2160, count = 15}, [200] = {item = 2160, count = 20}, [250] = {item = 2160, count = 30}, [300] = {item = 2160, count = 50}, [350] = {item = 2160, count = 70}, [400] = {item = 2160, count = 100}, } if skill == 8 then for level, info in pairs(config) do if newLevel >= level and (getPlayerStorageValue(cid, 30700) == -1 or not (string.find(getPlayerStorageValue(cid, 30700), "'" .. level .. "'"))) then doPlayerAddItem(cid, info.item, info.count) doPlayerSendTextMessage(cid, 27, "Parabéns Guerreiro você atingiu o level "..newLevel.." e ganhou "..info.count.." "..getItemNameById(info.item)..".") local sat = getPlayerStorageValue(cid, 30700) == -1 and "Values: '" .. level .. "'" or getPlayerStorageValue(cid, 30700) .. ",'" .. level .. "'" setPlayerStorageValue(cid, 30700, sat) end end end return TRUE end 2 local config = { idleWarning = getConfigValue('idleWarningTime'), idleKick = getConfigValue('idleKickTime') } function onThink(cid, interval) if(getTileInfo(getCreaturePosition(cid)).nologout or getCreatureNoMove(cid) or getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_ALLOWIDLE)) then return true end local idleTime = getPlayerIdleTime(cid) + interval doPlayerSetIdleTime(cid, idleTime) if(config.idleKick > 0 and idleTime > config.idleKick) then doRemoveCreature(cid) elseif(config.idleWarning > 0 and idleTime == config.idleWarning) then local message = "You have been idle for " .. math.ceil(config.idleWarning / 60000) .. " minutes" if(config.idleKick > 0) then message = message .. ", you will be disconnected in " local diff = math.ceil((config.idleWarning - config.idleKick) / 60000) if(diff > 1) then message = message .. diff .. " minutes" else message = message .. "one minute" end message = message .. " if you are still idle" end doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, message .. ".") end return true end 3 function onPrepareDeath(cid, lastHitKiller, mostDamageKiller) if (getCreatureSkullType(cid) >= 4) then doSendAnimatedText(getCreaturePosition(cid),"PROTECTED!",math.random(1,255)) doSendMagicEffect(getCreaturePosition(cid),40) if (getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 12635) then doCreatureSetDropLoot(cid, false) end return true end return true end 4 function onLogin(cid) if getPlayerLevel(cid) < 8 then doPlayerAddExperience(cid, (getExperienceForLevel(8) - getPlayerExperience(cid))) end return TRUE end
-
~EDITED~ Erro arrumado.
-
Tenho um mapa 8.0 Aqui,porem não tem a opção de transferir para outras oque eu fasso?outras que eu dito 8.54 8.6 etc....
-
Parabens você é otimo no Spriting,sucesso
- 3 respostas
-
- spriter
- pixelartist
-
(e 2 mais)
Tags:
-
[8.54] Naruto Online Shinobi
tópico respondeu ao SkyDarkyes de SkyDarkyes em OTServer Alternativo (ATS)
Sim exatamente. -
Valeus,limite de rep
-
NÃO MAN,olha no SCRIPT eu escolho o lugar para onde eu vou tendeu?OLHA VOU EXPLICAR,fiz uma sala da STAFF ai pra staff ir la tem que usar o comando tendeu?
-
Man eu sei,mas não custa nada fazer igual eu falei...
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.