Tudo que Nightowl postou
-
Unable to load items (OTB)
me adiciona no discord que te ajudo : Nightowl#4271
-
OtClient-OpCodes
e o script que esta com erro
-
OtClient-OpCodes
poste seu luascript.h
-
MAGIC LEVEL PARA USAR SPELL
maglv="100" adiciona essa tag no xml da spell. que irá usar apenas quando pegar ml 100
-
boss some em uma certa porcentagem de vida
para esse primeiro warning [23:49:35.510] [Warning - Monster::Monster] Unknown event name - gnomevilprision você deve registrar o evento no arquivo xml do monstro que deseja ficando assim : <script> <event name="gnomevilprision"/> </script> para o segundo erro: [23:52:10.849] [Error - Event::checkScript] Event onCombat not found (data/creaturescripts/scripts/gnomevilprision.lua) você deve registrar no creaturescripts.xml como statschange. ficando assim: <event type="statschange" name="gnomevilprision" event="script" value="gnomevilprision.lua"/> Espero ter ajudado se ajudei marque como melhor resposta e REP++
-
[SUGESTÃO] Host
https://www.ovh.pt/ - Paga https://www.locaweb.com.br/ - Paga https://www.serverhost.com.br/ - paga https://www.vultr.com/ - Paga https://cloud.google.com/ - Gratis 12 meses
-
error ao tentar entrar no otserv
Meu discord : Nightowl#4271
-
Momstros que dropam books
da forma que te mostrei. e da forma que o @Tempest, fez o book, já irá vir escrito.
-
(Resolvido)Error em website Myacc
te ajudo a resolver meu discord : Nightowl#4271
-
(Resolvido)Error em website Myacc
vai em SQL - > depois adiciona a query e executa.
-
Momstros que dropam books
@gokulord Vai até o xml do mostro e adiciona essa tag : <loot> <item id="8983" countmax="1" chance="100"/><!-- Book --> </loot> onde : item id="xxxx" - id do item a ser dropado do monstro. countmax="x" - quantidade do item que ira ser dropado. chance="xxx" - Chance de dropar o item ao matar o monstro. ficando assim :
-
(Resolvido)Error em website Myacc
ALTER TABLE `accounts` ADD `nickname` int NOT NULL; roda essa query na sua database.
-
[AJUDA] vocações mudando sozinhas
Posso ajudar vocês meus discord : Nightowl#4271
-
Npc bank não funciona
function doPlayerDepositMoney(cid, amount) if(not doPlayerRemoveMoney(cid, amount)) then return false end doPlayerSetBalance(cid, getPlayerBalance(cid) + amount) return true end Adiciona essa função no seu global.lua
-
Qual melhor servidor de tibia alternativo para iniciar a editar?
https://tibiaking.com/forums/topic/94811-860-wodbo-wars-v59-site-client-download/
-
Problems with the latest OTX version
nessa parte : packetsPerSecond = 50 deixe assim packetsPerSecond = 200 e testa, se Ajudei REP+ e marque como melhor resposta.
-
(Resolvido)Script Scouter
function onUse(cid, item, frompos, item2, topos) if isPlayer(item2.uid) then doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_ORANGE, 'Nick: '..getPlayerName(item2.uid)..'') doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_ORANGE, 'Level: '..getPlayerLevel(item2.uid)..'') doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_ORANGE, 'Ki Level: '..getPlayerMagLevel(item2.uid)..'') doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_ORANGE, 'Hp Points: '..getCreatureHealth(item2.uid)..'/'..getCreatureMaxHealth(item2.uid)..'') doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_ORANGE, 'Ki Points: '..getCreatureMana(item2.uid)..'/'..getCreatureMaxMana(item2.uid)..'') else doPlayerSendCancel(cid,"You can scout only players.") end return true end usa esse, se Te ajudei REP+, marque como melhor resposta.
-
(Ajuda) Autoloot
sim post o script do loot.
-
Juntar essas duas Spells em uma
local nighttowl = { storage = 3482101, cooldown = 30, --- tempo entre um uso e outro duration = 5, --- duração effect1 = 29, -- efeito que sai ao falar a spell effect2 = 83 -- efeito da segunda spell } local outfit = createConditionObject(CONDITION_INVISIBLE, nighttowl.duration * 1000, false) local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, COLOR_YELLOW) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -415.0, 0, -425.0, 0) arr1 = { {0, 3, 0} } local area1 = createCombatArea(arr1) setCombatArea(combat1, area1) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end function onCastSpell(cid, var) local outfit = {lookType = 607, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0} local time = 20 -- segundos que ficará com a outfit local position1 = {x=getThingPosition(getCreatureTarget(cid)).x+3, y=getThingPosition(getCreatureTarget(cid)).y+0, z=getThingPosition(getCreatureTarget(cid)).z} local parameters = { cid = cid, var = var, combat1 = combat1 } if os.time() - getPlayerStorageValue(cid, 55695) >= nighttowl.cooldown then setPlayerStorageValue(cid, 55695, os.time()) doSendMagicEffect(getCreaturePosition(cid), nighttowl.effect1) setPlayerStorageValue(cid, nighttowl.storage, os.time() + nighttowl.duration) doCreatureSay(cid,"UNTOUCHABLE!!!", 19) doAddCondition(cid, outfit) addEvent(onCastSpell1, 0, parameters) doSetCreatureOutfit(cid, outfit, time) doSendMagicEffect(position1, nighttowl.effect2) doPlayerSendTextMessage(cid, 27, "You have now ".. nighttowl.duration .." seconds of invulnerability.") else doPlayerSendCancel(cid, "Your skill is in cooldown, you must wait "..(nighttowl.cooldown - (os.time() - getPlayerStorageValue(cid, 55695))).." seconds.") return false end return true end testa.
-
Problems with the latest OTX version
publique seu config.lua
-
[OTC] Tela buga ao usar DistanceEffect enquanto anda
Printa o erro no terminal e manda aqui utilize CRTL + T para abrir o terminal
-
Juntar essas duas Spells em uma
local nighttowl = { storage = 3482101, cooldown = 30, --- tempo entre um uso e outro duration = 5, --- duração effect1 = 29, -- efeito que sai ao falar a spell effect2 = 83 -- efeito da segunda spell } local outfit = createConditionObject(CONDITION_INVISIBLE, nighttowl.duration * 1000, false) local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, COLOR_YELLOW) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -415.0, 0, -425.0, 0) arr1 = { {0, 3, 0} } local area1 = createCombatArea(arr1) setCombatArea(combat1, area1) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end function onCastSpell(cid, var) local outfit = {lookType = 607, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0} local time = 20 -- segundos que ficará com a outfit local position1 = {x=getThingPosition(getCreatureTarget(cid)).x+3, y=getThingPosition(getCreatureTarget(cid)).y+0, z=getThingPosition(getCreatureTarget(cid)).z} local parameters = { cid = cid, var = var, combat1 = combat1 } if os.time() - getPlayerStorageValue(cid, 55695) >= nighttowl.cooldown then setPlayerStorageValue(cid, 55695, os.time()) doSendMagicEffect(getCreaturePosition(cid), nighttowl.effect1) setPlayerStorageValue(cid, nighttowl.storage, os.time() + nighttowl.duration) doCreatureSay(cid,"UNTOUCHABLE!!!", 19) doAddCondition(cid, outfit) doSetCreatureOutfit(cid, outfit, time) doSendMagicEffect(position1, nighttowl.effect2) addEvent(onCastSpell1, 0, parameters) doPlayerSendTextMessage(cid, 27, "You have now ".. nighttowl.duration .." seconds of invulnerability.") else doPlayerSendCancel(cid, "Your skill is in cooldown, you must wait "..(nighttowl.cooldown - (os.time() - getPlayerStorageValue(cid, 55695))).." seconds.") return false end return true end se te ajudei REP+ e marque como melhor resposta.
-
(Resolvido)[AJUDA] [SCRIPT] Por exhausted na script
function onUse(cid, item, fromPosition, itemEx, toPosition) local waittime = 2.0 -- tempo em segudos para usar novamente local storage = 243567 -- nao mexer if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "PEAR-SYSTEM: Você deve esperar: " .. exhaustion.get(cid, storage) .. " segundos para usar a perola novamente.") return false end local porcentagem = math.random(10, 10) doCreatureAddMana(cid, getCreatureMaxMana(cid) * (porcentagem / 100)) doSendAnimatedText(getThingPos(cid), "MP-PEARL!", TEXTCOLOR_BLUE) doPlayerSendTextMessage(cid,19, "PEARL-SYSTEM: 10% do seu MP total foi healado!") doRemoveItem(item.uid, 1) exhaustion.set(cid, storage, waittime) return true end testa e me fala