Ir para conteúdo

Subwat

Infante
  • Total de itens

    1516
  • Registro em

  • Última visita

  • Dias Ganhos

    24

Tudo que Subwat postou

  1. da um rep+ ae pra me ajudar rsrs
  2. vou adicionar pera ae. e obrigado wakesoft s2 to no ramo a 4 anos okaskpoaskop.
  3. obrigado manolo,fiz meu melhor hehe.
  4. absolute24h.servegame.com 24HORAS ONLINE HÁ 6 MESES FAZENDO A ALEGRIA DA GALERA contas pelo account manager mapa próprio.

  5. pelo map editor você pode editar isso.
  6. agora clika no + no cantinho da tela. pra me ajudar.
  7. creio que funcione sim. mas foi testado só em sql. e farkall vai em xml/vocations.xml deleta tudo e cola isso <?xml version="1.0" encoding="UTF-8"?> <vocations> <vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="1" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="50" gainmanaticks="3" gainmanaamount="70" manamultiplier="1.1" attackspeed="500" soulmax="100" gainsoulticks="120" fromvoc="1"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="2" name="Druid" description="a druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="50" gainmanaticks="3" gainmanaamount="70" manamultiplier="1.1" attackspeed="500" soulmax="100" gainsoulticks="120" fromvoc="2"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="3" name="Paladin" description="a paladin" needpremium="0" gaincap="20" gainhp="15" gainmana="15" gainhpticks="4" gainhpamount="65" gainmanaticks="4" gainmanaamount="60" manamultiplier="1.4" attackspeed="500" soulmax="100" gainsoulticks="120" fromvoc="3"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="4" name="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="30" gainmana="5" gainhpticks="3" gainhpamount="80" gainmanaticks="6" gainmanaamount="40" manamultiplier="3.0" attackspeed="500" soulmax="100" gainsoulticks="120" fromvoc="4"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="5" name="Master Sorcerer" description="a Vip Mago das Trevas" needpremium="0" gaincap="100" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="100" gainmanaticks="1" gainmanaamount="150" manamultiplier="1.1" attackspeed="500" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="6" name="Elder Druid" description="an Vip Mago das Sombras" needpremium="0" gaincap="100" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="100" gainmanaticks="1" gainmanaamount="150" manamultiplier="1.1" attackspeed="500" soulmax="200" gainsoulticks="15" fromvoc="2" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="7" name="Royal Paladin" description="a Vip Arqueiro dos Deuses" needpremium="0" gaincap="200" gainhp="10" gainmana="15" gainhpticks="2" gainhpamount="150" gainmanaticks="2" gainmanaamount="130" manamultiplier="1.4" attackspeed="500" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="8" name="Elite Knight" description="an Vip Cavaleiro" needpremium="0" gaincap="250" gainhp="30" gainmana="5" gainhpticks="1" gainhpamount="170" gainmanaticks="2" gainmanaamount="80" manamultiplier="3.0" attackspeed="500" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <!-- <vocation id="9" name="Epic Master Sorcerer" description="an epic master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="5" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="10" name="Epic Elder Druid" description="an epic elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="6" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="11" name="Epic Royal Paladin" description="an epic royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="10" gainmanaticks="3" gainmanaamount="10" manamultiplier="1.4" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="7" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="12" name="Epic Elite Knight" description="an epic elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="8" gainhpamount="10" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="2000" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> --> </vocations>
  8. bom,ti indicaria,cave rat,ou munster. ou bad rat. mas vc q sabe o ot é seu.
  9. vai em actions/liquids/potions.lua deleta tudo que tiver la e cola isso. e reinicia o ot 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}, 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)) 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 doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) if(not 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) if(not potion.empty or config.removeOnUse) then return true end return true end
  10. vai na database do ot,em accounts. e vai na account "god" poe password "60adc3f9b9aed0b94e0987c75c6ff0e964b7e137" ae vai ser xtibia a senha.
  11. eu tenho um ot zuado mapa proprio online a 6 meses da moh grana,e os nb ainda acha legal askokoaspkopas. 30000x oksakopsaokpsa absolute24h.servegame.com media de idade dos players 11~12 anos.
  12. Bom pessoal,venho trazer-lhes hoje um trabalho,de meses de mim e de daniel devotti,fizemos um servidor Igual o refugia. e agora venho compartilhar com vocês. SENHA DO GOD account:god senha:GOD Spells Knights :ezzori,ezzori gran. Magos :exevo gran frigo,exevo gran mas mort,exevo gran mas ghost,aurora. Paladinos :exevo gran mas mort,aurora. Sistemas Pet system com mais de 50 pets,Incluindo Pets Donates que você pode vender em seu site! Sistemas de arena duels Para teams ou duplas no segundo andar no templo! Sistema de VIP Coins e (VIP) no nome Igual do Refugia Original! TASK SYSTEM! Sistema De Reborn Monster! adicionado 16/09/11 Ao matar um monstro ele tem 50% de chance de renascer igual no refugia! Items Mais de 100 items editados únicos do servidor! items free bons,quests com items editados e etc. Quests Anihilator demon helmet Aqua quest vermilion quest Pits of inferno Lord vampire quest refugia legs multi Quest dentre várias outras. Screen Shots Trainer's Templo Free Teleports Vip Teleports Free Teleportes para cidades Segundo andar do templo Montanha City Vip City Free NPC's DOWNLOAD: http://adf.ly/IGQ9S http://adf.ly/IGQDJ (SCAN DESATUALIZADO) Créditos Subwat (Gean Riot) Refugia.com.br daniel freire devotti curtiu REP+ Este tópico recebeu destaque em nosso portal!
  13. não mas é facil de colocar,é só você seguir o exemplo do script.
  14. esse sistema funciona da seguinte maneira,vocÊ digita !buyitem ele compra o item do shopping do seu ot por POINTS do shopping! talkaction function onSay(cid,words,param) special sword if (param == 'special sword') then local config = {itemid = 8932,cost = 20,name = 'a special Sword'} if CurrentPoints(getPlayerAccount(cid)) < config.cost then doPlayerSendCancel(cid, "Sorry, You need " .. config.cost .. " points to buy " .. config.name .. ".") elseif doRemovePremiumPoints(getPlayerAccount(cid), config.cost) == true then doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_GREEN,"You have bought " .. config.name .. ".") doPlayerAddItem(cid, config.itemid, 1) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_RED) else doPlayerSendCancel(cid, "Sorry, You need " .. config.cost .. " points to buy " .. config.name .. ".") end return true end end special sword else doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_RED,'parametro incorreto.') end return true end TAG: <talkaction words="!buyitem" event="script" value="buy.lua" /> vai em LIB no arquivo 050-function cole isto no final: function doRemovePremiumPoints(accountName, points) points = tostring(points) return db.executeQuery('UPDATE `accounts` SET `premium_points` = `premium_points` -' .. points .. ' WHERE `name` = ' .. db.escapeString(accountName) .. ' LIMIT 1;') end function CurrentPoints(accountName) playerpoints = db.getResult('SELECT `premium_points` FROM `accounts` WHERE `name` = ' .. db.escapeString(accountName) .. ' LIMIT 1;') return playerpoints:getDataInt("premium_points") end function doPlayerGiveItem(cid, itemid, amount, subType) local item = 0 if(isItemStackable(itemid)) then item = doCreateItemEx(itemid, amount) if(doPlayerAddItemEx(cid, item, true) ~= RETURNVALUE_NOERROR) then return false end else for i = 1, amount do item = doCreateItemEx(itemid, subType) PRONTO. créditos: Subwat Daniel Devotti
  15. recarregar SOFT e firewalker BOOTS por comando. SCRIPT: --[[ script By Subwat Repair soft e firewalker boots!]]-- function onSay(cid, words, param) local config = { price = 20000, new_soft = 6132, -- id da nova soft boots worn_soft = 10021, -- id da velha soft boots new_firewalker = 9933, -- id da firewalker boots worn_firewalker = 10022, -- id da velha firewalker boots needPremium = true -- se precisa ser premium (true or false) } if (config.needPremium == true) and (not isPremium(cid)) then doPlayerSendTextMessage(cid, 23, "only premium players can use that command.") return TRUE end if param == "soft" or param == "soft boots" then if getPlayerItemCount(cid, config.worn_soft) >= 1 then if doPlayerRemoveMoney(cid,config.price) == TRUE then doPlayerRemoveItem(cid,config.worn_soft,1) doPlayerAddItem(cid,config.new_soft, 1) doPlayerPopupFYI(cid,"you recharged your pair of soft boots!") end end return TRUE end if param == "firewalker" or param == "firewalker boots" then if getPlayerItemCount(cid, config.worn_firewalker) >= 1 then if doPlayerRemoveMoney(cid,config.price) == TRUE then doPlayerRemoveItem(cid,config.worn_firewalker,1) doPlayerAddItem(cid,config.new_firewalker, 1) doPlayerPopupFYI(cid,"you recharged your firewalker boots!") end end return TRUE end end TAG: <talkaction words="!repair;/repair" script="repair.lua"/> comando funciona assim você digita !repair soft boots,!repair firewalker boots ,ele repara suas botas por 20k. créditos: subwat
  16. o do heroserv nao vai points no site nao fih. vai ITEM points,que é por storage. e que eu sei fazer ,mas eu fiz por vip coin pois é mais interessante. xd
  17. Informação Bom pessoal,me baseando no servidor heroserv,que tem comandos parecidos,resolvi fazer um comando no qual você poderá comprar items donates e vende-los por comando,isso pode ser muito útil para otservers que vendam items VIPS. !sellitem este comando você poderá vender seus items VIPS por moedas VIP (vip coin). !buyitem este comando você poderá comprar items VIPS por moedas VIP (vip coin). segue abaixo os scripts,já tendo os items VIPS do heroserv,para venda e compra,mude as IDS conforme os items VIPS do seu server. COMANDO !buyitem function onSay(cid, words, param) if param == "wand" or param == "special wand" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,7424,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "axe" or param == "special axe" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,8925,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "club" or param == "special club" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,8929,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "sword" or param == "special sword" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,8932,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "arrow" or param == "special arrow" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,2352,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "bow" or param == "special bow" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,8853,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "hat" or param == "special hat" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,6096,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "armor" or param == "special armor" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,6095,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "legs" or param == "special legs" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,5918,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "boots" or param == "special boots" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,5462,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "shield" or param == "special shield" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,2527,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "life" or param == "life scroll" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,11539,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "mana" or param == "mana scroll" then if doPlayerRemoveItem(cid,11192,5) then doPlayerAddItem(cid,11523,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end end tag: <talkaction words="!buyitem" script="buyitems.lua"/> COMANDO !sellitem function onSay(cid, words, param) if param == "wand" or param == "special wand" then if doPlayerRemoveItem(cid,7424,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "axe" or param == "special axe" then if doPlayerRemoveItem(cid,8925,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "club" or param == "special club" then if doPlayerRemoveItem(cid,8932,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "arrow" or param == "special arrow" then if doPlayerRemoveItem(cid,2352,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "bow" or param == "special bow" then if doPlayerRemoveItem(cid,8853,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "boots" or param == "special boots" then if doPlayerRemoveItem(cid,5462,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "legs" or param == "special legs" then if doPlayerRemoveItem(cid,5918,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "armor" or param == "special armor" then if doPlayerRemoveItem(cid,6095,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "hat" or param == "special hat" then if doPlayerRemoveItem(cid,6096,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end if param == "shield" or param == "special shield" then if doPlayerRemoveItem(cid,2527,1) then doPlayerAddItem(cid,11192,5) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) else doPlayerSendCancel(cid, 'voce nao tem este item.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end end end TAG: <talkaction words="!sellitem" script="sellitems.lua"/> Créditos: Subwat (Gean Riot) gostou da um REP+,se não puder tudo bem vou entender. valeu. Esqueci de falar do vip coin. vai em items.xml procura pela ID 11192 e poe isso. <item id="11192" name="vip coin"> <attribute key="description" value="item de credito para sellitem e buyitem." /> <attribute key="weight" value="10" /> </item>
  18. absolute24h.servegame.com 24HORAS ONLINE HÁ 6 MESES FAZENDO A ALEGRIA DA GALERA contas pelo account manager mapa próprio.

  19. pra fazer sucesso,só vocÊ ser um noob,com 55 reais na mão comprar um dedicado,baixar um baiak lixo scroto q n caia,por 999x,e largar on... pronto ta fazendo sucesso.... hoje em dia é assim mesmo,nao adianta ter RPG,TER MAPA PROPRIO,TER coisas legais e tals,na adianta,tem que ser zuado o ot,tem que ser baiak e ser 999x,e milhares de TPS,E areas de hunt quadradas,e frost dragons no fogo. pode ter certeza que vai ficar famosão.
  20. você pegou de meu servidor riot server. fui eu que fiz,mas era por crystal coins. script original. function onSay(cid, words, param) local premium = "yes" -- Apenas players premium accounts "yes" or "no"!? if premium == "yes" and not isPremium(cid) then return doPlayerPopupFYI(cid,"Apenas Premium Account Podem Healar Sua estamina.") end if doPlayerRemoveItem(cid,2160,100) then doPlayerAddStamina(cid,100000000) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYAREA) doPlayerSendTextMessage(cid,25,"Você será kickado em 3 segundos Para adicionar a stamina.") addEvent(doRemoveCreature, 3*1000, cid, true) else doPlayerSendCancel(cid, 'You do not have 100 crystal coins.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FIREEAREA) end end como é uma potion nao fica legal usando talkaction,e sim usando uma action,na qual basta dar use no item. segue o exemplo abaixo function onUse(cid, item, fromPosition, itemEx, toPosition) local premium = "yes" -- Apenas players premium accounts "yes" or "no"!? if premium == "yes" and not isPremium(cid) then return doPlayerPopupFYI(cid,"you're not premium account.") end if item.itemid == 5468 then doRemoveItem(item.uid,item.type) doPlayerAddStamina(cid,100000000) doCreatureSay(cid, "stamina restored.", TALKTYPE_ORANGE_1) doPlayerSendTextMessage(cid,25,"Você será kickado em 3 segundos Para adicionar a stamina.") addEvent(doRemoveCreature, 3*1000, cid, true) end end tag em actions: <action itemid="5468" script="nomedoarquivo.lua" />
  21. absolute24h.servegame.com

  • Quem Está Navegando   0 membros estão online

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