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

VG Bots - B-Bot 1.3 : VGExtreme Programs

Posted: March 19th, 2007
Total Posts:154 Joined:2006
shadownit
Have you had luck with other bots working?

crazyjosh1
Nothing from 2.1 to 2.2 changed that had to do with targeting mobs.
I'm sure you have rebooted your pc since all this has started but if you have not you might try that.
Can you get other bots to work on your PC?
Posted: March 19th, 2007
crazyjosh1
binafus wrote:shadownit
Have you had luck with other bots working?

crazyjosh1
Nothing from 2.1 to 2.2 changed that had to do with targeting mobs.
I'm sure you have rebooted your pc since all this has started but if you have not you might try that.
Can you get other bots to work on your PC?
I havent tried any of the other bots but I have tried the radars etc and they all work as intended. yes I have restarted. I will play around with it and let you know.
Posted: March 19th, 2007
tault_shadownit
binafus wrote:shadownit
Have you had luck with other bots working?

crazyjosh1
Nothing from 2.1 to 2.2 changed that had to do with targeting mobs.
I'm sure you have rebooted your pc since all this has started but if you have not you might try that.
Can you get other bots to work on your PC?
i can get the radar one to work. It works well for me, very helpfull at finding mobs to kill.
Posted: March 19th, 2007
kslay85
wyvernx wrote:kslay85, delete vgextreme.exe and run updatevge.exe
i did this many times, i finally got it to do something different by deleting it all and starting over, then it would just do what tault_shadownit's did:
Success! VG:SOH Found ...
No Targets nearby...
Finished loop: 1 of 5000 you have Killed Mobs.
No Targets nearby...
Finished loop: 2 of 5000 you have Killed Mobs.
No Targets nearby...
Finished loop: 3 of 5000 you have Killed Mobs.
etc etc


Now for no reason it will crash once, then go back to the "Attempted to read or write to protected memory" error each time it's run until i delete the vgextreme.exe and then it will crash once etc etc.

Is there something I'm missing? I've read all the thread, all the comments, can't seem to find a solution.
Posted: March 19th, 2007
User avatar
Total Posts:374 Joined:2005
any way to raise the cast frequenc in the skript also i feel is possible to chain cast faster then the skript does.
and the buffing didnt work correct yet.
Posted: March 19th, 2007
maglins
Kumpel you can just look at the script and see some of the variables that make up some of the stuff you are looking for.

I believe it's call spell SPELL_SLEEP and I think it's set to 3000 which is 3 seconds. I set mine to 2500 and it seems to be much better. The thing is that when you get interupted you take longer to cast. If you set it to say 2000 which is the average for all spells cooldows you will in fact take a lot longer as you will be tring to cast other spells while still casting another spell.

I have noticed the the health graft buff isn't working. I haven't really looked into it to much. I just cast it on me every hour. I pretty much watch my bot about 60% of the time. It's nice to have 2 computers next to each other. I'm going to look at the buffing code tonight or tomarrow and see if I can't figure out what is causing it not to cast.
Posted: March 19th, 2007
Total Posts:154 Joined:2006
kumpel100 - maglins is right you can lower the spell sleep to make it cast faster.

Code: Register to unlock hidden link

Const SPELL_SLEEP = 3000        ' Spell cooldown 
This is more for everyone that is using the bot that is having any problems.

It is hard for me to track down why something might be wrong if I'm not having the same problem.

Such as Maglins said his Health Graft is not working just a quick example how to test this.

If you look in the code

Code: Register to unlock hidden link

Const BUFF_HEALTH_GRAFT = "%5"  '"Health Graft III" 
The buff should be on ALT-5

So hold down your ALT key and push the number 5, if it buffed you go to the next step

Code: Register to unlock hidden link

Function CHECK_BUFFS
This is the section where your bot buffs, find out if it is getting to the buff function is easy to do.
Add one line inside the buff section to see if the bot is getting there.

Code: Register to unlock hidden link

Function CHECK_BUFFS

Log.debuglog " I'm in the Buff Section"
Run the bot you should get spam in your debuglog every loop saying "I'm in the Buff Section"

If you get that spam go back remove that line and move to the next step.

Look in the Health Graft buff section.

Code: Register to unlock hidden link

    If ((LEVEL_TRAINED => 6) And (DIFF_TIME => 50) And (HEALTH_GRAFT = 0)) Then
        VGSEndText BUFF_HEALTH_GRAFT    ' Buffs Player        
        HEALTH_GRAFT = 1                ' Sets Buff Flag to True
        SLEEP SPELL_SLEEP
    End If 
