Concerned Note(How to count it ?)

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
mikan656386
Posts: 7
Joined: Wed Jul 27, 2011 12:29 am

Concerned Note(How to count it ?)

#1 Post by mikan656386 » Wed Sep 11, 2013 9:32 pm

sorry, I ask
Concerned Note:
http://www.runesdatabase.com/quest/4249 ... erned-note
This task
Get a Positive Response * 10
How to count it into the finished state?
Thks

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Concerned Note(How to count it ?)

#2 Post by rock5 » Thu Sep 12, 2013 2:52 am

You could just check if the quest is complete.

Code: Select all

if getQuestStatus("Concerned Note") == "incomplete" then
    ... Keep delivering letters
else
    ... Go back to the npc.
end
If you actually want to know the count you can use my QuestLogClass userfunction. http://www.solarstrike.net/phpBB3/viewt ... 676#p40676

Eg.

Code: Select all

local quest = questlog:getQuest("Concerned Note")
local PositiveResponses = quest:getKillCount(1)
Then you can do what ever you want with PositiveResponses count.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

mikan656386
Posts: 7
Joined: Wed Jul 27, 2011 12:29 am

Re: Concerned Note(How to count it ?)

#3 Post by mikan656386 » Fri Sep 13, 2013 11:15 am

Thank rock5
The second scheme used to solve the problem!

There is a problem,
There are ways to set the time clock like Nao do certain actions do?
How to do it?

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Concerned Note(How to count it ?)

#4 Post by rock5 » Fri Sep 13, 2013 11:24 am

mikan656386 wrote:There are ways to set the time clock like Nao do certain actions do?
How to do it?
Sorry I didn't understand that, please try again. You want to set the time? You want to do something at a certain time? Who's Nao?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: Concerned Note(How to count it ?)

#5 Post by BlubBlab » Fri Sep 13, 2013 3:48 pm

mikan656386 wrote: Nao do
Google say that are animal free shoes from Brazil xD
and nao alone is North Atlantic Ozilation :D

Okay fun over "nao" is in Portuguese a negation liken none or don't.
What you can do is setup you char with e.g:(logout after 300 Minutes)
1.)

Code: Select all

<option name="LOGOUT_TIME" 			value="300" /> 
2.)
or register a function with a timer(In that function you can swap then a global var that will be check somewhere else)

Code: Select all

registerTimer("myfunction", secondsToTimer(10),myfunction);
3.) Haven't figured out yet that would be in pseudo code:

Code: Select all

If time > 6.00 p.m then 
          make something others
else
       make the usually stuff
end
I know time is table I would only need check and change some values
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

mikan656386
Posts: 7
Joined: Wed Jul 27, 2011 12:29 am

Re: Concerned Note(How to count it ?)

#6 Post by mikan656386 » Fri Sep 13, 2013 11:22 pm

sorry, this is the Google translation errors.....

My problem, set the time, to do something,

BlubBlab the code

Code: Select all

If time > 6.00 p.m then
          make something others
else
       make the usually stuff
end
That could work?

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Concerned Note(How to count it ?)

#7 Post by rock5 » Sat Sep 14, 2013 12:26 am

You can use os.date("*t") to return an actual table of time values. The table returns the following values.

Code: Select all

table.print(os.date("*t"))

min:    18
hour:   15
yday:   257
sec:    21
year:   2013
wday:   7
isdst:  false
day:    14
month:  9
So you could use something like

Code: Select all

date= os.date("*t")
if date.hour == 18 and date.min > 30 and 45> date.min then -- time between 6:30 pm and 6:45 pm
    do some stuff
else
    do some other stuff
end
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

mikan656386
Posts: 7
Joined: Wed Jul 27, 2011 12:29 am

Re: Concerned Note(How to count it ?)

#8 Post by mikan656386 » Sat Sep 14, 2013 8:22 pm

How to Set a regular time every day?

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Concerned Note(How to count it ?)

#9 Post by rock5 » Sat Sep 14, 2013 11:05 pm

What do you want to do every day?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests