Page 1 of 1
tergothen bay "interesting info"
Posted: Sat Dec 24, 2011 12:38 am
by rubenr
There's this new event (since the 4.0.5 patch) in Tergothen bay. Lasts 18 minutes and you have to make red "!" quests to collect point. The one with most points earns 35 red shells.
Then there's a 2 minute cooldown. And it starts again.
Thing is: Hero stats costs 210 red shells and Crimson stats cost 150.
Meaning that if you reach 1st place for two hours (6 events), you get a random Hero stat (210 red shells).
This is much faster than DOD, where you can get 240 mementos an hour (1 minute per run). (480 in 2 hours) (In normal mode.)
Of course it is much more convenient if you have 3 or 4 characters farming dod, which will multiply the income x4, but you can leave afk players in tergothen bay and they will get red shells too. I have earn myself aprox. 50 red shells in 10 hours.
Re: tergothen bay "interesting info"
Posted: Sat Dec 24, 2011 1:01 am
by lisa
You only get the 35 shells if the 6000 is reached within the time limit, if not then you get like 4 shells.
Your calculations assume you win every time. On my server I am lucky to get 3rd place because people use teleport to go from quest giver to quest giver to hand in more quests and get more points. Event itself lasts less then 1 minute during busy periods.
Botting this event would get you a maximum of 2 quests to hand in if same NPC, so you are looking at maybe 600 points and busy periods 600 points won't even get you 3rd place.
Also the event quests are opened up by doing normal quests first. When you first arrive you will have 4 NPC with event quests.
So I guess it will depend on your server to whether it is worthwhile trying to do the event.
Re: tergothen bay "interesting info"
Posted: Fri Dec 30, 2011 12:40 pm
by Murky
how would i get my character to click the prisoner cages? thats only part im stuck on, thanks!
Re: tergothen bay "interesting info"
Posted: Fri Dec 30, 2011 7:38 pm
by lisa
start bot using
and then point your mouse at the object, if you look at Micromacro window you will see an ID for that object.
Then you can use this in your WP
obviously using the objects ID you got earlier where the code has ID.
Re: tergothen bay "interesting info"
Posted: Mon Jan 30, 2012 2:33 pm
by miesermetzler
Hello, remeber me from DoD Farming Concept? I think the same as you do. Farming the red Shells by our Bots can be more profitable. So i make the Quests at the Torog Caravane. No other players there to detect my Bot. My Question is how to get the bot wait until you have completetd parts of the Quests. My bot want to run to the Npc to complete the Quest. But he should complete all others first and wait until the Event starts again before he talks to the Npc´s. Unfortenatly i destroyed my Waypoint in a fit of rage. I get nuts if the Bot does what he want and not what i have coded. Its sounds strange, but its like im my KS-WP. I told my Mage to use NOT Flame until he reaches the first Boss. But, now and then he make Flame cast to kill the Mobs

Its harmless, he does 95% what i want him to do, only somtimes he had an independent existence/ a life of its own. But in my Profile or WP´s are no entry to do him so -.-
Re: tergothen bay "interesting info"
Posted: Mon Jan 30, 2012 5:23 pm
by kkulesza
Begin and end of that public encounter is announced by some client/lua-event.
I dont know wich one though

It's not "SYSTEM_MESSAGE" for sure.
Re: tergothen bay "interesting info"
Posted: Mon Jan 30, 2012 7:23 pm
by lisa
Re: tergothen bay "interesting info"
Posted: Tue Oct 02, 2012 7:12 pm
by miesermetzler
Hello,
in the new content near the Shadow Daily the mobs drop ( The Ants ) some Arrow Head with a Public Event within. In german Letztes Glück/ Last Luck?!. Ive searched Romdatabase and Buffed and didnt found the correct Item name or Questname, but i´ll think you know what i mean. So this quest gives about 450 points. I would be easy to win the event and rip off MANY valueable Items for Justice Points. BUT

