Search found 63 matches

by KillerTHC
Wed Jun 09, 2010 3:27 pm
Forum: Runes of Magic
Topic: yGather Conversion Script [Progress]
Replies: 9
Views: 2388

Re: yGather Conversion Script [Progress]

Can you possibly share the code to manipulate the coordinates? I have found a method to walk around in RoM that avoids obstacles, the only problem is that it uses the map coordinates and not the world coordinates that RoMBot uses.
by KillerTHC
Wed Jun 09, 2010 2:53 pm
Forum: Runes of Magic
Topic: Using yGather data to create waypoints...
Replies: 34
Views: 10055

Re: Using yGather data to create waypoints...

If someone figures out a way to convert from world coordinates to map coordinates and vice versa let me know, because with this I can develop a way of moving in game that will avoid obstacles almost perfectly.
by KillerTHC
Tue Jun 08, 2010 10:39 am
Forum: Runes of Magic
Topic: Using yGather data to create waypoints...
Replies: 34
Views: 10055

Re: Using yGather data to create waypoints...

As rock5 said these co-ordinates are not really close to each other in the sense that there will be no obstacles in between them. This means that your bot will get stuck, in order to put yGather to use I just find all the nodes then create a path that walks to each and everyone of them while avoidin...
by KillerTHC
Tue Jun 08, 2010 10:26 am
Forum: MicroMacro general & support
Topic: Cannot open micromacro\lib\lib.lua
Replies: 4
Views: 1959

Re: Cannot open micromacro\lib\lib.lua

I figured out the problem, SVN was having troubles copying files form the trunk folder to the micromacro folder causing the missing file errors.
by KillerTHC
Mon Jun 07, 2010 3:36 pm
Forum: MicroMacro general & support
Topic: Cannot open micromacro\lib\lib.lua
Replies: 4
Views: 1959

Re: Cannot open micromacro\lib\lib.lua

Thanks for everything, forgot that this was a MicroMacro error, I am e-mailing the admin with the rar'ed folder.
by KillerTHC
Mon Jun 07, 2010 12:29 pm
Forum: MicroMacro general & support
Topic: Cannot open micromacro\lib\lib.lua
Replies: 4
Views: 1959

Cannot open micromacro\lib\lib.lua

I tried running micromacro this morning but when I entered the command rom/bot it gave me this error. I already re-downloaded&installed via the SVN but it's giving the same error. It worked fine when I left it running last night, haven't a clue what's changed to create the error. Anyone have any...
by KillerTHC
Sun Jun 06, 2010 8:08 pm
Forum: Runes of Magic
Topic: Multi Client Possible???
Replies: 5
Views: 1711

Re: Multi Client Possible???

Yes the bot supports multi-client botting. However multi-client harvesting is not yet implemented.
by KillerTHC
Wed Jun 02, 2010 9:37 pm
Forum: Runes of Magic
Topic: Share your WayPoints
Replies: 7
Views: 2845

Re: Share your WayPoints

The location where the path starts should also be provided with the script, this can be an image with the area circled or the in game RoM co-ordinates of the location.
by KillerTHC
Wed Jun 02, 2010 3:25 pm
Forum: Runes of Magic
Topic: Another suggestion: Skill is only used above %HP
Replies: 20
Views: 4241

Re: Another suggestion: Skill is only used above %HP

For clarification for anyone else who wants to use this code, onPreSkillCast was a new event added to the RoM-Bot recently so in your profiles you can add the following code to execute lua scripts before casting spells/skills. <onPreSkillCast> -- This event receives the skill your going to cast and ...
by KillerTHC
Tue Jun 01, 2010 8:11 pm
Forum: Runes of Magic
Topic: Another suggestion: Skill is only used above %HP
Replies: 20
Views: 4241

Re: Another suggestion: Skill is only used above %HP

