Jump to content

fake123

Campones
  • Posts

    8
  • Joined

  • Last visited

About fake123

Informações

  • Char no Tibia
    Druid Of Kundun
  • Forma que conheci o xTibia
    Sites de Busca
  • Sou
    Scripter

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

fake123's Achievements

  1. Pow man me ajuda ja resetei o ot 2 vez porcausa disso da crashed na minha database n sei pq me ajudaa...
  2. Sera que da pra da uma ajudinha tipo depois de um tempo meu ot deu uns erro ;S e quem logava sumia os itens e dava um monte de erro no console e tipo nao queria salvar os players dai perderam td e tive que reseta o ot ajuda aew ;S tenho que arrumar mais fast possivel
  3. A do knight e mage funfa normal? Se sim posta ela tambem pra mim ver uma coisa
  4. Galera eu me sacrifiquei pra fazer esse script e nao conseguia ate pedia ajuda no forum e ninguem respondeu Ate que um amigo meu me deu a ideia de fazer por outro tipo e dai usei como base uma outra coisinha e consegui Ta aew. Va em movevents e crie um arquivo lua com o nome que preferir e add function onEquip(cid, item, slot) setPlayerStorageValue(cid, 19854, -1)--Storage doHeal(cid) end function doHeal(cid) local delay = 1 --Tempo em seg if getPlayerStorageValue(cid, 19854) == -1 then --Storage doCreatureAddHealth(cid, XXXX) doCreatureAddMana(cid, XXXX) doSendMagicEffect(getCreaturePosition(cid), ID)--ID é o effect addEvent(doHeal, delay*1000, cid) end end function onDeEquip(cid, item, slot) setPlayerStorageValue(cid, 19854, 1)--Storage return TRUE end TAG <movevent type="Equip" itemid="ITEM ID" slot="SLOT" event="script" value="NOME DO SCRIPT.lua"/> <movevent type="DeEquip" itemid="ITEM ID" slot="SLOT" event="script" value="NOME DO SCRIPT.lua"/> Nao sei se tem outro script com a mesma coisa se tiver avisem ok mais fui EU que fiz ele Creditos 100% a mim PS:Para quem tava procurando item para wodbo que fika curando a tag é outra pela diferença de server a tag certa para wodbo é <movevent event="Equip" itemid="ITEM ID" slot="SLOT" script="NOME DO SCRIPT.lua" /> <movevent event="DeEquip" itemid="ITEM ID" slot="SLOT" script="NOME DO SCRIPT.lua" />
  5. Cara por favor me ajuda em um script que ta foda ;S eu fiz certin so que nao funfa ta aew o link http://www.xtibia.com/forum/topic/163580-ajuda-aew/
  6. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end npcHandler:setMessage(MESSAGE_GREET, "Olá, eu sou o Guild Master da ZK (Zombie Killers) , você gostaria de participar dessa guild?)") function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid if(msgcontains(msg, 'yes')) then selfSay('Para entrar para a ZK você tera que me pagar 10 Gold Coins Ok?',cid) talkState[talkUser] = 2 elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 2 and getPlayerItemCount(cid,2152)>=10) then doPlayerRemoveItem(cid,2152,10) selfSay('Bem vindo a Zombie Killers !', cid) doPlayerSetVocation(cid,4) talkState[talkUser] = 0 end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Tenta assim nem testei aki
  7. Quero fala mau nao mais ta bom sim. Mais podia ser feito por outro jeito implantado no go/back e por uma configuração de 1 para female e 2 para male e assim no momento que o player solta o pokemon ja é adicionado a skull. Seria mais facil pelo menos eu axo ;S Talvez eu faça mais a preguiça complica. REP+
  8. local config = { removeOnUse = "no", 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 = 7636, splash = 2, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8, 11, 12}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {500, 700}, level = 80, vocations = {4, 8, 12}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {1550, 1600}, level = 130, vocations = {4, 8, 12}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {220, 330}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {250, 390}, level = 50, vocations = {1, 2, 3, 5, 6, 7, 9, 10}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {850, 950}, level = 80, vocations = {1, 2, 5, 6, 9, 10}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {500, 700}, mana = {410, 690}, level = 80, 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 = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) 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 doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) if(not realAnimation) then doCreatureSay(itemEx.uid, "..health..", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "..health..", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then return true end pot_count = getPlayerItemCount(cid, potion.empty) return true end Tenta aew
  9. Fi larga mao de plagiar e vai criar seus proprios scripts
  10. Como que nao é plagio man olha la o do the devil z e depois olha esse daki so mudo de lugar os bagulho e nao é o 1 que vejo que copio
  11. plagi do ****** mesmo em os cara copia nem fala nada e aproposito 100% de chance de copia
  12. eo que aparece no executavel do ot: [23/04/2010 00:09:52] [Error - Spell Interface] [23/04/2010 00:09:52] In a timer event called from: [23/04/2010 00:09:52] data/spells/scripts/attack/sky fury.lua:onCastSpell [23/04/2010 00:09:52] Description: [23/04/2010 00:09:52] attempt to index a nil value [23/04/2010 00:09:52] stack traceback: [23/04/2010 00:09:52] [C]: in function 'doCombat' [23/04/2010 00:09:52] data/spells/scripts/attack/sky fury.lua:26: in function <data/spells/scripts/attack/sky fury.lua:17> local area = createCombatArea(AREA_SQUARE1X1) function onCastSpell(cid, var) local target = getCreatureTarget(cid) doSendDistanceShoot(getCreaturePosition(cid),{x = getCreaturePosition(cid).x - math.random(4,6), y = getCreaturePosition(cid).y - 5, z = getCreaturePosition(cid).z},CONST_ANI_FLAMMINGARROW) for x = 1, 10 do addEvent(furyAttackTarget,200*x+500,cid,target,{x = getCreaturePosition(target).x + math.random(-1,1), y = getCreaturePosition(target).y + math.random(-1,1), z = getCreaturePosition(target).z}) end end function furyAttackTarget(cid,target,pos) if isCreature(cid) == TRUE and isCreature(target) == TRUE then doSendDistanceShoot({x = getCreaturePosition(target).x - math.random(4,6), y = getCreaturePosition(target).y - 5, z = getCreaturePosition(target).z},pos,CONST_ANI_FIRE) doAreaCombatHealth(cid,COMBAT_FIREDAMAGE,pos,area,(-(getPlayerLevel(cid)*getPlayerMagLevel(cid))/5)+50,(-(getPlayerLevel(cid)*getPlayerMagLevel(cid))/5)-50,CONST_ME_HITBYFIRE) end end Valeu cara ta aew o post Eu ja tava procurando vi o bug e retirei Gratz
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...