(09-27-2015 04:11 PM)Methal Wrote: I noticed that my toon will open a door, kill the ubrs, and restart the game, then open the same door kill them, start over etc.
Was wondering if you could tweak it so that it would run all 4 in a row, then restart the game, and run all 4 etc.
Thank =D
I believe that it currently does it this way in case you do not have all 4 portals, the profile that it loads is hardcoded into the bot so we can't change it ourself...
EDIT: I lied, here is a fixed version.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<脚本>
<GameParams questName="冒险模式" changeQuest="true" quest="-1" step="-1" act="OpenWorld"></GameParams>
<命令>
<If condition="not HasBagItems(366947) and not HasBagItems(366946) and not HasBagItems(366948) and not HasBagItems(366949)">
<Then>
<Params name="EnableKillKeywardensOnly" value="true"/>
<LoadProfile profile="A1-A4平均衡匙数目.xml"/>
</Then>
<Else>
<Params name="EnableKillKeywardensOnly" value="false"/>
<!-- go to act 1 town -->
<If condition="CurrentWorldId != 332336">
<传送平台 到点号="0"/>
</If>
<!-- in town move to house door 332336 -->
<移到 x="382.2621" y="537.5672" z="24.04533"/>
<移到 x="341.8767" y="526.9028" z="24.04533"/>
<移到 x="297.635" y="540.8083" z="24.04533"/>
<移到 x="264.8812" y="573.4428" z="24.04533"/>
<!-- Uber_BossPortal_Door-629, 物件编号=258064 Pos = X: 258.03, Y: 570.29, Z: 24.72-->
<If condition="ActorExistsAt(258064, 258, 570, 24, 100)">
<UseObject actorId="258064" attack="true" x="258" y="570" z="24"/>
<等待 等待时间="1000" attack="false"/>
</If>
<!--g_Portal_Rectangle_Orange_IconDoor-2388, 物件编号=178293, 距离=13 -->
<传送门 actorId="178293"/>
<!-- inside house-->
<If condition="CurrentWorldId == 257117">
<!--(1,0) InfernalMachine_Ghom_x1-169, 366947, A6388CB6 -->
<!-- top chaos 256112-->
<If condition="HasBagItems(366947) and not ActorExistsAt(258393, Me.Position.X, Me.Position.Y, Me.Position.Z, 500)">
<CreateUberPortal actorId="366947"/>
<传送门 actorId="258393"/>
<移到 x="433.084" y="367.9" z="0.1000001"/>
<移到 x="402.577" y="358.9158" z="0.1108641"/>
<移到 x="384.111" y="334.5768" z="-0.1995246"/>
<移到 x="348.2388" y="360.411" z="0.5284361"/>
<移到 x="376.1311" y="400.4319" z="0.1000001"/>
<移到 x="392.0138" y="361.5636" z="0.113618"/>
<等待 等待时间="1000"/>
<回城/>
<If condition="CurrentWorldId != 332336">
<传送平台 到点号="0"/>
</If>
<!-- in town move to house door 332336 -->
<移到 x="382.2621" y="537.5672" z="24.04533"/>
<移到 x="341.8767" y="526.9028" z="24.04533"/>
<移到 x="297.635" y="540.8083" z="24.04533"/>
<移到 x="264.8812" y="573.4428" z="24.04533"/>
<!--g_Portal_Rectangle_Orange_IconDoor-2388, 物件编号=178293, 距离=13 -->
<传送门 actorId="178293"/>
</If>
<!--(0,1) InfernalMachine_SkeletonKing_x1-185, 366946, 3EE17F19-->
<!-- left war 256111 -->
<If condition="HasBagItems(366946) and not ActorExistsAt(258392, Me.Position.X, Me.Position.Y, Me.Position.Z, 500)">
<CreateUberPortal actorId="366946"/>
<传送门 actorId="258392"/>
<移到 x="334.1724" y="360.1521" z="8.202589"/>
<移到 x="304.4304" y="347.6278" z="7.718282"/>
<移到 x="299.2066" y="312.7036" z="13.9379"/>
<移到 x="316.4711" y="277.7224" z="15.1"/>
<移到 x="343.5434" y="273.3712" z="15.1"/>
<移到 x="372.609" y="262.6357" z="15.1"/>
<移到 x="373.3073" y="303.446" z="15.1"/>
<移到 x="334.4722" y="290.1738" z="15.1"/>
<等待 等待时间="1000"/>
<回城/>
<If condition="CurrentWorldId != 332336">
<传送平台 到点号="0"/>
</If>
<!-- in town move to house door 332336 -->
<移到 x="382.2621" y="537.5672" z="24.04533"/>
<移到 x="341.8767" y="526.9028" z="24.04533"/>
<移到 x="297.635" y="540.8083" z="24.04533"/>
<移到 x="264.8812" y="573.4428" z="24.04533"/>
<!--g_Portal_Rectangle_Orange_IconDoor-2388, 物件编号=178293, 距离=13 -->
<传送门 actorId="178293"/>
</If>
<!--(0,2) InfernalMachine_SiegeBreaker_x1-186, 366948, 9C4DF914-->
<!-- right action war 256607 -->
<If condition="HasBagItems(366948) and not ActorExistsAt(258394, Me.Position.X, Me.Position.Y, Me.Position.Z, 500)">
<CreateUberPortal actorId="366948"/>
<传送门 actorId="258394"/>
<移到 x="519.0021" y="353.7252" z="0.100042"/>
<移到 x="489.541" y="365.2281" z="0.1000038"/>
<移到 x="433.2859" y="373.791" z="0.09999999"/>
<移到 x="374.332" y="374.1413" z="0.1"/>
<移到 x="388.4926" y="424.6191" z="0.1"/>
<移到 x="435.0742" y="429.1508" z="0.1"/>
<移到 x="478.1786" y="448.0963" z="0.1"/>
<移到 x="483.2185" y="501.4208" z="0.1000005"/>
<移到 x="485.1926" y="403.2376" z="0.1000004"/>
<移到 x="486.5587" y="310.0072" z="0.1000038"/>
<移到 x="444.9014" y="293.8882" z="0.1"/>
<等待 等待时间="1000"/>
<回城/>
<If condition="CurrentWorldId != 332336">
<传送平台 到点号="0"/>
</If>
<!-- in town move to house door 332336 -->
<移到 x="382.2621" y="537.5672" z="24.04533"/>
<移到 x="341.8767" y="526.9028" z="24.04533"/>
<移到 x="297.635" y="540.8083" z="24.04533"/>
<移到 x="264.8812" y="573.4428" z="24.04533"/>
<!--g_Portal_Rectangle_Orange_IconDoor-2388, 物件编号=178293, 距离=13 -->
<传送门 actorId="178293"/>
</If>
<!--(0,5) InfernalMachine_Diablo_x1-168, 366949, 56EA2516-->
<!-- middle terror 365973 -->
<If condition="HasBagItems(366949) and not ActorExistsAt(366534, Me.Position.X, Me.Position.Y, Me.Position.Z, 500)">
<CreateUberPortal actorId="366949"/>
<传送门 actorId="366534"/>
<移到 x="335.7888" y="349.9771" z="-11.48438"/>
<移到 x="313.5327" y="351.3194" z="-11.48438"/>
<移到 x="282.2818" y="323.2621" z="-11.48438"/>
<移到 x="294.5447" y="281.9654" z="-11.48438"/>
<移到 x="309.8517" y="247.1243" z="-11.48438"/>
<移到 x="236.8344" y="272.7947" z="-11.48438"/>
<移到 x="224.4544" y="236.6717" z="-11.48438"/>
<移到 x="298.5851" y="206.2686" z="-11.48438"/>
<等待 等待时间="1000"/>
<回城/>
</If>
<LeaveGame/>
</If>
</Else>
</If>
</命令></脚本>
Copy paste that into your organ file, or a new file (make sure you put it in the right folder)