Page 1 of 20

VG Hacks - VGExtremeRadar v2.1 with Harvesting and Waypoints

Posted: March 11th, 2007, 1:00 am
by gheezer
Hi everyone,

Need help finding resources and quest items? Or maybe you need to trek through a dangerous area with lots of Aggro? Then this hack is for you!

Need a feature added? No problem, post a request!

Enjoy :)

Pros:
1) Configurable windowed mode radar overlay
2) Show as little or as much information as you need
3) Keep different configureations for each toon
4) Most colors are Customizable
5) Highlight objects based on a regular expression search pattern and optionally play a sound to alert you when they appear
6) Instantly see Con color and Dot difficulty of all Mobs in range
7) Load POI Database from Register to unlock hidden link
8 ) Define harvesting paths and let the radar harvest for you
9) Create and display waypoint lists

Cons:
1) Does not work in fullscreen
2) Does not show mobs that are 'hidden'
3) The built in harvesting bot has no defensive AI


Installation instructions:

1) Get the latest VGExtreme.exe
2) Unzip the files into your VGExtreme folder
3) Open your VGExtreme.exe
4) Open the VGExtremeRadar.vbs project
5) Execute and have fun :twisted:

It gets a little slow in heavily populated areas, but you can change the refresh rate and turn some object types off to speed things up.

The settings are accessable while the radar is running. Click the leftmost button "!" to see available settings.

Posted: March 11th, 2007, 8:30 am
by wyvernx
dynacall is included in XUM, so you dont need that dll at all. Look at the XUM functions, its called DLL.Register or something like that.

As a person that doesnt trust uploaded dll's I wouldnt run it. But all you have to do is remove the dll you included and call DLL.Register instead of UserWrap.Register and it will work!!!!

Its a shame that people dont realize how much functionality XUM really has.


EDIT: I updated your files to remove the dynacall.dll. Enjoy!

Posted: March 11th, 2007, 8:45 am
by wyvernx
PS. It looks really nice. I'm already tweaking mine to add some nice features (like line to target, player direction indicators, color target by level/con etc). If you want I'll post the changes I made.


For example:

Line To Target Mod:
in file radar_hud.vbs around line: 159
find:

Code: Register to unlock hidden link

                           DLL.Ellipse hDC, x - 2, y - 2, x + 2, y + 2
                            TextOut hDC, x, y, GetMobName(myMob)
After, Add:

Code: Register to unlock hidden link

                            'Draw a line to the target
                            if (VG.Target.GUID = myMob.GUID) then
                                    DLL.MoveToEx hDC,cx, cy,null
                                    DLL.LineTo hDC, x,y 
                            end if

Posted: March 11th, 2007, 8:55 am
by wyvernx
As a matter of taste.. perhaps you should set the internal VG_SEARCH_DISTANCE (setSearchDistance) to match your current window search distance so that when you call NearestMobs it will show mobs in range.

Posted: March 11th, 2007, 9:22 am
by gheezer
Well, actually.... it was my intent to call setSearchDistance but it seems like I overlooked that bit of code. Thanks for the DLL.Register tip, just started using Exhume scripting a few days ago and it is very hard to find complete documentation :)

I will upload an updated version a little later that fixes a few problems.

Posted: March 11th, 2007, 9:28 am
by wyvernx
The wiki is being updated... if you havnt not browsed it yet, take a peek.

Here is a mod for Player Line of sight (arches around player). I had this on all my radar apps.. so some mightlike it:

In file radar_hud.vbs around line 119, find:

Code: Register to unlock hidden link

DLL.Ellipse hDC, cx - 2, cy - 2, cx + 2, cy + 2
After, Add:

Code: Register to unlock hidden link

           'Draw the Player Arch (line of sight)
            DLL.DeleteObject playerPen
            playerPen = DLL.CreatePen(0,1,RGB(255,255,0))
            DLL.SelectObject hDC, playerPen
            DLL.MoveToEx hDC,cx, cy, null            
            DLL.LineTo hDC, cx-25, cy-20
            DLL.MoveToEx hDC,cx, cy, null            
            DLL.LineTo hDC, cx+25, cy-20
            DLL.DeleteObject playerPen
            playerPen = DLL.CreatePen(0,1,RGB(255,0,0))
            DLL.SelectObject hDC, playerPen
            DLL.MoveToEx hDC,cx, cy, null            
            DLL.LineTo hDC, cx, cy-20
            'end Draw the player Arch (line of sight

Posted: March 11th, 2007, 9:35 am
by gheezer
Hehe, yeah I was going to add the Mob Lvl and Con, but ran out of time last night. I am also going to clean up the SearchForNearestMobs and the Paint section. Ok....now wheres that coffee...

Posted: March 11th, 2007, 9:40 am
by wyvernx
Something else you might be interested in is a borderless transparent window. Center it on the game using setWindowPos. You can add a button to toggle it if you wish, but I always liked not having a window border... But that is just a personal preference.

Posted: March 11th, 2007, 9:54 am
by tault_mississippi
I drank all the coffee. Had to move on to rum and Diet Dr. Pepper. ;-)

Nice work on the radar. It would be great if we could figure out a way to do overlay's better without the frame showing up. :-(

I tried the the raw hud.vbs library in Vista and it didn't show the frame at all. Unfroturnately, VGExtreme wouldn't run under Vista so I re-installed XP Pro. But I think when we go to Vista and DX10 we will get the advertised functionality.

Posted: March 11th, 2007, 10:08 am
by gheezer
Thanks Mississippi! I plan on adding an option to make it borderless, but it makes it hard to resize and move around with nothing to grab :) so I left it bordered for now. There is more information I would like to include in the display but I am having a hard time finding stable pointers. I am looking for things like Mob direction, aggro spheres, etc... I would say its like finding a needle in a haystack, but I don't think they make haystacks as large as VGs memory pool.

Posted: March 11th, 2007, 11:39 am
by wyvernx
Show me a screenshot of the frame. And I can show you how to fix it.

For resizing, you add a button like you have for +/- to allow for resizing and one for moving if you want. :)

I think I have mob aggro and con colors alraedy, just need to push out the next patch. :(

chan, just let me know what you want added and I'll do my best to get it included. I'm adding things all the time.

Posted: March 11th, 2007, 11:54 am
by gheezer
Thanks wyvernx :smile: I will send you my wish list :grin:

I have posted an updated version with calculated con color and dot display.

Posted: March 11th, 2007, 12:10 pm
by gheezer
Oops.. messed up on con color, updated file uploaded. Should be fairly close now.

Posted: March 11th, 2007, 12:19 pm
by wyvernx
Yea I'll add a API for the color because yours is close.. but at level 10 a level 6 mob is green.

Posted: March 11th, 2007, 1:33 pm
by gheezer
Updated the VGExtremeRadar file, available in the first post.

Changes:
1) Borderless window works correctly now
2) Pressing the range buttons returns focus to VG
3) Added scaling
3) Once again updated con color calculation (close enough until we get the update from wyvernx :smile:)

Enjoy :smile: