Rock5's Constellation (Zodiac) Pet scripts

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
Angelusion
Posts: 7
Joined: Fri Jul 06, 2012 12:07 pm

Re: Rock5's Constellation (Zodiac) Pet scripts

#161 Post by Angelusion » Thu Jul 26, 2012 4:39 pm

dejfit wrote:When I use this waypoints i get this:

Code: Select all

WEAVING MACHINE Version: 1.2
We try to find NPC 121044:
We successfully target NPC Jamie Rayer and try to open the dialog window.
Use MACRO: Executing RoMScript "CloseAllWindows()".
We found Magic Weaving Machine and will harvest it.
Shuttle pawn found at 5476.419921875, -2161.8391113281
Thread pawn found at 5492.8017578125, -2209.1169433594
Scissors pawn found at 5542.8881835938, -2240.462890625
ShuttleBox pawn found at 5476, -2161
ThreadBox pawn found at 5492, -2209
ScissorsBox pawn found at 5542, -2240
ExecuteEvent() started
and then bot stands in one place and does nothing. Am i doing something wrong?

EDIT: I use english client.
I still have only this, I installed fresh copy of ROM, zero addons, only new rombot with ingamefunctions, every other waypoint is working fine, I checked it on 15 accounts and 3 computers, always my character stays in center of 3 boxes and do nothing

could you help me?

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: Rock5's Constellation (Zodiac) Pet scripts

#162 Post by BillDoorNZ » Thu Jul 26, 2012 4:58 pm

try changing the file and set the line that says

Code: Select all

	debugWM = false;					-- set to true to output debug messages
to

Code: Select all

	debugWM = true;					-- set to true to output debug messages
I think its line 35 (version 1.6)

This will output debug messages and may let us know what is going on. Also check lisa's earlier post about checking that the EventMonitor stuff is working (about halfway down previous page)

Angelusion
Posts: 7
Joined: Fri Jul 06, 2012 12:07 pm

Re: Rock5's Constellation (Zodiac) Pet scripts

#163 Post by Angelusion » Thu Jul 26, 2012 5:35 pm

I have done with debug but nothing changed, still is
ExecuteEvent() started
and nothing happens besides I loose in game cause I dont click in time

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: Rock5's Constellation (Zodiac) Pet scripts

#164 Post by BillDoorNZ » Thu Jul 26, 2012 5:46 pm

k, the only way that that can happen is if the bot is not getting and data back from the EventMonitoCheck's. Did you have a look at lisa post and find the waypoint she created to test to see if it is working? (eventmonitortest.xml)

http://www.solarstrike.net/phpBB3/viewt ... =27&t=2516

only other way I could see it happeneing is if there are SO MANY messages in the queue that your never get them...tho, you would still a message eventually...

Angelusion
Posts: 7
Joined: Fri Jul 06, 2012 12:07 pm

Re: Rock5's Constellation (Zodiac) Pet scripts

#165 Post by Angelusion » Thu Jul 26, 2012 6:00 pm

I checked this script, it just say LOL na "say" all the time without any error, any other lines of code
machines dont work anyway:)

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

Re: Rock5's Constellation (Zodiac) Pet scripts

#166 Post by lisa » Thu Jul 26, 2012 6:17 pm

Angelusion wrote:I checked this script, it just say LOL na "say" all the time without any error, any other lines of code
machines dont work anyway:)
File comment: Tests if event monitoring is working, posts LOL in Say, posts on MM window that it is working.
So if it doesn't print on MM that it is working then it isn't working and that is your issue.

It also says
If you don't currently have an addon to give the os.time() function in game then you will need an addon like d303fix
http://rom.curse.com/downloads/rom-addo ... 03fix.aspx
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

dejfit
Posts: 23
Joined: Wed Oct 05, 2011 6:25 am

Re: Rock5's Constellation (Zodiac) Pet scripts

#167 Post by dejfit » Fri Jul 27, 2012 3:45 am

Wow lisa You are great! Thanks a lot. But there is still an issu with clicking boxs...

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

Re: Rock5's Constellation (Zodiac) Pet scripts

#168 Post by lisa » Fri Jul 27, 2012 4:30 am

dejfit wrote:Wow lisa You are great! Thanks a lot. But there is still an issu with clicking boxs...
So the event monitor test is now working for you?
That's good, now just to work out the issue with clicking boxes.
What exactly is it doing?
Does it always go and click the scissors first time regardless of the message?
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

dejfit
Posts: 23
Joined: Wed Oct 05, 2011 6:25 am

Re: Rock5's Constellation (Zodiac) Pet scripts

#169 Post by dejfit » Fri Jul 27, 2012 4:45 am

lisa wrote:
dejfit wrote:Wow lisa You are great! Thanks a lot. But there is still an issu with clicking boxs...
So the event monitor test is now working for you?
That's good, now just to work out the issue with clicking boxes.
What exactly is it doing?
Does it always go and click the scissors first time regardless of the message?
Yes, it is now. The clicking issu is as someone wrote before. Sometimes my char goes to the correct box but does not click it.

Angelusion
Posts: 7
Joined: Fri Jul 06, 2012 12:07 pm

Re: Rock5's Constellation (Zodiac) Pet scripts

#170 Post by Angelusion » Fri Jul 27, 2012 11:54 am

Problem solved, I didnt have d303fix addon, now its working
thx for everyone

Beni
Posts: 54
Joined: Fri Jun 17, 2011 4:13 am

Re: Rock5's Constellation (Zodiac) Pet scripts

#171 Post by Beni » Fri Jul 27, 2012 2:26 pm

1.6 no work, no click

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: Rock5's Constellation (Zodiac) Pet scripts

#172 Post by silinky » Sun Jul 29, 2012 12:51 am

hello!

nice waypoint, i had to make some adjustments, but it works fine.

one question: from where does the crab pet crystal drop? anyone already knows that?

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

Re: Rock5's Constellation (Zodiac) Pet scripts

#173 Post by lisa » Sun Jul 29, 2012 2:28 am

Beni wrote:1.6 no work, no click
Tested 1.6 with and without the "cheat" and worked fine for me.

You will need to be more specific with what you mean by "no work,no click"

Does it always try to click the scissors every time regardless?

Code: Select all

		local function getTarget(_isShuttle, _isThread, _isScissors)
			if (_isShuttle) then
				return _shuttleBox;
			elseif (_isThread) then
				return _threadBox;
			else
				return _scissorsBox;
			end;
		end;
with this code if it doesn't find any of the first 2 it will always do the 3rd regardless, I would probably do something like this for troubleshooting.

Code: Select all

		local function getTarget(_isShuttle, _isThread, _isScissors)
			if (_isShuttle) then
				return _shuttleBox;
			elseif (_isThread) then
				return _threadBox;
			elseif (_isScissors) then
				return _scissorsBox;
			else
				error("Cannot get Target")
			end;
		end;
Also copying the MM prints to show us will help try to work out the issue.
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
gloover
Posts: 304
Joined: Wed Jul 07, 2010 4:31 am

Re: Rock5's Constellation (Zodiac) Pet scripts

#174 Post by gloover » Sun Jul 29, 2012 3:14 am

I think it doesnt work for Beni, because he's using another game-client language - so options like this ChoiceOptionByName("willing"); will not be found - got the same problem using german client.

