Rock5's Constellation (Zodiac) Pet scripts
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: Rock5's Constellation (Zodiac) Pet scripts
For those attempting Jamie Rayer's game, you will not be able to see the matrix if you are using Lisa's model files.
Re: Rock5's Constellation (Zodiac) Pet scripts
120 point...1 water element
Re: Rock5's Constellation (Zodiac) Pet scripts
i try to make myself a wp for the weaving machine but i cannot find out how to identify the matrix color. any hint for it?
Re: Rock5's Constellation (Zodiac) Pet scripts
That's already been looked for with no luck. There is no matrix object and it doesn't seem to be an offset of the machine itself.
- 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
Re: Rock5's Constellation (Zodiac) Pet scripts
What if we tell to the bot manually the color of the matrix?
Re: Rock5's Constellation (Zodiac) Pet scripts
well, thx for the answer, i already hate this event, screw the pet
all kinds of moronic stuff to do, instead of playing the game.
back to my fighting bot i guess.
all kinds of moronic stuff to do, instead of playing the game.
back to my fighting bot i guess.
Re: Rock5's Constellation (Zodiac) Pet scripts
Thanks Dx and Lisa works well...... i hate timed events not enough hours in the day and now its only once an hour not twice.
Its a pain as i still need a Zodic pet, havent received a pet crystal yet.... and its like 2 months till they change events.
Its a pain as i still need a Zodic pet, havent received a pet crystal yet.... and its like 2 months till they change events.
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Rock5's Constellation (Zodiac) Pet scripts
ok...been working on the weaving machine....an interesting one that one.
will attach what I have to date...please note that this the first version! It will pick the correct box when:
1) There are no errors
2) There is a Matrix error
3) There is a Message error
4) There is both a Matrix and Message error
I'm currently working on the Message Matrix error combination. Colors are based off the Weaving Machine buffs
The problem is that the CPawn:updateBuffs function doesn't get the buff as it has no Name. I added a function to get those and that seems to work correctly.
Sometimes the order of the system and warning messages is invalid, so it may pay to check each twice...not sure yet...needs more testing...have updated to only get error text if there is a message error which seems to have resolved the issue.
Game now completes fully with 21 or 22 (think it was 21) successes and gets goddess package.
will attach what I have to date...please note that this the first version! It will pick the correct box when:
1) There are no errors
2) There is a Matrix error
3) There is a Message error
4) There is both a Matrix and Message error
I'm currently working on the Message Matrix error combination. Colors are based off the Weaving Machine buffs
Code: Select all
BUFFS_RED = 622962;
BUFFS_WHITE = 622963;
BUFFS_YELLOW = 622964;
Sometimes the order of the system and warning messages is invalid, so it may pay to check each twice...not sure yet...needs more testing...have updated to only get error text if there is a message error which seems to have resolved the issue.
Game now completes fully with 21 or 22 (think it was 21) successes and gets goddess package.
- Attachments
-
- WeavingMachine.xml
- v1.2
- (10.09 KiB) Downloaded 222 times
Last edited by BillDoorNZ on Tue Jul 24, 2012 5:01 pm, edited 3 times in total.
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Rock5's Constellation (Zodiac) Pet scripts
only took 60 transport runes to test and debug!!! lol
Re: Rock5's Constellation (Zodiac) Pet scripts
Code: Select all
elseif (obj.Id == id_WeavingMachine) then
printf(obj.Hex.."\n");
just for future reference you can use
Code: Select all
print(obj.Hex)
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Rock5's Constellation (Zodiac) Pet scripts
doh...left that code in there did I!!!
one sec and will update my post
one sec and will update my post
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Rock5's Constellation (Zodiac) Pet scripts
k, updated...was using it to see what mem locations were changing when the color's were there...
Re: Rock5's Constellation (Zodiac) Pet scripts
i commented out that line and worked fine, the score stopped at 21, not sure why though. It must have clicked 6 or 7 things after it got 21 but it just stayed at 21. Maybe a max score?
Also not sure why you have a few waypoints to walk away and back again?
BTW you did an awesome job on it =)
Also not sure why you have a few waypoints to walk away and back again?
BTW you did an awesome job on 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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Rock5's Constellation (Zodiac) Pet scripts
thx!
heh...those are a leftover from a previous version and some stuff of mine.
I'll remove those tomorrow and also update the 'center' spot so its a range of spots as its very obviously a bot when you watch it. Will add some longer pauses after the box click too and make them randomised so as to not look so botty
heh...those are a leftover from a previous version and some stuff of mine.
I'll remove those tomorrow and also update the 'center' spot so its a range of spots as its very obviously a bot when you watch it. Will add some longer pauses after the box click too and make them randomised so as to not look so botty
Re: Rock5's Constellation (Zodiac) Pet scripts
I didn't think it looked botty at all, going to the center is logical even when playing, I would however make it face the weaving machine at that spot though as looking other direction doesn't look right lol
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Rock5's Constellation (Zodiac) Pet scripts
lol...true....dunno how to do that as yet...will have to look it up
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Rock5's Constellation (Zodiac) Pet scripts
hmm...something like:
??
Code: Select all
local angle = math.atan2(target.Z - self.Z, target.X - self.X);
local yangle = math.atan2(target.Y - self.Y, ((target.X - self.X)^2 + (target.Z - self.Z)^2)^.5 );
self:faceDirection(angle, yangle);
Re: Rock5's Constellation (Zodiac) Pet scripts
you can get rid of the waypoints altogether and just add a player:sleep() as the last line in the onload.
since the machine never moves you could put in the actual coords of it, or you can do a memory scan for the object and get it's coords that way.
or yeah you can use that code you posted if you worry about y values but since you only care which direction char faces the Y shouldn't matter =)
Actually on second thought, when you click the middle you turn to click then turn back and if you had it face machine it would turn a third time, not ideal.
I changed the end of the onload to this
so if you have transport runes it will use them to redo the event, it will error out though if someone else starts the event before you do, would need a check after clicking machine for if it is in use or not.
that will probably do the trick because _obj is nil if someone else is doing the event when you click machine.
since the machine never moves you could put in the actual coords of it, or you can do a memory scan for the object and get it's coords that way.
Code: Select all
player:udpdate()
local angle = math.atan2(machine.Z - player.Z, machine.X - player.X);
camera:setRotation(angle);
Actually on second thought, when you click the middle you turn to click then turn back and if you had it face machine it would turn a third time, not ideal.
I changed the end of the onload to this
Code: Select all
player:target_NPC(jamie_id);
yrest(2000)
if inventory:itemTotalCount("Transport Rune") then
ChoiceOptionByName("transport");
loadPaths("weavingmachine")
else
player:sleep()
end
Code: Select all
local function findClosest(_obj)
if _obj == nil then player:sleep() end
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Rock5's Constellation (Zodiac) Pet scripts
nice...the Hex property was just a dump of the hex values from the object pointer to the last known offset (lootable).lisa wrote:errors out saying Hex a nil value.Code: Select all
elseif (obj.Id == id_WeavingMachine) then printf(obj.Hex.."\n");
just for future reference you can useand it will do a next line at end by default without needing to add one in =)Code: Select all
print(obj.Hex)
Code: Select all
for i=self.Address,self.Address + addresses.pawnLootable_offset+20,1 do
local b = debugAssert(memoryReadUByte(proc, i)) or 0;
if ((i % 4)==0) then s = s.." "; end;
s = sprintf("%s %02X", s, b);
end;
self.Hex = s;
Re: Rock5's Constellation (Zodiac) Pet scripts
OMG Bill you are a legend
I dunno about looking "bot like" even manually I look like a bot. I just stand on the middle one and after clicking one of the sides use the back key to walk back to the centre.
I dunno about looking "bot like" even manually I look like a bot. I just stand on the middle one and after clicking one of the sides use the back key to walk back to the centre.
Who is online
Users browsing this forum: Google [Bot] and 1 guest