Ir para conteúdo

PedroPr

Membro
  • Registro em

  • Última visita

Tudo que PedroPr postou

  1. [8704] = {empty = no, splash = 2, health = {50, 100}}, -- small health potion (funcionou assim ,sera que troco ??)
  2. opa vale amigo , tem varias coisa que tenho que arrumar no meu server mapa proprio , e gostaria muito de uma sociedade com alguem que algue entendesse aprofundamente , resolveu um dos meus problema , vlw ! a amigo tava olhando no distro e cada vez que usso o pot ele me informa um error informa que iten not fould . creio que ele tenta transforma no id 0 dai forma o error mais desapareceu
  3. local config = { removeOnUse = "no", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", range = -1, realAnimation = "no", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 1.0 } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [8704] = {empty = 7636, splash = 2, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {70, 130}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {200, 300}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {200, 400}, mana = {110, 190}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doRemoveItem(item.uid, 1) doPlayerAddItem(cid, potion.empty, 1) return true end if(hasCondition(cid, CONDITION_EXHAUST)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return true end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return true end if(config.range > 0 and cid ~= itemEx.uid and getDistanceBetween(getCreaturePosition(cid), getCreaturePosition(itemEx.uid)) > config.range) then return false end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) if(not config.realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) doRemoveItem(item.uid, 1) if(not potion.empty or config.removeOnUse) then return true end doPlayerAddItem(cid, potion.empty, 1) return true end
  4. Galera aonde modifico !para que os viials do potion desapareção ????
  5. Galera , seguinte , quero começar um otserver mapa proprio, mais n tenho a minima de como coloca tipo moradias tipo aqueles teleporte pra vira morador de cidade, queria que alguem se enteressase em me ajudar ou que entenda disso e que eu até page se n quiser entra como socio.ja tenho um pouco do meu mapa , algumas cave , e queria colocar a poi , querida coloca certo a anihilator,queria coloca a inquisition , dai no causo coloca uma variedade de quest legais, ,a versão do server seria , 8.60 baseado em xp baixa, com entuito de muita war. coloca o sistema de woe , e mais variadas tipo de entreterimento, vips, sem itens editado, com vocações bem balanceadas, ai se alguem tiver o interesse e ta afim de conversa sobre proposta , só entra em contato, to sempre em casa, ! quero pelomenos um começo de um ot legal, dai vou testando até uma hora ficar legal, mais preciso de uma base !
  6. então fera sim meu server tem save , mais é o seguinte , eu estou testando o server , tentando progetar algo muito bom , queria muita ajuda , sabe mais assim o server da save em uma em uma hora , o problema é q se eu feixo ele manualmente ele n da save antes de feixa .antes eu tinha um distro q quando eu feixava ele antes auto salvava pra finalizar , entende !
  7. meua antigo distro antes de feixar ele dava save e feixava e é sqlite
  8. -- Global save -- NOTE: globalSaveHour means like 01:00, not that it will save every 1 hours, -- if you want such a system please check out data/globalevents/globalevents.xml. globalSaveEnabled = true globalSaveHour = 1 shutdownAtGlobalSave = true cleanMapAtGlobalSave = true é agora esta correto do geito q informou , mais ainda n esta salvando quando feixo o distro, e n quero usar comando com o adm .se n fica na obrigação sabe ,de entra com o adm pra feixa !
  9. Pessoal quando feixo meu distro ele n esta salvando ,isso ta causando rolbak , alguem sabe como posso arrumar esse problema !
  10. PedroPr postou uma resposta no tópico em Suporte Tibia OTServer
    cara tem varias coisa, o nome do server no noip , a desativaçao ou liberação das porta do fire wall (porta 7171,e 7172 , e se for com internet compartilhada, o molden e o roteador tbm tem q ter as porta liberada !
  11. !ja deu Resolvido !Era só coloca> Open < ja era galera resolveido era Só coloca open
  12. sim sim Só pra Vc´s ter a noção acho q tem q troca aqui -- Battle -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage. -- loginProtectionPeriod is the famous Tibia anti-magebomb system. -- deathLostPercent set to nil enables manual mode. >>worldType = "pvp"<< Por que palavra Troco ! protectionLevel = 80 pvpTileIgnoreLevelAndVocationProtection = true
  13. vlw j pedro , vou te repututa até os 90 anos , vc e o vitin tks e agora oque mudo ! kkkkkkk já rep Vc´s dois , e vlw pela atenção ! lembrando q meu worldid ta Assim worldId = 0
  14. sim vitim mais ta , tirei la o meu confg e coloquei meu map la no world
  15. coloquei meu config lua !
  16. agora esse é o error !aonde ajeito ????
  17. [04/02/2014 19:56:05] >> Loading items [04/02/2014 19:56:05] [Error - Items::loadFromOtb] Another (client) version of items.otb is required. [04/02/2014 19:56:05] > ERROR: Unable to load items (OTB)! é isso eu ja sabia , vlw e esse , ou alguem me arruma um lugar bom pra baixa um executavel !
  18. primeiro ele aparece esse ! [04/02/2014 19:56:05] >> Loading items [04/02/2014 19:56:05] [Error - Items::loadFromOtb] Another (client) version of items.otb is required. [04/02/2014 19:56:05] > ERROR: Unable to load items (OTB)!
  19. Galera baixei tipo a nova verção do sqforgotterserver. e agora ta aparecendo esse error [04/02/2014 19:48:27] >> Loading config (config.lua) [04/02/2014 19:48:27] > ERROR: Another instance of The Forgotten Server is already running with the same worldId. [04/02/2014 19:48:27] If you want to run multiple servers, please change the worldId in configuration file. aonde mudo e oque mudo !????
  20. PedroPr postou uma resposta no tópico em Suporte Tibia OTServer
    ai galera ,fiz um teleporte pra fazer moradia na cidade , mais ta dando error dai feixa o server , la nos movimentes ! alguem ai tem como me ajuda fazer de uma forma facil ??? vlw a atenção !boa noite
  21. PedroPr postou uma resposta no tópico em Suporte Tibia OTServer
    Alguém por favor sabe oque fazer nessa situação ? o personagem carrega mais do que a capacidade q ele pode, mais fica andando paralizado !Abraços !
  22. kk tinha 3 Tm . deletei so deixei um , e arrumado , vlw pela atenção galera ! só lembrando se vc edita tbm seu Monster e n der certo n esqueça de procura la no \mods\monster , o meu tava la kkk vlw galera problema resolvido !
  23. é vitin lembro q tnha importado ele e achei olha aqui o q estou usando ,encontrei pelo look de monk ! <?xml version="1.0" encoding="UTF-8"?> <monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="210" manacost="0"> <health now="24000" max="24000"/> <look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/> <targetchange interval="5000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag staticattack="80"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="1"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="500" min="0" max="-1"/> </attacks> <defenses armor="0" defense="0"> <defense name="ultimate healing" interval="10000" chance="100" min="24000" max="24000"/> </defenses> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="0"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="0"/> <immunity drunk="0"/> <immunity invisible="1"/> </immunities> <voices interval="2000" chance="5"> </voices> <loot> <item id="2148" countmax="20" chance1="100000" chancemax="0"/> <item id="1949" chance="10000"/> <item id="2467" chance="10000"/> <item id="2642" chance="6666"/> <item id="1987" chance="100000"> <inside> <item id="2044" chance="6666"/> <item id="2689" countmax="3" chance1="20000" chancemax="0"/> <item id="2401" chance="3333"/> <item id="2166" chance="1428"/> </inside> </item> </loot> </monster> aonde altero pra pelomenos ataca 1 vez por segundo, sem levar o char pra death
  24. aparente mente ele ainda continua batendo 1 hit a cada 3 segundo =/ 3 a 4
  25. <?xml version="1.0" encoding="UTF-8"?> <monster name="Training Monk" nameDescription="a trainers" race="blood" experience="0" speed="100" manacost="0"> <health now="240000" max="240000"/> <look type="268" head="500" body="77" legs="0" feet="0" addons="2" corpse="6080"/> <targetchange interval="60000" chance="0"/> <strategy attack="200" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag staticattack="50"/> <flag lightlevel="0"/> <flag lightcolor="0"/> <flag targetdistance="1"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="1500" min="-0" max="-1"/> </attacks> <defenses armor="0" defense="0"> <defense name="heal friend" interval="10000" chance="100" min="24000" max="24000"/> </defenses> <immunities> <immunity physical="0"/> <immunity energy="0"/> <immunity fire="0"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="0"/> <immunity drunk="0"/> <immunity invisible="1"/> </immunities> <loot> <item id="2148" countmax="20" chance1="100000" chancemax="0"/> <item id="1949" chance="10000"/> <item id="2467" chance="10000"/> <item id="2642" chance="6666"/> <item id="1987" chance="100000"> <inside> <item id="2044" chance="6666"/> <item id="2689" countmax="3" chance1="20000" chancemax="0"/> <item id="2401" chance="3333"/> <item id="2166" chance="1428"/> </inside> </item> </loot> </monster> e galera mals , né volocidade é Velocidade vlw pela atenção !

Informação Importante

Confirmação de Termo