also the problem of clicking and the name of "cheat"-buff - got afterwards only one of functional packages :-(

Have no time do do it multilingual - lisa or Bill, be a sport and make this multilingual by the time.
Last edited by gloover on Sun Jul 29, 2012 3:23 am, edited 1 time in total.

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

Re: Rock5's Constellation (Zodiac) Pet scripts

#175 Post by lisa » Sun Jul 29, 2012 3:17 am

I thought I got most of the language dependant stuff done, not the choiceoption but you wouldn't tot he actual event if the choice didn't work as you wouldn't get the key, unless u got key yourself and then it would talk tot he NPC anyway.
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
gloover
Posts: 304
Joined: Wed Jul 07, 2010 4:31 am

Re: Rock5's Constellation (Zodiac) Pet scripts

#176 Post by gloover » Sun Jul 29, 2012 3:24 am

Ok, thats no problem to take a choice - but what about this "cheat" buff? - how to use em?

tried this several times - the stuff will be destroyd after some clicks - here the log, no one of them got more the 2 Pakages:

Code: Select all


WEAVING MACHINE Version: 1.6
Wir versuchen den NPC 121044 zu finden:
Der NPC 'Jamie Rayer' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster
.
Accepting challenge
Drücke MACRO: RoMScript ausführen "CloseAllWindows()".
Wir haben Magische Webmaschine gefunden und werden es abbauen.
Shuttle pawn found at 5542.8881835938, -2240.462890625
Thread pawn found at 5476.419921875, -2161.8391113281
Scissors pawn found at 5492.8017578125, -2209.1169433594
ShuttleBox pawn found at 5542, -2240
ThreadBox pawn found at 5476, -2161
ScissorsBox pawn found at 5492, -2209
ExecuteEvent() started
machineError:  die webmaschine ist in betrieb!|cfffff266die magische webmaschine
 hat sich in bewegung gesetzt und mit dem weben einer stoffbahn begonnen.|r
machineMessage: ben├Âtigt: schiffchen, wir brauchen schiffchen!
Moving to target
Targetting
Clicking
machineError:
machineMessage: ben├Âtigt: garn, wir brauchen garn!
Moving to target
Targetting
Clicking
machineError:
machineMessage: ben├Âtigt: scheren, wir brauchen scheren!
Moving to target
Targetting
Clicking
machineError:
machineMessage: ben├Âtigt: garn, wir brauchen garn!
Moving to target
Targetting
Clicking
machineError:  achtung! fehler in |offffff00matrix|r der webmaschine!
machineMessage: ben├Âtigt: scheren, wir brauchen scheren!
Moving to target
Targetting
Clicking
machineError:  achtung! fehler in |offffff00matrix|r der webmaschine!
machineMessage: ben├Âtigt: schiffchen, wir brauchen schiffchen!
Moving to target
Targetting
Clicking
machineError:  achtung! fehler in |offffff00matrix|r der webmaschine!
machineMessage: ben├Âtigt: garn, wir brauchen garn!
Moving to target
Targetting
Clicking
machineError:  achtung! fehler in |offffff00infonachricht|r der webmaschine!
machineMessage: ben├Âtigt: garn, wir brauchen garn!
Moving to target
Targetting
Clicking
machineError:  fehler bei der zufuhr des ben├Âtigten gegenstands. der stuff wurde zest├Ârt.
machineMessage: bringt die fr├╝chte eurer arbeit zu jamie rayer!
Wir versuchen den NPC 121044 zu finden:
Der NPC 'Jamie Rayer' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster
.
Drücke MACRO: RoMScript ausführen "CloseAllWindows()".
That was the last run
it was the best score! :-(

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

Re: Rock5's Constellation (Zodiac) Pet scripts

#177 Post by lisa » Sun Jul 29, 2012 4:03 am

did you change it to true?
useCheat = true;
cheatSpell = "Fire Ward";
Also the skill name is the in game name, not sure if the names are different for different languages but I don't see any prints saying it is using the macro, sendMacro always does a print when it is used.

Code: Select all

sendMacro("CastSpellByName(\""..cheatSpell.."\")");
So that tells me it didn't even attempt to cast the skill.

Probably don't even need the choice option by name as you do a check for the number of choices to decide what to do anyway.
Can just do the choice by the numbers, there are 4 places with choice by name. Could always get the TEXT from game as I did for the messages though if you really want the choice by name still.
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
gloover
Posts: 304
Joined: Wed Jul 07, 2010 4:31 am

Re: Rock5's Constellation (Zodiac) Pet scripts

#178 Post by gloover » Sun Jul 29, 2012 5:05 am

hey lisa,

the "cheat" option was disabled, because I dont know about any cheat and also what spell should be used.
Do you mean "Fire ward" from mage or as in bill's wp "Magic Barrier" from xxx?

I'm playing warrior and warden - so I dont know which skills should be used then.

The option to choosing is not the problem, have translated in german so it can be used by name for me.

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: Rock5's Constellation (Zodiac) Pet scripts

#179 Post by BillDoorNZ » Sun Jul 29, 2012 5:09 am

the cheatSpell is any spell which adds a buff...if it is added before you click the next box it is positioned to the left of the sil length buff and when you click the box, you get 2 points instead of 1

User avatar
gloover
Posts: 304
Joined: Wed Jul 07, 2010 4:31 am

Re: Rock5's Constellation (Zodiac) Pet scripts

#180 Post by gloover » Sun Jul 29, 2012 5:31 am

Ah, you mean any selfbuff without cast time? Ok, will try this again, may i will create a table of skills for any class.

@ bill: what is the average score you get using with and without the buff? Did you get a golden pakage using your wp?

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests