Ir para conteúdo

gustavoMtek

Cavaleiro
  • Total de itens

    175
  • Registro em

  • Última visita

  • Dias Ganhos

    1

Tudo que gustavoMtek postou

  1. deixa eu entender direito, voce só quer 2 vocaçoes no acc manager?
  2. gustavoMtek

    Erros No Meu Ot

    todo seus error nao Cannot load script ou seja nao conseque encontrar o script que tem no action.xml se voce quier esses script baixa outro server e pegue tudo pronto se nao é so deleta a tag do action.xml outros sao [Warning - GlobalEvents::configureEvent] Duplicate registered globale vent with name: que dizer que tem 2 glovelevents com o mesmo nome
  3. tava com o mesmo erro no meu server, após mudar para esse scritp abaixo fico normal,edite ele de acordo com seu server <?xml version="1.0" encoding="UTF-8"?> <mod name="First Items" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes"> <config name="firstitems_config"><![CDATA[ config = { storage = 30001, items = {2050, 2382} } ]]></config> <event type="login" name="FirstItems" event="script"> <![CDATA[ domodlib('firstitems_config') function onLogin(cid) if getPlayerGroupId(cid) == 1 and getPlayerStorageValue(cid, 50000) == -1 then if isMage(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2152, 20) doPlayerAddItem(cid, 2525, 1) doPlayerAddItem(cid, 2190, 1) doPlayerAddItem(cid, 2789, 10) doPlayerAddItem(cid, 2200, 1) doPlayerAddItem(cid, 2463, 1) doPlayerAddItem(cid, 2457, 1) doPlayerAddItem(cid, 2647, 1) doPlayerAddItem(cid, 7457, 1) setPlayerStorageValue(cid, 50000, 1) elseif isAssassin(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2152, 20) doPlayerAddItem(cid, 2525, 1) doPlayerAddItem(cid, 2389, 1) doPlayerAddItem(cid, 2789, 10) doPlayerAddItem(cid, 2200, 1) doPlayerAddItem(cid, 2463, 1) doPlayerAddItem(cid, 2457, 1) doPlayerAddItem(cid, 2647, 1) doPlayerAddItem(cid, 7457, 1) setPlayerStorageValue(cid, 50000, 1) elseif isElf(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2152, 20) doPlayerAddItem(cid, 2525, 1) doPlayerAddItem(cid, 2389, 1) doPlayerAddItem(cid, 2789, 10) doPlayerAddItem(cid, 2200, 1) doPlayerAddItem(cid, 2463, 1) doPlayerAddItem(cid, 2457, 1) doPlayerAddItem(cid, 2647, 1) doPlayerAddItem(cid, 7457, 1) setPlayerStorageValue(cid, 50000, 1) elseif isElfMage(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2152, 20) doPlayerAddItem(cid, 2525, 1) doPlayerAddItem(cid, 2182, 1) doPlayerAddItem(cid, 2789, 10) doPlayerAddItem(cid, 2200, 1) doPlayerAddItem(cid, 2463, 1) doPlayerAddItem(cid, 2457, 1) doPlayerAddItem(cid, 2647, 1) doPlayerAddItem(cid, 7457, 1) setPlayerStorageValue(cid, 50000, 1) elseif isBarbaro(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2152, 20) doAddContainerItem(bag, 8602, 1) doAddContainerItem(bag, 2439, 1) doPlayerAddItem(cid, 2525, 1) doPlayerAddItem(cid, 2789, 10) doPlayerAddItem(cid, 2200, 1) doPlayerAddItem(cid, 8601, 1) doPlayerAddItem(cid, 2463, 1) doPlayerAddItem(cid, 2457, 1) doPlayerAddItem(cid, 2647, 1) doPlayerAddItem(cid, 7457, 1) setPlayerStorageValue(cid, 50000, 1) elseif isOrc(cid) then local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2152, 20) doAddContainerItem(bag, 8602, 1) doAddContainerItem(bag, 2439, 1) doPlayerAddItem(cid, 2525, 1) doPlayerAddItem(cid, 2789, 10) doPlayerAddItem(cid, 2200, 1) doPlayerAddItem(cid, 8601, 1) doPlayerAddItem(cid, 2463, 1) doPlayerAddItem(cid, 2457, 1) doPlayerAddItem(cid, 2647, 1) doPlayerAddItem(cid, 7457, 1) setPlayerStorageValue(cid, 50000, 1) end end return TRUE end ]]> </event> </mod> if isMage(cid) then elseif isAssassin(cid) then elseif isElf(cid) then elseif isElfMage(cid) then elseif isOrc(cid) then mude o nome depois do isXXXX para o nome das vocaçoes do seu server em data\lib\031-vocations caso seu server tiver apenas 4 vocações iniciais dele da tag elseif até a setPlayerStorageValue(cid, 50000, 1) de cada vocação
  4. Rep+ para incentivar você continuar com seus update, gogo em busca de um baiak 100% sem bug !!!
  5. não funcionou esqueci de falar que meu server tem outras class entao olha lá denovo
  6. nao é o mesmo topico. O outro que vc me ajudou erá em talk esse em action? nao sei fazer por isso estou pedido esse script espero que alguem me ajude !
  7. Gostaria de um script de quando um player use um scroll ele é promotivido e o scroll some. versão: 8.60 tfs: 0.4 meu server tem novas class function isMage(cid) return isInArray({1, 2, 3}, getPlayerVocation(cid)) end function isAssassin(cid) return isInArray({4, 5, 6}, getPlayerVocation(cid)) end function isBarbaro(cid) return isInArray({7, 8, 19}, getPlayerVocation(cid)) end function isElf(cid) return isInArray({10, 11, 12}, getPlayerVocation(cid)) end function isElfMage(cid) return isInArray({13, 14, 15}, getPlayerVocation(cid)) end function isOrc(cid) return isInArray({16, 17, 18}, getPlayerVocation(cid)) end function isRookie(cid) return isInArray({9}, getPlayerVocation(cid)) end
  8. Gostaria de um script em Talkaction de quando o player fale !promotion ele é promovido versão: 8.60 Tfs: 0.4 meu server tem novas class function isMage(cid) return isInArray({1, 2, 3}, getPlayerVocation(cid)) end function isAssassin(cid) return isInArray({4, 5, 6}, getPlayerVocation(cid)) end function isBarbaro(cid) return isInArray({7, 8, 19}, getPlayerVocation(cid)) end function isElf(cid) return isInArray({10, 11, 12}, getPlayerVocation(cid)) end function isElfMage(cid) return isInArray({13, 14, 15}, getPlayerVocation(cid)) end function isOrc(cid) return isInArray({16, 17, 18}, getPlayerVocation(cid)) end function isRookie(cid) return isInArray({9}, getPlayerVocation(cid)) end
  9. baixar um server aki no xtibia e pegue a data base dele !! config.lua accountManager = true namelockManager = true newPlayerChooseVoc = true newPlayerSpawnPosX = 1088 newPlayerSpawnPosY = 1062 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 8 newPlayerMagicLevel = 0 generateAccountNumber = false newPlayerSpawnPosX,newPlayerSpawnPosY,newPlayerSpawnPosZ = local do account manager newPlayerTownId = cidade aonde o novo player ira nascer, olhe no seu mapa editor qual os id das cidades newPlayerLevel = level do novo player que ira nascer newPlayerMagicLeve = magic leve do novo player que ira nascer
  10. /\ -,- acabei de baixar .... apos vc clika no link de download, la em sima no canto >>/\ tem clika lá e baixa o server e seja feliz
  11. ja entrei em varios ots com esse mapa, otimo mesmo, vlw por posta ele aki no xtibia !! mais acho que vc deveria colocar a explicaçao de como abrir o mapa no inicio do topico pq deu error aki tb.
  12. qual teu nick? bora jogar uma ai
  13. nao to conseguindo baixar, faz upload em outro servidor?
  14. esse seu script é de pot nao é? entao usa esse 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 multiplier = { health = 1.0, mana = 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 = 8704, splash = 42, health = {50, 100}}, -- small health potion [7618] = {empty = 7618, splash = 42, health = {100, 200}}, -- health potion [7588] = {empty = 7588, splash = 42, health = {200, 400}, vocations = {3, 4, 7, 8, 11, 12}, vocStr = "knights , paladins, epic knight , epic paladin"}, -- strong health potion [7591] = {empty = 7591, splash = 42, health = {500, 700}, vocations = {4, 8, 12}, vocStr = "knights"}, -- great health potion [8473] = {empty = 8473, splash = 2, health = {800, 1200}, vocations = {4, 8, 12}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7620, splash = 47, mana = {70, 130}}, -- mana potion [7589] = {empty = 7589, splash = 47, mana = {110, 190}, vocations = {1, 2, 3, 5, 6, 7, 9, 10, 11}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7590, splash = 7, mana = {250, 350}, vocations = {1, 2, 5, 6, 9, 10}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 8472, splash = 3, health = {300, 600}, mana = {100, 290}, vocations = {3, 7, 11}, 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 = getThingPosition(item.uid) end doDecayItem(doCreateItem(POOL, potion.splash, toPosition)) doRemoveItem(item.uid, 1) if(not potion.empty or config.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else doPlayerAddItem(cid, potion.empty, 1) end return true end if(hasCondition(cid, CONDITION_EXHAUST)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return true end if(((potion.level and getPlayerLevel(itemEx.uid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(itemEx.uid)))) 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(getThingPosition(cid), getThingPosition(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.multiplier.health))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.multiplier.mana))) then return false end doSendMagicEffect(getThingPosition(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(getThingPosition(itemEx.uid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else end return true end
  15. os kra ia com makers e pegava posion pra um scorpion, ai pedia pra algum noob usa convince rune no bixo e depois os kra morria com os makers que tinha pegado poison e o mlk que convenceu pegava frag :X ai geral saia red ou black skull
  16. link quebrado arruma ai soldoran !!! ------ dps de muitas tentativas eu conseguir.... acho que era o site ou minha internet !
  17. essa area é pra posta duvidas sobre o Tibia Global... nao sobre otvserv reportado !
  18. otimo projeto espero que vai pra frente !!!
  19. fiko estranho mesmo :X mais mará foi a CUEQUINHA AMARELA !!! minha nota 6,5
  20. so pq eu nao intendo nao quer dizer que eu nao gosto na verdade eu nao gosto ... mais outras pessoas devem gosta e baixar !!!
  21. nao intendo essa mania de ficar adicionando Vips... pra min duas ja é d+
  22. vai em data\XML\vocations.xml e acher \/ da vocaçao que vc quer alterar ! quando mais proximo do 0 mais rapido é o atk speed attackspeed="2000" ------- nao vi que o pessOa posto :X
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...