-
Posts
53 -
Joined
-
Last visited
Alezzo's Achievements
-
[Encerrado] [Encerrado] Algumas duvidas sobre scripts
Alezzo replied to Alezzo's topic in Tópicos Sem Resposta
Sobre o numero dois, voce me ensina. Por favor ? -
Não, ainda nao possuo. Eu queria impletar, inclusive eu vi alguns sistemas no forum. Mas estes pareciam ser imcompletos ....
-
Ola, pessoinhas Eu queria fazer alguns pedidos, se não forem incomodar, e claro ! Primeiro - Tem algum tipo de spell desse tipo: A Spell x, foi ativada. Afetando o inimigo múltiplas vezes (3x). O cálculo do dano de ataque é baseado em seu nível mágico. Segundo - Um sistemsa de Reset, que mostra os detalhes do reset do personagem e que esses resets possam aparecer, quando voce da "look" em outros personagens Terceiro - Hunts com um determinado numero de Resets
-
Fala ai pessoal, eu estou sumido há um tempo, mas ainda tenho duvidas sobre scripts, etc.. Primeiro - O que são Conditions, em spells ? Segundo - Como colocar diferentes tipos de danos elementais em Wands, Runas, Swords, etc .... Terceiro - E possivel criar novos itens a partir as skins originais do jogo ? Quarto - Tem como criar um "OffLine Trainer", na versão 8.6 ?
-
Memoria RAM : 8GB Processador: Intel core I7 4960k
-
Foi mal, haha. Marco, consegui resolver o problema em relação a isso, a solução para isso era a instalação do Runtime C++ 2015. Outra coisa, porque a TFS para de responder, depois de alguns minutos.
-
Fala ai Matheus, Parabéns pelo post ! Cara estou enfrentando um problema com relação a TFS 1.2, o problema segue abaixo com a imagem:
-
fala ai pessoal, de boas ? alguem poderia me esclarecer uma duvida, e possivel adicionar um intervalo entre horas para os players pegarem os itens do bau, mesmo terem matado o boss ? minha action scripts local config = { questStorage = 724877, bossStorage = 724800, item = {18422, 5} -- itemid, amount } function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, config.bossStorage) >= 1 then if getPlayerStorageValue(cid, config.questStorage) >= 1 then doPlayerSendTextMessage(cid, 25, "Desculpe, mas voce ja completou essa quest!") return false end doPlayerAddItem(cid, config.item[1], config.item[2]) setPlayerStorageValue(cid, config.questStorage, 1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Parabens! Voce recebeu "..config.item[2].." "..getItemNameById(config.item[1])..".") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYDAMAGE) return true else doPlayerSendTextMessage(cid, 25, "The chest is empty.") end return false end
-
Estou com o erro abaixo : meu Login.lua local config = { loginMessage = getConfigValue('loginMessage') } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "killer") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "attackguild") registerCreatureEvent(cid, "advance") registerCreatureEvent(cid, "FimVip") registerCreatureEvent(cid, "DeathC") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "PlayerKill") registerCreatureEvent(cid, "ZombieAttack") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "SkullAmulet") registerCreatureEvent(cid, "BlessDrop") registerCreatureEvent(cid, "DeathList") registerCreatureEvent(cid, "GalaxySkullAmulet") registerCreatureEvent(cid, "BloquearMagia") registerCreatureEvent(cid, "onPrepareDeathinifi") registerCreatureEvent(cid, "Aurea") registerCreatureEvent(cid, "checkNewTop") registerCreatureEvent(cid, "LevelRecompense") registerCreatureEvent(cid, "NewAol") registerCreatureEvent(cid, "NewAol2") registerCreatureEvent(cid, "bossKill") registerCreatureEvent(cid, "bossKill2") if (InitArenaScript ~= 0) then InitArenaScript = 1 end for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end -- if he did not make full arena 1 he must start from zero if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 2 he must start from zero if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 3 he must start from zero if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) -- did not arena level end setPlayerStorageValue(cid, 42350, 0) -- time to kick 0 setPlayerStorageValue(cid, 42352, 0) -- is not in arena function Vodka(cid) db.executeQuery("UPDATE `players` SET `name` = '"..string.sub(getCreatureName(cid), 7).."' WHERE `id` = "..getPlayerGUID(cid)) doRemoveCreature(cid) end if getCreatureName(cid):find('(VIP)') and getPlayerStorageValue(cid, 85258) - os.time() <= 0 then doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) addEvent(Vodka,2000,cid) end registerCreatureEvent(cid, "Rankfrags") setFrags(cid) return true end
-
Estou com o erro abaixo : meu Login.lua local config = { loginMessage = getConfigValue('loginMessage') } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "killer") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "attackguild") registerCreatureEvent(cid, "advance") registerCreatureEvent(cid, "FimVip") registerCreatureEvent(cid, "DeathC") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "PlayerKill") registerCreatureEvent(cid, "ZombieAttack") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "SkullAmulet") registerCreatureEvent(cid, "BlessDrop") registerCreatureEvent(cid, "DeathList") registerCreatureEvent(cid, "GalaxySkullAmulet") registerCreatureEvent(cid, "BloquearMagia") registerCreatureEvent(cid, "onPrepareDeathinifi") registerCreatureEvent(cid, "Aurea") registerCreatureEvent(cid, "checkNewTop") registerCreatureEvent(cid, "LevelRecompense") registerCreatureEvent(cid, "NewAol") registerCreatureEvent(cid, "NewAol2") registerCreatureEvent(cid, "bossKill") registerCreatureEvent(cid, "bossKill2") if (InitArenaScript ~= 0) then InitArenaScript = 1 end for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end -- if he did not make full arena 1 he must start from zero if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 2 he must start from zero if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 3 he must start from zero if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) -- did not arena level end setPlayerStorageValue(cid, 42350, 0) -- time to kick 0 setPlayerStorageValue(cid, 42352, 0) -- is not in arena function Vodka(cid) db.executeQuery("UPDATE `players` SET `name` = '"..string.sub(getCreatureName(cid), 7).."' WHERE `id` = "..getPlayerGUID(cid)) doRemoveCreature(cid) end if getCreatureName(cid):find('(VIP)') and getPlayerStorageValue(cid, 85258) - os.time() <= 0 then doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) addEvent(Vodka,2000,cid) end registerCreatureEvent(cid, "Rankfrags") setFrags(cid) return true end
-
mesmo assim, obrigado !!! Duvida sanada
-
@Bruno Minervino,cara, Muito Obrigado !!!! sem querer ser chato, mas voce poderia colocar um aviso do tipo "parabens por matar o boss x, pode pegar sua recompensa"
-
@Bruno Minervino, apareceu esse erro dentro da pasta scripts, actions.
-
Muito obrigado cara, mas e preciso colocar o: <script> <event name=""/> </script> ne isso ? @Bruno Minervino coloquei o script aqui e nao funcionou olhe o erro que aparece
-
E quase parecido com o topico acima, porem nao quero um tempo entre minutos e nao pegar o bau novamente . Tipo assim, matei o boss, com o boss ja morto posso pegar o bau dele, entendeu ?!
-
Recently Browsing 0 members
- No registered users viewing this page.