| Author |
Vanguard Bot - VGExtreme Scritping Service![]() |
wyvernx
Site Moderator

Premium Member
Joined: 01 May 2004 Posts: 8258 8392 TUBucks
|
Posted: Fri Feb 09, 2007 6:48 am Post subject:
Vanguard Bot - VGExtreme Scritping Service Subject description: VGE IS LIVE!!! Talk about it here. |
|
Please download from here:
http://www.taultunleashed.com/phpbb2/about44331.html
If you have any suggestions, or specific locs you need, let me know.
Lets get a good bot started. Please post updates you make and please let me know what other API's are needed.
| Description |
|
| Filesize |
152.89KB |
| Viewed |
8403 Time(s) |

|
Last edited by wyvernx on Fri Feb 23, 2007 9:07 am; edited 3 times in total
|
|
Back to top
|
|
 |
jdillard
In Training

Regular Member
Joined: 07 Oct 2006 Posts: 25 21 TUBucks
|
Posted: Fri Feb 16, 2007 12:33 pm Post subject:
|
|
Awesome, I can't wait to get home and try this.
|
|
Back to top
|
|
 |
Tault_mississippi
Lifetime Member (Scripting)

Regular Member
Joined: 08 Nov 2004 Posts: 257 1030 TUBucks
|
Posted: Fri Feb 16, 2007 12:44 pm Post subject:
|
|
It appears that we can only run the service if Vanguard is up and running. However, I would like the ability to start, login, select a character, enter world, do my thing, camp, and then exit.
What are the odds that we can get VGService decoupled from VGClient enough to do just that?
Additionally, on running the provided exe, after starting up VG and logging in, I get the following error:
| Quote: |
A startup error occurred.
Retrieving the COM class factory for component with CLSID {ADA15C9D-60F3-41A5-8BCC-4D57CB24F451} failed due to the following error: 80040154.
|
|
|
Back to top
|
|
 |
divetta
In Training

Regular Member
Joined: 22 Aug 2006 Posts: 38 32 TUBucks
|
Posted: Fri Feb 16, 2007 12:58 pm Post subject:
|
|
Poor download link though. I get a few % done and it cancels. :/
|
|
Back to top
|
|
 |
wyvernx
Site Moderator

Premium Member
Joined: 01 May 2004 Posts: 8258 8392 TUBucks
|
Posted: Fri Feb 16, 2007 1:16 pm Post subject:
|
|
Download Exhume and run it first. It may solve that error. I dont get it so I'm not sure what it is caused from.
_________________ 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 1:18 pm Post subject:
|
|
Let me sleep for a few and I'll upload it to a mirror that should download better.
_________________ 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 1:22 pm Post subject:
|
|
Yes, place exhume.exe in the same folder and run it. That should fix any errors you are getting with CLSID.
_________________ Use Search first, ask questions later!
|
|
Back to top
|
|
 |
thescribe
In Advanced Training

Regular Member
Joined: 24 Nov 2006 Posts: 51 341 TUBucks
|
Posted: Fri Feb 16, 2007 1:34 pm Post subject:
|
|
Darnit, why did I have to see this 'til now? No time to program! Time for school!
I'll edit this post later with comments, bugs, etc.
|
|
Back to top
|
|
 |
Tault_mississippi
Lifetime Member (Scripting)

Regular Member
Joined: 08 Nov 2004 Posts: 257 1030 TUBucks
|
Posted: Fri Feb 16, 2007 6:43 pm Post subject:
|
|
Wyvernx - I should have documented earlier that I did place it in the same folder with Exhume.exe & Exhumehelper.dll and still get the same error.
I attempted regsvr32 on Exhumehelper.dll and although it registered, that didn't fix it. I also attempted regsvr32 on VGChatDump.dll but it complained that there was no registration point for the dll.
I run exhume.exe from the same directory with no issues at all.
|
|
Back to top
|
|
 |
tault_stigma
Typical User

Regular Member
Joined: 06 Mar 2005 Posts: 136 68 TUBucks
|
Posted: Fri Feb 16, 2007 7:19 pm Post subject:
|
|
Wyuvernx can you descripe the enablechatlog function a bit more? Does this function extract the logs from the game, or does it just enable it in the game? If thats the case it seems pretty useless, but if it can actually extract it and write it into a file that is VERY useful indeed.
|
|
Back to top
|
|
 |
tault_stigma
Typical User

Regular Member
Joined: 06 Mar 2005 Posts: 136 68 TUBucks
|
Posted: Fri Feb 16, 2007 7:34 pm Post subject:
|
|
Hmmm... can't get this to work.
Im getting the exact same error as Tault_mississippi is.
Im running it from the same folder as the Exhume files, and I'm running it after Exhume is started up and logged in. its not running any script yet tho, since I obviously haven't gotten around to doing that.
Any clues on what the cause might be?
-Stigma
|
|
Back to top
|
|
 |
tault_stigma
Typical User

Regular Member
Joined: 06 Mar 2005 Posts: 136 68 TUBucks
|
Posted: Fri Feb 16, 2007 8:27 pm Post subject:
|
|
I hope you havent gone to sleep wyvernx, don't leave us hanging like this =P
BTW I wanted to ask if there is a good reliable method of transfering the values that the service can detect out to an autoit script. Im more familiar with autoit than with VBscript and I allready have a ton of code allready done in autoit that id like to continue using.
my best solution solution so far would be using files with a mutex lock as a bridge between the two scripts running simultaniously, but even though it should work ok and only produce a few ms delay at most, its a bit cumbersome perhaps. is there a better or more direct way?
I am also stil confused about what script types Exhume can handle. Only vbscript, or any others also?
|
|
Back to top
|
|
 |
lilfisher
Moderator

Regular Member
Joined: 01 Mar 2005 Posts: 6825 Location: Cerritos, California 7183 TUBucks
|
Posted: Fri Feb 16, 2007 8:52 pm Post subject:
|
|
yeah wyvernx went to sleep, as far as i know the service only works with vbscipt
_________________ Click to buy a premium account
|
|
Back to top
|
|
 |
sinshar
Typical User

Regular Member
Joined: 22 Feb 2005 Posts: 199 74 TUBucks
|
Posted: Fri Feb 16, 2007 8:58 pm Post subject:
questions and requests |
|
OK,, a few questions and a request since i'm at work and not at home to play with it I must know.
Question #1) Do we have to run this in windowed moded?
Question #2) Can we use J-script with yourservice or only VBS?
Question #3) YOu say we can't over write that file, How do we make our own script? can we just code it up in a seperate file? and include it somehow, or do we just Add on to what you give?
Question4) Does anyone know if there is any examples in it?
Request #1) Can you put some examples of what it can do and how do to them in the initial script? for examplle
Sending keys to Vanguard.
maby someone can explain to me how to do it?
Will the Xunleashed.SENDKEYS() in exhume go right to vanguard?
or do ineed to tell it that... I know i could screw with this when i get home but i wanna start hackin out a rough Main loop and some sub routines while i'm killing time at work
|
|
Back to top
|
|
 |
Tault_mississippi
Lifetime Member (Scripting)

Regular Member
Joined: 08 Nov 2004 Posts: 257 1030 TUBucks
|
Posted: Fri Feb 16, 2007 9:41 pm Post subject:
|
|
Answer #1) Probably not - but it is likely a preferred method.
Answer #2) You can safely assume JScript and VBScript are usable.
Answer #3) The file that says don't overwrite *is* the sample script.
Answer #4) See Answer #3.
Sending keys to Vanguard.
Sending keys is much like typing, when you hit a key on the keyboard it goes to the active window. So you need to first ensure that Vanguard is the active window (i.e. Your keystrokes would normally go to it). You can do that by finding the window by title an then focusing on the window. For example:
// Find Notepad and Ensure it has focus
hndNotepad = Windows.FindWindowByTitle ("Untitled - Notepad");
Windows.FocusWindow(hndNotepad);
// Send the data to Notepad
Keyboard.SendKeys("Hello World!");
Win32.Sleep(1000);
Will find a Notepad instance - if one is running and has that title, and will then focus on that window. Once the window has focus - Keys sent will automagically appear there. So, if you instead did this:
var hndVGSOH = Windows.FindWindowByTitle ("Vanguard: Saga of Heroes");
Windows.FocusWindow(hndVGSOH);
// Send the data to Notepad
Keyboard.SendKeys("/say Hello World!");
Win32.Sleep(1000);
..... You get the picture.
|
|
Back to top
|
|
 |
|