05-20-2013, 17:32 PM
alguem poderia me dizer ou passar um script certo pra quest de scavenger ?
eu achei esse aqui no fórum mesmo, mas dá um erro expected near 'highlight'
bl = true;
-------------------------------------------------------------------
function TalkPippiGetQuest()
ShowToClient("Pippi","Quest");
Sleep(2000);
TargetNpc("Pippi", 30524);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
ClickText("Say you want to become a Scavenger");
Sleep(2000);
invList = GetInventory();
for item in invList.list do
LetterOfRecommendationID = 1643;
if item.displayId == LetterOfRecommendationID then
Sleep(4000);
PippiGotoWirphy();
end;
end;
end;
function TalkWithMion()
ShowToClient("Mion","Search Letter");
Sleep(2000);
TargetNpc("Mion", 30519);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
ClickText("[path to scavenger]");
Sleep(2000);
ClickText("Say you will help with the work" or "All right!");
Sleep(2000);
invList = GetInventory();
for item in invList.list do
LetterID = 1646;
if item.displayId == LetterID then
ShowToClient("Goto","Wirphy >> Toma");
WirphyGotoToma();
else
invList = GetInventory();
for item in invList.list do
IngotID = 1647;
if item.displayId == IngotID then
ShowToClient("Goto","Bronk");
WirphyGotoBronk();
end;
invList = GetInventory();
for item in invList.list do
AxeID = 1648;
if item.displayId == AxeID then
ShowToClient("Goto","Shari");
WirphyGotoShari();
end;
invList = GetInventory();
for item in invList.list do
PotionID = 1649;
if item.displayId == PotionID then
ShowToClient("Goto","Zimenf");
WirphyGotoZimen();
end;
end;
end;
end;
end;
end;
end;
function TalkWithBronk()
ShowToClient("Bronk","Pay Ingot");
Sleep(2000);
TargetNpc("Bronk", 30525);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
BroknGotoWirphy();
end;
function TalkWithShari()
ShowToClient("Shari","Pay Axe");
Sleep(2000);
TargetNpc("Shari", 30517);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
ShariGotoWirphy();
end;
function TalkWithZimen()
ShowToClient("Zimen","Pay Potion");
Sleep(2000);
TargetNpc("Shari", 30517);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
ZimenGotoWirphy();
end;
function TalkWithWirphy()
ShowToClient("Teleport","Eastern");
Sleep(2000);
TargetNpc("Wirphy", 30540);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Teleportarse");
Sleep(2000);
end;
-------------------------------------------------------------------------
function WirphyGotoPippi()
ShowToClient("Goto","Pippi");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy --This is the line 124
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
MoveTo(115835, -183332, -1484, moveDistance); -- Bronze Key Guild
TalkPippiGetQuest();
end;
function PippiGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(115835, -183332, -1484, moveDistance); -- Bronze Key Guild
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
function WirphyGotoBronk()
ShowToClient("Goto","Bronk");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
TalkWithBronk();
end;
function BroknGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
function WirphyGotoShari()
ShowToClient("Goto","Shari");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
TalkWithShari();
end;
function ShariGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
function WirphyGotoZimen()
ShowToClient("Goto","Zimen");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithZimen();
end;
function ZimenGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
function WirphyGotoToma()
ShowToClient("Goto","Toma");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithWirphy();
end;
function TomaGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
----------------------------------------------------------------------------------
do
ShowToClient(">>> Quest","Path to Scavenger <<<");
Sleep(8000);
WirphyGotoPippi();
end;
---------------------------------------------------------------------------------
Sleep(3000);
ShowToClient(">>>Ver","Alfa. To be continue ...<<<");[/code]
eu achei esse aqui no fórum mesmo, mas dá um erro expected near 'highlight'
bl = true;
-------------------------------------------------------------------
function TalkPippiGetQuest()
ShowToClient("Pippi","Quest");
Sleep(2000);
TargetNpc("Pippi", 30524);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
ClickText("Say you want to become a Scavenger");
Sleep(2000);
invList = GetInventory();
for item in invList.list do
LetterOfRecommendationID = 1643;
if item.displayId == LetterOfRecommendationID then
Sleep(4000);
PippiGotoWirphy();
end;
end;
end;
function TalkWithMion()
ShowToClient("Mion","Search Letter");
Sleep(2000);
TargetNpc("Mion", 30519);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
ClickText("[path to scavenger]");
Sleep(2000);
ClickText("Say you will help with the work" or "All right!");
Sleep(2000);
invList = GetInventory();
for item in invList.list do
LetterID = 1646;
if item.displayId == LetterID then
ShowToClient("Goto","Wirphy >> Toma");
WirphyGotoToma();
else
invList = GetInventory();
for item in invList.list do
IngotID = 1647;
if item.displayId == IngotID then
ShowToClient("Goto","Bronk");
WirphyGotoBronk();
end;
invList = GetInventory();
for item in invList.list do
AxeID = 1648;
if item.displayId == AxeID then
ShowToClient("Goto","Shari");
WirphyGotoShari();
end;
invList = GetInventory();
for item in invList.list do
PotionID = 1649;
if item.displayId == PotionID then
ShowToClient("Goto","Zimenf");
WirphyGotoZimen();
end;
end;
end;
end;
end;
end;
end;
function TalkWithBronk()
ShowToClient("Bronk","Pay Ingot");
Sleep(2000);
TargetNpc("Bronk", 30525);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
BroknGotoWirphy();
end;
function TalkWithShari()
ShowToClient("Shari","Pay Axe");
Sleep(2000);
TargetNpc("Shari", 30517);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
ShariGotoWirphy();
end;
function TalkWithZimen()
ShowToClient("Zimen","Pay Potion");
Sleep(2000);
TargetNpc("Shari", 30517);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Quest");
Sleep(2000);
ZimenGotoWirphy();
end;
function TalkWithWirphy()
ShowToClient("Teleport","Eastern");
Sleep(2000);
TargetNpc("Wirphy", 30540);
Sleep(2000);
Talk();
Sleep(4000);
ClickText("Teleportarse");
Sleep(2000);
end;
-------------------------------------------------------------------------
function WirphyGotoPippi()
ShowToClient("Goto","Pippi");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy --This is the line 124
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
MoveTo(115835, -183332, -1484, moveDistance); -- Bronze Key Guild
TalkPippiGetQuest();
end;
function PippiGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(115835, -183332, -1484, moveDistance); -- Bronze Key Guild
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
function WirphyGotoBronk()
ShowToClient("Goto","Bronk");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
TalkWithBronk();
end;
function BroknGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
function WirphyGotoShari()
ShowToClient("Goto","Shari");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
TalkWithShari();
end;
function ShariGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(116657, -181415, -1411, moveDistance); -- Down Town
MoveTo(116631, -179934, -1162, moveDistance); -- Center Town
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
function WirphyGotoZimen()
ShowToClient("Goto","Zimen");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithZimen();
end;
function ZimenGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
function WirphyGotoToma()
ShowToClient("Goto","Toma");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithWirphy();
end;
function TomaGotoWirphy()
ShowToClient("Goto","Mion");
moveDistance = 30;
MoveTo(115411, -178490, -934, moveDistance); -- GK Wirphy
TalkWithMion();
end;
----------------------------------------------------------------------------------
do
ShowToClient(">>> Quest","Path to Scavenger <<<");
Sleep(8000);
WirphyGotoPippi();
end;
---------------------------------------------------------------------------------
Sleep(3000);
ShowToClient(">>>Ver","Alfa. To be continue ...<<<");[/code]