| Author |
Vanguard Bot - VGExtreme Scritping Service![]() |
Tault_mississippi
Lifetime Member (Scripting)

Regular Member
Joined: 08 Nov 2004 Posts: 257 1030 TUBucks
|
Posted: Fri Feb 16, 2007 9:42 pm Post subject:
|
|
Oh yea - once I can figure out how to get it running I'll write a how-to guide to help get people started.
|
|
Back to top
|
|
 |
tault_stigma
Typical User

Regular Member
Joined: 06 Mar 2005 Posts: 136 68 TUBucks
|
Posted: Fri Feb 16, 2007 9:55 pm Post subject:
|
|
There are a few things that I cant figure out how to do in VBscript that I can do in autoit, which I find more flexible, so unless someone has a more direct approach im thinking abiut just writing some basic VBscript to write the data to a file every time the primary autoit script request a data update, and that way forwarding all the data to the autoit script.
I find autoit easier to sript in and it has a ton of prebuilt functions allready for manipulating mouse and keyboard, reading pixels checksum ect. Also I cannot find a way for VBscript to create a tooltip overlay, and I use this extensively in my current script to display what the script is "thinking". Does anyone know how to do that in VBS or if its at all possible?
Anyway, i think the data forwarding via some simple txt files should work fine and quick enouhg to not be a problem. Il definately give it a shot as soon as I can just get the sripting service to work.
But since we all (as far as I can tell) are getting the same error when running the scripting service, i guess we're stuck until wyvernx can help us out.
So please wake up soon wyvern hehe... I wanna get started on this!
Sidenote: I wonder if the bugs that cause mobs to display health incorrectly will also report health incorrectly via the memmory offsets, or if its purely a GUI bug in VG... any thoughts on that?
|
|
Back to top
|
|
 |
wyvernx
Site Moderator

Premium Member
Joined: 01 May 2004 Posts: 8258 8392 TUBucks
|
Posted: Fri Feb 16, 2007 11:00 pm Post subject:
|
|
For those with CLSID errors:
This a special exhumehelper.dll that is beta that hasnt been pushed to live yet. Do you will need to delete the exhumehelper.dll, run vgextreme.exe and let it extract the beta dll. THen you can run regsvr32 on it.. or alternately you can place exhume.exe in that folder and it will register the beta file.
_________________ Use Search first, ask questions later!
|
|
Back to top
|
|
 |
wyvernx
Site Moderator

Premium Member
Joined: 01 May 2004 Posts: 8258 8392 TUBucks
|
Posted: Fri Feb 16, 2007 11:04 pm Post subject:
|
|
Question #1) Do we have to run this in windowed moded? NO, choice is yours.
Question #2) Can we use J-script with yourservice or only VBS? Yes, but the current default loader is for vbs. You nust need to do a File->New and select JS to run JS scritps. Also the included includes/service.vbs will not work with it. You will need to analyze it to get the direct API commands.
Question #3) YOu say we can't over write that file, How do we make our own script? You just cant modify the 1 file in includes/VGService.vbs. You can the other vbs file.
Question4) Does anyone know if there is any examples in it? There are numerous exhume exampples on this site for sendkeys etc.
Request #1) Can you put some examples of what it can do and how do to them in the initial script? THere is a .rar on the site with like 50 sample scripts and demos. There is also tons of scripting documentation on the site.
You mentioned autoit was easier to use. why? So I can add that to this and make it easier to use. There are tons of functions that are included in xum.. see the functions drop down. Just let me know what is missing and I can add it with my plugin or get admin to add it to the helper.
|
|
Back to top
|
|
 |
bluemoose
In Advanced Training

Regular Member
Joined: 14 Apr 2006 Posts: 51 858 TUBucks
|
Posted: Fri Feb 16, 2007 11:33 pm Post subject:
|
|
uhmm is there going to be a tutorial on how to set a script like this up because for the life of me I dont know how to use it and if I try it will take many an hour and I will probably piss myself
|
|
Back to top
|
|
 |
sinshar
Typical User

Regular Member
Joined: 22 Feb 2005 Posts: 199 74 TUBucks
|
Posted: Fri Feb 16, 2007 11:46 pm Post subject:
Thanks. |
|
Thanks Wyvernx, On the response's to all of my questions.
could you post a little walkthrough on how to Switch it over to J-script?
I am just more comfortable with j-script then i am with VBS , if not i guess i can learn
vbs .. I just prefere the other..
Thanks and Ofcourse, awsome. work.
|
|
Back to top
|
|
 |
Tault_mississippi
Lifetime Member (Scripting)

Regular Member
Joined: 08 Nov 2004 Posts: 257 1030 TUBucks
|
Posted: Fri Feb 16, 2007 11:48 pm Post subject:
|
|
For those of you who are as dense as I am.
1) Download VGExtreme.
2) Place it in the same directory as Exhume.exe.
3) Delete the Exhumehelper.dll in that directory.
4) Run VGExtreme.exe (This will extract the new Beta DLL for you).
5) Log into eXhume as you normally would.
6) You will see a script openened automagically that is a Demo.
7) Hit F5
You should be looking at WyvernX's mega cool window populated with the correct data.
Now - go write a script that makes use of it!
Last edited by Tault_mississippi on Sat Feb 17, 2007 12:01 am; edited 1 time in total
|
|
Back to top
|
|
 |