you have to right click on the Arrowheads ( should be no problem to code that, even for me

) and then a popup apperars little story and where to go. My question is how to accept this kind of quest? Daylie Notes wont work, because you dont have a npc to talk to accept to end the quest in the cave . I have a working event timer from the flame event. Thats no problem.
Re: tergothen bay "interesting info"
Posted: Tue Oct 02, 2012 10:30 pm
by grande
Popup window? Try this:
http://www.theromwiki.com/API:StaticPopup_OnClick
I haven't been able to find this quest. Can you give a coord or better location? NPC name?
Re: tergothen bay "interesting info"
Posted: Wed Oct 03, 2012 12:18 am
by rock5
Quests that come from items are called border quests. They have their own accept command
http://www.theromwiki.com/API:AcceptBorderQuest
So use
Use the normal complete quest commands to complete the quest.
Re: tergothen bay "interesting info"
Posted: Wed Oct 03, 2012 11:09 am
by miesermetzler
So i tried to create a WP for the Event. Naturally it wont work
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
YourTargetScore = 3100
function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</onload>
<!-- # 1 --><waypoint x="-2705" z="-17946" y="810">
queststate = getQuestStatus("Letztes Gl\129ck");
while queststate == "incomplete" do
yrest(100);inventory:useItem("Pfeilspitze mit graviertem Namen");yrest(100);
RoMScript("AcceptBorderQuest()")
queststate = getQuestStatus("Letztes Gl\129ck");
end
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
player:target_NPC("Myan Kellas");
</waypoint>
<!-- # 3 --><waypoint x="-2705" z="-17946" y="810" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
</waypoint>
</waypoints>
It will not get the quest from the item.
I cant take it -.- what is wrong, all semms to be right?!
Edit: I change the WP to
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
YourTargetScore = 3100
function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</onload>
<!-- # 1 --><waypoint x="-2705" z="-17946" y="810">
inventory:useItem("Pfeilspitze mit graviertem Namen");yrest(100)
RoMScript("AcceptBorderQuest()")
queststate = getQuestStatus("Letztes Gl\129ck");
while queststate == "incomplete" do
yrest(100);inventory:useItem("Pfeilspitze mit graviertem Namen");yrest(100);
RoMScript("AcceptBorderQuest()")
queststate = getQuestStatus("Letztes Gl\129ck");
end
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
player:target_NPC("Myan Kellas");
</waypoint>
<!-- # 3 --><waypoint x="-2705" z="-17946" y="810" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
</waypoint>
</waypoints>
But want accept the Border quest. And i want to end the quest via Daylie Notes to prevent me from complicated scripts
The timer is working he will start when the envent begins open the border quest, but won´t accept it. And the NPC to end the quest is Myan Kellas.
Edit: Now i have made the WP like this
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
YourTargetScore = 3100
function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</onload>
<!-- # 1 --><waypoint x="-2705" z="-17946" y="810">
inventory:useItem("Pfeilspitze mit graviertem Namen");yrest(1000);
RoMScript("AcceptBorderQuest()")
player:target_NPC("Myan Kellas");
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
</waypoint>
<!-- # 3 --><waypoint x="-2705" z="-17946" y="810" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
</waypoint>
</waypoints>
Is this ok? I mean is if eventfinished at the right place and the other codes, too?
Fortunatley i wont crash MM, so it have to be right?! but the event-timer sometimes disappears and in this case it wont work. Some idea for a invincible timer?
Edit: with tihs WP i will work, but on my server you got only 1-3 seconds to end the quest but in the night when the real players fell asleep you can stay there and make the hole event on your on. I will try it tonight. Stay patient in Germany its 19:18 pm it will take some time
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onload>
YourTargetScore = 3100
function waitForEventStart()
repeat
yrest(1000) -- check every second
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count == 2 and YourTargetScore > ScorePE then break end
until false
end
function isEventFinished()
local namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= RoMScript("PE_GetInfo(1)")
if Count ~= 2 or ScorePE >= YourTargetScore then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
end
</onload>
<!-- # 1 --><waypoint x="-2705" z="-17946" y="810" tag="Home Base">
waitForEventStart()
__WPL:setForcedWaypointType("NORMAL")
inventory:useItem("Pfeilspitze mit graviertem Namen");yrest(2000);
RoMScript("AcceptBorderQuest()")
player:target_NPC("Myan Kellas");
if (isEventFinished()) then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Home Base"));
end
</waypoint>
</waypoints>
Re: tergothen bay "interesting info"
Posted: Wed Oct 03, 2012 11:28 am
by rock5
100ms might be too short a time to wait for the quest dialog to open. Try a second or 2.
Re: tergothen bay "interesting info"
Posted: Sat Oct 20, 2012 5:59 am
by xxcheeseyxx
I think I have almost a working code using the arrowheads, but unfortunately it accepts and turns in the quest good once. Then the window stays open instead of closing and the bot isn't able to accept another quest until the old window is closed. If I press the "Accept Quest" button manually it will clear the window (though the quest won't be accepted again since it's an old window). Im pretty sure if I could get some help to figure out how to close the window in the code, or if someone could fix the function to automatically close that window it would work. Here's the relevant code:
Code: Select all
<!-- # 16 --><waypoint x="-2704" z="-17940" y="822">
repeat
yrest(1000);
namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= sendMacro("PE_GetInfo(1)")
until namePH=="Stalemate"
</waypoint>
<!-- # 16 --><waypoint x="-2704" z="-17940" y="822" tag="turnin">
inventory:useItem("Arrowhead Carved with Name");yrest(500)
RoMScript("AcceptBorderQuest()"); yrest(500)
player:target_NPC("Myan Kellas");
CompleteQuestByName("Last Luck"); yrest(100);
namePE,messagePE,namePH,ScorePE,Count , IsScoreVisible= sendMacro("PE_GetInfo(1)")
if namePH=="Stalemate" then
if inventory:itemTotalCount("Arrowhead Carved with Name") > 10 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("turnin"))
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("killmore"))
end
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("turnin"))
end
</waypoint>
...I know it's a bit messy but I do what I can with my limited knowledge of coding

Any help is super appreciated!
Re: tergothen bay "interesting info"
Posted: Sat Oct 20, 2012 6:13 am
by Bubi
Re: tergothen bay "interesting info"
Posted: Sat Oct 20, 2012 6:16 am
by rock5
I think the frame might be called 'ScriptBorder'. Try
Re: tergothen bay "interesting info"
Posted: Sat Oct 20, 2012 6:23 am
by xxcheeseyxx
Wow that was fast, i'll give em a try, thanks!
Bad news is, RoMScript("CloseAllWindows()"); didnt do anything..
Good news is, RoMScript("ScriptBorder:Hide()") worked like gangbusters!
Thanks!
Re: tergothen bay "interesting info"
Posted: Fri Nov 16, 2012 5:13 am
by lisa
miesermetzler wrote:with tihs WP i will work, but on my server you got only 1-3 seconds to end the quest but in the night when the real players fell asleep you can stay there and make the hole event on your on. I will try it tonight. Stay patient in Germany its 19:18 pm it will take some time
glad you got it all sorted out, I've started to farm these things, drop rate isn't that great but the respawn of the mobs is awesome. I am just selling them to people at the moment, my chars are still to low of lvl to use them lol