Page 1 of 1

A few ideas....

Posted: May 21st, 2007, 6:13 am
by 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, 9:24 am
by wyvernx
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.

Posted: May 21st, 2007, 2:40 pm
by 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, 5:24 pm
by wyvernx
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...

Posted: May 21st, 2007, 7:50 pm
by 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, 3:14 pm
by frostfiretulsa
/ShootSelfInFoot

:/

Frosty

Posted: May 22nd, 2007, 9:24 pm
by wyvernx
Yea I originally did this so people could make non blocking calls to navigation.

Posted: May 22nd, 2007, 11:21 pm
by user01
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, 9:18 am
by 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