tault_stigma
Typical User

Regular Member
Joined: 06 Mar 2005 Posts: 136 68 TUBucks
|
Posted: Fri Feb 16, 2007 11:59 pm Post subject:
|
|
| wyvernx wrote: |
You mentioned autoit was easier to use. why? So I can add that to this and make it easier to use. There are tons of functions that are included in xum.. see the functions drop down. Just let me know what is missing and I can add it with my plugin or get admin to add it to the helper. |
Well I guess I just find the syntaxt more comprehensible as a whole, but there is one spesific prebuilt method that I really miss, and thats the Tooltip() function. it uses winodows own tooltip thing and lets you place it anywhere, and write anytihng to it. Basicly it makes a REALLY nice overlay on the game to run debugging information and such through. Its a heck of a lot more comfortable to see what the bot is doing every step of the way than having to guess, or going through text-logs after the fact.
Oh, and as for what other other information would be useful to read from memmory is:
- Some way to determine is spell X is active on yourself (and party members too?)
- Some way to determine is spell X is active on current target
- Some way to determine if ability X is ready for use (or perhaps how long the timer has left to run).
EDIT: Misisippi, do this:
- Delete or rename the current helperfile
- Run the Exhume
- Run the service (it will now start)
- Notice that the service has created a new helper file now
- Register the new DLL (I don't know why that was needed as it seemingly started well even before regging it, but im following wyvernx's recommendation on this )
Runs fine for me now, and I must say I am impressed. If I can only figure out either how to code effeciently in VBscript or import the data into autoit, then the possebilities are endless. Especially the availability of loc's are a very very welcome resource.
|
|
Back to top
|
|
 |
tault_stigma
Typical User

Regular Member
Joined: 06 Mar 2005 Posts: 136 68 TUBucks
|
Posted: Sat Feb 17, 2007 12:05 am Post subject:
|
|
Wyvern (or anyone else who has worked with VBscript before), I have a small request.
Can you give me an example code of how to write down a single piece of captured data (say mob health for example) to a .txt file? I just need a little something to get me started desciphering VBscript since Ive never worked with it before I can figure out how it works from there and later it to meet my spesific needs I am sure.
------------------------------------------
EDIT: I figured out how to do it, so now I have a working bridge between the two different scripting languages.
I have one big hurdle yet to overcome, and I'd appreciate some help figuring it out:
Sometimes the VBscript will try to access a file at the same time as autoit. Normally this will cause a crash in VBscript. Otherwise if i use on error resume next then it keeps running, but the data for that message isnt updated on the file as it should. Obviously neither is acceptable.
So, how the heck do I make VBscript keep trying to access the file if it fails the first time? In autoit this was easy as the fileaccess function simply returned -1 if it got an error, but I don't know if there is anything similar in VBscript?
Help me out guys
Last edited by tault_stigma on Sat Feb 17, 2007 2:17 am; edited 1 time in total
|
|
Back to top
|
|
 |
tault_stigma
Typical User

Regular Member
Joined: 06 Mar 2005 Posts: 136 68 TUBucks
|
Posted: Sat Feb 17, 2007 2:16 am Post subject:
|
|
*deleted doublepost*
|
|
Back to top
|
|
 |
slam666
Moderator

Premium Member
Joined: 21 Apr 2005 Posts: 1105 Location: Quebec, Canada 13683 TUBucks
|
Posted: Sat Feb 17, 2007 2:30 am Post subject:
|
|
Hi Wyvernx,
player health and power is the max health and power, we need the current one.
Thanks.
_________________ Slam666
Author of EQ2Ultrabot, NOW WITH CRAFTING!!!
Read this before asking for help
|
|
Back to top
|
|
 |
Tault_mississippi
Lifetime Member (Scripting)

Regular Member
Joined: 08 Nov 2004 Posts: 257 1030 TUBucks
|
Posted: Sat Feb 17, 2007 2:37 am Post subject:
|
|
Stigma - check out the eXhume samples on the wiki - I believe I posted some file IO samples in both JScript and VBScript.
|
|
Back to top
|
|
 |
morken
In Training

Regular Member
Joined: 20 Jan 2007 Posts: 19 9 TUBucks
|
Posted: Sat Feb 17, 2007 2:47 am Post subject:
|
|
well i got everything figured out, and am now trying to learn how to script this to make an actual bot out of it =) anyone have any advice or techniques as to how i can actually get my char to start owning while i sleep?
|
|
Back to top
|
|
 |
raccoon117
Script Kiddy
Regular Member
Joined: 13 Feb 2007 Posts: 5 3 TUBucks
|
Posted: Sat Feb 17, 2007 2:51 am Post subject:
|
|
what exactly is this?
|
|
Back to top
|
|
 |
sinshar
Typical User

Regular Member
Joined: 22 Feb 2005 Posts: 199 74 TUBucks
|
Posted: Sat Feb 17, 2007 3:02 am Post subject:
Sending keys |
|
OK... someone tell me how to send the Enter Key press
Heheh thanks
|
|
Back to top
|
|
 |
|