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

VSOH Hacks - VGX Manager : VGExtreme Programs

Posted: June 3rd, 2007
User avatar
Total Posts:257 Joined:2004
SYNOPSIS
VGXManager is a DOT NET application built upon the VGeXtreme service to provide an interface that manipulates those services.

Ultimately, the goal of the VGXManager is to provide a one stop shop for all my automation needs in Vanguard and I hope that it will meet many of your needs (wants, and desires) as well.

It should be noted that this is not a script. It is a fully executable windows application, written in C#, leveraging the .NET 2.0 platform, VGeXtreme, and MS SQL Express.

If you have Visual Studio 2005 installed, then you will have all the necessary prerequisites to run this application. If you are already actively using VGeXtreme, then you will have everything *but* MS SQL 2005 Express. You will find a list of pre-requisites and their associated links below.

Additionally, I have provided a three downloads for you. Below you will find:
1) VGXSource.rar - Which contains all the source files, as well as the VS2005 Solution & project files.
2) Setup.msi - This is an installer for VGXManager, and will check your machine for prerequisites prior to installing. This will give you the executables (VGX.exe) as well as the source code.
3) VGX.rar - This is just the application, and should be suitable for an XCopy installation. That is, extract it wherever you like, and then run it as per the USAGE:


USAGE
In order to start up the manager, you will need to have a couple of things in place:
1) Vanguard must be up and running.
2) VGeXtreme must be up and running, just minimize it.
3) Start up VGX.exe

WALKTHROUGH
The Player Tab
This tab simply exposes all of the player related properties from VGeXtreme. They should be self-explanatory.
<img src="Register to unlock hidden link">

The Target Tab
This tab simply exposes all of the player related properties from VGeXtreme. They should be self-explanatory. This tab also contains a "Move to Target" button. I reckon you can guess what that does!
<img src="Register to unlock hidden link">

The Target Control Tab
This tab allows us to do all sorts of fun things regarding the target.
* "Clear Target" will clear your target in game.
* "Get Nearest" will get the nearest target - like F8.
* "Get Next" will get the next target - like TAB.
* "Add to Undesirable List" will add the current target to the internal list of undesirable target names. This also gets persisted in the database in order to be maintained across sessions.
* "Max Level" - enter the maximum level of target you find desirable.
* "Min Level" - enter the minimum level of target you find desirable.
* "Max Dots" - enter the maximum level of dots you find desirable.
* "Max Distance" - The maximum distance you find desirable.
* "Get Nearest Desirable" - Well, that takes all the criteria you entered, and cycles through targets till it finds one that meets your personal desirability criteria!
* "Clear Undesirable List" - yep, it just clears the list - and the database, so use with care.
<img src="Register to unlock hidden link">

Navigation Tab
This tab provides a basic navigation system.
* "Clear" - Clears the active Series.
* "Add Waypoint" - Adds your current location to the active series.
* "Save (DB)" - Will query you for a name (for the series) and then saves it to the database.
* "Select List" - provides a name (from the database) of all your saved series.
* "Delete Selected Series" - will delete the series (active and Database) that is selected in the Dropdown.
* "Load Selected Series" - will load from the database the series selected in the dropdown.
* "Export to file" - will export the series to a text file (you choose name and location) in vbscript array format.
* "Follow this Path" - will got to the first loc in the series and then travers the path, pausing at each point for a second.
* "Auto Record Waypoint" - Choose the distance that you want the waypoints recording at, hit "Start" and move as you like. A timer will event every second to check your current location, and if it is greater than the distance you choose, the waypoint will get recorded into the series. When you are done, hit "STOP".
<img src="Register to unlock hidden link">

Buff Management
Isn't implement, the buttons do nothing. But soon .....

PREREQUISITES
- Microsoft .NET Framework Version 2.0
- eXhume
- VGeXtreme
- Microsoft SQL Server 2005 Express Edition

1. Ensure you have the Microsoft .NET Framework Version 2.0 installed.
- You can get it here: Register to unlock hidden link.
- Note that most people will just need the x86 Version.
2. Ensure you have the latest version of eXhume and can run it.
3. Ensure you have the latest version of VGeXtreme and can run it.
4. Ensure you have the Microsoft SQL Server 2005 Express Edition installed.
- You can get it here: Register to unlock hidden link.
- You probably don't need to bother getting the Management Studio Express unless you intend to attach to the server directly and manage it.


Updates
10 June 2007
I didn't have a lot of time this week to focus, just a few ticks here and there - so I re-did the user interface. It was something I intended to do eventually anyway - and it's better to be done now than later. So this is strictly a UI update - nothing else has changed.

One note about upgrades - I'm providing a new database in each package - which means any custom data (waypoints, undesirable targets, etc.) that you have saved to your current database will be overwritten. It's up to you at this point to create a backup of your current database - install this package, and then copy your old database over the new one. I'll sort this out in the future.


Attachments:
Setup.rar Register to unlock hidden link
(2.12 MiB) Downloaded 103 times
VGXSource.rar Register to unlock hidden link
(1.33 MiB) Downloaded 91 times
VGX.rar Register to unlock hidden link
(398.85 KiB) Downloaded 88 times


Last edited by tault_mississippi on June 24th, 2007, 3:33 pm, edited 12 times in total.
Posted: June 3rd, 2007
User avatar
Total Posts:257 Joined:2004
I suppose I should note that I haven't tested this on any machine other than my own, so for all I know .. my workstation is the only one in the entire world on which it will actually work.

Let me know if ya'll find it different. :-)
Posted: June 4th, 2007
meteo202
looks awesome mate. major props :D
will fiddle around a bit and get back with some more to say.
Posted: June 4th, 2007
User avatar
administrator
Total Posts:29891 Joined:2002
Great app 1k to you.
Posted: June 4th, 2007
ovverdose
This is the error i get when trying to run VGX - all prerequisites are up to date as far as i can tell.



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at VGX.VGXManager.UpdatePlayerData() in D:\VGeXtreme\VGX\VGX\VGXManager.cs:line 201
at VGX.VGXManager.DataRefresh_Tick(Object sender, EventArgs e) in D:\VGeXtreme\VGX\VGX\VGXManager.cs:line 185
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///E:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VGX
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///E:/Program%20Files/tault_mississippi/VGX%20Setup/VGX.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///E:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
VGEWrapper
Assembly Version: 1.2.2700.4890
Win32 Version: 1.3.0.0
CodeBase: file:///E:/Program%20Files/tault_mississippi/VGX%20Setup/VGEWrapper.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
VGEWrapper
Assembly Version: 1.2.2676.35918
Win32 Version: 1.2.0.0
CodeBase: file:///E:/WINDOWS/assembly/GAC_MSIL/VGEWrapper/1.2.2676.35918__2e1e73a7e8f13703/VGEWrapper.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system>
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Posted: June 5th, 2007
User avatar
Total Posts:257 Joined:2004
it appears to be saying it can't find an instance of VGeXtreme. So on update, it's attempting to read from VGeXtreme but getting a null object.

Can you confirm you started up VGeXtreme, and logged in - prior to starting up the VGXManager?
Posted: June 5th, 2007
ovverdose
Absolutely, I opened vanguard in windowed mode, proceeded to open VGExtreme, login works fine. Then, I double click the VGX icon to open it
and i get that error, also it tells me there is a problem but gives me the option to continue and when i do it keeps popping up the same error in a loop, very tedious. Hope this helps you to help me!
Posted: June 5th, 2007
User avatar
Total Posts:257 Joined:2004
hmm - I'm in the office right now, so I can't really do any debugging. But I'll check it out tonight. I'm planning on attempting to decouple the manager from both the database and the vgextreme instance so that you can run the manager without them being available. Of course, that means you can't actually do anything if VGeXtreme is missing - but you could restart VGeXtreme (perhaps from VGXManager) without restarting VGX.

I'm also worried about people setting up SQLExpress and having issues with it, so I'll decouple the database such that we can run with or without it. That should narrow the possible issues down.
Posted: June 5th, 2007
ovverdose
Any progress/new ideas? Im still stumped, although it's my nature to not ask for help to the point of annoyance, i'm afraid I cant code or script my way out of a paper bag.
Posted: June 5th, 2007
User avatar
Total Posts:257 Joined:2004
Yep - here's a new rar file, unzip it somewhere, run it, and let me know if you see any errors.

-Edit 10, June 2007 - removing debug.rar so people don't get confused.


Last edited by tault_mississippi on June 10th, 2007, 11:14 am, edited 2 times in total.
Posted: June 5th, 2007
ovverdose
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at VGX.VGXManager.UpdatePlayerData() in D:\VGeXtreme\VGX\VGX\VGXManager.cs:line 234
at VGX.VGXManager.DataRefresh_Tick(Object sender, EventArgs e) in D:\VGeXtreme\VGX\VGX\VGXManager.cs:line 218


Same error, different lines of code indicated, dunno what that means.
Posted: June 6th, 2007
User avatar
Total Posts:257 Joined:2004
its definitely not attaching to your VGExtreme instance, but I can't tell you why. It should have thrown a pop up box at you telling you that VGExTreme wasn't running or something.
Posted: June 6th, 2007
User avatar
Total Posts:527 Joined:2005
Even though i dont play Vanguard anymore. This is a awsome program!!! You put a butt load of work into this very nice.!!!
Posted: June 6th, 2007
User avatar
Total Posts:257 Joined:2004
I'm just standing on the shoulders of a giant (a.k.a. - WyvernX).
Posted: June 6th, 2007
User avatar
Premium
Total Posts:6662 Joined:2004
One small suggestion. On your waypoint thing. Get waypoints very quickly, and calculate the distance between them. And have your auto set/record function based on distance not time. :)

_________________
Use Search first, ask questions later!
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 1 guest
Locked