Re: RoM bot
Posted: Sun Sep 06, 2009 5:35 am
i just typed the first 3 letters of the mob now, not containing an "umlaut". Works perfectly^^ thanx
Yea, that works. And also the "umlaut", coded as "H\129hnchen" (Hühnchen) will work.shoopwoop wrote:i just typed the first 3 letters of the mob now, not containing an "umlaut". Works perfectly^^ thanx
If i right-click 'rom' folder, when it updates, it downloads the new files in micromacro/scripts/rom/rom, so it does not update at all, it just downloads the latest version and puts it in a 'rom' folder inside the real 'rom' folder i want to be updated.Simple:
First, I suggest you install Tortoise SVN. Once installed, you may need to reboot your machine. Now, locate your 'rom' folder (should be inside micromacro/scripts/) and right-click it. Select 'SVN Checkout'.
Now, a window should open. Inside "URL of repository:", enter this url:
http://rom-bot.googlecode.com/svn/trunk/rom
Everything else can be left at default. Click OK and it should begin downloading and updating all of your files. Now that you've got it all setup, you can simply right click the 'rom' folder again and select SVN update. Typically, a red icon over the folder should indicate that there are updates to download.
Problems with file conflicts?
This typically happens if you've made any modifications to the scripts. To fix it, you should delete any files that have conflicts, and try to SVN update again.
Are you sure you used the right URL at first? If you used the advanced URL, you probably didn't include the '/rom' subdirectory, resulting in it not placing the files into the folder properly.Mystikal wrote: If i right-click 'rom' folder, when it updates, it downloads the new files in micromacro/scripts/rom/rom, so it does not update at all, it just downloads the latest version and puts it in a 'rom' folder inside the real 'rom' folder i want to be updated.
So i did the same as you said, but this time right-clicking 'scripts' folder instead of 'rom' folder. Now when it updates it merges the old .lua with the latest version .lua (what i think it is suposed to do). However the 'merged' .lua is not the same as the latest version .lua (the merged version has some values changed, but not all of them and a lot of code lines deleted)
How is it suposed to work? Am i doing something wrong?
BTW great job =D
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="12278" z="5720"></waypoint>
<!-- # 2 --><waypoint x="12331" z="5800"></waypoint>
<!-- # 3 --><waypoint x="12377" z="5931"></waypoint>
<!-- # 4 --><waypoint x="12393" z="6087"></waypoint>
<!-- # 5 --><waypoint x="12419" z="6216"></waypoint>
<!-- # 6 --><waypoint x="12423" z="6309"></waypoint>
<!-- # 7 --><waypoint x="12437" z="6355"></waypoint>
<!-- # 8 --><waypoint x="12483" z="6435"></waypoint>
<!-- # 9 --><waypoint x="12501" z="6452"></waypoint>
<!-- #10 --><waypoint x="12535" z="6466"></waypoint>
<!-- #11 --><waypoint x="12554" z="6467"></waypoint>
<!-- #12 --><waypoint x="12687" z="6443"></waypoint>
<!-- #13 --><waypoint x="12711" z="6452"></waypoint>
<!-- #14 --><waypoint x="12727" z="6462"></waypoint>
<!-- #15 --><waypoint x="12740" z="6480"></waypoint>
<!-- #16 --><waypoint x="12746" z="6495"></waypoint>
<!-- #17 --><waypoint x="12784" z="6873">
player:target_NPC("Kadaret der "Hammer"");
player:rest(4);
</waypoint>
<!-- #18 --><waypoint x="12799" z="6862"></waypoint>
<!-- #19 --><waypoint x="12827" z="6755"></waypoint>
<!-- #20 --><waypoint x="12718" z="6450"></waypoint>
<!-- #21 --><waypoint x="12708" z="6441"></waypoint>
<!-- #22 --><waypoint x="12677" z="6434"></waypoint>
<!-- #23 --><waypoint x="12659" z="6435"></waypoint>
<!-- #24 --><waypoint x="12457" z="6473"></waypoint>
<!-- #25 --><waypoint x="12382" z="6486"></waypoint>
<!-- #26 --><waypoint x="12101" z="6536"></waypoint>
<!-- #27 --><waypoint x="12079" z="6544"></waypoint>
<!-- #28 --><waypoint x="11897" z="6625"></waypoint>
<!-- #29 --><waypoint x="11728" z="6708"></waypoint>
<!-- #30 --><waypoint x="11549" z="6788"></waypoint>
<!-- #31 --><waypoint x="11337" z="6867"></waypoint>
<!-- #32 --><waypoint x="10943" z="7004"></waypoint>
<!-- #33 --><waypoint x="10276" z="7221"></waypoint>
<!-- #34 --><waypoint x="10058" z="7293"></waypoint>
</waypoints>
Code: Select all
player:target_NPC("Kadaret der "Hammer"");
In the next version.And i also have a question: is it possible to say the bot he should go to the city (return path) if the duration of the equip is like under 20?
Please delete all files in your RoM bot folder except the folders 'profiles' and 'waypoints' and do the update again.Sentinel wrote:I updated the bot to REV:219. Now i get an error.
......\scripts\rom\calsses\inventory.lua:89: bad argument #1 to´?´ (string expected, got nil)
I suppose you could check for the ingame buff. Using the new macro function. But if the bot casts a buff, you will unmount. So you need to do a little more.BlackGod wrote:Heyho...
Moving with a mount should be improved...
But my question is:
How can I check my mount is in use or not?
The short answer is to not use Chain of Light except for pulling only.BlackGod wrote:Hey dudes...
How can i configure the bot to check if a skill gets abort...
e.g.: My priest spells Rising Tide and then Chain of Light...
when the Chain of Light gets stopped, the bot waits for the end of the cast-time...![]()
sorry for my bad english...![]()
thx in advance!
I can't see any logical reason for that error. Are you sure it's caused only when using that function? Are you absolutely sure you've got the latest version and that there are no outdated files (failed to merge?)?Somehow the functions doesn´t work.
local acount = CInventory:getAmmunitionCount();
gets me this error:
inventory.lua:110 bad argument #1 to "pairs" (table expected , got nil)
d003232 wrote:I suppose you could check for the ingame buff. Using the new macro function. But if the bot casts a buff, you will unmount. So you need to do a little more.BlackGod wrote:Heyho...
Moving with a mount should be improved...
But my question is:
How can I check my mount is in use or not?
Yes it is. See here in the RoM wiki.x_art wrote:I would execute a script inside Client.exe using RoMScript. Is it possible to return values from this script?
open bot.lua, find inventory:update(); and add -- in front of itBlackGod wrote:Heyho...
Why does my bot ignore my
<option name="WAYPOINT_DEVIATION" value="0" />
?
It looks like it's using a value about 50...![]()
That's a problem when I use my quest-scripts...
and an other question:
Is it possible not to map inventory when the bot starts?
It sucks when I'm testing a new script to wait about 30 sec.
Thanks a lot!droppen wrote:open bot.lua, find inventory:update(); and add -- in front of itBlackGod wrote:Heyho...
Is it possible not to map inventory when the bot starts?
It sucks when I'm testing a new script to wait about 30 sec.
Is there a new second option?BlackGod wrote:Heyho...
Why does my bot ignore my?Code: Select all
<option name="WAYPOINT_DEVIATION" value="0" />
It looks like it's using a value about 50...![]()
That's a problem when I use my quest-scripts...