What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Something with Gps changed?

Sidalol

Member
Joined
Jul 1, 2010
Messages
987
Reaction score
15
Both me and a friend are experiencing weird shit with Gps today...using with vehicles it's riding around and around in a circle...didn't do this before.
 
Yep got this thrown in my face a few seconds ago

PHP:
Error in gps minpath System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.List`1.set_Capacity(Int32 value)
   at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
   at System.Collections.Generic.List`1.Add(T item)
   at (Object , GpsPoint )
   at A.MDH.A(Object , GpsPoint )
   at A.ZRB.A(GpsPoint , Core )
 
Yep got this thrown in my face a few seconds ago
Vehicles will be fixed within few days.
Your error - its something another. Can you reproduce it? If you can - can you send me database file + place where i can reproduce it?
 
it happends when i recall and the waituntilteleport will not wait long enough. the whole gps will crash trying to move while the game is in the loading screen i have no idea on how to bypass that
 
he whole gps will crash trying to move while the game is in the loading screen i have no idea on how to bypass that
Nope, error that you see - its error in the "minpath" internal function. I get this error once, but cant get again. Its looks like gps build infinite path from point1 to point2, from point2 to point1, and again.
To fix this i need reproduce this :<
 
Try to do a gps.move() -> Recall -> try to move again it will get stuck dont reassign a new instance to the gps variable just us the "old" instance. thats how im triggering that exact exception
 
Try to do a gps.move() -> Recall -> try to move again it will get stuck dont reassign a new instance to the gps variable just us the "old" instance. thats how im triggering that exact exception

I do that with teleport just fine with a 30 second sleep after the teleport. Is it only with recall?
 
Idk im having major issues with my method
it still walks way to early.

PHP:
        public void Recall()
        {
            if(this.CanRecall())
            {
                this.run.Log("Recalling, afterward we will wait for 15 extra seconds");

                while (this.core.me.isGlobalCooldown)
                    Thread.Sleep(50);

                this.core.UseSkill("Recall");

                this.core.WaitTeleportCompleted(90000);

                Thread.Sleep(30000);
            }
        }
 
Last edited:
Hi again. Can someone give me gps db (for nuia) where i can see horrible farm cart move?
 
Something has changed in gps right? Now wiggle is so much less but if you go too far off the path (maybe didn't start exactly on path or cart did some wiggle and moved a little from path) then it will go round and round in circles forever trying to get on the path. If you start really close to path and it never moves >1-2m from path its ok.
 
This is what happens:

The cart is a long vehicle and I have the feeling that the navigation point of the cart is in the middle of the cart...

This happens if points are too close to eachother:
http://uploadpie.com/kAbd5

He starts wiggling a little in the beginning to try and hit the next point, suddenly he will wiggle to much and be unable to "touch" the last point, which results in never ending circles around that point, trying to reach it.

This is whats happening on corners:
http://uploadpie.com/fwHdt

He aims for the corner point but because the cart turns slowly and its moving, it misses the corner point and also can never reach the point, so he starts circling it and crashes into everything trying to reach it.

Possible fix for corners: If there is a sharp corner (less than 120°) coming up, make the cart STOP and rotate on the spot before moving to the next point.
http://uploadpie.com/sBgOO

Possible fix for straight lines, increase the interval between points by a lot => standard is 2000, I've made it work with 4000.

Any more questions, I can answer
*Also, when mounted on a cart, it would be greatly beneficial to just decide to go to the next point instead of trying to circle around the current point, depending on the direction your cart is looking at.
 
Last edited:
ny more questions, I can answer
*Also, when mounted on a cart, it would be greatly beneficial to just decide to go to the next point instead of trying to circle around the current point, depending on the direction your cart is looking at.
Thanks for images!.
P.s. for cart\traktor always create points itself with biggets distance. I will go to improve all that i see on screenshots, but anyway becouse of vehicle cant turn immediatly - better if points far away
 
Look at the path and look at my cart XD

Out: remove this image.

Road from behind looks like this:
(Red = real path, green = example path bot will take)

834d727d20.jpg

You can see it does what Lipie said - comes round corner....misses path and goes in circle then up the wall. If wall was not there then he would go round and round in circles there.
 
Last edited by a moderator:
Hi, i do some changes.
Please download new version (just uploaded)
And do some tests, both with auto recording path, and path that you do manually
 
Thanks for listening to my tip Out, the cart now slows down/stops before making a sharp turn.
It's working 70% better than before. Also a lot less wiggle/swinging

I recommend recording routes with 2500 interval on normal mount for best result!
 
Thanks for listening to my tip Out, the cart now slows down/stops before making a sharp turn.
It's working 70% better than before. Also a lot less wiggle/swinging

I recommend recording routes with 2500 interval on normal mount for best result!
If you will get new ideas how improve this - tell me
 
MUCH better than before. First attempt - managed to make the entire journey including the area on my screenshots above. Never been able to make a full journey before. It's not perfect but thanks so much for the update.
 
I'll try that as well, sounds better than finishing my cart driving plugin for now!
 
Back
Top