Ir para conteúdo

Featured Replies

Postado

Hello everyone here's some actions I used to unblock quest/access in some of the available data packs around.

You can try using different items to unblock each quest or you can use one to unblock all of them at once (I think, I haven't try it that way but it should hahaha)

Anyways let me tell how is done, and I hope it will help someone ;D..

 

1. Think the name of the Item you want to use to unblock the quest, in this case I will be using the Draken Doll (ID:20625)(It may vary on your items.obt make sure you have the right ID.)

2. make a file in actions/other/zao_doll.lua. with the fallowing code.

function onUse(player, cid, item, fromPosition, target, toPosition, isHotkey)
	if player:getStorageValue(Storage.TheNewFrontier.Questline) <=27 then
		player:removeItem(20625, 1)
		doSendMagicEffect(getCreaturePosition(cid), 28)
		player:setStorageValue(Storage.TheNewFrontier.Questline, 28)
		player:setStorageValue(Storage.TheNewFrontier.Mission01, 3)
		player:setStorageValue(Storage.TheNewFrontier.Mission02, 6)
		player:setStorageValue(Storage.TheNewFrontier.Mission03, 3)
		player:setStorageValue(Storage.TheNewFrontier.Mission04, 2)
		player:setStorageValue(Storage.TheNewFrontier.Mission05, 7)
		player:setStorageValue(Storage.TheNewFrontier.Mission06, 3)
		player:setStorageValue(Storage.TheNewFrontier.Mission07, 3)
		player:setStorageValue(Storage.TheNewFrontier.Mission08, 2)
		player:setStorageValue(Storage.TheNewFrontier.Mission09, 3)
		player:setStorageValue(Storage.TheNewFrontier.Mission10, 1)
		player:setStorageValue(Storage.TheNewFrontier.TomeofKnowledge, 12)
		player:setStorageValue(Storage.TheNewFrontier.Beaver1, 1)
		player:setStorageValue(Storage.TheNewFrontier.Beaver2, 1)
		player:setStorageValue(Storage.TheNewFrontier.Beaver3, 1)
		player:setStorageValue(Storage.TheNewFrontier.BribeKing, 1)
		player:setStorageValue(Storage.TheNewFrontier.BribeLeeland, 1)
		player:setStorageValue(Storage.TheNewFrontier.BribeExplorerSociety, 1)
		player:setStorageValue(Storage.TheNewFrontier.BribeWydrin, 1)
		player:setStorageValue(Storage.TheNewFrontier.BribeTelas, 1)
		player:setStorageValue(Storage.TheNewFrontier.BribeHumgolf, 1)
		player:setStorageValue(Storage.ChildrenoftheRevolution.Questline, 21)
		player:setStorageValue(Storage.ChildrenoftheRevolution.Mission00, 2)
		player:setStorageValue(Storage.ChildrenoftheRevolution.Mission01, 3)
		player:setStorageValue(Storage.ChildrenoftheRevolution.Mission02, 5)
		player:setStorageValue(Storage.ChildrenoftheRevolution.Mission03, 3)
		player:setStorageValue(Storage.ChildrenoftheRevolution.Mission04, 6)
		player:setStorageValue(Storage.ChildrenoftheRevolution.Mission05, 3)
		player:setStorageValue(Storage.ChildrenoftheRevolution.SpyBuilding01, 1)
		player:setStorageValue(Storage.ChildrenoftheRevolution.SpyBuilding02, 1)
		player:setStorageValue(Storage.ChildrenoftheRevolution.SpyBuilding03, 1)
		player:setStorageValue(Storage.ChildrenoftheRevolution.StrangeSymbols, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.Questline, 34)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission01, 3)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission02, 3)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission03, 3)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission04, 3)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission05, 3)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission06, 4)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission07, 6)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission08, 2)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission09, 2)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission10, 6)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission11, 2)
		player:setStorageValue(Storage.WrathoftheEmperor.Mission12, 0)
		player:setStorageValue(Storage.WrathoftheEmperor.CrateStatus, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.GuardcaughtYou, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.ZumtahStatus, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.PrisonReleaseStatus, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.GhostOfAPriest01, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.GhostOfAPriest02, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.GhostOfAPriest03, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.InterdimensionalPotion, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.BossStatus, 1)
		player:setStorageValue(Storage.WrathoftheEmperor.platinumReward, 0)
		player:setStorageValue(Storage.WrathoftheEmperor.backpackReward, 0)
		player:setStorageValue(Storage.WrathoftheEmperor.mainReward, 0)
		player:setStorageValue(Storage.WrathoftheEmperor.TeleportAcess, 1)
		player:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE)
        -- Quest Addons
		player:addOutfit(335, 2)
		player:addOutfit(336, 2)
		player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Quest Unlocked...")
	else
		player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You already unlocked this quest.")
	end
	return true
