Tudo que PedroPr postou
- (Resolvido)[PEDIDO] Retirando os vial
-
(Resolvido)[PEDIDO] Retirando os vial
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
-
(Resolvido)[PEDIDO] Retirando os vial
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
- (Resolvido)[PEDIDO] Retirando os vial
-
preciso de um socio ou de alguem q me ajude
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 !
-
[AJUDA] Distro não salva ao fechar!
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 !
- [AJUDA] Distro não salva ao fechar!
-
[AJUDA] Distro não salva ao fechar!
-- 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 !
- [AJUDA] Distro não salva ao fechar!
-
Erro ao logar
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 !
- (Resolvido)Error
-
(Resolvido)Error
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
- (Resolvido)Error
- (Resolvido)Error
- (Resolvido)Error
- (Resolvido)Error
-
(Resolvido)Error
[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 !
- (Resolvido)Error
-
(Resolvido)Error
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 !????
- Cidades
- Capacidade bugada!
- (Resolvido)Treiners
-
(Resolvido)Treiners
é 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
- (Resolvido)Treiners
-
(Resolvido)Treiners
<?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 !