Weapon Leveling

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Weapon Leveling

#1 Post by ZZZZZ » Thu Jul 03, 2014 10:04 am

Figured I would make a new thread for this so it's on first post rather than 3rd page of the old thread. Every now and then I see somebody asking for something similar ^^

Currently it has TB eggs, Merdin Tundra tower, Sarlo Devices and the 3 outer siege gates as targets.

Set how many weps you are using and what types and start it next to any of the above targets.
WepTraining.xml
V1.3
(9.93 KiB) Downloaded 536 times
Last edited by ZZZZZ on Thu Jul 03, 2014 10:41 am, edited 2 times in total.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Weapon Leveling

#2 Post by rock5 » Thu Jul 03, 2014 10:26 am

You know player:findNearestNameOrId can accept a table of ids so it might be easier to maintain the list of ids if you did something like this.

Code: Select all

		<!-- Current places it can train at, add to this list if another is found --> 
		local targetlist = {
			106770, -- Merdin Tower
			112064, -- Siege Gate
			106062, -- TB Egg
			107789, -- Sarlo Device
		}
		
		hittarget = player:findNearestNameOrId(targetlist)
		<!-- 																	  -->
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Weapon Leveling

#3 Post by ZZZZZ » Thu Jul 03, 2014 10:40 am

rock5 wrote:You know player:findNearestNameOrId can accept a table of ids so it might be easier to maintain the list of ids if you did something like this.
Good point, I forgot about that, thanks.

Meth
Posts: 13
Joined: Tue Aug 19, 2014 4:26 am

Re: Weapon Leveling

#4 Post by Meth » Wed Aug 20, 2014 1:25 pm

is there anyway to fix this? i got 2 errors

Uknown profile skill ALL_FIRE_TRAINING. Check your manual castings (e.g. in the events or waypoint files) Be sure the skills is in the skills section of your profile.

Files/rom/micromacro/scripts/rom/classes/player/.lua:1005: attempt to compare number to nil

if anyone can fix these errors that would be awesome =) also to add the potion called Frenzy potion =D

ZZZZZ
Posts: 513
Joined: Sun Oct 21, 2012 1:42 am

Re: Weapon Leveling

#5 Post by ZZZZZ » Wed Aug 20, 2014 6:23 pm

You need to add ALL_FIRE_TRAINING to your profile, as the error says. So under the class you are using in your profile add this.

Code: Select all

<skill name="ALL_FIRE_TRAINING"				hotkey="MACRO" priority="100" autouse="false" />
As for adding Frenzy Potion to the file, you can do that simply by copying the section that deals with using Battletime.

Code: Select all

if inventory:findItem(206688) then -- Battle Time
				local BattleTime = inventory:findItem(206688)
				local maxCD, CurrentCD = RoMScript("GetBagItemCooldown(".. (BattleTime.SlotNumber - 60) ..")")
				if CurrentCD == 0 then
					BattleTime:use()
					yrest(1000);
				end
			end
Change "BattleTime" to "FrenzyPot" and change the ID to that of the Frenzy potion.

Meth
Posts: 13
Joined: Tue Aug 19, 2014 4:26 am

Re: Weapon Leveling

#6 Post by Meth » Thu Aug 21, 2014 8:14 am

hey thanks it works perfectly =)

Meth
Posts: 13
Joined: Tue Aug 19, 2014 4:26 am

Re: Weapon Leveling

#7 Post by Meth » Thu Aug 21, 2014 12:30 pm

so just 2 quick questions again.. sorry xD where are the sarlo devices? and i tried the script but it wont attack or preform anything on the gates in sw.
is there anyway to fix that? =)
sorry for the dumb questions xD

Hotkey
Posts: 10
Joined: Wed Nov 05, 2014 1:46 am

Re: Weapon Leveling

#8 Post by Hotkey » Wed Nov 05, 2014 7:52 pm

Hello, help write a waypoint to do the following:
- Check the strength on the dagger
- If strength below 71 then repaired dagger hammer
This weapon skill to level your character.
Sorry if this has already asked some one, I did not find it anywhere.
If you can multilingual waypoint. I shake my weapon skill in Istok on cave beetles dungeon lvl 55.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests