Ir para conteúdo

Dersinho

Cavaleiro
  • Total de itens

    156
  • Registro em

  • Última visita

Tudo que Dersinho postou

  1. Dersinho

    Escultura De Gelo

    cara mesma coisa a obsidion ais tudo menos esculpir os ice cube =/ seu script nao funfo nao =/
  2. Dersinho

    Alma System

    a pdc eu to parado no eligium por enquanto mais eu so healer 57 santia > Mutilok xDD
  3. bom eu tentei aki no xtibia mesmo tem varios postes de como faser escultuas de gelo ate com pick ja vi bom eu tenho um script mais ele nao funciona queria que ele tbm fizece escultura de gelo que no caso e a unica coisa que nao funfa tentei colokar outros scripts mais da um erro de duplicata de actions o0''. script abaixo! local MINOTAUR_LEATHER, LIZARD_LEATHER, GREEN_DRAGON_LEATHER, RED_DRAGON_LEATHER, HARDENED_BONE, BEHEMOTH_FANG = 5878, 5876, 5877, 5948, 5925, 5893 local config = { [3090] = {25, MINOTAUR_LEATHER}, [2871] = {25, MINOTAUR_LEATHER}, [2866] = {25, MINOTAUR_LEATHER}, [2876] = {25, MINOTAUR_LEATHER}, [3104] = {25, GREEN_DRAGON_LEATHER}, [2881] = {25, RED_DRAGON_LEATHER}, [2931] = {25, BEHEMOTH_FANG}, [4256] = {25, LIZARD_LEATHER}, [4259] = {25, LIZARD_LEATHER}, [4262] = {25, LIZARD_LEATHER}, [11285] = {25, LIZARD_LEATHER}, [11277] = {25, LIZARD_LEATHER}, [11269] = {25, LIZARD_LEATHER}, [11273] = {25, LIZARD_LEATHER}, [11281] = {25, LIZARD_LEATHER}, [3031] = {25, HARDENED_BONE} } local pumpkin_items = { [1] = {2683}, [2] = {2688, 50}, [3] = {6571}, [4] = {6492}, [5] = {6574}, [6] = {6526}, [7] = {2096}, [8] = {9005, 20} } local sculpting = { [7441] = {randsize = 4, newid = 7442}, aki as esculturas nao estao funcionando =/ [7442] = {randsize = 5, newid = 7444}, [7444] = {randsize = 6, newid = 7445}, [7445] = {randsize = 7, newid = 7446}, } function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid == 8961 then if getPlayerStorageValue(cid, 81279) <= 0 then doCreatureSay(cid, "Happy Halloween!", TALKTYPE_MONSTER) doSendMagicEffect(getCreaturePosition(cid), math.random(28,30)) setPlayerStorageValue(cid, 81279, 1) local v = pumpkin_items[math.random(#pumpkin_items)] doPlayerAddItem(cid, v[1], v[2] or 1) else doCreatureSay(cid, "You already used your knife on the corpse.", TALKTYPE_MONSTER, false, cid) end return true end -- Sculpting local v = sculpting[itemEx.itemid] if v then if(math.random(v.randsize) == 1) then doTransformItem(itemEx.uid, v.newid) else doRemoveItem(itemEx.uid) doCreatureSay(cid, "The attempt at sculpting failed miserably.", TALKTYPE_MONSTER) end doSendMagicEffect(toPosition, CONST_ME_HITAREA) return true end -- summons if itemEx.actionid == 91347 then return doPlayerSendCancel(cid, "You cant skin a summon corpse.") end -- Skinning v = config[itemEx.itemid] if not v then return false elseif math.random(100) <= v[1] then doPlayerAddItem(cid, v[2], 1) doSendMagicEffect(toPosition, CONST_ME_MAGIC_GREEN) else doSendMagicEffect(toPosition, CONST_ME_BLOCKHIT) end doTransformItem(itemEx.uid, itemEx.itemid + 1) doDecayItem(itemEx.uid) return true end agradeço desde ja xDD
  4. cara vc podia esplicar isso melhor ne mano tem gente que nao manja muito vc poderia colokar mais informaçao so pro pessoal sabe actions/other sei la. agradeço!
  5. Dersinho

    Alma System

    como funciona esse script e estilo Eligium que vc coloka alma na arma?
  6. Dersinho

    Erro Rme

    cara pelmor de deus cara alguem pode me passar um server que eu consiga abrir 9.60 qualquer server todos encopntrados aki ou estao com bugs e nao funcionao pode ate serv o server sem mapa so queru que ele funcione e tenha as atualizaçoes alguem tem?
  7. cara fais tempo que nao do uma passada por aki veii queria saber como baxo esse server pq aki ta dando que so premium fais download Lol coloka outro link ai fasendo favor? thx!
  8. vlw vodka sempre me ajudando em seu rep ta guardado ja dei rep pro paraceri ali em cima pela ajuda vlw abraço!
  9. blz pareco deu certo mais tem um problema nao esta parecendo quantos players tem online exemplo 36 tem como adicionar nesse script ?
  10. bom vim pediar a vcs que me ajudem Pressiso de um script de ver quem esta online no ot mais que so aparesece o Nome Sem Aparecer Level E nem a Conta do Adm ou Alguem da staff tem como alguem conseguir esse script pra min.. no momento estou usando esse function onSay(cid, words, param, channel) local players = getPlayersOnline() local strings = {""} local i, position = 1, 1 local added = false for _, pid in ipairs(players) do if(added) then if(i > (position * 7)) then strings[position] = strings[position] .. "," position = position + 1 strings[position] = "" else strings[position] = i == 1 and "" or strings[position] .. ", " end end if getPlayerAccess(pid) < 3 then strings[position] = strings[position] .. getCreatureName(pid) .. " [" .. getPlayerLevel(pid) .. "]" i = i + 1 added = true else added = false end end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, (i - 1) .. " player(s) online:") for i, str in ipairs(strings) do if(str:sub(str:len()) ~= ",") then str = str .. "." end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, str) end return true end agradeço xDD
  11. Dersinho

    (Pedido) Deathlist

    vodkart vc mesmo disse > existe sim, eu estou vendo algumas querys aqui, para mysql existe vários comandos death list: mysql para sql sem ser saite sempre da debug olha que ja testei varios scrips. allisson nao existe o deathlist de la da debug,deathlist do stylle e um poko diferente ele funciona mais nao aparace pra quem ele morreu e ainda da uns erro na tabela do ot =/
  12. e o seguinte meu rl abriu um ot pra gente brinca mais o ot ate fica bastante tempo on mais do nada o ip da net dele troka automaticamente do nada ai o ot continua on mais ninguementra pq o ip esta trokado se alguem souber uma soluçao vo agradecer abraço!
  13. Dersinho

    (Pedido) Deathlist

    aa veiii fala a real mesmo todos deathlist que puis no meu ot estavao bugado alguns deathlist so funcionao com saite sem ser mysql acho que nao existe pelomeno no meu server nao funciono nenhum sempre nukava o ot ou nao aparecevia coretamente uq eue queria o0''
  14. bom eu tenhu todas essas aura mais tenhu uma duvida alguem consegue colokar pra quando chega lvl 500 ele começa a usa aura e da 10% protect all alguem sabe?
  15. darkanderson vlw cara me ajudo muito rep pela forsa!
  16. tipow sim vlw tentei e contesegui botar apenas a mana pot infinita e que tava tudo em potion.lua SkyDangerous eu nao sei faser essa parada de quote sei nao manjo tem algume tutorial que encina?
  17. boom nao queria as runas infinita apenas a sd algue pode me ajudar com esse script apenas a sd agradeço desde ja abraço! local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH) function getCombatFormulas(cid, lv, maglv) local formula_min = -((lv*0.25 + maglv*3) * 2.7) local formula_max = -((lv*0.50 + maglv*3) * 3.1) if(formula_max < formula_min) then local tmp = formula_max formula_max = formula_min formula_min = tmp end return formula_min, formula_max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas") function onCastSpell(cid, var) return doCombat(cid, combat, var) end script da sd
  18. der eu queria so a mana pot e o heltpot eu consegui sosinhu fui em actions e coloke >> <action itemid="7620" event="script" value="liquids/mana_potion.lua"/> <action itemid="7618" event="script" value="liquids/health_potion.lua"/> Pra usa o script>>>>> local MIN = 100 local MAX = 200 local EMPTY_POTION = 7636 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(itemEx.uid) == FALSE then return FALSE end if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if doCreatureAddHealth(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doSendAnimatedText(getPlayerPosition(cid), "Ahhhh...", 180) doRemoveItem(item.uid, 0) doPlayerAddItem(cid, EMPTY_POTION, 0) pot_count = getPlayerItemCount(cid, EMPTY_POTION) doPlayerRemoveItem(cid, EMPTY_POTION, pot_count) doPlayerAddItem(cid, EMPTY_POTION, pot_count) return TRUE end e claro que vc ´presisa tira o potion do liquis >> <action itemid="7588-7591;8472-8473;8704" event="script" value="liquids/potions.lua"/> no meu caso foi 7618,7620 e consegui que presisa do script e so pegar ai blz flw abraço!
  19. minha "mana potion " e deletei do liquidis e nao feis nenhuma diferensa percebi que nao esta la o script dela esta em actions/potions.lua mais e agora como faso pra coloka infinita eu so queru a mana potion infinita alguem pode me ajuda o script ta logo abaixo! local config = { removeOnUse = "yes", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", 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 = 7618, 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 = 7620, 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 = {150, 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)) doTransformItem(item.uid, potion.empty) return true end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) 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 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 if isInArray({8704, 7618, 7588, 7591, 8473}, item.itemid) then doSendAnimatedText(getPlayerPosition(cid), "Ahhhh...", 180) elseif isInArray({7620, 7589, 7590, 8472}, item.itemid) then doSendAnimatedText(getPlayerPosition(cid), "Ahhhh...", 17) end doSendMagicEffect(getThingPos(itemEx.uid), 12) if realAnimation then for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then doRemoveItem(item.uid, 1) return true end doRemoveItem(item.uid, 1) doPlayerAddItem(cid, potion.empty, 1) return true end agradeço desde ja xD
  20. vlw veii se vc comsegui me avisa brigado!
  21. vodkart me da uma forsa plx bug dos rings e amuletos com 1 charge quando comprados de npc ou dropados vem com 1 charge so nao tenhu nem ideia de que bugg e esse ajuda por favor !
  22. bom a um tempo andei testando me server tfs 0.4 SVN e testei outro server tfs 0.4 SVN que baixei aki do xtibia com o mesmo problema o erro e o seguinte quando eu fasso o item /i stone skin amulet,20 vem um amulet com 20 charges ne ate ai normal mais quando eu dropo de monstros ex:hydra warlock atc ou comprados de npc /> o amuleto vem com 1 charge so nao tenho nem ideia de ond mecher nao sei se e lib ou em outro lugar sei que todos os colares estao do mesmo geito quando dropados de mostros vem com 1 charge alguem pode me ajuda plx!
  23. e o seguinte meu amuleto nao aparece as cargas <item id="2197" article="a" name="stone skin amulet"> <attribute key="weight" value="760" /> <attribute key="slotType" value="necklace" /> <attribute key="charges" value="5" /> <attribute key="showcharges" value="1" /> <attribute key="absorbPercentPhysical" value="80" /> <attribute key="absorbPercentDeath" value="80" /> <attribute key="showattributes" value="1" /> </item> quando dropa de hydra >>>> 19:33 You see a stone skin amulet (protection physical +80%, death +80%) that has 1 charge left. It weighs 7.60 oz.<<<< e eu acho que so ta com uma carga tbm testei no jogo e acabo o0'' alguem pode ajuda? bom começei a testa no meu ot e percebi que todos amuletes ou aneis so tem 1 charge 19:50 You see an elven amulet (protection all +5%) that has 1 charge left. It weighs 2.70 oz. <attribute key="charges" value="50" /> << as charges mais quando quando dropa so dropa com 1 charge <item id="2198" article="an" name="elven amulet"> <attribute key="weight" value="270" /> <attribute key="slotType" value="necklace" /> <attribute key="charges" value="50" /> <attribute key="showcharges" value="1" /> <attribute key="absorbPercentAll" value="5" /> <attribute key="showattributes" value="1" /> </item> o script esta certo eu uso tfs 4.0 e nao sei ond arumar isso e am alguma lib sei la alguem me da uma luz ?
  24. vlw pelo script Rep + vlw abraço!
  25. function onDeath(cid, corpse, killer) local monstName = "Koshei The Deathless" local Storage = 36205 if isMonster(cid) and string.lower(getCreatureName(cid)) == string.lower(monstName) then if isInParty(killer[1]) == TRUE then local players = getPartyMembers(getPartyLeader(killer[1])) for i, k in ipairs(players) do setPlayerStorageValue(k, Storage, 1) end doCreatureSay(cid, "'At least I have it back, my precious amulet. I am glad you didn\'t use it! I allow you to ...ahh....enter door.... ahh'.", TALKTYPE_ORANGE_1) end end return TRUE end ^ bom o script e esse mais reparei um erro ne o0'' ele funciona asim uma part de 2 player mata o bixu e ganha storage legal xD mais eu fui tentar mata solo 1 player e nao ganhei storage matei umas 3 x pra ter certesa =/ se alguem puder me ajuda script facil pra quem entende ...funçao basica que o player ganhe storage mesmo em part ou nao vlw xDD
  • Quem Está Navegando   0 membros estão online

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