Constellation (Zodiac) Pets

Talk about anything in Runes of Magic. This does not need to pertain to botting.
Message
Author
kkulesza
Posts: 150
Joined: Fri May 27, 2011 9:00 pm
Location: Poland

Constellation (Zodiac) Pets

#1 Post by kkulesza » Thu Jun 14, 2012 10:25 am

In Chapter V we have new kind of pets.
In it's legendary form they can give you buff +75% drop chance, so they will be pretty useful for boting.
To make this pet we need transmutor charges + special mats (Wind Elements at current zodiac phase).
You can get those special mats from minigame on varans bridge.
There are 4 stations with Element Converters.
When you start the game you get 4 Wind Elements.
If you end the game with high score you get more prizes.
The higher the score the more prizes you get but there are some wide score ranges.
I got 1 prize for 136 points and 202 points as well. None prizes for 112 points and lower. 2 prizes for 213 points.
You can Exchange those prizes for extra wind elements.
I find it very hard to get high score manually, so I'm thinking of making a bot for this minigame.
So far i've managed to figure out IDs of those "energy balls"
here is my code so far:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
--120910,120917 green
--120911,120918 blue
--120912,120919 red
tEnergyBalls={120910,120911,120912,120917,120918,120919}

while true do
	for i,id in ipairs(tEnergyBalls) do
		mytarget=nil
		mytarget=player:findNearestNameOrId(id)
		if mytarget~=nil then
			--if 	mytarget.Y>45 then
				--player:target(mytarget)
				teleport(mytarget.X, mytarget.Z, mytarget.Y)
				printf("\nid="..tostring(id))
				yrest(99)
			--end
		else
			printf("-")
		end
		player:update();
	end
end
</onLoad>
</waypoints>
IDs :120910,120911,120912 are up in the air just like those balls on the screen
IDs:120917,120918,120919 are on the ground. Looks like their invisible.


Problem is: I cant figure out how to recognize if ball is big or small.

If you have any idea pls help :)

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

Re: Constellation (Zodiac) Pets

#2 Post by rock5 » Thu Jun 14, 2012 12:02 pm

So the id doesn't change if they're big or small? That will make it tough. I'll definately want one of those pets but I'm on rom4u that hasn't updated yet.

So is that particular game only for wind elements or do you choose? There are other elements right?
  • 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

kkulesza
Posts: 150
Joined: Fri May 27, 2011 9:00 pm
Location: Poland

Re: Constellation (Zodiac) Pets

#3 Post by kkulesza » Thu Jun 14, 2012 2:20 pm

rock5 wrote:So the id doesn't change if they're big or small?
It doesn't :(
rock5 wrote: So is that particular game only for wind elements or do you choose? There are other elements right?
Yes, wind only. That is because it is Gemini zodiac May 21 - June 20, and gemini pets are in the wind group.

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

Re: Constellation (Zodiac) Pets

#4 Post by rock5 » Thu Jun 14, 2012 2:50 pm

I had a look at it. I'm not sure I understood it. When you start it, all 5 things in front start lighting up. So which color do you press? The one in front of you? The biggest one?
  • 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

kkulesza
Posts: 150
Joined: Fri May 27, 2011 9:00 pm
Location: Poland

Re: Constellation (Zodiac) Pets

#5 Post by kkulesza » Thu Jun 14, 2012 4:57 pm

You can hit any color you want with a corresponding skill.
If you do it when a ball is small you get +2 points.
If you do it when a ball is big you get +6 points.
If you don't hit a ball and it will blow up by it self you get -1 point.

P.S. Here is a good link about zodiac pets:
http://forum.us.runesofmagic.com/showthread.php?t=71944

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

Re: Constellation (Zodiac) Pets

#6 Post by lisa » Thu Jun 14, 2012 7:09 pm

I had a read of the post you linked, very informative.

My guess at this stage is the models are set up as movements and timer based, so the pawn info won't change but there will be a timer somewhere for it.
If you can match orbs when they are at their largest (right before they explode), you get +6 points.
I might have a poke around later and see what I can see.
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: Constellation (Zodiac) Pets

#7 Post by lisa » Thu Jun 14, 2012 7:36 pm

ok initial testing.

First game I scored -6, got 4 wind element
I had models all off and motions so I had no idea what was going on lol

Second char I scored 163, got 4 element + 1 universal component
had models and motions back on.

Ok little more info on how it works.

click the machine to start it, you then get a buff to say you are concentrating lol
you also get another buff which counts your score

5 objects on the ground which do nothing.
Lights start to glow in those 5 objects, the colour can be any of the 3, red, green, blue which correspond to the Alt + 1/2/3 skills.
The skill itself needs to be cast on the ground at the positions of those 5 objects, like thunderstorm.
If you do the cast as the object gets bigger then you get +6 points, if you do it while it's small you get +2

After the 2 rounds I did I would say the timer theory is correct and could probably just set up a constant loop and have a time after object appears to cast the appropriate skill.
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

kkulesza
Posts: 150
Joined: Fri May 27, 2011 9:00 pm
Location: Poland

Re: Constellation (Zodiac) Pets

#8 Post by kkulesza » Thu Jun 14, 2012 7:56 pm

lisa wrote: After the 2 rounds I did I would say the timer theory is correct and could probably just set up a constant loop and have a time after object appears to cast the appropriate skill.
Time betwin colour ball appears and disappers (lets call it lifetime) is not always the same.
Maybe this lifetime is writen somewhere in client memory, idk.

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

Re: Constellation (Zodiac) Pets

#9 Post by lisa » Thu Jun 14, 2012 8:16 pm

at 120 u get a component
at 200 you get another component