end

3. Edit file scripts/scripts.xml and add this: (make sure you use the ID of the Item you choose).

<action itemid="20625" script="other/zao_doll.lua" />

4. Reload actions and that's it it should work. You can make as many as you want for different quest or what not.

 

 

 

 

Here's a list of some quest I have tested just copy the values and add them or exchange them for your convenience just change the value of the quest line -1  from the value of each quest

 

Inquisition Quest Values:

player:setStorageValue(Storage.TheInquisition.Questline, 25)
player:setStorageValue(Storage.TheInquisition.Mission01, 7)
player:setStorageValue(Storage.TheInquisition.Mission02, 3)
player:setStorageValue(Storage.TheInquisition.Mission03, 6)
player:setStorageValue(Storage.TheInquisition.Mission04, 3)
player:setStorageValue(Storage.TheInquisition.Mission05, 3)
player:setStorageValue(Storage.TheInquisition.Mission06, 3)
player:setStorageValue(Storage.TheInquisition.Mission07, 4)
player:setStorageValue(Storage.TheInquisition.GrofGuard, 1)
player:setStorageValue(Storage.TheInquisition.KulagGuard, 1)
player:setStorageValue(Storage.TheInquisition.TimGuard, 1)
player:setStorageValue(Storage.TheInquisition.WalterGuard, 1)
player:setStorageValue(Storage.TheInquisition.StorkusVampiredust, 1)
player:setStorageValue(Storage.TheInquisition.EnterTeleport, 1)
player:addOutfitAddon(288, 3)
player:addOutfitAddon(289, 3)
player:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE)
player:addAchievement('Demonbane')

Shattered Islands Values:

player:setStorageValue(Storage.TheShatteredIsles.DefaultStart, 1)
player:setStorageValue(Storage.TheShatteredIsles.TheGovernorDaughter, 3)
player:setStorageValue(Storage.TheShatteredIsles.TheErrand, 2)
player:setStorageValue(Storage.TheShatteredIsles.AccessToMeriana, 1)
player:setStorageValue(Storage.TheShatteredIsles.APoemForTheMermaid, 3)
player:setStorageValue(Storage.TheShatteredIsles.ADjinnInLove, 5)
player:setStorageValue(Storage.TheShatteredIsles.AccessToLagunaIsland, 1)
player:setStorageValue(Storage.TheShatteredIsles.AccessToGoroma, 1)
player:setStorageValue(Storage.TheShatteredIsles.Shipwrecked, 2)
player:setStorageValue(Storage.TheShatteredIsles.DragahsSpellbook, 1)
player:setStorageValue(Storage.TheShatteredIsles.TheCounterspell, 4)

Yalahar Quest:

player:setStorageValue(Storage.InServiceofYalahar.Questline, 53)
player:setStorageValue(Storage.InServiceofYalahar.Mission01, 6)
player:setStorageValue(Storage.InServiceofYalahar.Mission02, 8)
player:setStorageValue(Storage.InServiceofYalahar.Mission03, 6)
player:setStorageValue(Storage.InServiceofYalahar.Mission04, 6)
player:setStorageValue(Storage.InServiceofYalahar.Mission05, 8)
player:setStorageValue(Storage.InServiceofYalahar.Mission06, 5)
player:setStorageValue(Storage.InServiceofYalahar.Mission07, 5)
player:setStorageValue(Storage.InServiceofYalahar.Mission08, 4)
player:setStorageValue(Storage.InServiceofYalahar.Mission09, 2)
player:setStorageValue(Storage.InServiceofYalahar.Mission10, 5)
player:setStorageValue(Storage.InServiceofYalahar.SewerPipe01, 1)
player:setStorageValue(Storage.InServiceofYalahar.SewerPipe02, 1)
player:setStorageValue(Storage.InServiceofYalahar.SewerPipe03, 1)
player:setStorageValue(Storage.InServiceofYalahar.SewerPipe04, 1)
player:setStorageValue(Storage.InServiceofYalahar.DiseasedDan, 1)
player:setStorageValue(Storage.InServiceofYalahar.DiseasedBill, 1)
player:setStorageValue(Storage.InServiceofYalahar.DiseasedFred, 1)
player:setStorageValue(Storage.InServiceofYalahar.AlchemistFormula, 1)
player:setStorageValue(Storage.InServiceofYalahar.BadSide, 1)
player:setStorageValue(Storage.InServiceofYalahar.GoodSide , 1)
player:setStorageValue(Storage.InServiceofYalahar.MrWestDoor, 1)
player:setStorageValue(Storage.InServiceofYalahar.MrWestStatus, 1)
player:setStorageValue(Storage.InServiceofYalahar.TamerinStatus, 1)
player:setStorageValue(Storage.InServiceofYalahar.MorikSummon, 1)
player:setStorageValue(Storage.InServiceofYalahar.QuaraState, 1)
player:setStorageValue(Storage.InServiceofYalahar.QuaraSplasher, 1)
player:setStorageValue(Storage.InServiceofYalahar.QuaraSharptooth, 1)
player:setStorageValue(Storage.InServiceofYalahar.QuaraInky, 1)
player:setStorageValue(Storage.InServiceofYalahar.MatrixState, 1)
player:setStorageValue(Storage.InServiceofYalahar.NotesPalimuth, 1)
player:setStorageValue(Storage.InServiceofYalahar.NotesAzerus, 1)
player:setStorageValue(Storage.InServiceofYalahar.DoorToAzerus, 1)
player:setStorageValue(Storage.InServiceofYalahar.DoorToBog, 1)
player:setStorageValue(Storage.InServiceofYalahar.DoorToLastFight, 1)
player:setStorageValue(Storage.InServiceofYalahar.DoorToMatrix, 1)
player:setStorageValue(Storage.InServiceofYalahar.DoorToQuara, 1)
player:setStorageValue(Storage.InServiceofYalahar.DoorToReward, 1)

 

 

I will be posting some others as soon as I finish them.. 

any questions I'll be glad to help:)

I'm sorry for writing in English but I can't speak Portuguese:(

Editado por Reeke
Typos and Errors (veja o histórico de edições)

  • Respostas 10
  • Visualizações 1.7k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • I'm not sure if I understand what you mean but If you use each doll for each quest make sure you change the line: if player:getStorageValue(Storage.TheNewFrontier.Questline) <=27 then a

  • NIIICEE

Postado
  • Autor
1 minute ago, sirarcken said:

 

More putting it on the server will be appearing that questlog has been updated , every entry in the server?

 

The message shows once every each mission its updated, it will take a few seconds/minutes to not show the message by itself depending how many you added or you can just log out and log in..

Its pretty much the same thing when you raise your levels/skills with the /addskill command it will show all advancements until its done, I don't know how to fix that thou but to be honest it doesn't bother me, Just log out and log in haha

Postado
1 minuto atrás, Reeke disse:

 

The message shows once every each mission its updated, it will take a few seconds/minutes to not show the message by itself depending how many you added or you can just log out and log in..

Its pretty much the same thing when you raise your levels/skills with the /addskill command it will show all advancements until its done, I don't know how to fix that thou but to be honest it doesn't bother me, Just log out and log in haha

 

I got it , because yesterday I did, and the way I had done every time I go out and entered the server appeared , his questlog been updated ... more was not her that I had used was one that I could do msm kkk thank you friend.

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Conteúdo Similar

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo