Difference between revisions of "RoM Leveling"
(New page: = Connecting waypoint files = For automatic leveling, you have to connect different waypoint files. Starting from one waypoint file, you change to the next, if you reach a given level. Y...) |
|||
Line 16: | Line 16: | ||
end | end | ||
</waypoint></source> | </waypoint></source> | ||
− | = | + | = Automatic Skill Leveling = |
Use the <onLeaveCombat> event in your profile to automatic level up your skills | Use the <onLeaveCombat> event in your profile to automatic level up your skills | ||
Line 32: | Line 32: | ||
<source lang="lua">/script _SkillName = GetSkillDetail(4,2); SendSystemChat(_SkillName);</source> | <source lang="lua">/script _SkillName = GetSkillDetail(4,2); SendSystemChat(_SkillName);</source> | ||
+ | |||
+ | = Open Bags and equipt amore = | ||
+ | You can automaticly open the present bags and equipt armor from the bags. | ||
+ | |||
+ | That's only an example what you can do now. That funtionality will change within the bot in the next time. | ||
+ | |||
+ | <source lang="lua"><onLeaveCombat> | ||
+ | if( player.Level > player.free_counter1 and | ||
+ | player.Level == 2 ) then yrest(2000); | ||
+ | yrest(1000); | ||
+ | RoMScript("UseBagItem( CheckForItem('Abenteurer-Geschenkbeutel') )"); | ||
+ | yrest(3000); | ||
+ | RoMScript("UseBagItem( CheckForItem('Stoffg\195\188rtel (Geschenk des Pionierdorfs)') )"); | ||
+ | player.free_counter1 = player.Level; | ||
+ | RoMScript("SetSpellPoint( 4, 2 );"); | ||
+ | yrest(1000); | ||
+ | RoMScript("SetSpellPoint( 4, 2 );"); | ||
+ | elseif( player.Level > player.free_counter1 and | ||
+ | player.Level == 3 ) then yrest(2000); | ||
+ | RoMScript("UseBagItem( CheckForItem('Pionier-Geschenkbeutel') )"); | ||
+ | yrest(2000); | ||
+ | RoMScript("UseBagItem( CheckForItem('Ohrringe (Geschenk des Pionierdorfs)') )"); | ||
+ | player.free_counter1 = player.Level; | ||
+ | RoMScript("SetSpellPoint( 4, 2 );"); | ||
+ | end</onLeaveCombat> | ||
+ | In that example we use a new ingame macro function [http://forum.runesofmagic.com/showthread.php?t=62431&page=2 CheckForItem] for selecting an ingame item by name. |
Revision as of 20:48, 6 September 2009
Connecting waypoint files
For automatic leveling, you have to connect different waypoint files. Starting from one waypoint file, you change to the next, if you reach a given level.
You start at the spawn point in Pionier Village and walk to your first botting place:
<waypoints type="TRAVEL" >
<!-- # 3 --><waypoint x="-3779" z="-8480"></waypoint>
...
<!-- # 8 --><waypoint x="-3034" z="-9034">load_paths("l2-3.xml");</waypoint>
</waypoints>
load_paths( [waypointfile] | [returnpath] );
You can do that also if you reach a given level, to go to the next botting place:
<!-- #14 --><waypoint x="-1931" z="-9750">
if( player.Level > 2) then
load_paths("l3_goto_4_baeren");
end
</waypoint>
Automatic Skill Leveling
Use the <onLeaveCombat> event in your profile to automatic level up your skills
<onLeaveCombat>
if( player.Level > player.free_counter1 and
player.Level == 2 ) then
RoMScript("SetSpellPoint( 4, 2 );");
yrest(1000);
RoMScript("SetSpellPoint( 4, 2 );");
elseif( player.Level > player.free_counter1) then
player.free_counter1 = player.Level;
RoMScript("SetSpellPoint( 4, 2 );");
end
</onLeaveCombat>
/script _SkillName = GetSkillDetail(4,2); SendSystemChat(_SkillName);
Open Bags and equipt amore
You can automaticly open the present bags and equipt armor from the bags.
That's only an example what you can do now. That funtionality will change within the bot in the next time.
<source lang="lua"><onLeaveCombat> if( player.Level > player.free_counter1 and
player.Level == 2 ) then yrest(2000); yrest(1000);
RoMScript("UseBagItem( CheckForItem('Abenteurer-Geschenkbeutel') )"); yrest(3000); RoMScript("UseBagItem( CheckForItem('Stoffg\195\188rtel (Geschenk des Pionierdorfs)') )"); player.free_counter1 = player.Level; RoMScript("SetSpellPoint( 4, 2 );"); yrest(1000); RoMScript("SetSpellPoint( 4, 2 );"); elseif( player.Level > player.free_counter1 and
player.Level == 3 ) then yrest(2000);
RoMScript("UseBagItem( CheckForItem('Pionier-Geschenkbeutel') )"); yrest(2000); RoMScript("UseBagItem( CheckForItem('Ohrringe (Geschenk des Pionierdorfs)') )"); player.free_counter1 = player.Level; RoMScript("SetSpellPoint( 4, 2 );"); end</onLeaveCombat> In that example we use a new ingame macro function CheckForItem for selecting an ingame item by name.