Page 1 of 1

Weapon Leveling

Posted: Thu Jul 03, 2014 10:04 am
by ZZZZZ
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 539 times

Re: Weapon Leveling

Posted: Thu Jul 03, 2014 10:26 am
by rock5
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)
		<!-- 																	  -->

Re: Weapon Leveling

Posted: Thu Jul 03, 2014 10:40 am
by ZZZZZ
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.

Re: Weapon Leveling

Posted: Wed Aug 20, 2014 1:25 pm
by Meth
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

Re: Weapon Leveling

Posted: Wed Aug 20, 2014 6:23 pm
by ZZZZZ
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.

Re: Weapon Leveling

Posted: Thu Aug 21, 2014 8:14 am
by Meth
hey thanks it works perfectly =)

Re: Weapon Leveling

Posted: Thu Aug 21, 2014 12:30 pm
by Meth
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

Re: Weapon Leveling

Posted: Wed Nov 05, 2014 7:52 pm
by Hotkey
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.