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

A few ideas.... : VGExtreme Requests

Posted: May 21st, 2007
frostfiretulsa
First, we need a XP call that will let us check our current XP and XP to next level.

It would also be nice to have (and this probably exists somewhere already) a list of functions avaialable in the root VG namespace, so we dont have to rely on the VGExtreme scripts for all game interaction.

Last, and most important, it would be REALLY nice if you could set up some sort of login method from the .NET wrapper, so that we can build .NET applications that lot us in to Tault, instead of having to load and log in to Exhume as well.

More ideas coming later :)


Frosty
Posted: May 21st, 2007
User avatar
Premium
Total Posts:6662 Joined:2004
For exp, sure i"ll see what I can find.

For the VG Namespace, load up VS.Net, create a project, include a reference to VGEHelper.dll. And you can see all of the available functions for use outside of the scripting environment.

And for a login, yes that is coming along. I'm working with admin for a even better approach.

_________________
Use Search first, ask questions later!
Posted: May 21st, 2007
frostfiretulsa
WooT!

Thankee.

1 more thing... though I dont know if this is a general bug or something specific to my configuration.

For some reason the MoveTo, TurnToHeading and TurnTo methods under Navigation (in the wrapper, not exhume), do not work. They simply keep turning around and around, nonstop.

To get around this I made my own methods that do work, but result in a non-precise system that seems a little jerky.

The MoveTo just keeps going, and doesnt like to turn at all lol. Very strange.

Ideas?


Frosty
Posted: May 21st, 2007
User avatar
Premium
Total Posts:6662 Joined:2004
The ones that I made assume that it is being called over and over. Ie it will do the action that needs to be done.. and return. Ie start movign forward, or start turning, etc...

_________________
Use Search first, ask questions later!
Posted: May 21st, 2007
frostfiretulsa
If its that easy... ill shoot myself in the foot. lol.

Just got home and will give it a shot - thanks!


Frosty
Posted: May 22nd, 2007
frostfiretulsa
/ShootSelfInFoot

:/

Frosty
Posted: May 22nd, 2007
User avatar
Premium
Total Posts:6662 Joined:2004
Yea I originally did this so people could make non blocking calls to navigation.

_________________
Use Search first, ask questions later!
Posted: May 22nd, 2007
Total Posts:17 Joined:2007
heres the code I use for movement (keep in mind I use .Net NOT the scripting engine)

Code: Register to unlock hidden link

    Private Function GotoLoc(ByVal x As Double, ByVal y As Double, ByVal Distance As Double) As Boolean
        oVG.Navigation.StartMovement(VGExtreme.Interfaces.Direction.Forward)
        Do While oVG.Player.GetDistance(x, y) >= Distance
            oVG.Navigation.TurnTo(x, y)
            Threading.Thread.Sleep(5)
            Application.DoEvents()
        Loop
        oVG.Navigation.StopMovement(VGExtreme.Interfaces.Direction.Forward)
        oVG.Navigation.StopMovement(VGExtreme.Interfaces.Direction.Left)
        oVG.Navigation.StopMovement(VGExtreme.Interfaces.Direction.Right)
        Return True
    End Function
Hope it helps =)
User01
Posted: May 28th, 2007
frostfiretulsa
Thtas almost identical to what I am using now... Since I was told I need to call it over and over.

I use C# tho :)

Frosty
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