Tudo que DukeeH postou
-
AJUDA RESET SYSTEM MOD
<?xml version="1.0" encoding="UTF-8"?> <mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes"> <!-- Configuracao --> <config name="reset_config"><![CDATA[ config = { level = 700, premium = false, storage = 54676, } function getResets(cid) resets = getCreatureStorage(cid, config.storage) if resets < 0 then resets = 0 end return resets end function reset(cid) if (config.premium and not(isPremium(cid)) ) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.") end if (getPlayerLevel(cid) < config.level) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".") end if not(getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.") end resetando = getResets(cid)+1 if isInArray({1,2}, getPlayerVocation(cid)) then local hp = resetando*300 local mana = resetando*1000 elseif getPlayerVocation(cid) == 3 then local hp = resetando*800 local mana = resetando*500 elseif getPlayerVocation(cid) == 4 then local hp = resetando*1000 local mana = resetando*300 end setCreatureMaxHealth(cid, hp) setCreatureMaxMana(cid, mana) doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) doCreatureSetStorage(cid, config.storage, getResets(cid)+1) return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.") end ]]></config> <!-- Talkaction para resetar --> <talkaction words="!reset" event="buffer"><![CDATA[ domodlib('reset_config') reset(cid) ]]></talkaction> <!-- Talkaction para ver quantos resets tem --> <talkaction words="!myresets" event="buffer"><![CDATA[ domodlib('reset_config') return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.") ]]></talkaction> <!-- Tile --> <movevent type="StepIn" actionid="9911" event="script"><![CDATA[ domodlib('reset_config') function onStepIn(cid, item, position, fromPosition) local minResets = 1 if (not(getResets(cid) >= minResets)) then doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") return doTeleportThing(cid, fromPosition) end doPlayerSendCancel(cid, "Bem Vindo") end ]]></movevent> <!-- Porta --> <action actionid="9910" event="script"><![CDATA[ domodlib('reset_config') function onUse(cid, item, position, fromPosition) local minResets = 5 if not(getResets(cid) >= minResets) then return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") end doPlayerSendCancel(cid, "Bem Vindo") end ]]></action> <event type="login" name="lookResetLogin" event="script"><![CDATA[ domodlib('teamFunctions') function onLogin(cid) registerCreatureEvent(cid, "lookReset") return true end ]]></event> <event type="look" name="lookReset" event="script"><![CDATA[ domodlib('reset_config') function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) then doPlayerSetSpecialDescription(thing.uid, "\nResets: [" .. getResets(thing.uid) .."]") end return true end ]]></event> </mod>
-
AJUDA RESET SYSTEM MOD
@luannhrj Era pra aparecer isso mesmo. Desculpa a demora e erros, não uso o 0.4 e não tenho como testar, ai eu vou fazendo e você tem que testar. Pode testar esse, achei um problema, eu estava contando os resets que o cara tinha antes para calcular a vida, como você tinha 0 ele fazia 0*300 (hp) 0*1000 (mana) o que da pau, porque 0 multiplicando qualquer coisa é 0. Segue corrigido: (Já coloquei também o look, favor testar.) <?xml version="1.0" encoding="UTF-8"?> <mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes"> <!-- Configuracao --> <config name="reset_config"><![CDATA[ config = { level = 700, premium = false, storage = 54676, } function getResets(cid) resets = getCreatureStorage(cid, config.storage) if resets < 0 then resets = 0 end return resets end function reset(cid) if (config.premium and not(isPremium(cid)) ) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.") end if (getPlayerLevel(cid) < config.level) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".") end if not(getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.") end resetando = getResets(cid)+1 if isInArray({1,2}, getPlayerVocation(cid)) then local hp = resetando*300 local mana = resetando*1000 elseif getPlayerVocation(cid) == 3 then local hp = resetando*800 local mana = resetando*500 elseif getPlayerVocation(cid) == 4 then local hp = resetando*1000 local mana = resetando*300 end local difhp = hp-getCreatureMaxHealth(cid) local difmana = mana-getCreatureMaxMana(cid) setCreatureMaxHealth(cid, hp) doCreatureAddHealth(cid, difhp) setCreatureMaxMana(cid, mana) doCreatureAddMana(cid, difmana) doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) doCreatureSetStorage(cid, config.storage, getResets(cid)+1) return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.") end ]]></config> <!-- Talkaction para resetar --> <talkaction words="!reset" event="buffer"><![CDATA[ domodlib('reset_config') reset(cid) ]]></talkaction> <!-- Talkaction para ver quantos resets tem --> <talkaction words="!myresets" event="buffer"><![CDATA[ domodlib('reset_config') return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.") ]]></talkaction> <!-- Tile --> <movevent type="StepIn" actionid="9911" event="script"><![CDATA[ domodlib('reset_config') function onStepIn(cid, item, position, fromPosition) local minResets = 1 if (not(getResets(cid) >= minResets)) then doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") return doTeleportThing(cid, fromPosition) end doPlayerSendCancel(cid, "Bem Vindo") end ]]></movevent> <!-- Porta --> <action actionid="9910" event="script"><![CDATA[ domodlib('reset_config') function onUse(cid, item, position, fromPosition) local minResets = 5 if not(getResets(cid) >= minResets) then return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") end doPlayerSendCancel(cid, "Bem Vindo") end ]]></action> <event type="login" name="lookResetLogin" event="script"><![CDATA[ domodlib('teamFunctions') function onLogin(cid) registerCreatureEvent(cid, "lookReset") return true end ]]></event> <event type="look" name="lookReset" event="script"><![CDATA[ domodlib('reset_config') function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) then doPlayerSetSpecialDescription(thing.uid, "\nResets: [" .. getResets(thing.uid) .."]") end return true end ]]></event> </mod>
-
AJUDA RESET SYSTEM MOD
<?xml version="1.0" encoding="UTF-8"?> <mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes"> <!-- Configuracao --> <config name="reset_config"><![CDATA[ config = { level = 700, premium = false, storage = 54676, } function getResets(cid) resets = getCreatureStorage(cid, config.storage) if resets < 0 then resets = 0 end return resets end function reset(cid) if (config.premium and not(isPremium(cid)) ) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.") end if (getPlayerLevel(cid) < config.level) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".") end if not(getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.") end if isInArray({1,2}, getPlayerVocation(cid)) then local hp = (getResets(cid)*300) local mana = (getResets(cid)*1000) elseif getPlayerVocation(cid) == 3 then local hp = (getResets(cid)*800) local mana = (getResets(cid)*500) elseif getPlayerVocation(cid) == 4 then local hp = (getResets(cid)*1000) local mana = (getResets(cid)*300) end local difhp = hp-getCreatureMaxHealth(cid) local difmana = mana-getCreatureMaxMana(cid) setCreatureMaxHealth(cid, hp) doCreatureAddHealth(cid, difhp) setCreatureMaxMana(cid, mana) doCreatureAddMana(cid, difmana) doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) doCreatureSetStorage(cid, config.storage, getResets(cid)+1) return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.") end ]]></config> <!-- Talkaction para resetar --> <talkaction words="!reset" event="buffer"><![CDATA[ domodlib('reset_config') reset(cid) ]]></talkaction> <!-- Talkaction para ver quantos resets tem --> <talkaction words="!myresets" event="buffer"><![CDATA[ domodlib('reset_config') print (getResets(cid)) print (getCreatureStorage(cid, 54676)) return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.") ]]></talkaction> <!-- Tile --> <movevent type="StepIn" actionid="9911" event="script"><![CDATA[ domodlib('reset_config') function onStepIn(cid, item, position, fromPosition) local minResets = 1 if (not(getResets(cid) >= minResets)) then doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") return doTeleportThing(cid, fromPosition) end doPlayerSendCancel(cid, "Bem Vindo") end ]]></movevent> <!-- Porta --> <action actionid="9910" event="script"><![CDATA[ domodlib('reset_config') function onUse(cid, item, position, fromPosition) local minResets = 5 if not(getResets(cid) >= minResets) then return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") end doPlayerSendCancel(cid, "Bem Vindo") end ]]></action> </mod> Ele ta com problema pra ver quantos resets o char tem, mas vamos resolver. Usa o !myresets de novo e manda foto do console.
-
Zezenia Bot
http://www.tibiaking.com/forum/forums/forum/32-suporte/
-
Chamada - Vamos Montar um OT?
http://www.tibiaking.com/forum/forums/forum/273-formação-de-equipe/
-
tfs 0.4 sem salt
- AJUDA RESET SYSTEM MOD
<?xml version="1.0" encoding="UTF-8"?> <mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes"> <!-- Configuracao --> <config name="reset_config"><![CDATA[ config = { level = 700, premium = false, storage = 54676, } function getResets(cid) resets = getCreatureStorage(cid, config.storage) if resets < 0 then resets = 0 end return resets end function reset(cid) if (config.premium and not(isPremium(cid)) ) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.") end if (getPlayerLevel(cid) < config.level) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".") end if not(getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.") end if isInArray({1,2}, getPlayerVocation(cid)) then local hp = (getResets(cid)*300) local mana = (getResets(cid)*1000) elseif getPlayerVocation(cid) == 3 then local hp = (getResets(cid)*800) local mana = (getResets(cid)*500) elseif getPlayerVocation(cid) == 4 then local hp = (getResets(cid)*1000) local mana = (getResets(cid)*300) end local difhp = hp-getCreatureMaxHealth(cid) local difmana = mana-getCreatureMaxMana(cid) setCreatureMaxHealth(cid, hp) doCreatureAddHealth(cid, difhp) setCreatureMaxMana(cid, mana) doCreatureAddMana(cid, difmana) doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) doCreatureSetStorage(cid, config.storage, getResets(cid)+1) return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.") end ]]></config> <!-- Talkaction para resetar --> <talkaction words="!reset" event="buffer"><![CDATA[ domodlib('reset_config') reset(cid) ]]></talkaction> <!-- Talkaction para ver quantos resets tem --> <talkaction words="!myresets" event="buffer"><![CDATA[ domodlib('reset_config') return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.") print (getResets(cid)) print (getCreatureStorage(cid, 54676)) ]]></talkaction> <!-- Tile --> <movevent type="StepIn" actionid="9911" event="script"><![CDATA[ domodlib('reset_config') function onStepIn(cid, item, position, fromPosition) local minResets = 1 if (not(getResets(cid) >= minResets)) then doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") return doTeleportThing(cid, fromPosition) end doPlayerSendCancel(cid, "Bem Vindo") end ]]></movevent> <!-- Porta --> <action actionid="9910" event="script"><![CDATA[ domodlib('reset_config') function onUse(cid, item, position, fromPosition) local minResets = 5 if not(getResets(cid) >= minResets) then return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") end doPlayerSendCancel(cid, "Bem Vindo") end ]]></action> </mod> Usa esse aqui, da /reload mods e !myresets, ai tira uma foto do console que é para ele aparecer uns valores lá.- [SCRIPTS] SISTEMA DE CRYSTAL CASTLE24H
Quebrar o cristal e ganhar o castle? Manda seu script de alavanca que está funcionando.- AJUDA RESET SYSTEM MOD
Não consegui entrar ontem, favor testar assim: <?xml version="1.0" encoding="UTF-8"?> <mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes"> <!-- Configuracao --> <config name="reset_config"><![CDATA[ config = { level = 700, premium = false, storage = 54676, } function getResets(cid) resets = getCreatureStorage(cid, config.storage) if resets < 0 then resets = 0 end return resets end function reset(cid) if (config.premium and not(isPremium(cid)) ) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.") end if (getPlayerLevel(cid) < config.level) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".") end if not(getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.") end if isInArray({1,2}, getPlayerVocation(cid)) then local hp = (getResets(cid)*300) local mana = (getResets(cid)*1000) elseif getPlayerVocation(cid) == 3 then local hp = (getResets(cid)*800) local mana = (getResets(cid)*500) elseif getPlayerVocation(cid) == 4 then local hp = (getResets(cid)*1000) local mana = (getResets(cid)*300) end local difhp = hp-getCreatureMaxHealth(cid) local difmana = mana-getCreatureMaxMana(cid) setCreatureMaxHealth(cid, hp) doCreatureAddHealth(cid, difhp) setCreatureMaxMana(cid, mana) doCreatureAddMana(cid, difmana) doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) doCreatureSetStorage(cid, config.storage, getResets(cid)+1) return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.") end ]]></config> <!-- Talkaction para resetar --> <talkaction words="!reset" event="buffer"><![CDATA[ domodlib('reset_config') reset(cid) ]]></talkaction> <!-- Talkaction para ver quantos resets tem --> <talkaction words="!myresets" event="buffer"><![CDATA[ domodlib('reset_config') return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.") ]]></talkaction> <!-- Tile --> <movevent type="StepIn" actionid="9911" event="script"><![CDATA[ domodlib('reset_config') function onStepIn(cid, item, position, fromPosition) local minResets = 1 if (not(getResets(cid) >= minResets)) then doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") return doTeleportThing(cid, fromPosition) end doPlayerSendCancel(cid, "Bem Vindo") end ]]></movevent> <!-- Porta --> <action actionid="9910" event="script"><![CDATA[ domodlib('reset_config') function onUse(cid, item, position, fromPosition) local minResets = 5 if not(getResets(cid) >= minResets) then return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") end doPlayerSendCancel(cid, "Bem Vindo") end ]]></action> </mod> Favor testar e falar o que acontece, já está multiplicando aqueles valores pelo reset. (Vida e mana)- AJUDA RESET SYSTEM MOD
<?xml version="1.0" encoding="UTF-8"?> <mod name="Reset System" version="1.0" author="Kimoszin" contact="tibiaking.com" enabled="yes"> <!-- Configuracao --> <config name="reset_config"><![CDATA[ config = { level = 700, premium = false, storage = 54676, } function reset(cid) if (config.premium and not(isPremium(cid)) ) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You need have a premium account.") end if (getPlayerLevel(cid) < config.level) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisar Ser Lv "..config.level..".") end if not(getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Presisa Tar em Area Pz Para Resetar.") end if isInArray({1,2}, getPlayerVocation(cid)) then local hp = (getResets(cid)*300)+185 local mana = (getResets(cid)*1000)+35 elseif getPlayerVocation(cid) == 3 then local hp = (getResets(cid)*800)+185 local mana = (getResets(cid)*500)+35 elseif getPlayerVocation(cid) == 4 then local hp = (getResets(cid)*1000)+185 local mana = (getResets(cid)*300)+35 end local difhp = hp-getCreatureMaxHealth(cid) local difmana = mana-getCreatureMaxMana(cid) setCreatureMaxHealth(cid, hp) doCreatureAddHealth(cid, difhp) setCreatureMaxMana(cid, mana) doCreatureAddMana(cid, difmana) doPlayerAddLevel(cid, - (getPlayerLevel(cid) - 8)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) doCreatureSetStorage(cid, config.storage, getResets(cid)+1) return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Parabens, Voce Foi Resetado. Voce Agora Tem "..getResets(cid).." Resets.") end function getResets(cid) resets = getCreatureStorage(cid, config.storage) if resets < 0 then resets = 0 end return resets end ]]></config> <!-- Talkaction para resetar --> <talkaction words="!reset" event="buffer"><![CDATA[ domodlib('reset_config') reset(cid) ]]></talkaction> <!-- Talkaction para ver quantos resets tem --> <talkaction words="!myresets" event="buffer"><![CDATA[ domodlib('reset_config') return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Voce Tem "..getResets(cid).." Resets.") ]]></talkaction> <!-- Tile --> <movevent type="StepIn" actionid="9911" event="script"><![CDATA[ domodlib('reset_config') function onStepIn(cid, item, position, fromPosition) local minResets = 1 if (not(getResets(cid) >= minResets)) then doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") return doTeleportThing(cid, fromPosition) end doPlayerSendCancel(cid, "Bem Vindo") end ]]></movevent> <!-- Porta --> <action actionid="9910" event="script"><![CDATA[ domodlib('reset_config') function onUse(cid, item, position, fromPosition) local minResets = 5 if not(getResets(cid) >= minResets) then return doPlayerSendCancel(cid, "Desculpa, Voce presisa ter "..minResets.." Resets Para Passar Aqui") end doPlayerSendCancel(cid, "Bem Vindo") end ]]></action> </mod> Pode testar? Fiz a parte da HP/MANA, vamos ver se funcionou e depois partimos pro look. Estou saindo do trabalho e indo pra casa, lá fica melhor para te ajudar. Vai testando e me fala o que aconteceu. Abraço.- AJUDA DODGE SYSTEM
- [Bug] Flor na wasp tower em rookgard
- [Bug] Flor na wasp tower em rookgard
Não entendi, poderia explicar melhor. Postar algum erro ou o que o bug causa.- Preciso de server 10.90+ (Uso Local)
Não existe 1.x de "fácil instalação" porque o facil instalação que você diz é sqlite. Mas é simples de criar uma database pelo uniserver e importar a database do ot, o unico problema é precisar de um site para criar os chares (1.x não tem account manager) Tem vários tutoriais explicando como deixar um 10.9 on aqui: http://www.tibiaking.com/forum/forums/forum/123-começando-seu-servidor/ Qualquer duvida poste aqui que estarei tentando ajudar.- Algum Scripter Ou Spriter??
Você pode fazer pedidos de scripts/sprites na area http://www.tibiaking.com/forum/forums/forum/361-pedido/. Você pode pedir ajuda relacionado a scripts/sprites na area http://www.tibiaking.com/forum/forums/forum/112-suporte/- PREMIUM GANHAR 30% A MAIS DE EXPERIENCIA
0.4 ou 1.x? Isso é essencial para pedir algum script ou tirar alguma duvida. Mas julgando por seus ultimos tópicos é otx 2, que seria semelhante ao 0.4. Faz tudo como o @Sepultura falou. Mas no creaturescripts/scripts/vipexp.lua Use o seguinte: function onLogin(cid) local rate = 1.1 -- 10% a mais de exp. local config = { welvip = "Voce tem "..((rate - 1)*100).."% de exp! Aproveite as vantagens vip!", not_vip = "Olá jogador Aproveite as vantagens vip, voce ganhará "..((rate - 1)*100).."% mais de xp!", } if isPremium(cid) then doPlayerSetExperienceRate(cid, rate) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.welvip) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.not_vip) end return TRUE end (Só editei as mensagens que eram de pokemon, e troquei o check de storage vip por premium.- Vida e mana
O erro é por não ter as dlls na pasta do executavel. http://www.tibiaking.com/forum/applications/core/interface/file/attachment.php?id=13667 - Se compilou 32 bits. http://www.tibiaking.com/forum/applications/core/interface/file/attachment.php?id=13668 - Se compilou 64 bits. Só extrair tudo na pasta que está o executavel.- Como usar o Auto Restarter ?
Você abre só o restarter, o .exe do seu ot tem que estar com o nome de "Baiak-Map by Math.exe". No que você abrir o restarter ele vai executar o .exe sempre que ele não estiver rodando. Não funciona caso sua net cair, porque o otserv vai continuar "aberto" mesmo estando off, o .exe vai estar rodando.- AJUDA DODGE SYSTEM
local storagedodge = 98798644 -- storage do dodge local cor = 35 -- cor do texto local effect = 30 -- id do magic effect local msg = "DODGE!" -- msg local dodge = { {min = 1, max = 10, chance = 10}, -- se o dodge tiver entre 1 e 2 tem 10% de chance de da dodge. {min = 11, max = 20, chance = 20}, -- podem ser configurada portanto que não passe do limite {min = 21, max = 40, chance = 25}, -- vocês pode adicionar mas se quiserem {min = 41, max = 60, chance = 30}, {min = 61, max = 90, chance = 35}, {min = 91, max = math.huge, chance = 40} } function onStatsChange(cid, attacker, type, combat, value) if not isCreature(cid) then return false end for _, tudo in pairs(dodge) do if getPlayerStorageValue(cid, storagedodge) >= tudo.min and getPlayerStorageValue(cid, storagedodge) <= tudo.max then local chancex = math.random(1, 100) if chancex <= tudo.chance then if type == STATSCHANGE_HEALTHLOSS or type == STATSCHANGE_MANALOSS then doSendMagicEffect(getCreaturePosition(cid), effect) doSendAnimatedText(getCreaturePosition(cid), msg, cor) return false end end end end return true end- Como usar o Auto Restarter ?
abre o restarter (cmd) com o bloco de notas e cola ele aqui.- Vida e mana
É pra ser onthink, ai ele ficaria direto ali embaixo, em vez de só quando levar hit.- Vida e mana
Não, era pra ser onthink mesmo, não deu erro e não aconteceu nada?- Vida e mana
Não, coloca sem o negócio, pode ser que nem queira fazer as sources depois. Tem vários tutoriais de compilar, mas testa sem compilar, só fazer o que te falei e abre o server pra ver.- Vida e mana
Também acho que qualquer 0.4 funcionaria, não deve ter tanta coisa editada nas suas sources para que não funcionasse. A do @Fir3element é a melhor 0.4 que vai achar. Mas pode testar algo assim, ainda preferiria em porcentagem, talvez caso consiga as sources, poderia juntar os dois, também fica bacana, ai o cara pode saber a porcentagem e a quantidade real fica ali embaixo. creaturescripts/scripts/hpmanareal.lua function onThink(cid, interval) if isPlayer(cid) then local playerMaxHealth = getCreatureMaxHealth(cid) local playerHealth = getCreatureHealth(cid) local playerMaxMana = getCreatureMaxMana(cid) local playerMana = getCreatureMana(cid) doPlayerSendTextMessage(cid,23,"HP: "..playerHealth.."/"..playerMaxHealth..". ||| MANA: "..playerMana.."/"..playerMaxMana..".") end return TRUE end creaturescripts/creaturescripts.xml <event type="think" name="hpmanareal" event="script" value="hpmanareal.lua"/> creaturescripts/scripts/login.lua registerCreatureEvent(cid, "hpmanareal")- erro otservlist
Alguém de fora da sua casa consegue entrar no server? Se está falando que tem que estar online provavelmente ele aparece offline para quem esta fora da sua rede, provavelmente um problema com portas, ou o ip do config.lua - AJUDA RESET SYSTEM MOD
Informação Importante
Confirmação de Termo