you get 4 elements just for starting it.


I'll do some more testing later on.
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: Constellation (Zodiac) Pets

#10 Post by lisa » Thu Jun 14, 2012 10:01 pm

Done some playing around, might be a snag rock can comment on.

Does the existing cast skill to only do the skill in middle of screen?
So the bot moves screen so object is in center and then the function casts skill in the very middle of screen?

That won't actually work for this scenario as the outer objects will have obstructions.

Code: Select all

O
 O
  O X
 O
O
O being objects and X being player.

So for this to work, without teleporting in public, going to need to make the target ground skill actually work out where to target on the screen and not just move screen to face object.

Might actually test if teleporting is seen by other players. lol
Very slim chance it may not be because the player doing "event" is moved to a position and then has no moving capabilities until timer is up.


--=== Edit ===--

NVM I recognise part of the castskillto function from my plantcare userfunction lol

I should have something working soonish =)
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: Constellation (Zodiac) Pets

#11 Post by rock5 » Fri Jun 15, 2012 12:30 am

So are you saying that if you don't move the camera you can click the devices but if you aim at the devices you can't see it? That suxs.

Seeing as your reletive possition will always be the same you could set up the camera to point at the machine, set the zoom to a particular value then the devices will always be in exactly the same position on screen.
  • 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: Constellation (Zodiac) Pets

#12 Post by lisa » Fri Jun 15, 2012 1:07 am

rock5 wrote:Seeing as your reletive possition will always be the same you could set up the camera to point at the machine, set the zoom to a particular value then the devices will always be in exactly the same position on screen.
Yup that is what I did lol
new title
new title
The positioning seems to be working, I think it is going to fast though.
I was getting several +6 and +2 and lots of -1. Adjust speed a bit and might be ok, from visual it looked like it was clicking skill in a good spot though.

That title made me lol, literally, my other half came over to find out what was so funny.
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: Constellation (Zodiac) Pets

#13 Post by rock5 » Fri Jun 15, 2012 1:49 am

Looking forward to it. I'll probably test it on the EU server but not really use it until it's available on rom4u server.

Question, if anyone knows: The luck boost you can get, is it all the time or only for a certain number of hours a 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

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

Re: Constellation (Zodiac) Pets

#14 Post by lisa » Fri Jun 15, 2012 2:33 am

K I am all out of time for this, basically everything is set up but needs tweaking, especially in the timing. At the moment it is 99% garaunteed to blow up the machine ;)

I set it up to use the machine next to the daily quest board, make sure to zoom out to max and should work ok.

Screen size shouldn't matter as I used fractions of full screen.
Attachments
1.xml
V 1.0
just the basics, needs fine tuning by someone with the time.
(4.98 KiB) Downloaded 327 times
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: Constellation (Zodiac) Pets

#15 Post by rock5 » Fri Jun 15, 2012 4:36 am

I'll have alook at it.

So I take it it doesn't start the game as of yet?
  • 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: Constellation (Zodiac) Pets

#16 Post by lisa » Fri Jun 15, 2012 6:19 am

rock5 wrote:So I take it it doesn't start the game as of yet?
I guess I could have done that too but yeah it doesn't start game, was mainly just working on the functionality.

It will be a tough one to make efficient.
Ideally you would do each orb thing 1 at a time as by the time you do all 5 the colours may have changed. Not sure how fast it can go through all objects though and just use 1 and then go through all objects again.
Basically you want the entire process to take about half a second.

Scan all objects and pick 1 orb and click skill on it, rinse and repeat.

Might be better to just go through them 1 at a time left to right and keep doing it that way.

The timing is so fast on the growing orbs I think you would struggle to make a WP to get all +6, I would be happy with just + and no -

Doing manually I got up to 230 points but I only did it manually 4 times, the rest of the time was making a WP to work for it.

Running bot I did get it to 65 points, not enough though.
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: Constellation (Zodiac) Pets

#17 Post by rock5 » Fri Jun 15, 2012 6:26 am

I think I've found an offset on the lower ids (120910-2) that changes. So it might be an indicator of ball size. It's located at offset 0x74. It's a float and seems to vary between 0.5 and 2.5. A lot of values were repeated so it probably goes up in increments.
  • 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
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Constellation (Zodiac) Pets

#18 Post by rock5 » Fri Jun 15, 2012 7:27 am

Ok the version I did that targeted only balls with size 2.5 showed me what was wrong with your version. When there was a big ball on the right it would cast to the left and vice versa. Otherwise I believe the colors are correct.

First time I ran my version with the bugs fixed I got 44. Problem with my version is nothing happens to the ball when you cast to it so is keeps casting to the same ball until it disappears. I think I'll have to record the ball addresses and cast to a ball only once. I think that will make a huge difference.
  • 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: Constellation (Zodiac) Pets

#19 Post by lisa » Fri Jun 15, 2012 8:20 am

rock5 wrote: When there was a big ball on the right it would cast to the left and vice versa.
Hmm when I watch it in slow motion the spots all match up with X values.

Give this a try, Aus servers are down.
Attachments
2.xml
V 2.0
(5.13 KiB) Downloaded 322 times
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: Constellation (Zodiac) Pets

#20 Post by rock5 » Fri Jun 15, 2012 8:45 am

They are 100% reversed. If you go stand on the right most thingy and start getpost you will see that your X value is 3095. You have that as the left one. Yes they do line up but the wrong side.

I'm a bit caught up in my version now. Checking for changed address didn't seem to work so now I'm keeping a table of balls and after I've cast to a big one, don't cast to it again while its still big. When it becomes big again after being small then it casts again. Requires a complete rewrite. Nearly ready to test it.
  • 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