Histórico de Curtidas
-
kinglekke deu reputação a Qwizer em Dowload direto pelo gesiore so trocar seu link do mega https://mega.nz/#!EpkzmJ7D!FESP523G0ssjEOelCoBPuLKyva8Db8fWFdlHxRhBXOU para o nome do arquivo do seu cliente Meucliente.exe, ou Meucliente.rar so por igual ta no arquivo e salvar que ja vai funcionar.
-
kinglekke recebeu reputação de Ronaldo CM em (URGENTE) Ligando o ottime eu to com esse problema quando fui passar para o vps agr nao sei o que fazer no meu pc estava funcionando 100% obs meu pc é win 10 e o server é win 12
ajuda urgente pfv
up
-
kinglekke deu reputação a lucasvtr1 em Tempo em ScriptNão achei uma função especifica na lib.
mais tenta trocar por esse script:
function onUse(cid, item, frompos, item2, topos) local pausa = 120*60*120000 -- (1000 = 1 segundos) Tempo que o script durará local texto = "Você dobrou sua Experiencia por 2 Horas" -- Texto que irá receber ao usar a potion. textofinal = "Acabou o potion de Experiencia." -- Texto que irá receber quando o efeito da potion acabar. local exp = 3 -- O quanto que você quer que dobre sua experiencia, por exemplo 2 é 2x as rates do seu server. local expfinal = 1 --Não mude, isso é para a experiencia voltar ao normal. remoitem = true --irá remover o item. local rates = getPlayerRates(cid) local limitedeuso = 49015 local tempo = 120*60*1000 -- 1000 = 1s então 1000 vezes 60 vezes 30 = 30 minutos local textofinal1 = "Você já esta sob efeito da pot de experiência espere o efeito acabar." local seuitem = 7440 -- seu item que dará double exp local efeito1 = 13 -- efeito que ficara com o char por meia hora local efeito2 = 35 -- efeito que acontecera no momento que usar a pot local hours = 2 function effect() if isPlayer(cid) then local pos = getCreaturePosition(cid) doSendMagicEffect(pos, efeito1) end end if item.itemid == seuitem and (getPlayerStorageValue(cid, limitedeuso) - os.time() <= 0) then doRemoveItem(item.uid,1) doPlayerSetExperienceRate(cid, rates[SKILL__LEVEL]*exp) doSendMagicEffect(frompos,efeito2) setPlayerStorageValue(cid, limitedeuso, os.time() + hours*3600) doPlayerSendTextMessage(cid,22,texto) addEvent(potion, pausa, cid) a = 1 while a ~= timeEffect do addEvent(effect, a * 1000) a = a + 1 end elseif item.itemid == seuitem and (getPlayerStorageValue(cid, limitedeuso) - os.time() > 0) then doPlayerSendTextMessage(cid,22,textofinal1) end return true end function potion(cid) doPlayerSetExperienceRate(cid,rates[SKILL__LEVEL]) doPlayerSendTextMessage(cid,22,textofinal) end Axo que ainda vai dar errado. mas se o erro mudar pelo menos ja é alguma coisa. posta as diferenças.
Valeu. Eu pus esse script no meu otserver ele é 9.83 e não funcionou. Ele é um OTX. 2.52.
-
kinglekke deu reputação a murilao em Npcs Nao RespondemDatapack desse servidor não tem quase nenhum NPC o que funciona perfeito nele só a distro e a source. So colocar outra datapack nele.
-
kinglekke deu reputação a murilao em [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)Qual a configuração do seu PC? Win 10 x64 ?
-
kinglekke recebeu reputação de Enzo Caue em [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)esse e o npcchandler onde eu creio que esta dando o erro pois nao é apenas em um npc
e esse e o npc.lua
e aqui é um npc do ot
-
kinglekke deu reputação a murilao em [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)no shopsystem.php
-
kinglekke deu reputação a Bodak Reborn em Npcs Nao RespondemExemplo o Dalk:
<parameters> <parameter key="message_greet" value="Welcome |PLAYERNAME|, I can sell to you: {Diamond Account}, {Sex Change}, what you want?"/> </parameters> Ele diz isso quando tu da "hi", se o NPC que você está tentando conversar não tenha isso, pode ser o motivo do bug.
-
kinglekke deu reputação a Sekk em [10.90] Vanaheim Global Opensource - TFS 1.2@kinglekke não.
-
kinglekke deu reputação a Gaant em Fundo transparenteNão sei se estão usáveis, mas...
tive q por em png pq jpg n pega fundo :/
-
kinglekke deu reputação a Jobs em (Resolvido)(NPC) MULTIFUSOES - AOL/BLESS/PREMIUMNa pasta npc cria um arquivo Gabriel.xml e bota isso dentro:
Vai em npc/scripts/ e cria um arquivo chamado Gabriel.lua e bota isso:
@Edit
não testei qualquer error so fala...
-
kinglekke deu reputação a RetornoDeLaug em (Resolvido)RME Como copiar o mapa ?Ou você pode ir em File > Importar > e define a posição que quer ele no mapa.
-
kinglekke deu reputação a Caronte em (Resolvido)RME Como copiar o mapa ?é só fazer em todos os andares...
mas o do Laug é mais prático...
Depende da área vip, se ela tiver alguma posição configurada você deve verificar, mas os uid e aid, continuam...
-
kinglekke deu reputação a ViitinG em (Resolvido)10.53 [tf 1.0]"data/creaturescripts/scripts/antimc.lua" :
local config = { max = 2, group_id = 1 } local accepted_ip_list = {"192.168.25.17"} local function antiMC(p) if #getPlayersByIp(getPlayerIp(p.pid)) >= p.max then doRemoveCreature(p.pid) end return true end function onLogin(cid) if getPlayerGroupId(cid) <= config.group_id then if isInArray(accepted_ip_list,doConvertIntegerToIp(getPlayerIp(cid))) == false then addEvent(antiMC, 1000, {pid = cid, max = config.max+1}) end end return true end "data/creaturescripts/creaturescripts.xml" :
<event type="login" name="AntiMC" event="script" value="antimc.lua"/> "data/creaturescripts/login.lua" :
registerCreatureEvent(cid, "AntiMC") -
kinglekke deu reputação a Qwizer em [Actions] Potions Heal Friend TFS 1.0Potions Heal Friend TFS 1.0
Em alguns ots que usam tfs 1.0 as potions tem um bug que não da pra healar outros players, então vou postar o scripts desbugado funcionando 100%
local ultimateHealthPot = 8473 local greatHealthPot = 7591 local greatManaPot = 7590 local greatSpiritPot = 8472 local strongHealthPot = 7588 local strongManaPot = 7589 local healthPot = 7618 local manaPot = 7620 local smallHealthPot = 8704 local antidotePot = 8474 local greatEmptyPot = 7635 local strongEmptyPot = 7634 local emptyPot = 7636 local antidote = createCombatObject() setCombatParam(antidote, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(antidote, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(antidote, COMBAT_PARAM_TARGETCASTERORTOPMOST, TRUE) setCombatParam(antidote, COMBAT_PARAM_AGGRESSIVE, FALSE) setCombatParam(antidote, COMBAT_PARAM_DISPEL, CONDITION_POISON) local exhaust = createConditionObject(CONDITION_EXHAUST_HEAL) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (configManager.getNumber(configKeys.EX_ACTIONS_DELAY_INTERVAL) - 100)) -- 1000 - 100 due to exact condition timing. -100 doesn't hurt us, and players don't have reminding ~50ms exhaustion. function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid ~= 1 or itemEx.type ~= THING_TYPE_PLAYER then return true end if(getCreatureCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if(item.itemid == antidotePot) then if(doCombat(cid, antidote, numberToVariant(cid)) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) elseif(item.itemid == smallHealthPot) then if(doTargetCombatHealth(0, itemEx.uid, COMBAT_HEALING, 75, 125, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) elseif(item.itemid == healthPot) then if(doTargetCombatHealth(0, itemEx.uid, COMBAT_HEALING, 130, 180, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) elseif(item.itemid == manaPot) then if(doTargetCombatMana(0, itemEx.uid, 70, 130, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) elseif(item.itemid == strongHealthPot) then if(not(isKnight(cid) or isPaladin(cid)) or (getPlayerLevel(cid) < 50)) and not(getPlayerGroupId(cid) >= 2) then doCreatureSay(cid, "This potion can only be consumed by paladins and knights of level 50 or higher.", TALKTYPE_ORANGE_1) return TRUE end if(doTargetCombatHealth(0, itemEx.uid, COMBAT_HEALING, 270, 320, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) elseif(item.itemid == strongManaPot) then if(not(isSorcerer(cid) or isDruid(cid) or isPaladin(cid)) or (getPlayerLevel(cid) < 50)) and not(getPlayerGroupId(cid) >= 2) then doCreatureSay(cid, "This potion can only be consumed by sorcerers, druids and paladins of level 50 or higher.", TALKTYPE_ORANGE_1) return TRUE end if(doTargetCombatMana(0, itemEx.uid, 115, 185, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) elseif(item.itemid == greatSpiritPot) then if(not(isPaladin(cid)) or (getPlayerLevel(cid) < 80)) and not(getPlayerGroupId(cid) >= 2) then doCreatureSay(cid, "This potion can only be consumed by paladins of level 80 or higher.", TALKTYPE_ORANGE_1) return TRUE end if(doTargetCombatHealth(0, itemEx.uid, COMBAT_HEALING, 250, 350, CONST_ME_MAGIC_BLUE) == LUA_ERROR or doTargetCombatMana(0, cid, 100, 200, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) elseif(item.itemid == greatHealthPot) then if(not(isKnight(cid)) or (getPlayerLevel(cid) < 80)) and not(getPlayerGroupId(cid) >= 2) then doCreatureSay(cid, "This potion can only be consumed by knights of level 80 or higher.", TALKTYPE_ORANGE_1) return TRUE end if(doTargetCombatHealth(0, itemEx.uid, COMBAT_HEALING, 425, 575, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) elseif(item.itemid == greatManaPot) then if(not(isSorcerer(cid) or isDruid(cid)) or (getPlayerLevel(cid) < 80)) and not(getPlayerGroupId(cid) >= 2) then doCreatureSay(cid, "This potion can only be consumed by sorcerers and druids of level 80 or higher.", TALKTYPE_ORANGE_1) return TRUE end if(doTargetCombatMana(0, itemEx.uid, 150, 250, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) elseif(item.itemid == ultimateHealthPot) then if(not(isKnight(cid)) or (getPlayerLevel(cid) < 130)) and not(getPlayerGroupId(cid) >= 2) then doCreatureSay(cid, "This potion can only be consumed by knights of level 130 or higher.", TALKTYPE_ORANGE_1) return TRUE end if(doTargetCombatHealth(0, itemEx.uid, COMBAT_HEALING, 650, 850, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end doAddCondition(cid, exhaust) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 14582, getPlayerStorageValue(cid, 14582) + 1) end return TRUE end e isso pessoal.
-
kinglekke deu reputação a Denannce em Meu sistema de ShopOlá bom eu estou criando uma Loja para o meu OT espero que gostem ainda estou terminando mas ta ai uma previa dele.
-
kinglekke deu reputação a MarcosFraga em [ajuda] item que da 20 % de exp tfs 1.0Da uma olhada no arquivo events/scripts/player.lua
Procura pela função:
function Player:onGainExperience(source, exp, rawExp) if self:getStorageValue(1234) >= os.time() then exp = exp * 2 end return exp end Se não encontar adicione ela ao arquivo.
Após abra seu arquivo events.xml
adicione :
<event class="Player" method="onGainExperience" enabled="1"/> Crie um arquivo em data/actions/scripts com o nome de doublexp.lua
Cole dentro:
function onUse(cid, item, fromPosition, itemEx, toPosition) local player = Player(cid) if player:getStorageValue(1234) >= os.time() then return true end player:setStorageValue(1234, os.time() + 3600) Item(item.uid):remove(1) return true end function Player:onGainExperience(source, exp, rawExp) if self:getStorageValue(1234) >= os.time() then exp = exp * 2 end return exp end Em seguida abra seu actions.xml
E adicione a tag
<action itemid="11773" script="doublexp.lua"/> Explicando:
No script doublexp está:
exp = exp * 2
Aqui esta dobrando a exp, se você quer sómente 20% faça o teste com 0,2, não cheguei a testar.
Espero que funcione.
-
kinglekke deu reputação a Beeny em Gesior site [3 rep+]não sei se esse trem chama atenção
anyway
-
kinglekke deu reputação a Danihcv em avatar taboosEu posso tentar fazer um rabisco hoje caso eu seja abençoado com tempo. sahusauhsahu
SÓ AVISANDO QUE SOU MUITO INICIANTE EM LAYOUT/DESIGN!!!
Na vdd eu nunca fiz quase nada sobre isso. Só uns layouts pra uns canais do youtube... sahusahuashu
-
kinglekke deu reputação a Danihcv em Diminuir e trocar de lado a imagen (3 rep+)e
-
kinglekke deu reputação a Beeny em logo tipo para anuciarmanda o tamanho né boy
.-.
[img]http://i.imgur.com/dQxtpx2.gif
-
kinglekke deu reputação a Absolute em (Resolvido)[DUVIDA] Como deixar 24hrs online?Cara não tem nada a ver o site com ficar online.
Para ficar 24h sugiro que contrate um VPS ou Dedicado, instalando o site.
-
kinglekke deu reputação a Absolute em [Anti Guild Attacks] Você não pode atacar sua guildAnti Guild Attack.
Olá linduxos do TK, o próprio nome já diz tudo, é um script que proíbe que membros da guild ataque membros da sua própria guild (Ótimos em WARS).
Sem blábláblá vamos ao que interessa.
Em data/creaturescripts/creaturescripts.xml adicione a seguinte linha:
<event type="attack" name="attackguild" script="attackguild.lua"/> Em data/creaturescripts/scripts crie um arquivo com o nome attackguild.lua com o seguinte conteúdo:
function onAttack(cid, target) if isPlayer(target) and getPlayerGuildId(cid) == getPlayerGuildId(target) then local storageId = 101 if getPlayerStorageValue(cid, storageId) == 1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You choose not to attack and not to be attacked by guild members.") doCreatureSetSkullType(cid, 0) return false elseif getPlayerStorageValue(target, storageId) == 1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your target choose to not to attack and not to be attacked by guild members.") doCreatureSetSkullType(cid, 0) return false end end return true end
Pronto, agora players da mesma guild não podem se atacar
Espero ter ajudado, demais dúvida poste aqui no tópico.
Até a próxima!
Absolute.
-
kinglekke recebeu reputação de Beeny em AJUDA com imagen para sitevlw, com sorte ainda vou pedir varias coisas para voce kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Trabalho nota 10
-
kinglekke deu reputação a Beeny em AJUDA com imagen para siteD:
Tá meio apagado os lados, pra ele se "ajustar" com qualquer cor que você colocar no fundo.
Recomendo que você use essa cor : #101015
Abraços