PlaneShift

Support => Technical Help: IN GAME bugs (after loading world) => Topic started by: DaveG on July 14, 2005, 06:12:53 am

Title: Odd training glitch...
Post by: DaveG on July 14, 2005, 06:12:53 am
(http://img17.imageshack.us/img17/9599/71em.jpg)
No, I did not get any tria in the middle of this training session...  No, I have no idea...   :rolleyes:
Title:
Post by: Nilrem on July 14, 2005, 11:01:45 am
well i come with a possible explanation:

I guess you clicked really quick the \"buy\" icon, that sended lots of petitions to train to the server in a short period of time, then the server sent to you, also in a short period of time lots of packets saying \"you successfuly trained\" and also \"you don\'t have enough money\" because you clicked that fast. As i guess those packets are UDP, they have no order, I mean, they are displayed as soon as they arrive, without knowing if one was sent first than the other; the fact that some packets could have taken a \"longer way\" to reach your pc makes me think of a justification of those messages not appearing in order.

Obviously all this hypo. gets destroyed if you really _know_ that you trained the skill further without having money in your pocket. In that case, it\'s indeed a weird bug.
Title:
Post by: DaveG on July 14, 2005, 08:48:24 pm
I was clicking the buy icon really fast, so your theory is plausible.  Though, I don\'t see why the packets would take different routes.  I think maybe there was a little bit of packet loss from Philadelphia to Singapore, at the time, and some were resent at a delay.  But again, yeah, this is just another theory.
Title:
Post by: aderet on July 15, 2005, 10:32:22 pm
almost every packet takes a different route. but it is a long and complicated process to describe what happens in the detail i would need to. But basically, any packets sent could arrive in any order. even (theoretically) in reverse order. but to use ftp would be a gross waste of resources. so, it is just one of those things. =)
Title:
Post by: Andrek on July 25, 2005, 01:28:21 am
Easy explain....

From your home, go to the capital bulidng in your area.  Now how many different paths can you take (even if it is across the way from you you can still turn right/left and go an infinite number of ways right)?

It is the same with IP protocols.  They can take any different number of \"byways\" to get to the destination.  They don\'t always take the shortest or fastest (which may not be the same).

Hope this offers help.
Title:
Post by: DaveG on July 25, 2005, 02:09:10 am
Yes, I know.  And the UDP packets don\'t contain any ordering information.  The solution is just to buy a level at a time and wait for confirmation each time.  (here\'s the bug report, btw (http://planeshift.oodlz.com/bugtracker/bug.php?op=show&bugid=885))