Page 1 of 1

help in useing a DIYCE command in a way point?

Posted: Wed Jan 04, 2012 1:56 pm
by newton666
hi can any help me , im trying to use a diyce command in a way point or isn't it possible e.g
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-1388" z="-4855" y="-45"> </waypoint>
<!-- # 2 --><waypoint x="-1288" z="-4710" y="-64"> </waypoint>
<!-- # 3 --><waypoint x="-1357" z="-4637" y="-50">RoMScript("ScoutRogue()") </waypoint>
<!-- # 4 --><waypoint x="-1248" z="-4511" y="-49"> </waypoint>
<!-- # 5 --><waypoint x="-1195" z="-4389" y="-43"> </waypoint>
</waypoints>
so let say line 3 is were the boss is and ("scoutRogue()") is my diyce starting command but this dosnt work.
anyone know what wrong ?

Re: help in useing a DIYCE command in a way point?

Posted: Wed Jan 04, 2012 3:23 pm
by kanta
Try using the following:

Code: Select all

<!-- # 3 --><waypoint x="-1357" z="-4637" y="-50"> SlashCommand("/run ScoutRogue()") </waypoint>

Re: help in useing a DIYCE command in a way point?

Posted: Wed Jan 04, 2012 6:34 pm
by kkulesza
newton666 wrote:hi can any help me , im trying to use a diyce command in a way point or isn't it possible e.g

<!-- # 3 --><waypoint x="-1357" z="-4637" y="-50">RoMScript("ScoutRogue()") </waypoint>
... ("scoutRogue()") is my diyce starting command but this dosnt work.
anyone know what wrong ?
It should work.
Check if your "ScoutRogue()" diyce function works in the first place. Put it in macro and see if it works.
Maybe you don't have target while executing this diyce command?

Re: help in useing a DIYCE command in a way point?

Posted: Thu Jan 05, 2012 6:51 am
by MiesterMan
So... I'm just guessing but this doesn't work.

I used DIYCE when I could understand it in 1.0 and I'm guessing it works a similar way in 2.0...

To use DIYCE you have to press the button repeatedly to iterate through a series of skills that go through checks within the game client using various rom functions.

Having it send the function once really shouldn't do anything unless they fundamentally changed DIYCE into a bot which would have instantly made it banned.

Re: help in useing a DIYCE command in a way point?

Posted: Thu Jan 05, 2012 8:37 am
by kkulesza
MiesterMan wrote:...
To use DIYCE you have to press the button repeatedly to iterate through a series of skills that go through checks within the game client using various rom functions.
Having it send the function once really shouldn't do anything...
No. You don't have to press diyce-button repeatedly (although it was made to spam one key).
Even if you press it once it should do something (one action).

When i want to use diyce one time i use:

Code: Select all

RoMScript("MyClassDIYCE()") 
When i want to spam diyce then i define a fake skill in skills.xml. For example:

Code: Select all

<skill name="FAKE_RANGE" range="180" target="enemy" type="damage" />
and put this skill in my characters profile
Works great :)

Re: help in useing a DIYCE command in a way point?

Posted: Thu Jan 05, 2012 8:49 pm
by Blyad

Code: Select all

	<onSkillCast><![CDATA[
		while player:haveTarget() do
		  keyboardPress(key.VK_E); -- press the 1 key
		end
	]]></onSkillCast>
add this line of code to your profile.xml

change VK_E to whatever hotkey your DIYCE macro is on.


anytime you go to engage a target in combat it will spam the DIYCE macro until the target is dead. however it will no longer attempt to use the RomBot's built in combat functions until the target is dead.

Re: help in useing a DIYCE command in a way point?

Posted: Fri Jan 06, 2012 2:20 am
by newton666
This works great but is there anyway of makeing it spam the vk key quicker at all?
i mean instead of 2sec can make it 1sec or even quicker anyway??

Re: help in useing a DIYCE command in a way point?

Posted: Fri Jan 06, 2012 2:52 am
by Blyad
i dont know what you have changed in your Rombot but that bit of code makes it hit the VK key about 6 times a second, but it may be based on your PC's preformance.