Histórico de Curtidas
-
lowereeee deu reputação a klipstyle em (Resolvido)[erro pz,pk]tenta usar outro nome para simplificar.
mude o nome do arquivo para Block.lua
e mude a tag para.
<event type="logout" name="Block" event="script" value="Block.lua"/>
-
lowereeee deu reputação a klipstyle em (Resolvido)[erro pz,pk]amigo em creaturescript crie um arquivo Blocklog.lua cole o seguinte dentro.
registre a tag e nos informe resultados.
<event type="logout" name="BlockLog" event="script" value="Blocklog.lua"/>
-
lowereeee deu reputação a klipstyle em (Resolvido)[erro pz,pk]function onLogout(cid)
if getPlayerSkullType(cid) == SKULL_WHITE or isPlayerPzLocked(cid) or getCreatureCondition(cid, CONDITION_INFIGHT) then
doPlayerSendCancel(cid, "Voce nao pode deslogar enquanto esta em battle.")
return true
end
return true
end
se esse nao funcionar ja nao sei oque checar ou como checar ç.ç
-
lowereeee deu reputação a klipstyle em (Resolvido)[Ajuda] Spell exaustion
-
lowereeee recebeu reputação de goodlloords em {AJUDA} Monstro deixa um teleport ao morrerTente esse:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="The Chakra Bijuu Control" nameDescription="The Chakra Bijuu Control" race="blood" experience="8000" speed="450" manacost="0"> <health now="76065000" max="76065000"/> <look type="124" head="0" body="94" legs="79" feet="79" corpse="2815"/> <targetchange interval="5000" chance="50"/> <strategy attack="90" defense="20"/> <flags> <flag summonable="1"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="1"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="65"/> <flag runonhealth="0"/> </flags> <script> <event name="chakrabijuu"/> </script> <attacks> <attack name="melee" interval="800" min="-550" max="-640"/> <attack name="manadrain" interval="1000" chance="10" range="7" min="-760" max="-815"> <attribute key="areaEffect" value="redshimmer"/> </attack> <attack name="Bijuu Furie" interval="1000" chance="100" radius="4" target="0" min="-8340" max="-10600"> </attack> <attack name="Bijuu Punch" interval="2000" chance="100" target="0" min="-8440" max="-10100"> </attack> <attack name="Biju Dama" interval="2000" chance="100" target="0" min="-10440" max="-13100"> </attack> </attacks> <defenses armor="110" defense="110"> <defense name="healing" interval="2000" chance="40" min="300" max="300"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="4000" chance="40" speedchange="600" duration="4000"> <attribute key="areaEffect" value="redshimmer"/> </defense> </defenses> <elements> <element physicalPercent="20"/> <element icePercent="10"/> <element holyPercent="-15"/> <element deathPercent="35"/> </elements> <immunities> <immunity poison="1"/> <immunity lifedrain="1"/> <immunity outfit="1"/> <immunity drunk="1"/> <immunity invisible="1"/> </immunities> <voices interval="5000" chance="10"> <voice sentence=".." yell="1"/> </voices> <loot> </loot> </monster> Caso não der adicione esse tbm: local tpId = 5023 local tps = { ["The Chakra Bijuu Control] = {pos = {x=320, y=2017, z=7}, toPos = {x=174, y=2019, z=7}, time = 50}, } function removeTp(tp) local t = getTileItemById(tp.pos, tpId) if t then doRemoveItem(t.uid, 1) doSendMagicEffect(tp.pos, CONST_ME_POFF) end end function onDeath(cid) local tp = tps[getCreatureName(cid)] if tp then doCreateTeleport(tpId, tp.toPos, tp.pos) doCreatureSay(cid, "O teleport irá sumir em "..tp.time.." segundos.", TALKTYPE_ORANGE_1) addEvent(removeTp, tp.time*1000, tp) end return TRUE end -
lowereeee deu reputação a Markin em (Resolvido)[AJUDA] erro de servidor por uma scriptusa esse aqui:
local config = { positions = { ["Hunts"] = { x = 1024, y = 908, z = 5 }, ["Vocation"] = { x = 1033, y = 909, z = 5 }, ["Konoha"] = { x = 11, y = 794, z = 7 }, ["Retornar"] = { x = 395, y = 1223, z = 7 } } } function onThink(cid, interval, lastExecution) for text, pos in pairs(config.positions) do doSendAnimatedText(pos, text, math.random(1, 255)) end return TRUE end globalevents.xml
<globalevent name="tpmensagem1" interval="2100" script="tlpmenssage.lua"/> -
lowereeee deu reputação a Beeny em (Resolvido)[PEDIDO] Script Narutibia 854 [TP Falantes].Tá assim mesmo :
]function onThink(interval, lastExecution) pos = {x = 1024, y = 908, z = 5} doSendAnimatedText(pos, 'Quester', 140) se estiver, eh só trocar por isso
function onThink(interval, lastExecution) pos = {x = 1024, y = 908, z = 5} doSendAnimatedText(pos, 'Quester', 140) -
lowereeee deu reputação a xWhiteWolf em (Resolvido){PEDIDO} Script de TRAPP Narutibiaexiste uma função que faz isso que é a doCreatureSetNoMove(cid, cannotMove). Pra usar ela vc faz assim:
doCreatureSetNoMove(uid, true) --- faz o cara não andar addEvent(doCreatureSetNoMove, segundos trapado * 1000, uid, false) --- faz o cara andar e vai ser executada depois de x segundos. Se eu quiser deixar o cara 15 segundos preso eu faço:
e esse uid aí é o unique id da criatura que eu quero que seja trapada. Se for o cara que vai castar a spell vc troca uid por cid, se for um target vc faz
local target = getCreatureTarget(cid) doCreatureSetNoMove(target, true) addEvent(doCreatureSetNoMove, 15 * 1000, target, false) Espero que tenha ajudado.
-
lowereeee deu reputação a PriisioneR em (Resolvido)[PEDIDO] Animattion text (animação de texto) em um portal (teleport)primeiro vá na pasta do seu OTserv
Data>Globalevents e abra o
Globalevents.xml e adiciona essa linha :
<globalevent name="Teleports" interval="2" script="info.lua" /> Depois vá em Data>Globalevents>Scripts e crie um arquivo .lua, e colocque o nome como info.lua, dentro do Script adicione isso :
function onThink(interval, lastExecution) pos = {x = 113, y = 56, z = 7} pos1 = {x = 113, y = 54, z = 7} pos2 = {x = 113, y = 52, z = 7} pos3 = {x = 113, y = 50, z = 7} doSendAnimatedText(pos, 'Demon [1]', 140) doSendAnimatedText(pos1, 'Dragon [2]', 140) doSendAnimatedText(pos2, 'Cyclops [1]', 130) doSendAnimatedText(pos3, 'Tumba [2]', 130) pos = {x = 113, y = 56, z = 7} = Cordenadas doSendAnimatedText(pos, 'Texto para o tp falante', 140) = Ira mandar Texto animado na pos Depois feche e salve, pronto seu tp está criado ! -
lowereeee deu reputação a xWhiteWolf em Windbot é um lixoVou fechar o tópico porque o foco já mudou completamente.. se alguém tiver alguma coisa pra falar pode chegar por PM.
-
lowereeee deu reputação a xWhiteWolf em (Resolvido)Comando !sagahaha não é pra tanto mas fico feliz em ter ajudado. Se der certo clique em "Melhor Resposta!" para que fique como resolvido!
-
lowereeee deu reputação a xWhiteWolf em (Resolvido)Problema Hardcore sobre DobraSimplicidade é o último grau de sofisticação!
-
lowereeee deu reputação a xWhiteWolf em (Resolvido)Duvida simples demaisEntra num char god e testa cada um desses efeitos usando /x numero
no lugar do numero vc vai colocando de 0 até 41 e se gostar de algum apenas coloque no items.xml o nome dele m minúsculo sem o "const_ani_" na frente
CONST_ANI_SPEAR = 0 CONST_ANI_BOLT = 1 CONST_ANI_ARROW = 2 CONST_ANI_FIRE = 3 CONST_ANI_ENERGY = 4 CONST_ANI_POISONARROW = 5 CONST_ANI_BURSTARROW = 6 CONST_ANI_THROWINGSTAR = 7 CONST_ANI_THROWINGKNIFE = 8 CONST_ANI_SMALLSTONE = 9 CONST_ANI_DEATH = 10 CONST_ANI_LARGEROCK = 11 CONST_ANI_SNOWBALL = 12 CONST_ANI_POWERBOLT = 13 CONST_ANI_POISON = 14 CONST_ANI_INFERNALBOLT = 15 CONST_ANI_HUNTINGSPEAR = 16 CONST_ANI_ENCHANTEDSPEAR = 17 CONST_ANI_REDSTAR = 18 CONST_ANI_GREENSTAR = 19 CONST_ANI_ROYALSPEAR = 20 CONST_ANI_SNIPERARROW = 21 CONST_ANI_ONYXARROW = 22 CONST_ANI_PIERCINGBOLT = 23 CONST_ANI_WHIRLWINDSWORD = 24 CONST_ANI_WHIRLWINDAXE = 25 CONST_ANI_WHIRLWINDCLUB = 26 CONST_ANI_ETHEREALSPEAR = 27 CONST_ANI_ICE = 28 CONST_ANI_EARTH = 29 CONST_ANI_HOLY = 30 CONST_ANI_SUDDENDEATH = 31 CONST_ANI_FLASHARROW = 32 CONST_ANI_FLAMMINGARROW = 33 CONST_ANI_SHIVERARROW = 34 CONST_ANI_ENERGYBALL = 35 CONST_ANI_SMALLICE = 36 CONST_ANI_SMALLHOLY = 37 CONST_ANI_SMALLEARTH = 38 CONST_ANI_EARTHARROW = 39 CONST_ANI_EXPLOSION = 40 CONST_ANI_CAKE = 41 CONST_ANI_WEAPONTYPE = 254 CONST_ANI_NONE = 255 Espero ter ajudado.
-
lowereeee deu reputação a xWhiteWolf em (Resolvido)[PEDIDO] Summon Monstersuhauheuhauhea eu tava brincando cara, relaxa