That is what the code looks like, change a couple things and we can see what is going on here.
First of all it buffs once every hour and we really do not want to wait that long to test so we can change the DIFF_TIME => 50 to DIFF_TIME => 2 that will make it try to buff after DIFF_TIME = 2.
We can also add a couple Log lines where we can see what all the values are.

So I replaced the last code with this.

Code: Register to unlock hidden link

    Log.debuglog " Level " & LEVEL_TRAINED & "   Diff Time " & DIFF_TIME & "    Health Graft " & HEALTH_GRAFT
    If ((LEVEL_TRAINED => 6) And (DIFF_TIME => 2) And (HEALTH_GRAFT = 0)) Then
        VGSEndText BUFF_HEALTH_GRAFT    ' Buffs Player        
        HEALTH_GRAFT = 1                ' Sets Buff Flag to True
        Log.debuglog " I should of just buffed myself with Health Graft"
        SLEEP SPELL_SLEEP
    End If 
So once Diff time = 2 you should have got the second message.
"I should of just buffed myself with Health Graft"

This is a way to track down a problem.


maglins - I know you were not asking for help just was an easy example to show people how to find a problem.
Posted: March 19th, 2007
User avatar
Total Posts:25 Joined:2005
Had this working before, but had to reinstall. Now I am getting the error:

Start Script...
Error: Line: 197, Char 4 :: Type mismatch: 'getNearestMobs'
Error: Line: 197, Char 4 :: Type mismatch: 'getNearestMobs'
Failed to Run Script.
End Script



I have my target mobs changed to your q and z binds, which worked great before.
Suggestions?
Posted: March 19th, 2007
Total Posts:154 Joined:2006
Icerush

I had the same error when I was testing the above code to show how to track down a problem.
Rebooted and it made it go away for me.

Do not think it is an error in the script.
Posted: March 20th, 2007
maglins
You probably have to install xunleashed again. Bad thing is you might have to unlock your keys which you can only do once a month. I just had to reinstall my OS cause it was a new build and I didn't enable my RAID controller so again I had to reload XP and Vista. I couldn't get VGextreme to work in vista but I think it's related to not having xunleashed registerd in vista. I think it gets it machine code ID from part of the OS or something and that is what is causing issues.

On this new install I kept getting the can't write to protected memory error. Was fusterating. I deleted everything and ran the vgupdated and still didn't work. Ended up having to unlock my reg keys in xunleashed and relock my key. I have 2 computers and want ti be able to run the bot on my other computer but it's slow and I do my testing on my fast computer to work out bot bugs. Since you can only have xunleashed on 2 machines it becomes a problem when you have to reinstall as you have to relock it.
Posted: March 20th, 2007
maglins
Binafus. Thanks for the little bit of help. I wasn't able to go over the buff section last night. It's buffing everything but health graft for me. Might be something trivial.

You did a great job on this bot. I love seeing other code as I don't know vbs but I'm learning it just by reading scripts and how they work. Only thing I would like to figure out is how to cast counterspell or maybe just set it to cast after 4 seconds in fight.
Posted: March 20th, 2007
kumqwat420
add /reactionautocounter to the bottom of your spell macro. Not really great as it goes off at wrong times and more than it should.
Posted: March 20th, 2007
Total Posts:154 Joined:2006
There is a way to test if it is up with VGExtreme not sure how well it works have not tried it.

What I do on my Blood Mage is my hot bar slot 4 I have it as a macro instead of just the Despoil.

/cast "Blood Tribute III"
/cast " Despoil IV"

Spell four I'm needing a smaller heal plus do damage, Blood Tribute does this better if it is up if not you still get Despoil
Posted: March 20th, 2007
Total Posts:4 Joined:2007
The bloodmage bot is sweet but everyone please dont leave it on overnight or unattended. I watched some poor sap get reported by players and a GM appeared in front of him and he kept on casting :P Maybe they can help refine code with their suspension
Posted: March 20th, 2007
maglins
tisk. People should find better places to bot then. And turn the PC invise on. I let mine run unattended for an hour at a time when I have other stuff to do. It when a PC in near it just goes invis and runs around until no PC around. Not the best system but it works ok.

Binafus I use the same macro's. Cept I have BT on Despoil and cyst. it's a decent heal. I don't want to pass that up.

We don't need to see if the counterpell reaction goes off. We just need to know if a mob is casting a spell to use counterspell. It would make caster fights a lot faster.
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 3 guests
Locked