
Tudo que Snowsz postou
-
Me Helpa please
Provavelmente irá funcionar, talvez você precise editar o mapa pra recolocar os monstros que irão faltar.
- (Resolvido)TRADUZIR ACCOUNT MANAGER
-
(Resolvido)Alguém ajuda a ajeitar essa script :(
local config = { affected = 10, -- how many players (deathAssits) from table deathList should this script be executed for? killStorageValue = 3943, deathStorageValue = 3944, -- commands for the texts (those inside of ||, example: |KILLS| to show skills): KILLS, KILLERNAME, TARGETNAME rewardItem = { use = true, itemid = 5953, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). }, killMessage = { use = true, text = "You owned |TARGETNAME|! You have now |KILLERKILLS| kills!", messageClass = MESSAGE_STATUS_CONSOLE_BLUE }, killerAnimation = { use = false, text = "Frag!", -- Only 9 letters! No "commands" here. color = 1 }, targetAnimation = { use = false, text = "OWNED!!", -- Only 9 letters! No "commands" here. color = 180 } } function onDeath(cid, corpse, deathList) local killer = deathList[1] if isPlayer(killer) then for i = 1, math.min(config.affected, getConfigInfo('deathAssistCount')) do if getPlayerIp(cid) == getPlayerIp(killer) then return true end local targetKills = (getPlayerStorageValue(cid, config.killStorageValue) > 0 and getPlayerStorageValue(cid, config.killStorageValue) or 0) + 1 local targetDeaths = (getPlayerStorageValue(cid, config.deathStorageValue) > 0 and getPlayerStorageValue(cid, config.deathStorageValue) or 0) + 1 local killerKills = (getPlayerStorageValue(killer, config.killStorageValue) > 0 and getPlayerStorageValue(killer, config.killStorageValue) or 0) + 1 local killerDeaths = (getPlayerStorageValue(killer, config.deathStorageValue) > 0 and getPlayerStorageValue(killer, config.deathStorageValue) or 0) + 1 setPlayerStorageValue(killer, config.killStorageValue, targetKills) setPlayerStorageValue(cid, config.deathStorageValue, targetDeaths) local killerLevel = getPlayerLevel(killer) local targetLevel = getPlayerLevel(cid) local levelDiff = targetLevel - killerLevel local values = { ["KILLERKILLS"] = killerKills, ["KILLERDEATHS"] = killerDeaths, ["KILLERNAME"] = getCreatureName(killer), ["KILLERLEVEL"] = killerLevel, ["TARGETKILLS"] = targetKills, ["TARGETDEATHS"] = targetDeaths, ["TARGETNAME"] = getCreatureName(cid), ["TARGETLEVEL"] = targetLevel } local function formateString(str) return(str:gsub("|([A-Z]+)|", (function(a) return values[a] end))) end if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then local uid = doPlayerAddItem(killer, config.rewardItem.itemid, 1) end if(config.killMessage.use) then doPlayerSendTextMessage(killer, config.killMessage.messageClass, formateString(config.killMessage.text)) end if(config.killerAnimation.use) then doSendAnimatedText(getCreaturePosition(killer), config.killerAnimation.text, config.killerAnimation.color) end if(config.targetAnimation.use) then doSendAnimatedText(getCreaturePosition(cid), config.targetAnimation.text, config.targetAnimation.color) end end end return true end
-
Muda de vocação com o level.
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum. local config = { message = "Parabéns você acaba de ser promovido para >%s<.", voc = { --[levelminimo-levelmaximo] ["1-30"] = { --[vocação atual] = nova vocação, [1] = 5, [2] = 6, [3] = 7, [4] = 8, }, } } function onAdvance(player, skill, oldLevel, newLevel) if skill == SKILL__LEVEL and newlevel > oldlevel then for k, v in pairs(config.voc) do local str = string.explode(k, "-") local minlv, maxlv, vocation = tonumber(str[1]), tonumber(str[2]), player:getVocation() if newlevel >= minlv and newlevel <= maxlv and not v[vocation:getId()] then player:setVocation(Vocation(v[vocation:getId()])) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, string.format(config.message, Vocation(v[vocation:getId()]):getName())) end end end return true end Comecei fazendo para tfs 0.4 já que não tinha lido que era 10.96, mas modifiquei. Não testei, aí está para tfs 1.x.
-
Diamond Shop OTClient Pokémon
Precisa informar que sistema está a usar.
-
(Resolvido)Alguém ajuda a ajeitar essa script :(
local config = { affected = 10, -- how many players (deathAssits) from table deathList should this script be executed for? killStorageValue = 3943, deathStorageValue = 3944, -- commands for the texts (those inside of ||, example: |KILLS| to show skills): KILLS, KILLERNAME, TARGETNAME rewardItem = { use = true, itemid = 5953, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). }, killMessage = { use = true, text = "You owned |TARGETNAME|! You have now |KILLERKILLS| kills!", messageClass = MESSAGE_STATUS_CONSOLE_BLUE }, killerAnimation = { use = false, text = "Frag!", -- Only 9 letters! No "commands" here. color = 1 }, targetAnimation = { use = false, text = "OWNED!!", -- Only 9 letters! No "commands" here. color = 180 } } function onDeath(cid, corpse, deathList) local killer = deathList[1] if isPlayer(killer) then for i = 1, math.min(config.affected, getConfigInfo('deathAssistCount')) do if getPlayerIp(cid) == getPlayerIp(killer) then return true end local targetKills = math.max(0, getPlayerStorageValue(cid, config.killStorageValue)) + 1 local targetDeaths = math.max(0, getPlayerStorageValue(cid, config.deathStorageValue)) + 1 local killerKills = math.max(0, getPlayerStorageValue(killer, config.killStorageValue)) + 1 local killerDeaths = math.max(0, getPlayerStorageValue(killer, config.deathStorageValue)) + 1 setPlayerStorageValue(killer, config.killStorageValue, targetKills) setPlayerStorageValue(cid, config.deathStorageValue, targetDeaths) local killerLevel = getPlayerLevel(killer) local targetLevel = getPlayerLevel(cid) local levelDiff = targetLevel - killerLevel local values = { ["KILLERKILLS"] = killerKills, ["KILLERDEATHS"] = killerDeaths, ["KILLERNAME"] = getCreatureName(killer), ["KILLERLEVEL"] = killerLevel, ["TARGETKILLS"] = targetKills, ["TARGETDEATHS"] = targetDeaths, ["TARGETNAME"] = getCreatureName(cid), ["TARGETLEVEL"] = targetLevel } local function formateString(str) return(str:gsub("|([A-Z]+)|", (function(a) return values[a] end))) end if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then local uid = doPlayerAddItem(killer, config.rewardItem.itemid, 1) end if(config.killMessage.use) then doPlayerSendTextMessage(killer, config.killMessage.messageClass, formateString(config.killMessage.text)) end if(config.killerAnimation.use) then doSendAnimatedText(getCreaturePosition(killer), config.killerAnimation.text, config.killerAnimation.color) end if(config.targetAnimation.use) then doSendAnimatedText(getCreaturePosition(cid), config.targetAnimation.text, config.targetAnimation.color) end end end return true end
-
Como Poso aumentar effect em Meu server
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum.
-
Script De Weapon
Eita, foi mal, errei uma coisa kkk. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1, 0, 1, 0) local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 10000) setConditionParam(condition, CONDITION_PARAM_SPEED, -5) setCombatCondition(combat, condition) local config = {1, 2, 3, 4, 5} function onUseWeapon(cid, var) local target = getCreatureTarget(cid) if not isCreature(target) then return true end doSendDistanceShoot(getThingPos(cid), getThingPos(target), config[math.random(1, #config)]) doCombat(cid, combat, var) return true end
-
Script De Weapon
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1, 0, 1, 0) local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 10000) setConditionParam(condition, CONDITION_PARAM_SPEED, -5) setCombatCondition(combat, condition) local config = {1, 2, 3, 4, 5} function onUseWeapon(cid, var) local target = getCreatureTarget(cid) if isCreature(target) then return true end doSendDistanceShoot(getThingPos(cid), getThingPos(target), config[math.random(1, #config)]) doCombat(cid, combat, var) return true end
-
[AJUDA] dedicado
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum.
-
To começando a montar um server e to com um problema, alguém me ajuda?
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum.
- [BloodMoon] Vampire vs Slayer - Check it!
-
como resolvo esse erro
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum.
-
[AJUDA] Otclient Não tem o canal NPCs
Checa o xml dos channels.
- AINCRAD ONLINE FREEPATCH 2014
- (Resolvido)TRADUZIR ACCOUNT MANAGER
-
Remere's Map Editor 10.94
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum.
- Wand Nova
-
[HELP] Novo Depot
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum.
- War Anti Entrosa
-
Pedido + pergunta
Esta é uma mensagem automática! Este tópico foi movido para a área correta. Pedimos que você leia as regras do fórum.
- [DLL] Estendida para OLD Cliente
- Preciso do download do Mapa de Pokémon Online SvKe
- Bike Female Remake ( Poketibia )
- Qual a melhor base de poketibia para se iniciar um servidor ?