Put this in your onPreSkillCast section of your profile I have not tested it but it should work. local targetPawn = CPawn(player.TargetPtr); local attackPercent = 50; -- Percent that their health must be above if( arg1.Name == "KNIGHT_PUNISHMENT" ) then if( targetPawn ~= nill and targetPaw...
by KillerTHC
Tue Jun 01, 2010 3:12 pm
Forum: Runes of Magic
Topic: <onLeaveCombat> lua code
Replies: 8
Views: 2306

Re: <onLeaveCombat> lua code

Try this code it should work.

Code: Select all

if( (player.HP/player.MaxHP*100) < 15) then
	player:cast("DRUID_RECOVER");
else
	return false;
end
by KillerTHC
Tue Jun 01, 2010 3:10 pm
Forum: Runes of Magic
Topic: onPreSkillCast event
Replies: 8
Views: 4939

Re: onPreSkillCast event

Those commands are in your actual profile so I shouldn't be adding things to the language file. You can simply stick the string in google translate to get an easy translation. Sorry if that doesn't help.
by KillerTHC
Sun May 30, 2010 7:19 pm
Forum: Runes of Magic
Topic: UserFunction autoDeleteItems V1.1
Replies: 10
Views: 3670

Re: User function autoDeleteItems

I don't quite understand what you mean by language codes? The code provided can be edited with the translation you want, however I will not do it as I do not read/speak other languages and would not want to provide an incorrect translation.
by KillerTHC
Sat May 29, 2010 2:26 pm
Forum: Runes of Magic
Topic: miss data
Replies: 2
Views: 1439

Re: miss data

Get ROM-Bot from http://www.solarstrike.net/phpBB3/viewt ... f=21&t=163

Its attached at the bottom of the post or you can use SVN that's also explained in the post.
by KillerTHC
Fri May 28, 2010 7:31 pm
Forum: Runes of Magic
Topic: onPreSkillCast event
Replies: 8
Views: 4939

Re: onPreSkillCast event

Sounds good. I plan to continue to help develop this bot because I use it so anything I come across that is not there I will try to add.
by KillerTHC
Fri May 28, 2010 6:01 pm
Forum: Runes of Magic
Topic: UserFunction autoDeleteItems V1.1
Replies: 10
Views: 3670

UserFunction autoDeleteItems V1.1

Add this function to your userfunctions.lua file and then call it after every fight to filter your 2nd bag of items designated by the color you provided, or use the blacklist option to filter your whole bag of items with the names provided in a "blacklist" file. Partial matches will be mad...
by KillerTHC
Thu May 27, 2010 1:12 pm
Forum: Runes of Magic
Topic: pawn.lua:234: error reading memory in CPawn:update()
Replies: 3
Views: 1783

Re: pawn.lua:234: error reading memory in CPawn:update()

1. Don't demand things you can get yourself
2. Go here http://www.solarstrike.net/phpBB3/viewt ... f=21&t=163 scroll down to SVN to learn how to update the bot.
by KillerTHC
Thu May 27, 2010 10:58 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 315555

Re: Autologin revisited

I see... Well it's worth a try.
by KillerTHC
Thu May 27, 2010 10:57 am
Forum: Runes of Magic
Topic: onPreSkillCast event
Replies: 8
Views: 4939

Re: onPreSkillCast event

USE_SKILL is default set at true and gets set automatically to true after every onPreSpellCast event. It's their so you can stop the bot from casting a spell. Your solution does sound cleaner and easier just I never thought of it lol, I'm also slightly new to Lua so that's why I wouldn't think of it.
by KillerTHC
Wed May 26, 2010 9:08 pm
Forum: Runes of Magic
Topic: Manually add missing elite skill to skills.xml???
Replies: 2
Views: 1001

Re: Manually add missing elite skill to skills.xml???

Yes you can manually add it to skills.xml and local_skills.xml if your using the macro to cast the spell. Just copy another skill then fill in the information of the new skill with info you can get of off the romwiki.