Locked Home » Forums » Legacy & Archived » Archived Content » Vanguard » VGExtreme Programs

VG Bots - Working Necro Hunting BOT : VGExtreme Programs

Posted: May 10th, 2007
johnhead99
edgecrush_td wrote:Not sure why, but it works fine for me. Tweaking it is all I can say.
Well lets make this actually useful now. I'll explain. I am at work right now so I'll do my best with file names and error's.

Downloaded edge. Put it in same volder as everything else including both navigation and vgextreme files which say to NOT edit them. So I have did no edits to thsoe two files.

The ONLY edit I did within this script is I changed what I was hunting. I have done no edits to waypoints or any other files.

My primary movement keys in game are up, down, left, right BUT secondary keys are set to awsd. Those move me as well.

I'm in windowed mode. Log in and bring up downloaded edgenecro macro. Start it. My guy says he cant find pet and then casts him. Once he is summoned, script halts stating there is an error with the Set Find My Pet.

If I remove that function along with everything that calls upon it, then script will continue to run stating "running to next waypoint" but in reality, my guy doesnt move an inch.....

And yup, thats where I am with this. Both problems appear exactly as some of the above ones mentioned. I tried to list everything so we can work this out.
Posted: May 11th, 2007
creamfilling
I wonder if it may have something to do with naming your pet? Does the game search for a pet belonging to the OG poster of this thread or does it look for a generic abomination in general?
Posted: May 15th, 2007
edgecrush_td
creamfilling wrote:I wonder if it may have something to do with naming your pet? Does the game search for a pet belonging to the OG poster of this thread or does it look for a generic abomination in general?
Default name
Posted: May 15th, 2007
edgecrush_td
creamfilling wrote:I wonder if it may have something to do with naming your pet? Does the game search for a pet belonging to the OG poster of this thread or does it look for a generic abomination in general?
Default name
Posted: May 16th, 2007
johnhead99
edgecrush_td wrote:
creamfilling wrote:I wonder if it may have something to do with naming your pet? Does the game search for a pet belonging to the OG poster of this thread or does it look for a generic abomination in general?
Default name
Yah I gave up on this. Spent 2 hours trying to debug it but one error after another.
Posted: May 18th, 2007
creamfilling
Well for me, then bot worked 100% fine pretty much out of the box persay. I just had to configure my spell bar in game and in the script file to match as well as the mobs that I wish the program to target.


Something I would be interested in seeing is at the end of killing a mob, to be able to cast necropsy and loot it as well, would be really nice to wake up to a bag full of grafts!
Posted: May 21st, 2007
edgecrush_td
creamfilling wrote:Well for me, then bot worked 100% fine pretty much out of the box persay. I just had to configure my spell bar in game and in the script file to match as well as the mobs that I wish the program to target.


Something I would be interested in seeing is at the end of killing a mob, to be able to cast necropsy and loot it as well, would be really nice to wake up to a bag full of grafts!
Thanks for posting positive feedback!
Posted: May 25th, 2007
creamfilling
Hey edge i am horrible with code and stuff ( my contributions to this site have so far been only exploits etc) but how hard would it be to add in a step before the /lootall function where the player casts 1 more spell hotkey (set to necropsy) and then does /lootall on that followed by a /loot all for the corpse itself? Targeting wouldnt have to change or anything, just a few timing tweaks.


Anyways, still working excellent and I am looking at ways to optimize the spells being casted when used at lvl 50 and will post a little suggest thing on this thread later this weekend on how to optimize the dps output on mobs w/ the correct timers to use within the script itself.
Posted: May 29th, 2007
edgecrush_td
creamfilling wrote:Hey edge i am horrible with code and stuff ( my contributions to this site have so far been only exploits etc) but how hard would it be to add in a step before the /lootall function where the player casts 1 more spell hotkey (set to necropsy) and then does /lootall on that followed by a /loot all for the corpse itself? Targeting wouldnt have to change or anything, just a few timing tweaks.


Anyways, still working excellent and I am looking at ways to optimize the spells being casted when used at lvl 50 and will post a little suggest thing on this thread later this weekend on how to optimize the dps output on mobs w/ the correct timers to use within the script itself.
It would be easy. I just have not Macro'ed in a long time. Just had no reason to tweak it. I'll add it in soon.
Posted: October 5th, 2007
stupidhead64
is this dead? =(
Posted: October 19th, 2007
User avatar
Total Posts:97 Joined:2006
no just VG nav is broken :)
Posted: October 21st, 2007
User avatar
Total Posts:97 Joined:2006
ok its working now and i want to start working on these way points again. but i am soo lost. now...

Dim currentWaypoint
function MoveToNextWaypoint
Log.DebugLog "Moving to next waypoing..."
if (currentWaypoint = 0) then
'MoveTo -3000, -5000
currentWaypoint = 1
else
'MoveTo -4000, -6000
currentWaypoint = 0
end if
sleep 6000
end function

to move to a different location if there is no mob found i have to edit this? "MoveTo -3000, -5000 "

but what is "currentWaypoint = 0"

how do i find my current location? and where do i put it in the script so my character will move to that location if there is no mob found?

sorry im just lost please somone help me out :)
Posted: October 25th, 2007
User avatar
Total Posts:97 Joined:2006
ok, i pretty much figured out the way points.. i think i just got a simple question now if someone could answer. how do you tell VGEX to hold down a key. I want to walk backwards as Im casting spells and stop when I'm done. ppppllleeeaasseee answer :)
Posted: October 25th, 2007
User avatar
Premium
Total Posts:6662 Joined:2004
vg.input.keydown(key code) and vg.input.keyup(key code)


BE SURE to sleep between those commands.. called back to back it will press the key so fast the game wont notice it.


Also there is
vg.input.PressKey(key code) that includes a built in sleep
vg.input.SendKeys(string) where ^=ctrl, %=alt, and +=shift ie SendKeys(+this is a +test) will output This is a Test

and finally

vg.input.SendCommand(string) that automatically does a Enter/Return as well as the text.

_________________
Use Search first, ask questions later!
Posted: October 25th, 2007
User avatar
Total Posts:97 Joined:2006
sh*t thanks Vyvernx!
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 21 guests
Locked