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

VG Hacks - VGExtremeRadar v2.1 with Harvesting and Waypoints : VGExtreme Programs

Posted: March 11th, 2007
User avatar
Premium
Total Posts:6718 Joined:2004
Thanks for adding in the player arch and borderless.. small request.. can you add so that it does a setWindowPos and aligns it with the VG window?

_________________
Use Search first, ask questions later!
Posted: March 11th, 2007
gheezer
When you mean align, I assume you mean align the top left of the two windows? Do you know how to get the size and position of the VGWindow? So far all the API calls I've looked at return a pointer, but there must be a way to do it without writing an additional COM component.
Posted: March 12th, 2007
User avatar
Premium
Total Posts:6718 Joined:2004
I didnt see a getWindowpos, but here is the fix I made and it works for me:

In radar_hud.vbs around line 44, replace with :

Code: Register to unlock hidden link

       set HudWindow = GUI.AddWindow(tlX,tlY,strName)
        HudWindow.SetTitle strName
        HudWindow.SetHeight  intWidth
        HudWindow.setWidth   intWidth
        HudWindow.SetLeft getCanvasX()
        HudWindow.SetTop getCanvasY()

Might make it more fancy by getting the canvasX in your timer and if it has moved, call setLeft/SetTop again.

_________________
Use Search first, ask questions later!
Posted: March 12th, 2007
User avatar
Premium
Total Posts:6718 Joined:2004
PS getCanvasX,Y only gets the current focus window position. So calling it in your timer wont work unless you check to see if VG has th focus.

_________________
Use Search first, ask questions later!
Posted: March 12th, 2007
gheezer
OK, updated quite a bit, mostly cosmetic fixes.

1) Added AutoAlign code, thx for the tip wyvern :smile:
2) Tweaked con color and dot display
3) Added a regular expression search box to highlight matching names
4) Added aggro radius but, have it defaulting off until I find a way to calculate perception and aggro range.

I will add more features as I come up with them :smile:

Enjoy!
Posted: March 12th, 2007
User avatar
Premium
Total Posts:6718 Joined:2004
hehe.. wait for the patch i'm fixing to put out.. it has Mob.isAggro which returns true/false. Here is a teaser:

Code: Register to unlock hidden link

                            if myMob.Type = TYPE_RESOURCE Then
                                DLL.rectangle hDC, x-2*zoom,y-2*zoom,x+2*zoom,y+2*zoom
                            elseif myMob.Type = TYPE_NPC Then
                                'Mod Aggro Circles - Contribution WyvernX
                                if (myMob.isAggro) then
                                    DLL.Ellipse hDC, x - 20*zoom, y - 20*zoom, x + 20*zoom, y + 20*zoom
                                end if
                                'End Mod Aggro Circles - Contribution WyvernX
                                DLL.Ellipse hDC, x - 2*zoom, y - 2*zoom, x + 2*zoom, y + 2*zoom
                                for i = 2 to myMob.Points + 1
                                    DLL.Ellipse hDC, x + 7*zoom*cos(i)-1, y + 7*zoom*sin(i)-1,x + 7*zoom*cos(i)+1, y + 7*zoom*sin(i)+1
                                next
                            else
                                DLL.Ellipse hDC, x - 2*zoom, y - 2*zoom, x + 2*zoom, y + 2*zoom
                            end if

_________________
Use Search first, ask questions later!
Posted: March 12th, 2007
User avatar
Premium
Total Posts:6718 Joined:2004
PS one small problem with your new update.

1. Can you set the default font size for mob ellipse to 1 width instead of 3? (you will see when you add in my aggro circle code) ie 1*zoom instead of 3*zoom

2. Oh yea and add in my Mob Aggro code.. :) Just posted a VGE update to version 1.2

_________________
Use Search first, ask questions later!
Posted: March 13th, 2007
User avatar
Premium
Total Posts:6718 Joined:2004
PS also added:
'///Modified 3/13/07 - Added const TYPE_OBJECT = &H8010

Might add that to your radar objects. Mainly its quest items, but I think chests are classified as the same.

_________________
Use Search first, ask questions later!
Posted: March 13th, 2007
tault_razorwing
As this is being used with XUM, is there any way to use the radar in order to find the distance between you and the monster? perhaps this could be used within a bot or macro.
Posted: March 13th, 2007
User avatar
Total Posts:199 Joined:2005
I was playing with this last night, very nice.

Suggestions: Any idea what it will take to make it overlay in full screen mode?
Also, Can you make the Mob's Just dots. instead of a paw print shape.
And is there any way to make it click through able ( like the XML Chat boxes in game) so we can run it full screen mode. .without borders.


GOOD work
Posted: March 13th, 2007
User avatar
Premium
Total Posts:6718 Joined:2004
tault_razorwing, there is a API for the distance between you and a mob, so yes.

I dont think full screen mode will work for a while but you can maximize the window.

As for click through able, it already is. Or are you talking about something else?

_________________
Use Search first, ask questions later!
Posted: March 13th, 2007
User avatar
Total Posts:199 Joined:2005
Well ,I run in windowed mode and when i had it Full screen mode I had no way to tab out to stop it. i had to kill XUM. hehe perhaps i was having a mind fart ..

There is something ic an't figure out with the borderless windows Mine dehbug into hud sometimes is all black bordered, ajnd sometimes it has the WIndow title and the defualt exhume colors and logo. and yes. sometimes its complety WIndowless/borderless.

Wierd.
Posted: March 13th, 2007
gheezer
Hiya sinshar, are you running XP or Vista? Ypu should be able to click through and one easy way to make it max size is to make it bordered and click maximize. I may add an option to make max size borderless at some point.

I will take a look at it once we get a new update...latest SOE patch seems to have messed things up a bit.
Posted: March 13th, 2007
gheezer
Updates are in...VGExtremeRadar 1.2

1) Aggro radius now uses Mob.IsAggro
2) Con color should be correct *I hope*
3) Dot display is optional
4) AutoAlign = 6 will now maximize in locked and unlocked mode
5) Objects such as quest items are yellow triangles
6) The search box no longer covers the range display

And sorry sinshar...I don't think overlays are possible without D3D hooking in VGExtreme :cry:

I tried several alternate methods, but the flickering and game disruption were unbearable.

Enjoy :smile:
Posted: March 14th, 2007
tault_razorwing
Thanks for the update chan4850, keep up the good work :)
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 4 guests
Locked