
Tudo que Crypter postou
-
(Resolvido)[PEDIDO] Spell que drena mana do oponente
- (Resolvido)Cooldown em uma spell
~~By Cripter- (Resolvido)Convert Query
Qual erro que aparece quando você executa ?- Account Manager - Invalid Password
- [PEDIDO] Spell que puxa players ao redor
- Portão não some
o portal é removido so quando acabar o time. ["RB Goku SSJ4"] = {pos = {x=389, y=250, z=15}, toPos = {x=400, y=250, z=15}, time = 60}, o Portal so vai ser removido depois de 60 segundos ( time = 60 )- [TFS 0.4] Dodge System - Item duplicado otb
local config = { effectonuse = 29, -- efeito que sai levelscrit = 100, --- leveis que terão storagecrit = 98798644 -- storage que será verificado } function onUse(cid, item, frompos, item2, topos) print("Item esta sendo usado") if getPlayerStorageValue(cid, config.storagecrit) < config.levelscrit then doRemoveItem(item.uid, 1) doSendMagicEffect(topos,config.effectonuse) doPlayerSendTextMessage(cid,22,"Voce elevou seus dodges para ["..(getPlayerStorageValue(cid, config.storagecrit)+1).."/100].") setPlayerStorageValue(cid, config.storagecrit, getPlayerStorageValue(cid, config.storagecrit)+1) elseif getPlayerStorageValue(cid, config.storagecrit) >= config.levelscrit then doPlayerSendTextMessage(cid,22,"Voce ja chegou no nivel Maximo de Dodges.\nParabéns.") return false end return true end Testa a script e da usa no item caso não não mostrar nada no console ao usar o item você registrou errrado- [pedido] globalevents
Formata esse arquivo pra UTF-8 ( Sem bom)- Erro script tile donate
function onStepIn(cid, item, position, fromPosition) if isPlayer(cid) then if not isPremium(cid) then doTeleportThing(cid, fromPosition) doSendMagicEffect(fromPosition, CONST_ME_POFF) doPlayerSendCancel(cid, 'Local Exclusivo Para VIP\'s. acesse Mega-baiak.com ! Ou compre com o comando(!vip)') return false end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Bem vindo a Area VIP!') doSendMagicEffect(position, CONST_ME_MAGIC_RED) return true end end- (Resolvido)Correções em 2 scripts
function onLogin(cid) local rate = 1.2 -- 10% a mais de exp. local config = { Vip = "You have "..((rate - 1)*100).."% rom exp! Enjoy the benefits vip donate!", -- mensagem apenas para vip NotVip = "Hello player enjoy the benefits vip, you will win "..((rate - 1)*100).."% more than xp!", -- mensagem para quem não é vip } if not (string.find(tostring(getCreatureName(cid)),"Account Manager")) or getPlayerGroupId(cid) >= 3 then if isPremium(cid) == true then doPlayerSetExperienceRate(cid, rate) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.Vip) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.NotVip) end end return true end function onStepIn(cid, item, position, fromPosition) local tileConfig = { kickPos = fromPosition, kickEffect = CONST_ME_POFF, kickMsg = "You need to be a vip player to access this area.", enterMsg = "Welcome to vip area!", enterEffect = CONST_ME_MAGIC_RED, } if isPlayer(cid) == true then if isPremium(cid) == false then doTeleportThing(cid, tileConfig.kickPos) doSendMagicEffect(tileConfig.kickPos, tileConfig.kickEffect) doPlayerSendCancel(cid, tileConfig.kickMsg) return end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, tileConfig.enterMsg) doSendMagicEffect(position, tileConfig.enterEffect) return true end end- Erro items.xml cannot load items file
Errado: <item id="2125" name="black shorts"/> <attribute key="description" value="Recovery chakra in 100/s." /> <attribute key="weight" value="5400" /> <attribute key="armor" value="5" /> <attribute key="manaGain" value="70" /> <attribute key="manaTicks" value="500" /> <attribute key="showattributes" value="1" /> <attribute key="slotType" value="legs" /> </item> Correto <item id="2125" name="black shorts"> <attribute key="description" value="Recovery chakra in 100/s." /> <attribute key="weight" value="5400" /> <attribute key="armor" value="5" /> <attribute key="manaGain" value="70" /> <attribute key="manaTicks" value="500" /> <attribute key="showattributes" value="1" /> <attribute key="slotType" value="legs" /> </item> <item id="2125" name="black shorts"/> No 1 você esta fechando o item sem dar os atributos a ele entendeu? ai fica 1 </item> perdido e da erro. aqui eu você fecha com </item> , sem a barra /> na 1° linha <item id="2125" name="black shorts"> atributos </item>- Erro items.xml cannot load items file
Items(1).xml- alguem ajuda, script add item depot
function doPlayerAddDepotItems(cid, items, town) if (not isPlayer(cid)) then error("Player not found") end local town = town or getPlayerTown(cid) local parcel = doCreateItemEx(ITEM_PARCEL) for item, count in pairs(items) do if (type(item) == "number") then doAddContainerItem(parcel, item, count) elseif (type(item) == "string") then doAddContainerItem(parcel, getItemIdByName(item), count) else error("Undefinied type of item name") end end return doPlayerSendMailByName(getCreatureName(cid), parcel, town) end function onSay(cid, words, param) local param = param.explode(param, ',') if param then if isPlayer(getCreatureByName(param[1])) == TRUE then doPlayerSendTextMessage(getCreatureByName(param[1]), 22, "Seus pontos foram para o depot!") doPlayerAddDepotItems(getCreatureByName(param[1]),{[param[2]] = param[3]}) end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") end return true end- (Resolvido)Correções em 2 scripts
function onLogin(cid) local rate = 1.2 -- 10% a mais de exp. local config = { hasVip = "You have "..((rate - 1)*100).."% rom exp! Enjoy the benefits vip donate!", -- mensagem apenas para vip hasVip = "Hello player enjoy the benefits vip, you will win "..((rate - 1)*100).."% more than xp!", -- mensagem para quem não é vip } if not (string.find(tostring(getCreatureName(cid)),"Account Manager")) or getPlayerGroupId(cid) >= 3 then if isPremium(cid) == true then doPlayerSetExperienceRate(cid, rate) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.hasVip) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.hasVip) end end return true end- (Resolvido)Usar + de 2 buffs ao mesmo tempo
Mande um exemplo de buff que você usa no servidor.- Erro items.xml cannot load items file
Manda o items.xml- ajuda eu
---- By Crypter---- local acess = 4 -- apartir de que grupo vai pode passar function onStepIn(cid, item, position, fromPosition) if getPlayerAccess(cid) >= acess then doSendMagicEffect(getThingPos(cid), 12) else doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), 2) doPlayerSendTextMessage(cid, 25, "Você não pode passar aqui.") end return true end- Duplicar Spell
Sua Spell usa uma função com o mesmo nome. Poste a script- Ajuda - Não consigo utilizar o item no meu Poketibia
Manda print do item no item editor e object builder . ( Aperta a tecla Print Screen SysRq , e da Ctrl + V no paint e salva )- (Resolvido)[PEDIDO] Script que da items iniciais ao Logar.
function onLogin(cid) Significa que é um Creaturescripts do tipo Login .- Vocation não salva!!
È a correção da script Promote 1, teste e me diga o resultado- (Resolvido)[PEDIDO] Script que da items iniciais ao Logar.
local firstItems = { 1,--itemid 2, 3, 4, 5, 6, 7, } local bagid = 1999 function onLogin(cid) if not getCreatureName(cid) == "Account manager" then if getPlayerStorageValue(cid, 9999999) < 1 then for i=1, #firstItems do doPlayerAddItem(cid, firstItems[i], 1) end local bag = doPlayerAddItem(cid, bagid, 1) setPlayerStorageValue(cid, 9999999, 1) doPlayerSendCancel(cid,"Voce recebeu seus items !") end end return true end- Effect Ice Damage
Isso é na source- Erro data/creaturescripts/scripts/spawn.lua
Posta a script ninguem aqui faz milagre adivinhando codigo ahsahsahsahs- [Bug] NPC Oldrak
Ele fica dando essa mensagem porque o player precisar ter a Storage 35700,1 - (Resolvido)Cooldown em uma spell
Informação Importante
Confirmação de Termo