
Histórico de Curtidas
-
TheNorth deu reputação a wallaceprado1 em Novo Launcherpoderia estar upando novamente? link esta quebrado @Neexo
-
TheNorth deu reputação a roach95 em Creaturescript party extra expBoa noite pessoal, andei procurando sobre scripts de extra exp pra party e li algo sobre creaturescript, que pode ser feito etc
Gostaria que fosse assim:
Ex: 1 monstro da 1000 de exp, quando é morto por 1 player sozinho (todos os monstros, não um monstro específico)
Se estiver na party com 2 players, não quero vocação quero quantidade de players, esse mesmo monstro está dando atualmente 500 de exp para ambos.
Eu quero que seje diferente, porém configurável.
2 players: +40% de exp
3 players: +80% de exp
4 players ou mais: +100% de exp
No exemplo do monstro que dá 1000 de exp ficaria assim:
2 players: 1000 xp / 2 players = 500 de exp + 40% bonus = 700 de xp
3 players: 1000 xp / 3 players = 333 de exp + 80% bonus = 599 de xp
4 players ou mais: 1000 xp / 4 players = 250 de exp + 100% bonus = 500 de xp
TFS 0.4
-
TheNorth deu reputação a Emersonssss em Ajuda Castle 24hrs absolute (exp bonus)Muito simples meu amigo, no seu sistema você não esta pegando o rate atual e adc mais....vc esta setando um novo rate do 0
Tente Assim.
Troque esses 2 Scripts por este :
function onLogin(cid) local rate = 1 local rate_premium = 0.35 local rate_castle = 0.10 local storage = 201320111714 local days = getPlayerPremiumDays(cid) local config = { yes_premium = "Você tem "..((rate - 1)*100).."% de EXP em vantagem, ainda lhe restam "..days.." dias de VIP!", not_premium = "Tornesse VIP e tenha "..((rate - 1)*100).."% a mais de EXP!", winCastle = "Você Tem "..((rate - 1)*100).."% De Experiencia A mais Agora.(Bonus Castle).", lostCastle = "A Sua Guild Nao Conquistou a Castle" } if isPremium(cid) and getGlobalStorageValue(storage) == getPlayerGuildName(cid) then doPlayerSetExperienceRate(cid, rate + rate_premium + rate_castle) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, config.yes_premium) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, config.winCastle) end if not isPremium(cid) and getGlobalStorageValue(storage) == getPlayerGuildName(cid) then doPlayerSetExperienceRate(cid, rate + rate_castle) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, config.not_premium) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, config.winCastle) end if not isPremium(cid) and not getGlobalStorageValue(storage) == getPlayerGuildName(cid) then doPlayerSetExperienceRate(cid, rate) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, config.not_premium) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, config.lostCastle) end return true end -
TheNorth deu reputação a acesso123 em Castle 24 horas!http://www.tibiaking.com/forum/topic/35731-castle-war-24h-conquiste-o-trono/
http://www.tibiaking.com/forum/topic/33713-evento-blood-castle-autom%C3%A1tico/
-
TheNorth deu reputação a ViitinG em Evento War CastleOlá galera,vou disponibilizar o mapa para o evento War Castle feito pelo Absolute,espero que gostem !
Link para o tópico do script do evento : http://www.tibiaking.com/forum/topic/35731-castle-war-24h-conquiste-o-trono/
Imagens:
Coordenada do mapa : {x = 1000, y = 1000, z = 7}
Download : Link
Scan : https://www.virustotal.com/pt/url/ab5a9f73db53a3cac3b1e624ccf1e7fe95caf378ef374a0fa260a896cba7f9e6/analysis/1403050891/
-
TheNorth deu reputação a Cat em Como programar o Server save "ss" de meu servidor ?Se alguém precisar do arquivo:
Em data/globalevents/scripts crie um arquivo serversave.lua
local shutdownAtServerSave = false local cleanMapAtServerSave = false local function serverSave() if shutdownAtServerSave then Game.setGameState(GAME_STATE_SHUTDOWN) else Game.setGameState(GAME_STATE_CLOSED) if cleanMapAtServerSave then cleanMap() end Game.setGameState(GAME_STATE_NORMAL) end end local function secondServerSaveWarning() broadcastMessage("Server is saving game in one minute. Please logout.", MESSAGE_STATUS_WARNING) addEvent(serverSave, 60000) end local function firstServerSaveWarning() broadcastMessage("Server is saving game in 3 minutes. Please logout.", MESSAGE_STATUS_WARNING) addEvent(secondServerSaveWarning, 120000) end function onTime(interval) broadcastMessage("Server is saving game in 5 minutes. Please logout.", MESSAGE_STATUS_WARNING) Game.setGameState(GAME_STATE_STARTUP) addEvent(firstServerSaveWarning, 120000) return not shutdownAtServerSave end
Em data/globalevents/globalevents.xml adicione a linha:
Se quiser traduzir para o português edite estas três linhas:
broadcastMessage("O jogo sera salvo em um minuto. Por favor, deslogue.", MESSAGE_STATUS_WARNING) broadcastMessage("O jogo sera salvo em 3 minutos. Por favor, deslogue.", MESSAGE_STATUS_WARNING) broadcastMessage("O jogo será salvo em 5 minutos. Por favor, deslogue.", MESSAGE_STATUS_WARNING)
Para modificar como a mensagem aparecerá para o server:
MESSAGE_FIRST MESSAGE_EVENT_ORANGE MESSAGE_STATUS_CONSOLE_ORANGE MESSAGE_STATUS_WARNING MESSAGE_EVENT_ADVANCE MESSAGE_EVENT_DEFAULT MESSAGE_STATUS_DEFAULT MESSAGE_INFO_DESCR MESSAGE_STATUS_SMALL MESSAGE_STATUS_CONSOLE_BLUE MESSAGE_STATUS_CONSOLE_RED
-
TheNorth deu reputação a GabrielSv em [Pedido] Addons BonusVá em PastaDoSeuOt/data/XML/outfits e mude:
<outfit id="1">
<list gender="0" lookType="136" name=" Citizen ">
<attribute speed="10"/>
<stats maxHealth="100"/>
</list>
<list gender="1" lookType="128" name=" Citizen ">
<attribute speed="10"/>
<stats maxHealth="100"/>
</list>
</outfit>
<outfit id="2">
<list gender="0" lookType="137" name=" Hunter ">
<skills dist="3"/>
</list>
<list gender="1" lookType="129" name=" Hunter ">
<skills dist="3"/>
</list>
</outfit>
<outfit id="3">
<list gender="0" lookType="138" name=" Mage ">
<stats magLevel="2"/>
<stats maxMana="200"/>
</list>
<list gender="1" lookType="130" name=" Mage ">
<stats magLevel="2"/>
<stats maxMana="200"/>
</list>
</outfit>
<outfit id="4">
<list gender="0" lookType="139" name=" Knight ">
<skills sword="3"/>
</list>
<list gender="1" lookType="131" name=" Knight ">
<skills sword="3"/>
</list>
</outfit>
<outfit id="5" premium="yes">
<list gender="0" lookType="140" name=" Noblewoman ">
<skills club="3"/>
</list>
<list gender="1" lookType="132" name=" Nobleman ">
<skills club="3"/>
</list>
</outfit>
<outfit id="6" premium="yes">
<list gender="0" lookType="141" name=" Summoner ">
<stats magLevel="3"/>
<stats maxMana="200"/>
</list>
<list gender="1" lookType="133" name=" Summoner ">
<stats magLevel="2"/>
<stats maxMana="200"/>
</list>
</outfit>
<outfit id="7" premium="yes">
<list gender="0" lookType="142" name="Warrior">
<skills melee="3"/>
</list>
<list gender="1" lookType="134" name="Warrior">
<skills melee="3"/>
</list>
</outfit>
<outfit id="8" premium="yes">
<list gender="0" lookType="147" name="Barbarian">
<skills axe="5"/>
<skills sword="2"/>
<skills club="2"/>
<stats maxHealth="200"/>
</list>
<list gender="1" lookType="143" name="Barbarian">
<skills axe="3"/>
<skills sword="2"/>
<skills club="2"/>
<stats maxHealth="200"/>
</list>
</outfit>
<outfit id="9" premium="yes">
<list gender="0" lookType="148" name="Druid">
<stats magLevel="3"/>
<absorb percentPoison="5"/>
</list>
<list gender="1" lookType="144" name="Druid">
<stats magLevel="3"/>
<absorb percentPoison="5"/>
</list>
</outfit>
<outfit id="10" premium="yes">
<list gender="0" lookType="149" name="Wizard">
<stats magLevel="1"/>
<stats maxHealth="100"/>
<stats maxMana="200"/>
<absorb percentDeath="5"/>
</list>
<list gender="1" lookType="145" name="Wizard">
<stats magLevel="1"/>
<stats maxHealth="100"/>
<stats maxMana="200"/>
<absorb percentDeath="5"/>
</list>
</outfit>
<outfit id="11" premium="yes">
<list gender="0" lookType="150" name="Oriental">
<stats maxHealth="200"/>
<stats maxMana="200"/>
<attribute speed="50"/>
</list>
<list gender="1" lookType="146" name="Oriental">
<stats maxHealth="200"/>
<stats maxMana="200"/>
<attribute speed="50"/>
</list>
</outfit>
<outfit id="12" premium="yes">
<list gender="0" lookType="155" name="Pirate">
<stats maxHealth="100"/>
<skills club="5"/>
</list>
<list gender="1" lookType="151" name="Pirate">
<stats maxHealth="100"/>
<skills club="5"/>
</list>
</outfit>
<outfit id="13" premium="yes" >
<list gender="0" lookType="156" name="Assassin">
<attribute speed="80"/>
<skills dist="3"/>
<stats magLevel="2"/>
</list>
<list gender="1" lookType="152" name="Assassin">
<attribute speed="80"/>
<skills dist="3"/>
<stats magLevel="2"/>
</list>
</outfit>
<outfit id="14" premium="yes" >
<list gender="0" lookType="157" name="Beggar">
<absorb percentAll="5"/>
</list>
<list gender="1" lookType="153" name="Beggar">
<absorb percentAll="5"/>
</list>
</outfit>
<outfit id="15" premium="yes" >
<list gender="0" lookType="158" name="Shaman">
<stats magLevel="2"/>
<absorb percentEnergy="5"/>
</list>
<list gender="1" lookType="154" name="Shaman">
<stats magLevel="2"/>
<absorb percentEnergy="5"/>
</list>
</outfit>
<outfit id="16" premium="yes" >
<list gender="0" lookType="252" name="Norsewoman">
<skills shielding="5"/>
<absorb percentIce="15"/>
<stats maxHealth="200"/>
<skills club="3"/>
<stats magLevel="2"/>
</list>
<list gender="1" lookType="251" name="Norseman">
<skills shielding="5"/>
<absorb percentIce="15"/>
<stats maxHealth="200"/>
<skills club="3"/>
<stats magLevel="2"/>
</list>
</outfit>
<outfit id="17" premium="yes" >
<list gender="0" lookType="269" name="Nightmare">
<skills shielding="5"/>
<absorb percentPhysical="15"/>
</list>
<list gender="1" lookType="268" name="Nightmare">
<skills shielding="5"/>
<absorb percentPhysical="15"/>
</list>
</outfit>
<outfit id="18" premium="yes">
<list gender="0" lookType="270" name="Jester">
<stats maxMana="100"/>
<attribute speed="50"/>
<stats maxHealth="100"/>
</list>
<list gender="1" lookType="273" name="Jester">
<stats maxMana="100"/>
<attribute speed="50"/>
<stats maxHealth="100"/>
</list>
</outfit>
<outfit id="19" premium="yes">
<list gender="0" lookType="279" name="Brotherhood">
<stats magLevel="3"/>
<absorb percentDeath="5"/>
<stats maxHealth="100"/>
</list>
<list gender="1" lookType="278" name="Brotherhood">
<stats magLevel="3"/>
<absorb percentDeath="5"/>
<stats maxHealth="100"/>
</list>
</outfit>
<outfit id="20" premium="yes" >
<list gender="0" lookType="288" name="Demonhunter">
<attribute speed="10"/>
<stats maxHealth="300"/>
<absorb percentFire="5"/>
</list>
<list gender="1" lookType="289" name="Demonhunter">
<attribute speed="10"/>
<stats maxHealth="300"/>
<absorb percentFire="5"/>
</list>
</outfit>
<outfit id="21" premium="yes" >
<list gender="0" lookType="324" name="Yalaharian">
<attribute speed="20"/>
<stats magLevel="2"/>
<stats maxHealth="250"/>
<stats maxMana="250"/>
</list>
<list gender="1" lookType="325" name="Yalaharian">
<attribute speed="20"/>
<stats magLevel="2"/>
<stats maxHealth="250"/>
<stats maxMana="250"/>
</list>
</outfit>
<outfit id="22" premium="yes">
<list gender="0" lookType="336" name="Warmaster">
<stats maxMana="200"/>
<stats maxHealth="200"/>
<stats magLevel="2"/>
<absorb percentHoly="5"/>
</list>
<list gender="1" lookType="335" name="Warmaster">
<stats maxMana="200"/>
<stats maxHealth="200"/>
<stats magLevel="2"/>
<absorb percentHoly="5"/>
</list>
</outfit>
Explicação:
Vermelho: nome do outfit
Verde: o bonus que vai dar com o outfit full