-
Izebize
- Posts: 18
- Joined: Tue Apr 07, 2009 11:38 am
#841
Post
by Izebize » Fri Apr 24, 2009 7:18 pm
Is it enough to add this line to database.xml, to use the Priest Angel's Carol skill?
Code: Select all
<skill name="PRIEST_ANGELS_CAROL" cooldown="180" type="buff" target="self" />
And of course the in profile:
Code: Select all
<skill name="PRIEST_ANGELS_CAROL" hotkey="VK_MINUS" modifier="" />
After I tested it, I can answer it myself, and yes it is enough

-
xrozhija
- Posts: 51
- Joined: Sat Apr 25, 2009 2:08 am
#842
Post
by xrozhija » Sat Apr 25, 2009 2:12 am
I have been using this got for some time now, and wondered if theres a special class that does better in botting, as so far my mage still dies on lv 8 mobs even tho its lv 16. Or are there some better way to make it attack whats attacking me?
I have been playing around with the
Code: Select all
if( canTarget == false and os.difftime(os.time(), startTime) > 1 ) then
in the /classes/player.lua
are there other options to change to make the bot check if its attacked more often?
-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#843
Post
by Administrator » Sat Apr 25, 2009 3:45 am
xrozhija wrote:I have been using this got for some time now, and wondered if theres a special class that does better in botting, as so far my mage still dies on lv 8 mobs even tho its lv 16. Or are there some better way to make it attack whats attacking me?
I have been playing around with the
Code: Select all
if( canTarget == false and os.difftime(os.time(), startTime) > 1 ) then
in the /classes/player.lua
are there other options to change to make the bot check if its attacked more often?
Not at this time, no. It's being worked on.
-
xrozhija
- Posts: 51
- Joined: Sat Apr 25, 2009 2:08 am
#844
Post
by xrozhija » Sat Apr 25, 2009 5:10 am
ok, gotta stay farming on lv 5-8 mobs then, until i can find a decent area with neutral mobs at lv 16-18
-
elroy72
- Posts: 36
- Joined: Tue Apr 07, 2009 8:01 pm
#845
Post
by elroy72 » Sat Apr 25, 2009 11:26 am
Rogues are a good class to bot with.. dodge rate and high dps.
I've been working on a GUI for configuration in my space time.. I'm actually trying to teach myself some programming languages and i though this would be a pretty good place for my first real project.. I have it writing to the xml file perfectly I'm just trying to firgure out how to load the xml file into my program.. anyways here's a WIP screenshot.
-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#846
Post
by Administrator » Sat Apr 25, 2009 11:52 am
Looks good. You can try using
Expat to load XML files.
I noticed you've got "Update bot", "Create path", and "Run bot" buttons. I'm not sure if you know this already, but you can make these work by running micromacro.exe with the scripts through command-line arguments. That is, use ShellExec to run "micromacro.exe scripts/rom/bot.lua update", for example.
-
elroy72
- Posts: 36
- Joined: Tue Apr 07, 2009 8:01 pm
#847
Post
by elroy72 » Sat Apr 25, 2009 3:04 pm
yep i got all that.. im using VB.Net to write it..
so for loading im using XmlTextReader
the update and all this is easy like you said
Code: Select all
Shell("../../micromacro.exe scripts/rom/update.lua", AppWinStyle.NormalFocus)
The only problem is, runes of magic doesn't like getting run through a shell like this..
Code: Select all
Shell("C:\Program Files\Runes of Magic\Runes of Magic.exe", AppWinStyle.NormalFocus)
I just doesn't load..
if i try to load the launcher executable that was it just give version.txt errors

-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#848
Post
by Administrator » Sat Apr 25, 2009 3:38 pm
You need to run "C:/Path/To/RoM/Client.exe NoCheckVersion" to get around that. You should allow the path to be editable. Many users have 64 bit operating systems (myself included), which means RoM resides in "Program Files (x86)" rather than just "Program Files".
-
elroy72
- Posts: 36
- Joined: Tue Apr 07, 2009 8:01 pm
#849
Post
by elroy72 » Sat Apr 25, 2009 4:15 pm
good point, I'll add a settings tab

-
elroy72
- Posts: 36
- Joined: Tue Apr 07, 2009 8:01 pm
#850
Post
by elroy72 » Sat Apr 25, 2009 4:52 pm
OK, so now when run rom using Nocheckversion, client.exe throws me this error:
Code: Select all
ObjectDataClass [Init]Loadfile failed = data\weaponobject.DB
I think its trying to load data\weaponobject.DB from the folder that my program is in.
-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#851
Post
by Administrator » Sat Apr 25, 2009 5:03 pm
Yes, it is. Check the documentation for the functions you want to use. Shell() doesn't seem to take a path to execute from, so try
ShellExecute() instead.
-
elroy72
- Posts: 36
- Joined: Tue Apr 07, 2009 8:01 pm
#852
Post
by elroy72 » Sat Apr 25, 2009 5:11 pm
That's in C#..
This proggy is in VB :S
I also have to rewrite the load operation using another class.. the one i was useing needed the data to be sequential.. so if 1 person has 4 skills and the other person has 3 it will mess it up.. so yea im working on that right now.
-
Administrator
- Site Admin
- Posts: 5329
- Joined: Sat Jan 05, 2008 4:21 pm
#853
Post
by Administrator » Sat Apr 25, 2009 6:10 pm
The WIN32 API functions are, for the most part, the same across all languages. I'm sure there is an equivalent you can use. Alternatively, you could just open the launcher.
-
elroy72
- Posts: 36
- Joined: Tue Apr 07, 2009 8:01 pm
#854
Post
by elroy72 » Sat Apr 25, 2009 6:14 pm
I did look for an equivalent, but I couldn't find one..
No success opening laucher.exe or just plain old runes of magic.exe either.. when i try both.. nothing happens.. lol
-
frank
- Posts: 26
- Joined: Wed Apr 22, 2009 12:11 pm
#855
Post
by frank » Sat Apr 25, 2009 9:24 pm
Code: Select all
<onLeaveCombat>
keyboardPress("VK_9");
</onLeaveCombat>
Code: Select all
<onLeaveCombat>
keyboardPress(VK_9);
</onLeaveCombat>
I want the 9 key pressed when my bot leaves combat, but this code is erroring out:
C:/{edited}/player.lua:290: onLeaveCombat error: [string "
keyboardPress("VK_9");"]:1: bad argument #1 to 'keyboardPress' (
(null))
What am I doing wrong? (I've tried with and without quotes)
-
reloxx
- Posts: 14
- Joined: Sat Mar 21, 2009 5:00 am
#857
Post
by reloxx » Sun Apr 26, 2009 4:47 am
Administrator wrote:Probably because you're not using key.VK_F9?
u mean
but why u putted the F there Oo
-
elroy72
- Posts: 36
- Joined: Tue Apr 07, 2009 8:01 pm
#858
Post
by elroy72 » Mon Apr 27, 2009 1:00 am
Yea he meant VK_9...
Prolly to much coding on the brain... i know im goin nuts lol..
Fixed the loading problem..
Fixed opening rom.. (changing 'current directory to rom folder :S)
Code: Select all
prev_dir = CurDir()
ChDir(ROM_FOLDER.Text)
Shell(ROM_FOLDER.Text + "/client.exe NoCheckVersion", AppWinStyle.NormalFocus)
ChDir(prev_dir)
Fixed some other minor problems..
ALMOST DONE!
will release 1st version for evaluation/bug finding soon.
-
frank
- Posts: 26
- Joined: Wed Apr 22, 2009 12:11 pm
#859
Post
by frank » Mon Apr 27, 2009 1:22 am
Thanks for the help, key.VK_9 worked, however my macro /script CancelDuel(); did not remove the dialogs from my screen. I have both a party invite remover and duel invite remover but neither appear to work. =\
-
elroy72
- Posts: 36
- Joined: Tue Apr 07, 2009 8:01 pm
#860
Post
by elroy72 » Mon Apr 27, 2009 2:49 am
You have the macro set to hotkey 9, and when you leave combat it should cancel the duel correct?
Who is online
Users browsing this forum: Google [Bot] and 4 guests