Ir para conteúdo
Banner com Efeitos

Black Fenix

Membro
  • Registro em

  • Última visita

Tudo que Black Fenix postou

  1. @Emanueldk faz aquilo ali q o cara botou que vai funcionar ?
  2. @Emanueldk Seu serve ta em experiencie por stage ? pra ver proucure por experienceStages = true se tiver em true ai ja e pra editar em outro lugar da uma olhadinha ai e me diz
  3. Para editar a Exp você tem que abrir o config.lua e localizar rateExperience = e editar ao seu gosto lembrando que sempre que fazer uma modificação salve o arquivo. e se você estiver on no ot de ADM use o comando /reload config, para testar suas modificações ao seu gosto.
  4. Se voce botasse o seu script e os Erros Talvez seriam mais facil para os cara te ajudar
  5. Bom como o titulo ja diz eu tou tentando compilar uma source, Fiz tudo passo a passo certo porem na parte de adicionar o paramêtro " Alt + P" aparece o seguinto Erro:
  6. @Sttorm @L3K0T Caramba nem pensei nessa possibilidade kk Vlw mais uma vez ? REP+
  7. Entendi entao Vlw , terei que proucurar alguma source de nto
  8. Realmente mais o poblema e que como tou editando nto , nao tenho as sources o que e bastante dificel de arrumar as sources de um nto
  9. Eu fiz um quest e botei o boss sendo um obstaculo que para passar precisaria matar o boss porem que precisaria que o boss nao se Mova tipo ficar parado num mesmo sqm Script do meu Boss <?xml version="1.0" encoding="UTF-8"?> <monster name="Boss" nameDescription="Boss" race="blood" experience="45" speed="750" manacost="0"> <health now="20650989" max="20650989"/> <look type="530" head="0" body="94" legs="79" feet="79" corpse="2908"/> <targetchange interval="9000" chance="100"/> <strategy attack="5" defense="5"/> <flags> <flag summonable="1"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="1"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="65"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="1000" min="-1010" max="-1140"/> <attack name="manadrain" interval="1000" chance="10" range="7" min="-1160" max="-1215"> <attribute key="areaEffect" value="redshimmer"/> </attack> <attack name="Great Ball" interval="3500" chance="100" radius="4" target="0" min="-13340" max="-13600"> </attack> </attacks> <defenses armor="80" defense="80"> <defense name="healing" interval="4000" chance="40" min="300" max="300"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="4000" chance="40" speedchange="450" duration="8000"> <attribute key="areaEffect" value="redshimmer"/> </defense> </defenses> <elements> <element physicalPercent="20"/> <element icePercent="10"/> <element holyPercent="-15"/> <element deathPercent="35"/> </elements> <immunities> <immunity poison="1"/> <immunity lifedrain="1"/> <immunity outfit="1"/> <immunity drunk="1"/> <immunity invisible="1"/> </immunities> <voices interval="5000" chance="10"> <voice sentence="Ssssshhhhh.." yell="1"/> <voice sentence="Kinjutsu..."/> <voice sentence="Snakes go..."/> </voices> <loot> <item id="2160" countmax="86" chance="10000"/><!-- gold bar --> <item id="2534" countmax="1" chance="15000"/><!-- orochimaru tunic --> <item id="8869" countmax="1" chance="15000"/><!-- orochimaru boots --> <item id="7389" countmax="1" chance="15000"/><!-- sasuke legs --> <item id="2133" countmax="1" chance="15000"/><!-- fake kage mask --> <item id="7877" countmax="1" chance="15000"/><!-- imperium sowrd --> <item id="2647" countmax="1" chance="5000"/><!-- third hokage mask --> </loot> </monster>
  10. na verdade eu estava precisando mesmo de um script sem mexer nas sources
  11. Bom como o titulo ja diz eu estou precisando de uma script que o summon teleporte para onde voce for , atravessar portais, subir escada quem tiver uma dessa poderia me passar ? Dou Rep+ Obs: Já ativei no Config.lua teleportAllSummons = true teleportPlayerSummons = true Porem o summon nao teleportar quando atravessa o portal ou sobe escada. Enfim quem Poder me ajudar com essa script eu agradeço!.
  12. @Sttorm Funcionou Perfeitamente!!! Vlw REP+ EDIT: So tem um pequeno poblema o efeito que é pra ficar em cima do monstro fica do lado dele @Sttorm
  13. Como transformo essa magia utilizável para monstros sem da o error (luaDoPlayerSendCancel) Player not found. Script da Magia local tempo = 60 -- tempo em segundos. local ml = 40 -- quantos ira aumentar o skill de ML local skillfist = 0 -- quantos ira aumentar o skill de Fist local skillsword = 15 -- quantos ira aumentar o skill de Sword local skillaxe = 0 -- quantos ira aumentar o skill de Axe local skillclub = 15 -- quantos ira aumentar o skill de Club local skilldistance = 15 -- quantos ira aumentar o skill de Distance local skillshield = 0 -- quantos ira aumentar o skill de Shield local health = 25 -- A cada 1 segundo quantos aumentar de vida local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, ml) setConditionParam(condition, CONDITION_PARAM_SKILL_FIST, skillfist) setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, skillsword) setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, skillaxe) setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub) setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance) setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield) setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit) setCombatCondition(combat, condition) local condition = createConditionObject(CONDITION_HASTE) setConditionParam(condition, CONDITION_PARAM_SPEED, 300) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE) setCombatCondition(combat, condition) local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_SUBID, 1) setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, health) setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 1000) setCombatCondition(combat, condition) function onCastSpell(cid, var) if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then doCombat(cid, combat, var) setPlayerStorageValue(cid, 102053,1) repeatEff(cid, 185, 120) doCreatureSay(cid, "Perfect Susanoo", TALKTYPE_MONSTER) else doPlayerSendCancel(cid, "Sorry, you are transformed.") end end
  14. Salve galera!, Seria possivel usar Effect novos ? porque tipo eu adicionei mais efeitos no meu serv porem, quando eu boto na script para aparecer o efeito ele nao aparece. Obs: ja compilei o efeito para o client!. Os unicos efeito que pega nas script sao de 0 ate 68 no meu serv e eu queria mais que isso tipo doSendMagicEffect(fromPosition, 124) -- "124" um dos novo efeito que eu adicionei
  15. Salve galera, no meu serv possui alguns comando de castle sendo eles esses !pushmembers;!gocastle;!castlepush. So que ao usar esses comandos mostra uma mensagem " [CoH] Você deve estar dentro do castle". E quando eu to no castle e uso o comando e mostra essa mesma mensagem. Alguem poderia me ajudar nisso Por Favor Valendo 3 REP+. Meu Script:
  16. @Vodkart Funcionou Perfeitamente amigo!! REP +3
  17. Olá , Eu to com uma script de Fly system porem eu queria que essa script tivesse alguns " X " lugares que nao pode-se usar o comando !fly Valendo 3 REP+ Meu Script
  18. Olá , eu botei o famoso Upgrade System no meu server porem quando um player refina ate +7 e mostra mensagem na brodcast e eu gostaria de tirar Me ajudem nisso Valendo REP+ Data/lib --[[ PERFECT UPGRADE SYSTEM 2.0 Criado por Oneshot É proibido a venda ou a cópia sem os devidos créditos desse script. ]]-- UpgradeHandler = { levels = { [1] = {100, false, false}, [2] = {90, false, false}, [3] = {75, false, false}, [4] = {60, true, false}, [5] = {45, true, false}, [6] = {30, true, false}, [7] = {25, true, false}, [8] = {20, true, true}, [9] = {15, true, true}, [10] = {10, true, true}, [11] = {10, true, true}, [12] = {5, true, true} }, broadcast = 7, attributes = { ["attack"] = 2, ["defense"] = 1, ["armor"] = 1 }, message = { console = "Trying to refine %s to level +%s with %s%% success rate.", success = "You have upgraded %s to level +%s", fail = "You have failed in upgrade of %s to level +%s", downgrade = "The upgrade level of %s has downgraded to +%s", erase = "The upgrade level of %s has been erased.", maxlevel = "The targeted %s is already on max upgrade level.", notupgradeable = "This item is not upgradeable.", broadcast = "The player %s was successful in upgrading %s to level +%s.\nCongratulations!!", invalidtool = "This is not a valid upgrade tool.", toolrange = "This upgrade tool can only be used in items with level between +%s and +%s" }, tools = { [8306] = {range = {0, 10}, info = {chance = 0, removeable = true}}, }, isEquipment = function(self) local weaponType = self:getItemWeaponType() return ((weaponType > 0 and weaponType < 7) or self.item.armor ~= 0) end, setItemName = function(self, name) return doItemSetAttribute(self.item.uid, "name", name) end, chance = function(self) local chances = {} chances.upgrade = (self.levels[self.item.level + 1][1] or 100) chances.downgrade = (self.item.level * 5) chances.erase = (self.item.level * 3) return chances end } function UpgradeHandler:new(item) local obj, ret = {} obj.item = {} obj.item.level = 0 obj.item.uid = item.uid for key, value in pairs(getItemInfo(item.itemid)) do obj.item[key] = value end ret = setmetatable(obj, {__index = function(self, index) if _G[index] then return (setmetatable({callback = _G[index]}, {__call = function(self, ...) return self.callback(item.uid, ...) end})) else return UpgradeHandler[index] end end}) if ret:isEquipment() then ret:update() return ret end return false end function UpgradeHandler:update() self.item.level = (tonumber(self:getItemName():match("%+(%d+)")) or 0) end function UpgradeHandler:refine(uid, item) if not self.item then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, self.message.notupgradeable) return "miss" end local tool = self.tools[item.itemid] if(tool == nil) then doPlayerSendTextMessage(uid, MESSAGE_EVENT_DEFAULT, self.message.invalidtool) return "miss" end if(self.item.level > #self.levels) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.maxlevel:format(self.item.name)) return "miss" end if(self.item.level < tool.range[1] or self.item.level >= tool.range[2]) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.toolrange:format(unpack(tool.range))) return "miss" end local chance = (self:chance().upgrade + tool.info.chance) doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, self.message.console:format(self.item.name, (self.item.level + 1), math.min(100, chance))) if(tool.info.removeable == true) then doRemoveItem(item.uid, 1) end if chance * 100 > math.random(1, 10000) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_ORANGE, self.message.success:format(self.item.name, (self.item.level + 1))) if (self.item.level + 1) >= self.broadcast then doBroadcastMessage(self.message.broadcast:format(getCreatureName(uid), self.item.name, (self.item.level + 1))) end self:setItemName((self.item.level > 0 and self:getItemName():gsub("%+(%d+)", "+".. (self.item.level + 1)) or (self:getItemName() .." +1"))) for key, value in pairs(self.attributes) do if getItemAttribute(self.item.uid, key) ~= nil or self.item[key] ~= 0 then doItemSetAttribute(self.item.uid, key, (self.item.level > 0 and getItemAttribute(self.item.uid, key) or self.item[key]) + value) end end return "success" else if(self.levels[self.item.level][3] == true and (self:chance().erase * 100) > math.random(1, 10000)) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.erase:format(self.item.name)) self:setItemName(self.item.name) for key, value in pairs(self.attributes) do if self.item[key] > 0 then doItemSetAttribute(self.item.uid, key, self.item[key]) end end elseif(self.levels[self.item.level][2] == true and (self:chance().downgrade * 100) > math.random(1, 10000)) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.downgrade:format(self.item.name, (self.item.level - 1))) self:setItemName((self.item.level == 1 and self.item.name or self:getItemName():gsub("%+(%d+)", "+".. (self.item.level - 1)))) for key, value in pairs(self.attributes) do if getItemAttribute(self.item.uid, key) ~= nil or self.item[key] ~= 0 then doItemSetAttribute(self.item.uid, key, (self.item[key] + value * (self.item.level - 1))) end end else doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.fail:format(self.item.name, (self.item.level + 1))) end return "fail" end end
  19. Estou dentro de Precisar ?
  20. @Luis360 Cara Vlw Vc é um Gênio REP + 3 Vlw ? EDIT: @Luis360 se puder me ajuda em mais 1 pequeno bug agradeço ! quando um player usa o item ele chamar o protetor porem ele pode passar para outro player chamar o protetor ttbm! se me ajuda nisso dou mais Rep+
  21. @Emanueldk pelo o object builder so da pra vc compilar as spr ja o dat vc usa o dat editor
  22. @Luis360 vo testa jaja digo o resultado Edit: Eu testei e deu o seguinte erro [30/04/2018 09:58:26] [Error - LuaScriptInterface::loadFile] data/actions/scripts/bonus/mystic protector.lua:27: ')' expected near 'ï' [30/04/2018 09:58:26] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/bonus/mystic protector.lua) [30/04/2018 09:58:26] data/actions/scripts/bonus/mystic protector.lua:27: ')' expected near 'ï' @Luis360
  23. @Luis360 o Script parou de funcionar! Deu os Seguntes Erros [29/04/2018 18:51:24] [Error - LuaScriptInterface::loadFile] data/actions/scripts/bonus/mystic protector.lua:7: unexpected symbol near 'if' [29/04/2018 18:51:24] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/bonus/mystic protector.lua) [29/04/2018 18:51:24] data/actions/scripts/bonus/mystic protector.lua:7: unexpected symbol near 'if'
  24. Olá Galera hj peço que me ajudem nisso por favor! Eu tenho um script e esse script ao usa 1 item chama um Protetor porem nesse mesmo script eu queria que ele tivesse algumas coisas tais como: - tempo que poderar usa o item novamente "sendo esse tempo podendo ser editado por eu ". - Nao poder usar tal item em area protection zone. Meu Script function onUse(cid, item, frompos, item2, topos) storage = 4191 storsol = 1203 if #getCreatureSummons(cid) > 1 then doPlayerSendCancel(cid,"Voce ja chamou seu Protetor!.") end if getPlayerStorageValue(cid,storsol) == 1 then local z = getCreatureSummons(cid)[1] addEvent(setPlayerStorageValue,100,cid,storsol,-1) doPlayerSay(cid,"Volte Protector!",TALKTYPE_ORANGE_1) doSendMagicEffect(getCreaturePosition(z), 2) doSendDistanceShoot(getCreaturePosition(z), getPlayerPosition(cid), 16) doRemoveCreature(z) end local summons = getCreatureSummons(cid) local pet = { ["Rinnegan [Protector]"] = {201,1000}, ["Rinnegan [Protector]"] = {201,1000} } for k,v in pairs(pet) do -- 1 if getPlayerStorageValue(cid,storsol) < 1 then if getPlayerLevel(cid) >= v[1] and getPlayerLevel(cid) < v[2] then -- 2 if (table.maxn(summons) < 1)then -- 3 x = doSummonCreature(k, getCreaturePosition(cid)) doConvinceCreature(cid, x) setPlayerStorageValue(cid,4194,1) setPlayerStorageValue(cid,storsol,1) doCreatureSay(cid, k ..", go!", TALKTYPE_ORANGE_1) doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 152) end end end end return true end Valendo 3 REP+
  25. @matheusmoura97 Voce tem que entender para caramba de C++ e eu mesmo nao sei mecher nisso mais tem outro jeito tbm , mais nao testei tenta ai vai em Lib e delete o arquivo level system

Informação Importante

Confirmação de Termo