Search found 572 matches

by Bill D Cat
Mon Jan 23, 2017 7:09 am
Forum: Runes of Magic
Topic: Using talent points
Replies: 7
Views: 4057

Re: Using talent points

Well the bot can upgrade your skills by using one of a couple different options. If you want to use the actual skill name, and a number of levels you want to increase that skill then you can use this (Client Language Specific): levelupSkill("Skill Name",Levels to Raise) If you are creating...
by Bill D Cat
Fri Dec 16, 2016 6:16 am
Forum: Runes of Magic
Topic: Bot leave combat
Replies: 2
Views: 2635

Re: Bot leave combat

I'm thinking you'd have to check to see if your Vanish skill is off cool-down and use it.
But with a 10 minute CD on it, you won't get many uses out of it in a single round of combat.
Otherwise I think the only way you will likely get out of combat is to kill the mob, run far enough away, or die.
by Bill D Cat
Wed Dec 07, 2016 5:40 am
Forum: Runes of Magic
Topic: problem with bot
Replies: 4
Views: 2940

Re: problem with bot

I'm guessing that the bot didn't update it's data completely/correctly when you changed characters. Is the add-on for RoM iteself, or a userfunction file for the bot? If it is an add-on for RoM, then you will need to find a way to get the bot to do a player:update() call to refresh its data. If it i...
by Bill D Cat
Wed Dec 07, 2016 5:31 am
Forum: Runes of Magic
Topic: Auto reload projectiles
Replies: 2
Views: 2342

Re: Auto reload projectiles

Have this in your user profile for that particular character.

Code: Select all

<option name="RELOAD_AMMUNITION"		value="thrown" />		<!-- false|arrow|thrown -->
by Bill D Cat
Fri Nov 25, 2016 7:01 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Attempt to call global TEXT("Sys"..tonumber("7"..v,16).."_name") - a nil value
Replies: 1
Views: 4330

Re: Attempt to call global TEXT("Sys"..tonumber("7"..v,16).."_name") - a nil value

Any functions that are executed from within the game's LUA engine will need the RoMCode or RoMScript calls. The bot does not know about those commands, and would therefore show the error you are encountering.
by Bill D Cat
Fri Nov 25, 2016 6:58 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Yrvandis Hollows - All Zone Quests
Replies: 65
Views: 32213

Re: Yrvandis Hollows - All Zone Quests

Runs through fine for me every time. It looks like you don't have the two required quests at that point. One of them has you run from one camp to the next pulling a supply cart. If, for some reason the cart gets destroyed on the way, the quest will not complete and you will have to drop it and pick ...
by Bill D Cat
Thu Nov 24, 2016 11:23 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: ParseHyperlink - Error (Solutions?)
Replies: 3
Views: 5668

Re: ParseHyperlink - Error (Solutions?)

If you are going to rewrite it all in code the bot can execute, you may need to do a little extra work. Since the ParseHyperlink command is a RoM function, I think you need to use the command inside a RoMCode() call from the bot. Give this a try and see if it works. local _, Data = RoMCode("Par...
by Bill D Cat
Wed Nov 23, 2016 3:36 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Demonstration Battle by lolita
Replies: 21
Views: 19990

Re: Demonstration Battle by lolita

Here's my modified version that does class swap. Feel free to use/modify/delete it as you see fit.
by Bill D Cat
Fri Nov 18, 2016 8:28 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: mysterious bags
Replies: 9
Views: 13775

Re: mysterious bags

Just an FYI, but only mobs that have one of the these 4 buffs will randomly drop mysterious bags. I would try to identify those mobs and attack them first, and only go after the other mobs in the area if there are no more with the buffs. Should be pretty easy to check to see if they have one of the ...
by Bill D Cat
Sun Oct 23, 2016 11:24 am
Forum: Runes of Magic
Topic: [SOLVED] Optimisation Problem in Code
Replies: 3
Views: 2746

Re: Optimisation Problem in Code

One thing I notice in the latest scripts you posted is that one of the conditions you always check is to see if the player's HP > 1 before casting. Wouldn't this be better to either be > 0 or >= 1 since in the rare instance the player had their health reduced to exactly 1 HP your healer would not tr...
by Bill D Cat
Tue Oct 18, 2016 9:21 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Farsitan "Energetic Sequencing" Daily & EoJ.
Replies: 10
Views: 5982

Re: Farsitan "Energetic Sequencing" Daily & EoJ.

The file uses Lisa's userfunction_speedhack which can be found here: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2765

If you don't want to use that, you can just remove the "speed" command at the beginning of the waypoint file and it will run fine without it.
by Bill D Cat
Mon Oct 17, 2016 10:21 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Farsitan "Energetic Sequencing" Daily & EoJ.
Replies: 10
Views: 5982

Re: Farsitan "Energetic Sequencing" Daily & EoJ.

Here are both files modified to use any language client. The only text string I did not convert was "finished!" because I didn't know which exact text string was being monitored.
by Bill D Cat
Sat Oct 15, 2016 9:50 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: galloping gale
Replies: 4
Views: 2395

Re: galloping gale

Seems to me something like this would work. Easy to add to a specific waypoint.

Code: Select all

if inventory:itemTotalCount(207204) > 0 and not player:hasBuff(506688) then
     inventory:useItem(207204)
end
by Bill D Cat
Sun Oct 09, 2016 7:04 pm
Forum: Runes of Magic
Topic: Need your help updating skill Ids
Replies: 101
Views: 34914

Re: Need your help updating skill Ids

beanybabe wrote:Where is the basic Attack skill ?
The skill is called with the "Attack()" command. Simple as that.
by Bill D Cat
Sat Oct 08, 2016 8:54 am
Forum: Runes of Magic
Topic: [SOLVED] Monitor Party Chat Twice
Replies: 4
Views: 2910

Re: [REQUEST] Monitor Party Chat Twice

Its defined on party.lua. Nevermind problem solved. The function checkEventParty() is defined in party.lua, and the function name is case sensitive. However, there is no definition in party.lua for an all lowercase checkeventparty() function name as you originally posted. All bot function names are...
by Bill D Cat
Fri Oct 07, 2016 7:13 am
Forum: Runes of Magic
Topic: New AT Charges
Replies: 8
Views: 3825

Re: New AT Charges

Thanks Bill. been away a few days but, finally got a chance to try it out without quotes. However, I get 2016-10-07 09:12:41 - [string "..."]:10: attempt to call global 'itemTotalCount' (a nil value) Well that's a simple fix. The command is inventory:itemTotalCount(). See my notes in your...
by Bill D Cat
Mon Oct 03, 2016 7:03 am
Forum: Runes of Magic
Topic: New AT Charges
Replies: 8
Views: 3825

Re: New AT Charges

Just get rid of the quotes around the numbers: inventory:useItem(202928)

You only need the quotes if the characters are alpha-numeric like the item name itself. You don't need them if you are using the item's ID number.
by Bill D Cat
Fri Sep 30, 2016 8:12 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Moorland of Farsitan daily's
Replies: 9
Views: 7122

Re: Moorland of Farsitan daily's

I got this so far but not working right..... <?xml version="1.0" encoding="utf-8"?><waypoints> <onload> <!-- # 1 --><waypoint x="-3566" z="5053" y="868"> player:target_NPC(123595) AcceptQuestByName(427336) -- The Cost of Magic </waypoint> [ Extra Wa...
by Bill D Cat
Fri Sep 30, 2016 8:01 pm
Forum: Runes of Magic
Topic: [SOLVED] Need Info About "findEnemy"
Replies: 2
Views: 1929

Re: Need Info About "findEnemy"

As far as I can tell, player:findEnemy() will rely on the following profile setting to determine the range at which to check for attackable mobs.

Code: Select all

<option name="MAX_TARGET_DIST"			value="200" />
by Bill D Cat
Thu Sep 29, 2016 6:17 am
Forum: Runes of Magic
Topic: get mob id
Replies: 10
Views: 4336

Re: get mob id

If player:loot() doesn't work, you could try using Attack() instead. Basically the same function as targeting a dead mob and hitting the 1 key (default settings) to loot.