Code: Select all
if inventory:itemTotalCount(207204) > 0 then
inventory:useItem(207204)
end
player:mount()
Code: Select all
if inventory:itemTotalCount(207204) > 0 then
inventory:useItem(207204)
end
player:mount()
Code: Select all
if (player:hasBuff("506687")) then
inventory:useItem(207204);
end
Code: Select all
if not player:hasBuff(503479) then
if inventory:findItem(204514) then-- pet perfume 30 days
inventory:useItem(204514)
elseif profile.options.LOOT ~= true then
changeProfileOption("LOOT", "true")
changeProfileOption("LOOT_ALL", "true")
end
end
Code: Select all
changeProfileOption("LOOT", true)
changeProfileOption("LOOT_ALL", true)
Code: Select all
<onDeath>
RoMScript("LeaveParty()");
player:rest(30);
loadPaths("ks-res-to-pancer");
<![CDATA[
-- Additional Lua code to execute on death
-- pauseOnDeath(); -- Stop the script
-- player:logout(); -- logout
]]></onDeath>
<onLeaveCombat>
if(RoMScript( "GetCurrentWorldMapID();" )~= 6)then
if inventory:itemTotalCount(0) == 0 then
RoMScript("LeaveParty()");
player:rest(30);
loadPaths("ks-res-to-pancer");
end
end
player:lootAll();
</onLeaveCombat>
<onLevelup><![CDATA[
-- Additional Lua code to execute after having a levelup
-- and levelup the skills for a new character (mage or priest recommended)
-- e.g. sendMacro("SetSpellPoint(_tabnr, _skillnr);"); would levelup a skill
]]></onLevelup>
<onSkillCast><![CDATA[
-- Additional Lua code to execute when casting a skill
-- Note: arg1 contains the skill being used.
-- i.e. arg1.Name will be the name of the skill being cast
-- e.g.:
--if( 15 > player.HP/player.MaxHP*100 ) then
-- player:cast("PRIEST_SOUL_SOURCE");
--elseif( 25 > player.HP/player.MaxHP*100 ) then
-- player:cast("PRIEST_HOLY_AURA");
-- player:cast("PRIEST_URGENT_HEAL");
-- player:cast("PRIEST_URGENT_HEAL");
]]>
local target = player:getTarget();
local name = target.Name;
if(name == "Adept der G\195\182ttin der K\195\188nste")then
player:cast("MAGE_ELEMENTAL_CATALYST");
yrest(1000);
player:cast("MAGE_FLAME");
yrest(1300);
player:cast("PRIEST_HOLY_AURA");
yrest(1000);
player:cast("MAGE_FLAME");
yrest(1000);
player:cast("MAGE_FLAME");
else
if(target:distanceToTarget() > 60)then
else
player:cast("MAGE_PURGATORY_FIRE");
end
end
</onSkillCast>
<onUnstickFailure><![CDATA[
-- Lua code to execute when MAX_UNSTICK_TRIALS is reached.
]]> if(RoMScript( "GetCurrentWorldMapID();" )~= 6)then
player.Unstick_counter = 0;
RoMScript("LeaveParty()");
player:rest(30);
loadPaths("ks-res-to-pancer");
else
player:logout();
end
</onUnstickFailure>
First you need to know whether it recognized the name you typed. After the 'if' statement add a print message to make sure the 'if' statement worked.BlubBlab wrote:Please ignore the crazy stuff I did my only question is why can't I shoot manuel B4 in KS with the <onSkillCast> Option?
Code: Select all
if(name == "Adept der G\195\182ttin der K\195\188nste")then
print("Name matched")
Are you talking about the door that only opens if you kill the boss? You can fly over it. You can fly through the wall above the door.BlubBlab wrote:By the way has anybody a remove spell effekt for the Wall after b3?
you don't need to use romeosBlubBlab wrote: I dont trust romeos hack
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onload>
function unStick6()
if getZoneId() == 6 then
__WPL:setForcedWaypointType("RUN")
else
sendMacro("LeaveParty();");
waitForLoadingScreen();
yrest(3000)
player:update();
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
end
</onload>
<!-- # 1 --><waypoint x="-32689" z="-14572" y="669" tag="rerun">
yrest(2000)
SlashCommand("ILG destroy");
inventory:useItem(202879);
yrest(2000)
SlashCommand("ILG inv");
yrest(2000)
SlashCommand("ILG inv")
sendMacro("ViewDistanceSlider_SetValue(200);");
inventory:useItem(207204);
yrest(1000)
inventory:useItem(202246);
inventory:useItem(206560);
inventory:useItem(202246);
inventory:useItem(202246);
inventory:useItem(202455);
inventory:useItem(202246);
inventory:useItem(202455);
inventory:useItem(206205);
inventory:useItem(202455);
inventory:useItem(202455);
yrest(6000)
</waypoint>
<!-- # 2 --><waypoint x="-33065" z="-14366" y="697" type="TRAVEL"> </waypoint>
<!-- # 3 --><waypoint x="-33301" z="-14176" y="696" type="TRAVEL"> </waypoint>
<!-- # 4 --><waypoint x="-33700" z="-14424" y="701" type="TRAVEL"> </waypoint>
<!-- # 5 --><waypoint x="-33680" z="-14713" y="714" type="TRAVEL"> </waypoint>
<!-- # 6 --><waypoint x="-33306" z="-15117" y="753" type="TRAVEL"> </waypoint>
<!-- # 7 --><waypoint x="-33483" z="-15382" y="748" type="TRAVEL"> </waypoint>
<!-- # 8 --><waypoint x="-33374" z="-15520" y="733" type="TRAVEL"> </waypoint>
<!-- # 9 --><waypoint x="-33028" z="-15395" y="626" type="TRAVEL"> </waypoint>
<!-- # 10 --><waypoint x="-32692" z="-15657" y="545" type="TRAVEL"> </waypoint>
<!-- # 11 --><waypoint x="-32582" z="-15726" y="552" type="TRAVEL"> </waypoint>
<!-- # 12 --><waypoint x="-32757" z="-16127" y="416" type="TRAVEL"> </waypoint>
<!-- # 13 --><waypoint x="-32956" z="-16213" y="411" type="TRAVEL"> </waypoint>
<!-- # 14 --><waypoint x="-33239" z="-16223" y="417" type="TRAVEL"> </waypoint>
<!-- # 15 --><waypoint x="-33365" z="-16202" y="415"> player:merchant("Carey Delis");
</waypoint>
<!-- # 17 --><waypoint x="-33266" z="-16239" y="418" type="TRAVEL"> </waypoint>
<!-- # 18 --><waypoint x="-32847" z="-16193" y="407" type="TRAVEL"> </waypoint>
<!-- # 19 --><waypoint x="-32712" z="-16049" y="420" type="TRAVEL"> </waypoint>
<!-- # 20 --><waypoint x="-32577" z="-15755" y="551" type="TRAVEL"> </waypoint>
<!-- # 21 --><waypoint x="-32768" z="-15582" y="546" type="TRAVEL"> </waypoint>
<!-- # 22 --><waypoint x="-33062" z="-15382" y="631" type="TRAVEL"> </waypoint>
<!-- # 23 --><waypoint x="-33391" z="-15520" y="738" type="TRAVEL"> </waypoint>
<!-- # 24 --><waypoint x="-33470" z="-15307" y="753" type="TRAVEL"> </waypoint>
<!-- # 25 --><waypoint x="-33311" z="-15105" y="751" type="TRAVEL"> </waypoint>
<!-- # 26 --><waypoint x="-33460" z="-14918" y="714" type="TRAVEL"> </waypoint>
<!-- # 27 --><waypoint x="-33679" z="-14741" y="714" type="TRAVEL"> </waypoint>
<!-- # 28 --><waypoint x="-33609" z="-14509" y="717" type="TRAVEL"> </waypoint>
<!-- # 29 --><waypoint x="-33533" z="-14330" y="698" type="TRAVEL"> </waypoint>
<!-- # 30 --><waypoint x="-33255" z="-14166" y="695" type="TRAVEL"> </waypoint>
<!-- # 31 --><waypoint x="-32771" z="-14652" y="690" type="TRAVEL"> </waypoint>
<!-- # 32 --><waypoint x="-32650" z="-14713" y="690" type="TRAVEL">
player:target_NPC("Kalice");
sendMacro("ChoiceOption(1);");
waitForLoadingScreen();
</waypoint>
<!-- # 35 --><waypoint x="-38122" z="-9369" y="1061" type="TRAVEL"> </waypoint>
<!-- # 36 --><waypoint x="-38138" z="-9342" y="1061" type="TRAVEL">
keyboardHold( key.VK_W );
yrest(2000)
keyboardPress( key.VK_SPACE );
waitForLoadingScreen();
</waypoint>
<!-- # 37 --><waypoint x="1923" z="1080" y="47">
changeProfileSkill("MAGE_PURGATORY_FIRE","InBattle", true,"Autouse", true)
changeProfileSkill("MAGE_FLAME","InBattle", false,"Autouse", false)
changeProfileOption("QUICK_TURN", true);
player:updateBuffs()
if not player:hasBuff("Grenzenloser Enthusiasmus") then
inventory:useItem(207200);
end
yrest(500)
player:updateBuffs()
if not player:hasBuff(506687) then
inventory:useItem(207203);
end
yrest(500)
player:updateBuffs()
if not player:hasBuff("Klarer Gedanke") then
inventory:useItem(207202);
end
inventory:useItem(207582);
changeProfileOption("LOOT", true);
changeProfileOption("LOOT_ALL", true);
</waypoint>
<!-- # 38 --><waypoint x="1976" z="1083" y="47" type="TRAVEL"> </waypoint>
<!-- # 39 --><waypoint x="2069" z="1332" y="47" type="TRAVEL"> </waypoint>
<!-- # 40 --><waypoint x="1990" z="1424" y="47" type="TRAVEL"> </waypoint>
<!-- # 41 --><waypoint x="2008" z="1589" y="47" type="TRAVEL"> </waypoint>
<!-- # 42 --><waypoint x="2184" z="1554" y="47" type="TRAVEL"> </waypoint>
<!-- # 43 --><waypoint x="2203" z="1732" y="47" type="TRAVEL"> </waypoint>
<!-- # 44 --><waypoint x="2372" z="1614" y="47">
</waypoint>
<!-- # 45 --><waypoint x="2544" z="1625" y="47" type="TRAVEL"> </waypoint>
<!-- # 46 --><waypoint x="2595" z="1487" y="47" type="TRAVEL"> </waypoint>
<!-- # 47 --><waypoint x="2688" z="1485" y="47" type="TRAVEL"> </waypoint>
<!-- # 48 --><waypoint x="2749" z="1605" y="47" type="TRAVEL"> </waypoint>
<!-- # 49 --><waypoint x="2906" z="1657" y="47" type="TRAVEL"> </waypoint>
<!-- # 50 --><waypoint x="2850" z="1725" y="47" type="TRAVEL"> </waypoint>
<!-- # 51 --><waypoint x="2707" z="1748" y="47" type="TRAVEL"> </waypoint>
<!-- # 52 --><waypoint x="2652" z="1826" y="47">
</waypoint>
<!-- # 53 --><waypoint x="2656" z="1980" y="47" type="TRAVEL"> </waypoint>
<!-- # 54 --><waypoint x="2579" z="2122" y="47" type="TRAVEL"> </waypoint>
<!-- # 55 --><waypoint x="3017" z="2112" y="47" type="TRAVEL"> </waypoint>
<!-- # 56 --><waypoint x="2890" z="2374" y="47">
</waypoint>
<!-- # 57 --><waypoint x="2890" z="2374" y="47">
</waypoint>
<!-- # 58 --><waypoint x="2978" z="2594" y="47" type="TRAVEL"> </waypoint>
<!-- # 59 --><waypoint x="3107" z="2507" y="47" type="TRAVEL"> </waypoint>
<!-- # 60 --><waypoint x="3223" z="2587" y="47">
</waypoint>
<!-- # 61 --><waypoint x="3128" z="2705" y="47" type="TRAVEL"> </waypoint>
<!-- # 62 --><waypoint x="3271" z="2769" y="47" type="TRAVEL"> </waypoint>
<!-- # 63 --><waypoint x="3401" z="2693" y="47">
</waypoint>
<!-- # 64 --><waypoint x="3465" z="2700" y="47" type="TRAVEL"> </waypoint>
<!-- # 65 --><waypoint x="3533" z="2694" y="47" type="TRAVEL"> </waypoint>
<!-- # 66 --><waypoint x="3580" z="2596" y="47" type="TRAVEL"> </waypoint>
<!-- # 67 --><waypoint x="3630" z="2776" y="47">
changeProfileSkill("MAGE_DISCHARGE","InBattle", false,"Autouse", false)
changeProfileSkill("MAGE_FLAME","InBattle", true,"Autouse", true)
player:cast ("MAGE_ELECTROSTATIC_CHARGE");
</waypoint>
<!-- # 68 --><waypoint x="3641" z="2710" y="47">
changeProfileSkill("MAGE_DISCHARGE","InBattle", false,"Autouse", false) <--- to avoid a stun, podag will e angry :o
changeProfileSkill("MAGE_FLAME","InBattle", true,"Autouse", true)
changeProfileOption("AUTO_ELITE_FACTOR", 2500);
changeProfileOption("MAX_TARGET_DIST", 225);
player:target( player:findNearestNameOrId(101346) )<---the critical point, which command to insert here for the prob
keyboardPress( key.VK_7 );
yrest(1000)
keyboardPress( key.VK_4 );
yrest(1000)
keyboardPress( key.VK_5 );
</waypoint>
<!-- # 69 --><waypoint x="3979" z="2711" y="47"> </waypoint>
<!-- # 70 --><waypoint x="4053" z="2709" y="47">
changeProfileSkill("MAGE_PURGATORY_FIRE","InBattle", true,"Autouse", true)
changeProfileSkill("MAGE_DISCHARGE","InBattle", true,"Autouse", true)
changeProfileSkill("MAGE_FLAME","InBattle", false,"Autouse", false)
changeProfileOption("MAX_TARGET_DIST", 50);
</waypoint>
<!-- # 71 --><waypoint x="4175" z="2713" y="47" type="TRAVEL"> </waypoint>
<!-- # 72 --><waypoint x="4359" z="2664" y="47" type="TRAVEL"> </waypoint>
<!-- # 73 --><waypoint x="4264" z="2559" y="47" type="TRAVEL"> </waypoint>
<!-- # 74 --><waypoint x="4373" z="2491" y="47" type="TRAVEL"> </waypoint>
<!-- # 75 --><waypoint x="4343" z="2390" y="47"> </waypoint>
<!-- # 76 --><waypoint x="4449" z="2359" y="47" type="TRAVEL"> </waypoint>
<!-- # 77 --><waypoint x="4378" z="2163" y="47" type="TRAVEL"> </waypoint>
<!-- # 78 --><waypoint x="4630" z="2044" y="47" type="TRAVEL"> </waypoint>
<!-- # 79 --><waypoint x="4750" z="2054" y="47"> </waypoint>
<!-- # 80 --><waypoint x="4988" z="2137" y="47" type="TRAVEL"> </waypoint>
<!-- # 81 --><waypoint x="5012" z="2266" y="47" type="TRAVEL"> </waypoint>
<!-- # 82 --><waypoint x="5029" z="2375" y="47" type="TRAVEL"> </waypoint>
<!-- # 83 --><waypoint x="4837" z="2548" y="47"> </waypoint>
<!-- # 84 --><waypoint x="4834" z="2676" y="47" type="TRAVEL"> </waypoint>
<!-- # 85 --><waypoint x="4768" z="3000" y="47" type="TRAVEL"> </waypoint>
<!-- # 86 --><waypoint x="4844" z="3090" y="47"> </waypoint>
<!-- # 87 --><waypoint x="4847" z="3093" y="47" type="TRAVEL"> </waypoint>
<!-- # 88 --><waypoint x="5164" z="3153" y="47"> </waypoint>
<!-- # 89 --><waypoint x="5022" z="3267" y="47" type="TRAVEL"> </waypoint>
<!-- # 90 --><waypoint x="5041" z="3623" y="47" type="TRAVEL"> </waypoint>
<!-- # 91 --><waypoint x="4901" z="3602" y="47" type="TRAVEL"> </waypoint>
<!-- # 92 --><waypoint x="4865" z="3723" y="47" type="TRAVEL"> </waypoint>
<!-- # 93 --><waypoint x="4720" z="3630" y="47" type="TRAVEL"> </waypoint>
<!-- # 94 --><waypoint x="4606" z="3706" y="47"> </waypoint>
<!-- # 95 --><waypoint x="4606" z="3517" y="47" type="TRAVEL"> </waypoint>
<!-- # 96 --><waypoint x="4497" z="3511" y="47" type="TRAVEL"> </waypoint>
<!-- # 97 --><waypoint x="4539" z="3311" y="47" type="TRAVEL"> </waypoint>
<!-- # 98 --><waypoint x="4408" z="3355" y="47" type="TRAVEL"> </waypoint>
<!-- # 99 --><waypoint x="4374" z="3250" y="47"> </waypoint>
<!-- #100 --><waypoint x="4199" z="3278" y="47" type="TRAVEL"> </waypoint>
<!-- #101 --><waypoint x="4064" z="3353" y="47"> </waypoint>
<!-- #102 --><waypoint x="4030" z="3414" y="47" type="TRAVEL"> </waypoint>
<!-- #103 --><waypoint x="4138" z="3490" y="47" type="TRAVEL"> </waypoint>
<!-- #104 --><waypoint x="4094" z="3610" y="47" type="TRAVEL"> </waypoint>
<!-- #105 --><waypoint x="3837" z="3623" y="47"> </waypoint>
<!-- #106 --><waypoint x="3925" z="3613" y="47" type="TRAVEL"> </waypoint>
<!-- #107 --><waypoint x="4080" z="3869" y="47" type="TRAVEL"> </waypoint>
<!-- #108 --><waypoint x="4115" z="4103" y="47" type="TRAVEL"> </waypoint>
<!-- #109 --><waypoint x="4047" z="4159" y="47" type="TRAVEL"> </waypoint>
<!-- #110 --><waypoint x="3880" z="4229" y="47"> </waypoint>
<!-- #111 --><waypoint x="3725" z="4340" y="47" type="TRAVEL"> </waypoint>
<!-- #112 --><waypoint x="3733" z="4609" y="47">
player:cast ("MAGE_ELECTROSTATIC_CHARGE");
</waypoint>
<!-- #113 --><waypoint x="3914" z="4640" y="47" type="TRAVEL"> </waypoint>
<!-- #114 --><waypoint x="3925" z="4913" y="47">
player:cast ("MAGE_ELECTROSTATIC_CHARGE");
</waypoint>
<!-- #115 --><waypoint x="4043" z="4904" y="47" type="TRAVEL"> </waypoint>
<!-- #116 --><waypoint x="4135" z="4772" y="47" type="TRAVEL"> </waypoint>
<!-- #117 --><waypoint x="4217" z="4933" y="47" type="TRAVEL"> </waypoint>
<!-- #118 --><waypoint x="4319" z="4855" y="47"> </waypoint>
<!-- #119 --><waypoint x="4352" z="4863" y="47">
changeProfileOption("QUICK_TURN", true);
yrest(2000)
SlashCommand("ILG destroy");
waitForLoadingScreen();
</waypoint>
</waypoints>
Code: Select all
<!-- # 211 --><waypoint x="-15764" z="11358" type="RUN" tag="Pancer1"> </waypoint>
<!-- # 212 --><waypoint x="-15967" z="11304" type="RUN"> </waypoint>
<!-- # 213 --><waypoint x="-16078" z="11312" type="RUN"> </waypoint>
<!-- # 214 --><waypoint x="-16249" z="11327" type="RUN"> </waypoint>
<!-- # 215 --><waypoint x="-16450" z="11350" type="RUN"> </waypoint>
<!-- # 216 --><waypoint x="-16607" z="11365" type="RUN"> </waypoint>
<!-- # 217 --><waypoint x="-16618" z="11352" type="RUN"> changeProfileOption("HARVEST_DISTANCE", 200);
yrest(100);
--player:merchant("Pancer");
if player:openStore("Pancer") then -- opens the store, then continues if it opened.
for i, item in pairs(inventory.BagSlot) do
if (item.Worth > 222) then
item:use() -- sells it to the store
end
end
end
yrest(100);
ToPancer = 2
__WPL:setWaypointIndex(__WPL:findWaypointTag("toKS"));
</waypoint>
Maybe you are using an old version of this?Ahead wrote:Looting potion sigils are giving me critical error, any suggestion?
Thanks!.
I'm using the last one, v1.3.2. And it keeps giving me critical when i loot (no intentional) regeneration sigils (the yellow potion sigil, the potion which heals a lot in a row is working fine).Ego95 wrote:Maybe you are using an old version of this?Ahead wrote:Looting potion sigils are giving me critical error, any suggestion?
Thanks!.
http://solarstrike.net/phpBB3/viewtopic ... ltra+model
Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests