Keeping the Veiled Encampment Disguised Chrisalya's daily.

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
metralla123
Posts: 11
Joined: Fri Jul 22, 2011 8:52 pm

Keeping the Veiled Encampment Disguised Chrisalya's daily.

#1 Post by metralla123 » Wed Oct 31, 2012 12:28 pm

Hello guys, I have created a waypoint for the Chrisalya's daily ones, but still putting the command "daily" takes the public mission, I have everything updated with rom/update and SVN update, there is some another form of which it takes the daily mission?.
Attachments
Keeping the Veiled Encampment Disguised.xml
(1.59 KiB) Downloaded 412 times

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

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#2 Post by rock5 » Wed Oct 31, 2012 12:44 pm

Do you still have the old questbyname userfunction? If so, get rid of it, the questbyname functions are part of the bot now.
  • 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

metralla123
Posts: 11
Joined: Fri Jul 22, 2011 8:52 pm

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#3 Post by metralla123 » Wed Oct 31, 2012 1:30 pm

Ahh ok, tomorrow I will prove it. Thank you very much Rock5.

kobold
Posts: 3
Joined: Sun Apr 01, 2012 10:25 pm

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#4 Post by kobold » Tue Jan 08, 2013 10:49 pm

TY for sharing it works great :D

User avatar
solembum05
Posts: 57
Joined: Tue Jun 19, 2012 8:29 am

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#5 Post by solembum05 » Wed Jan 09, 2013 8:11 pm

Hi,

I share your waypoint (i did some modification)
but my files is only for French client, if you want use for an other client, you need change name of item ;)

You need addon dailynotes, you can find on curse client ;) (Need configure dailynote for this dailyquest ^^)

Modification:
- Use mount
- You can choice if you want use daily rest card


Thx Metralla123 ;)
Attachments
Keeping the Veiled Encampment Disguised New.xml
(1.46 KiB) Downloaded 348 times
Forget yesterday, live today and dream tomorrow.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#6 Post by lisa » Wed Jan 09, 2013 9:00 pm

Oooh ooh ooh I want to post mine aswell ;)

works any language, with 30% mount pot takes around 17-18 seconds a hand in.

Steps to success
1. Change public or daily at the top of the file.
2. grab a coffee and relax
72veiled.xml
(1.73 KiB) Downloaded 528 times
Uses daily reset if you have them and set it to do "daily".
If set to "public" it stops while on countdown timer waiting for event to start.
Basically you don't need to do anything but start it.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

nylan
Posts: 6
Joined: Tue Dec 13, 2011 4:02 am

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#7 Post by nylan » Fri Jan 11, 2013 5:41 am

Hi lisa

I have a Problem with your script.

Code: Select all

Did not find any crashed game clients.
IGF:[string "?"]:434: attempt to index `button`<a nil value>
Can you helpme, please?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#8 Post by lisa » Fri Jan 11, 2013 7:57 pm

nylan wrote:Hi lisa

I have a Problem with your script.

Code: Select all

Did not find any crashed game clients.
IGF:[string "?"]:434: attempt to index `button`<a nil value>
Can you helpme, please?
That looks like an issue with something else, IGF is the addon ingamefunctions which the bot uses, there is not mention of "button" in my waypoint file.
In fact the current bot file doesn't go up to 434 lines and has no mention of a variable named "button" in the file.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

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

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#9 Post by rock5 » Sat Jan 12, 2013 6:09 am

The "IGF:" basically means the error came from inside the game as a response to a RoMScript. That error was the result. These errors are usually a lot harder to track down because 'button' may not have been used in the script but a variable that held 'button'.
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#10 Post by lisa » Sat Jan 12, 2013 6:46 pm

do you get the error when you first start the waypoint or is it afterwards?
if it is when you first start just replace this line

Code: Select all

questname = RoMScript('TEXT("Sys425481_name")')
with your language name for the quest
ie.

Code: Select all

questname = "Keeping"
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
solembum05
Posts: 57
Joined: Tue Jun 19, 2012 8:29 am

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#11 Post by solembum05 » Mon Jan 28, 2013 7:12 am

Hi,

Nice work, but i got some probleme when i use for public, some time the timer disappear so the bot do nothing, i try to include a condition but not:

Something like this:

Code: Select all

if (timer not her)
go on this waypoint
check timer is her
go waypoind(index)
wait for event
end
i try to do something but when i change something on your code nothing work >< Do you have an idea ?
Forget yesterday, live today and dream tomorrow.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#12 Post by lisa » Mon Jan 28, 2013 7:28 am

solembum05 wrote:Nice work, but i got some probleme when i use for public,
Did you mean mine?

this is the part that waits for the event

Code: Select all

		if questtype == "public" then
			local __,__,__,Score,Count = RoMScript("PE_GetInfo(1)")
			if Count ~= 2 then
				print("Waiting for event to start")
				yrest(1000)
				repeat
					local __,__,__,Score,Count = RoMScript("PE_GetInfo(1)")
					yrest(1000)
				until Count == 2
			end
		end
So you are saying the event info isn't on screen and so the function fails?

Add in a print before

Code: Select all

if Count ~= 2 then
something like

Code: Select all

print(Count)
I suspect that Count must be nil if the function fails.
If it is nil then we can deal with it.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
solembum05
Posts: 57
Joined: Tue Jun 19, 2012 8:29 am

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#13 Post by solembum05 » Mon Jan 28, 2013 11:04 am

In game when we are Veiled Encampment Disguised on Chrisalya's map we got a timer for know when the next event. But if we don't move of Veiled Encampment Disguised, the timer disappear.

And the bot need this timer for work, if timer disappear bot do nothing, just waiting event...
So you are saying the event info isn't on screen and so the function fails?
yes ;)

i add:

Code: Select all

print(Count)
and i got "1" (without "")

I got all time 1
Forget yesterday, live today and dream tomorrow.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#14 Post by lisa » Thu Jan 31, 2013 5:20 am

I knew there was a post I had forgotten about.
solembum05 wrote:I got all time 1
Unfrtunately 1 is the value returned when the timer is ticking down before the event starts, so we can't use that in game function to determine if the timer is actually working on your screen or not.

I seem to remember someone posting having a similar issue with the timer disappearing, I don't recall off hand if there was a solution for it or not.

The timer never vanishes for me so it is difficult for me to come up with a solution as I can't even test it. Once upon a time I did find the event timer in memory but I couldn't get any reliable pointers for it.

If I get some spare time I might have another look at getting the info direct from memory.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

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

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#15 Post by rock5 » Thu Jan 31, 2013 5:23 am

lisa wrote:I seem to remember someone posting having a similar issue with the timer disappearing, I don't recall off hand if there was a solution for it or not.
I seem to remember they would check if the frame is visible. If not they would run to a point outside the zone and back in again.
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#16 Post by lisa » Thu Jan 31, 2013 6:30 am

give this a try, game ver 5.0.7.2611

pointers were unreliable, deleted code
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

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

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#17 Post by rock5 » Thu Jan 31, 2013 9:22 am

Give what a try? :shock:
  • 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
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#18 Post by lisa » Thu Jan 31, 2013 8:42 pm

rock5 wrote:Give what a try?
lisa wrote:pointers were unreliable, deleted code
It is annoying me that on my 64bit machine the pointer is always working fine but on my 32bit it doesn't =(

you can try it if you want.

--=== code on the next post ===--

I am down to 670 pointers in my scan which are staying true on 64bit but none work on 32bit.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#19 Post by lisa » Thu Jan 31, 2013 9:03 pm

Seems to be a difference between 64bit and 32bit OS and how it works in the lower region of memory, less than 200000

So I came up with this

Code: Select all

function eventscore()
	local read1 
	read1 = memoryReadRepeat("intptr",getProc(), addresses.staticTablePtr - 0x40 ,{0x3CC,0x4B8,0x230,0x94,0x90})
	if not read1 then --32bit code didn't work, try 64bit.
		read1 =  memoryReadRepeat("intptr",getProc(), addresses.staticTablePtr - 0x40 ,{0x338,0x38,0x230,0x94,0x90})
	end
	return read1
end
value returned will be the current total score of the event, not your score or it will be the time remaining before event starts again, in miliseconds.
120000 = 2 mins.
So you can do a check for score more than 6000 which is the maximum total score, it might get a value of 3000 when there is 3 seconds left before event starts though as the timer seems to update every 10 seconds and with 3 seconds as last digit, 53,43,33,23,13,3.

The other way to tell if event isw active or not is to look at the last offset as 0x94, this value is either 6000 or not 6000, 6000 being event is active and that is of course the maximum score, not 6000 means event not active and waiting for timer to count down.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

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

Re: Keeping the Veiled Encampment Disguised Chrisalya's dail

#20 Post by rock5 » Fri Feb 01, 2013 12:54 am

That reminds me, we had a similar issue with getting the game version from memory. It was in 2 different locations in memory for 64 and 32 bit systems. I'll have to keep in mind that if I deal with any memory addresses less than 200000 that it will probably be different for 32 bit.
  • 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: No registered users and 1 guest