This doesn't have an appropriate section -.- However I'll take a look in just a sec
First off you can strip the code down to
Code:
<Profile> <Name>Act 4 XP Farm</Name>
<GameParams quest="112498" step="2" act="A4" difficulty="Normal" resumeFromSave="False" isPrivate="True" numGames="-1" />
<Order>
<WriteReport />
<MoveTo questId="1" x="351.8134" y="682.6825" z="-14.7" pathPrecision="0" />
<WaitTimer questId="1" waitTime="16000" />
<TalkTo questId="112498" stepId="2" x="351.2172" y="696.3408" z="-14.7" actorId="6353" />
<UseObject questId="1" x="355.927" y="657.5969" z="-12.22805" actorId="182963" isPortal="True" destinationWorldId="109143" />
<UseTownPortal questId="1" />
<LeaveGame reason="Run is done" />
</Order>
<KillMonsters>True</KillMonsters>
<PickupLoot>True</PickupLoot>
</Profile>
(changed it to normal to speed up process)
The bot takes care of if on quest blah blah, that's really only needed for full question profiles.
However there appears to be an invisible entity in the middle of the room that the bot needs to be made to ignore, there is nothing you did wrong, but if you were here when the bot tried to attack the arcane enchanted mobs beams, it's much like that. It just needs a fix bot side.
Load ANY profile near the middle - It will continuously try to attack something there even though the profile is in the wrong spot