Search found 20 matches

by leroy
Fri Apr 08, 2016 3:47 pm
Forum: Runes of Magic
Topic: possible to edit class function from within waypoint onLoad section? Yes it is!
Replies: 6
Views: 3066

Re: possible to edit class function from within waypoint onLoad section? Yes it is!

Function in onload: function getChest(dist) local chest = player:findNearestNameOrId(104529) if chest and dist > distance(chest,player) then player:target_NPC(104529) -- Mysterious Chest yrest(2000); player:target_NPC(104529) -- Mysterious Chest yrest(500); end end And use in waypoint with getChest(...
by leroy
Tue Feb 09, 2016 4:21 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 312334

Re: rock5's "fastLogin Revisited"

I think it might take up to a week before deleted chars cant be recovered anymore with the button, so only then they (and the button) are gone.
by leroy
Tue Oct 20, 2015 4:26 am
Forum: Runes of Magic
Topic: Small problem with reloading ammunition
Replies: 7
Views: 5197

Small problem with reloading ammunition

While playing on scout I noticed 2 things. 1. I have alot of waypoints which only have an 'onload' section and then the bot routine "-- reloading ammunition" doesnt get used. It seems it only gets to the routine if u have a 'proper' <waypoint></waypoint> line. 2. When ur first (and maybe o...
by leroy
Sat Jun 27, 2015 2:21 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: userfunction_magicbox
Replies: 3
Views: 5248

Re: userfunction_magicbox

Sofar the Fusion addon has been enough for me but I might just try your functions :)
Thanx for all the contributions you made!
by leroy
Sat Jun 20, 2015 5:09 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: NoobBotter's LogPlayer Userfunction
Replies: 21
Views: 8190

Re: NoobBotter's LogPlayer Userfunction

After changing the above it errors on the "local newentry" line:

Code: Select all

onLoad error: ...cro/scripts/rom/userfunctions/userfunction_LogPlayer.lua:8: bad
 argument #1 to 'match' (string expected, got nil)
And I feel so stupid but no idea what to change to make it work.
by leroy
Sun Jun 07, 2015 4:40 am
Forum: RoM general
Topic: Where am I ()
Replies: 31
Views: 12105

Re: Where am I ()

I use a simple zone and distance2npc check. I found this somewhere in forum, only modfied it a bit, so credits to original poster. Modify zoneID and NPC ID to fit your needs. zoneID = 30 -- Kathalan questNPC = 123561 -- Jenn local zone = getZoneId() if zone ~= zoneID then print("Not in quest zo...
by leroy
Tue May 19, 2015 11:53 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Splitter Addon/Userfunction by Rock5
Replies: 23
Views: 6709

Re: Splitter Addon/Userfunction by Rock5

I tried splitting or merging items in a locked bag and it does NOT work.
by leroy
Sat Feb 14, 2015 7:52 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 67453

Re: Automatic 'login' script

Im trying your version Dx but when i use the new/macro login it gives an error: Starting client rombot ... Clicking account 27 ... ...romacro/scripts/rom/userfunctions/userfunction_login.lu a:64: attempt to call global 'writeToMacro' (a nil value) And it stops at the button screen. When i copy the '...
by leroy
Mon Jun 02, 2014 8:28 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 312334

Re: rock5's "fastLogin Revisited"

Lol what a terrible mistake. I added the missing line. New version attached.
by leroy
Sun Jun 01, 2014 2:35 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 312334

Re: rock5's "fastLogin Revisited"

Some NPC's are only available in 1 channel. Like the current badges/bags NPC is only in channel 1. SetChannelForLogin() works when relogging chars but not when restarting client with SetRestartClientSettings(). So I modified some files to click the desire channel when restarting client. It works whe...
by leroy
Sun Sep 29, 2013 2:58 am
Forum: RoM Bot revision notes
Topic: 765 Changelog
Replies: 10
Views: 5482

Re: 765 Changelog

A small request. Could in the next update all the included (demo) waypoint files be moved under 1 dir? Something like .\Waypoints\Demo\<everything>
I always delete those, after each update they 'pollute' my waypoint dir :)

Thanx
by leroy
Wed Sep 25, 2013 3:31 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatically created waypointfiles
Replies: 47
Views: 31308

Re: Automatically created waypointfiles

Thank you for this new version. Im using it and i like it alot :)
by leroy
Mon Sep 23, 2013 11:53 am
Forum: Runes of Magic
Topic: s/wd charged chop problem
Replies: 4
Views: 1524

Re: s/wd charged chop problem

I am talking about the skill used as s/wd, not as wd/x.

Charged Chop on s/wd has a 1sec cast i think since c5 orso.
by leroy
Mon Sep 23, 2013 9:56 am
Forum: Runes of Magic
Topic: s/wd charged chop problem
Replies: 4
Views: 1524

s/wd charged chop problem

I have a problem on s/wd. When casting charged chop from a distance the bot keeps on running to the target and thus failing the cast. I noticed in skills database the casttime is wrong: <skill name="SCOUT_CHARGED_CHOP" id="494336" range="180" type="damage" cas...
by leroy
Sat Sep 21, 2013 9:45 am
Forum: Runes of Magic
Topic: Problem (and fix) with Warden's Frantic Briar
Replies: 3
Views: 1381

Problem (and fix) with Warden's Frantic Briar

In skill database Frantic Briar is listed as: <skill name="WARDEN_FRANTIC_BRIAR" id="493391" range="0" type="damage" casttime="0" cooldown="12" target="enemy" aoecenter="player" aoerange="60"/> However like tha...
by leroy
Fri Sep 20, 2013 5:56 am
Forum: Runes of Magic
Topic: Stopping 'cast' when clicking item.
Replies: 37
Views: 9613

Re: Stopping 'cast' when clicking item.

I ended up with this waypoint file. It starts from housemaid.
If you have problems getting the good eggs try adjusting the yrest values in waypoint 9.

Only thing I dont understand is why it tries to click the campfire 1 more time after the daily is done, but i can live with a few sec delay :)
by leroy
Fri Sep 20, 2013 5:50 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Elven Island - All Zone Quests
Replies: 67
Views: 19896

Re: Elven Island - All Zone Quests

I dont think I will use these but the amount of work you put into this is amazing. Thanks for sharing this!
by leroy
Thu Sep 19, 2013 12:51 pm
Forum: Runes of Magic
Topic: What to do about Thunderstorm
Replies: 7
Views: 2886

Re: What to do about Thunderstorm

I dont think running into the mobs is a bot problem. I had that also casting TS manually. Happens when time between click the skillbar and click the ground is too big. Your char would run to the place you wanted to cast TS.
by leroy
Thu Sep 19, 2013 12:28 pm
Forum: Runes of Magic
Topic: Stopping 'cast' when clicking item.
Replies: 37
Views: 9613

Stopping 'cast' when clicking item.

Im trying to make a waypoint for an easy daily in Sarlo zone. For this daily you need to click a campfire 5 times to get 5 grilled eggs. When you click the campfire a 8 second 'cast' wil start. That 'cast' needs to be interupted by movement after 5 seconds otherwise you dont get a good grilled egg. ...