Tudo que ViitinG postou
-
(Resolvido)[DUVIDA]Como mudar imagem da spell
Você ta se referindo ao efeito que aparece ao usar a spell ??
-
(Resolvido)[DUVIDA]Como mudar imagem da spell
Qual versão do servidor ?
-
Level Bug em servidor de WAR
Estava com esse problema a um tempo atras. Não lembro direito oque fiz,mas sei que exclui um script do creaturescript.Tente tambem mudar seu config.lua nesta parte abaixe o numero : deathLostPercent = 10
-
Página de Montaria Gesior 9x
Faltou uma fotinho da pagina não ?
-
(Resolvido)[DUVIDA]Como mudar imagem da spell
Não entendi direito do que se trata o problema,você quer mudar qual imagem de spell,site ??
-
Erro ao logar
Mande seu config.lua,IP do NO-IP,endereço de IP em numeros.
-
(Resolvido)[Duvida e Pedido] Evento Automatico?
Você pode fazer de varias maneiras,somente configure no script do jeito que pretender. Ai vão 2 maneiras que eu uso em scripts aqui : <globalevent name="NOMEDOSCRIPT" time="19:40:00" event="script" value="NOMEDOSCRIPT.lua"/> <globalevent name="NOMEDOSCRIPT" interval="3600" event="script" value="NOMEDOSCRIPT.lua"/>
-
Área Vip e área 2k
Para a area de level 2k : em "data/movements/movements.xml" adicione a tag : <movevent type="StepIn" uniqueid="24673" event="script" value="piso.lua"/> E em "data/movements/scripts/piso.lua" adicione : function onStepIn(cid, item, position, fromPosition) level = 2000 if getPlayerLevel(cid) < level then doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) doPlayerSendCancel(cid,"Você precisa de level " .. level .. " ou mais para passar.") end return TRUE end Com o RME adicione a UniqueID 24673 no piso que deseja que somente players level 2000 passem. Para o piso que somente VIPS podem passar : Em ''data/movements/scripts/premiumtile" adicione : function onStepIn(cid, item, pos) player1pos = getPlayerPosition(cid) novapos1 = {x=132, y=348, z=7} msg = "Allowed only for Premium Accounts" f item.uid == 1200 then if isPremium(cid) then else doPlayerSendTextMessage(cid, 22, msg) getThingfromPos(player1pos) doSendMagicEffect(player1pos,2) doTeleportThing(cid,novapos1) doSendMagicEffect(novapos1,10) end return 1 end end Configurar : Agora em : "data/movements/movements.xml" <movevent event="StepIn" uniqueid="1200" script="premiumtile.lua" /> Explicação :
- (Resolvido)[Duvida e Pedido] Evento Automatico?
-
Área Vip e área 2k
GodMarini eu ja ajudei esse cara um milhão de vezes,ele ja criou este topico 3 vezes e eu respondi como resolver 2 vezes. Kd meu arrozz só para alertar que isso que você está fazendo é double post !!!!
-
Anel
Marcelogomes,olhe a seção em que ele postou a duvida !! BOT - Tibia Auto.
- Área vip
- Área vip
- Área vip
- Área vip
-
duvida sobre cast erro!
Faça um backup deste script e tente utilizar este : function onSay(cid, words, param) local player = getPlayerByName(param) if not isInArray({"list", "exit", "off", "on"}, param) and not param or param == "" then doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 20, "Enter the name of the player, which you want to cast in parameters.") return true end if param == "on" then if getPlayerStorageValue(cid, 10359) >= 1 then doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 20, "Your Cast System is already running ONLINE!") return true end castOn(cid) doSendMagicEffect(getThingPos(cid), 39) doPlayerSendTextMessage(cid, 20, "You have activated your Cast System, now others can cast you, to disable this feature, use the parameter '!cast off'.") return true end if param == "off" then if getPlayerStorageValue(cid, 10359) < 1 then doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 20, "Your Cast System is already OFFLINE!") return true end castOff(cid) doSendMagicEffect(getThingPos(cid), 39) doPlayerSendTextMessage(cid, 20, "You have disabled your Cast System, from now on no one can watch you, unless you turn on the Cast, using the parameter '!cast on'.") return true end if param == "exit" then if getPlayerStorageValue(cid, 12269) < 1 then doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 20, "You no are casting players.") return true end cancelCast(cid) doSendMagicEffect(getThingPos(cid), 39) doPlayerSendTextMessage(cid, 20, "You stopped casting, use the parameter '!cast list' to see who can be casted.") return true end if param == "list" then if #whoCasted() < 1 then doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 20, "At this time, no player can be casted, try again later.") return true end doPlayerSendTextMessage(cid, 20, "Players can be casteds:\n\n") for k, v in ipairs(whoCasted()) do doPlayerSendTextMessage(cid, 20, " - "..getCreatureName(v).."") end return true end if not isPlayer(player) then doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 20, "This player is offline or does not exist. Use the parameter '!cast list' to see who can be casted.") return true end if getPlayerStorageValue(player, 10359) < 1 then doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 20, "You can only cast one person with the Cast System is activated, use the parameter '!cast list' to see who can be assisted.") return true end if getPlayerStorageValue(cid, 10359) >= 1 then doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 20, "To cast a player, you must first disable your Cast System using the parameter '!cast off'.") return true end if not getTileInfo(getThingPos(cid)).protection then return doPlayerSendTextMessage(cid, 20, "You need enter in Protection Zone to use the Cast System.") and true end setPlayerStorageValue(cid, 12269, 1) castPlayer(cid, player) doSendMagicEffect(getThingPos(cid), 39) doPlayerSendTextMessage(cid, 20, "You are casting the player "..getCreatureName(player)..", to exit just use the command '!cast exit'.") doPlayerSendTextMessage(player, 20, "You are casted by "..getCreatureName(cid).." player to disable your Cast, simply use the parameter '!cast off'.") return true end function cancelCast(uid) mayNotMove(uid, false) doCreatureSetHideHealth(uid, false) setPlayerStorageValue(uid, 12269, -1) doRemoveCondition(uid, CONDITION_OUTFIT) return doTeleportThing(uid, getTownTemplePosition(getPlayerTown(uid))) or doTeleportThing(uid, getPlayerMasterPos(uid)) and true end function castOn(uid) return setPlayerStorageValue(uid, 10359, 1) and true end function castOff(uid) return setPlayerStorageValue(uid, 10359, -1) and true end function castPlayer(uid, player) if not isPlayer(player) then cancelCast(uid) return true end if getPlayerStorageValue(player, 10359) < 1 then cancelCast(uid) return true end if getPlayerStorageValue(uid, 12269) < 1 then cancelCast(uid) return true end mayNotMove(uid, true) doSetItemOutfit(uid, 1934, -1) doCreatureSetHideHealth(uid, true) doTeleportThing(uid, getThingPos(player)) return addEvent(castPlayer, 1 * 1000, uid, player) and true end function whoCasted() local casteds = {} for _, pid in ipairs(getPlayersOnline()) do if getPlayerStorageValue(pid, 10359) >= 1 then table.insert(casteds, pid) end end return #casteds > 0 and casteds or {} end
-
Área vip
Para o piso que somente VIPS podem passar : ''data/movements/scripts/premiumtile" function onStepIn(cid, item, pos) player1pos = getPlayerPosition(cid) novapos1 = {x=132, y=348, z=7} msg = "Allowed only for Premium Accounts" f item.uid == 1200 then if isPremium(cid) then else doPlayerSendTextMessage(cid, 22, msg) getThingfromPos(player1pos) doSendMagicEffect(player1pos,2) doTeleportThing(cid,novapos1) doSendMagicEffect(novapos1,10) end return 1 end end Configurar : Agora em : "data/movements/movements.xml" <movevent event="StepIn" uniqueid="1200" script="premium tile.lua" /> Ajudei = REP+
-
Área vip
Para a area de level 2k : em "data/movements/movements.xml" adicione a tag : <movevent type="StepIn" uniqueid="24673" event="script" value="piso.lua"/> "data/movements/scripts/piso.lua" function onStepIn(cid, item, position, fromPosition) level = 2000 if getPlayerLevel(cid) < level then doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) doPlayerSendCancel(cid,"Você precisa de level " .. level .. " ou mais para passar.") end return TRUE end Adicione a UniqueID 24673 no piso que deseja com o RME.
-
duvida sobre cast erro!
Mande o script cast.lua da pasta talkactions.
-
(Resolvido)[ Pedido ] Transformação Utani Gran Hur
Cara estranho,aqui funciounou direitinho. Qual teu TFS ?
-
(Resolvido)[ Pedido ] Transformação Utani Gran Hur
Tente esse daqui : local time = 120 * 1000 -- 120 * 1000 = 2 min local addShielding = 20 -- how much shielding should be added local wolf = {lookType = 154, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0} local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 5) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local speed = createConditionObject(CONDITION_HASTE) setConditionParam(speed, CONDITION_PARAM_TICKS, time) setConditionFormula(speed, 0.7, -56, 0.7, -56) setCombatCondition(combat, speed) local outfit = createConditionObject(CONDITION_OUTFIT) setConditionParam(outfit, CONDITION_PARAM_TICKS, time) addOutfitCondition(outfit, wolf) setCombatCondition(combat, outfit) local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_SUBID, 2) setConditionParam(exhaust, CONDITION_PARAM_TICKS, time) setCombatCondition(combat, exhaust) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
-
[ AJUDA ] Comando de Leavehouse .. Revisão.
Tente este : "data/talkactions/talkactions.xml" <talkaction words="alana som" filter="word-spaced" event="script" value="leavehouse.lua"/> "data/talkactions/scripts/leavehouse.lua" function onSay(cid, words, param, channel) local house = getHouseFromPos(getCreaturePosition(cid)) if(not house) then doPlayerSendCancel(cid, "You are not inside a house.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return false end local owner = getHouseInfo(house).owner if(owner ~= getPlayerGUID(cid) and (owner ~= getPlayerGuildId(cid) or getPlayerGuildLevel(cid) ~= GUILDLEVEL_LEADER)) then doPlayerSendCancel(cid, "You are not the owner of this house.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return false end setHouseOwner(house, 0) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE) return false end Para mudar oque tem que falar para dar leave na house mude isto : Ajudei = REP+
-
(Resolvido)[ Pedido ] Transformação Utani Gran Hur
Tente usar este : local time = 120 * 1000 -- 120 * 1000 = 2 min local wolf = {lookType = 143, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0} local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 5) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local speed = createConditionObject(CONDITION_HASTE) setConditionParam(speed, CONDITION_PARAM_TICKS, time) setConditionFormula(speed, 0.7, -56, 0.7, -56) setCombatCondition(combat, speed) local outfit = createConditionObject(CONDITION_OUTFIT) setConditionParam(outfit, CONDITION_PARAM_TICKS, time) addOutfitCondition(outfit, wolf) setCombatCondition(combat, outfit) function onCastSpell(cid, var) return doCombat(cid, combat, var) end Tempo que a magia vai durar : Para mudar o monster,você muda o numero vermelho : OBS : Para ver o numero do monstro que você quer vá na pasta "data/monster" e abra o arquivo do monstro especifico com bloco de notas,aperte Ctrl = F e procure "looktype". Exemplo looktype do Dragon (em vermelho é o looktype) :
-
(Resolvido)Pedido Comando Attr
"data/talkactions/scripts/attr.lua" local itemFuncs = { ["attackspeed"] = setItemAttackSpeed, ["name"] = setItemName, ["plural"] = setItemPluralName, ["attack"] = setItemAttack, ["extraattack"] = setItemExtraAttack, ["defense"] = setItemDefense, ["armor"] = setItemArmor, ["extradefense"] = setItemExtraDefense, ["hitchance"] = setItemHitChance, ["range"] = setItemShootRange, ["actionid"] = doSetItemActionId, ["action"] = doSetItemActionId, ["aid"] = doSetItemActionId, ["description"] = doSetItemSpecialDescription, ["desc"] = doSetItemSpecialDescription, ["protection"] = doSetItemProtection, ["charges"] = doChangeTypeItem, ["count"] = doChangeTypeItem }[/size][/color][/font] [font="helvetica, arial, sans-serif"][color="#282828"][size=3]local creatureFuncs = { ["health"] = doCreatureAddHealth, ["maxhealth"]= setCreatureMaxHealth, ["mana"] = doCreatureAddMana, ["maxmana"] = setCreatureMaxMana, ["speed"] = doChangeSpeed, ["droploot"] = doCreatureSetDropLoot, ["cannotmove"] = doCreatureSetNoMove, ["skull"] = doCreatureSetSkullType, ["redskull"] = doPlayerSetRedSkullTicks }[/size][/color][/font] [font="helvetica, arial, sans-serif"][color="#282828"][size=3]local playerFuncs = { ["fyi"] = doPlayerPopupFYI, ["tutorial"] = doPlayerSendTutorial, ["guildrank"] = doPlayerSetGuildRank, ["guildnick"] = doPlayerSetGuildNick, ["group"] = doPlayerSetGroupId, ["vocation"] = doPlayerSetVocation, ["promotion"] = setPlayerPromotionLevel, ["stamina"] = doPlayerAddStamina, ["town"] = doPlayerSetTown, ["balance"] = doPlayerDepositMoney }[/size][/color][/font] [font="helvetica, arial, sans-serif"][color="#282828"][size=3]function onSay(cid, words, param, channel) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return TRUE end[/size][/color][/font] [font="helvetica, arial, sans-serif"][color="#282828"][size=3]local pos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z, stackpos=1} if getCreatureLookDirection(cid) == SOUTH then pos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y+1, z=getCreaturePosition(cid).z, stackpos=255} elseif getCreatureLookDirection(cid) == NORTH then pos = {x=getCreaturePosition(cid).x, y=getCreaturePosition(cid).y-1, z=getCreaturePosition(cid).z, stackpos=255} elseif getCreatureLookDirection(cid) == EAST then pos = {x=getCreaturePosition(cid).x+1, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z, stackpos=255} elseif getCreatureLookDirection(cid) == WEST then pos = {x=getCreaturePosition(cid).x-1, y=getCreaturePosition(cid).y, z=getCreaturePosition(cid).z, stackpos=255} end[/size][/color][/font] [font="helvetica, arial, sans-serif"][color="#282828"][size=3]local t = string.explode(param, ",")[/size][/color][/font] [font="helvetica, arial, sans-serif"][color="#282828"][size=3]local getThing = getThingFromPos(pos)[/size][/color][/font] [font="helvetica, arial, sans-serif"][color="#282828"][size=3]if itemFuncs[t[1]] then if getThing.itemid > 0 then if itemFuncs[t[1]](getThing.uid, t[2]) then doSendMagicEffect(pos, CONST_ME_MAGIC_GREEN) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry, you can not add attribute to this item.") return TRUE end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item not found.") return TRUE end elseif creatureFuncs[t[1]] then if isCreature(getThing.uid) then if creatureFuncs[t[1]](getThing.uid, t[2]) then doSendMagicEffect(pos, CONST_ME_MAGIC_GREEN) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry, you can not add attribute to this creature.") return TRUE end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Creature not found.") return TRUE end elseif playerFuncs[t[1]] then if isPlayer(getThing.uid) then if playerFuncs[t[1]](getThing.uid, t[2]) then doSendMagicEffect(pos, CONST_ME_MAGIC_GREEN) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry, you can not add attribute to this player.") return TRUE end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player not found.") return TRUE end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Unknow attribute.") return TRUE end return TRUE end "data/talkactions/talkactions.xml" <talkaction log="yes" words="/attr" access="5" event="function" value="attr.lua"/>
- Kicks