taultunleashed logoMove to target question : VGExtreme General Discussion
newtopic  postreply
 [ 3 posts ] 
blue large dot

Move to target question : VGExtreme General Discussion

Posted: April 17th, 2007, 4:20 pm
 
edgecrush_td
edgecrush_td's Reps:
User avatar
As I run my macro I have tweaked, I run into the problem of not having line of sight to my target as I cast spells. When my character moves to target, he gets too close. This especially happens in water, but happens on land its fair share. Is there code to make your character move to target, but with some distance in between you can change?

What I currently have:

function KillCurrentTarget()
'Send in Pet
Log.DebugLog "Sending in Pet..."
VGSendCommand "/pet Attack"
do until (Target.HP < 90)
Sleep 1000
Loop
Log.DebugLog "Facing Mob..."
faceMob getTarget
Log.DebugLog "Moving to Target"
MoveToMob getTarget
Log.DebugLog "Wait 6 secs for aggro..."
Sleep 1000


Reply with quote
Posted: April 17th, 2007, 6:43 pm
 
binafus

Total Posts: 154
Joined: November 3rd, 2006, 4:27 pm
binafus's Reps: 0
User avatar
Active User > 50 Posts
Yea there is a way to do that but do not think that will 100 percent fix your problem.

I notice sometimes mobs get on top of your character and you can not see them to fight even though you face them.

Instead if you move back slightly after in combat should work better.

Just make sure you wait long enough that the mob would have had time to run up too you or even take one step back every loop.

It takes VERY LITTLE movement to fix the problem.


Reply with quote
Posted: April 18th, 2007, 6:00 am
 
kumpel100

Total Posts: 375
Location: Germany
Joined: October 24th, 2005, 12:29 pm
kumpel100's Reps: 969
User avatar
premium
i use that to handle your problem while is mine often too.

(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
'*************************************************************************'
'*''''''''''''''''''''CHECK CHAT FOR MOB TAKING DAMAGE''''''''''''''''''''''''''''*'
'*************************************************************************'
Function MOB_DMG_CHECK
 Do While not (Infile.atEndOfStream)             ' do while not EOF
        Line = Infile.ReadLine                      ' Read a Line from InFile
            If Instr (Line, "no line of sight") Then
Log.DebugLog "Found the LoS   " & Target.Distance
for MoveBackward = 0 to 3
           VGSEndtext "s"  ' Moves Target Backward
           Sleep 20
         next
         end if
           
    loop

end function 


i also check in chat for no line of sightif that happens i move little back so long i got the mesage in chat, it works very good for me (cleric).
also is a part on my Cleric bot
http://www.taultunleashed.com/phpbb2/ab ... oT_v_.html


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 23 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of VGExtreme General Discussion RSS Feed 
Sitemap of VGExtreme General Discussion Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?