Spodii / netgore

Cross platform online rpg engine using C# and SFML
http://www.netgore.com/
40 stars 16 forks source link

Warp User position not saved #293

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When you warp someone with /summon for example and the user does NOT move and 
logs out, logs back in. He'll be at the last position he was at right before 
you warped him. Apparently the server doesn't save the position info?

This also happens when you enter a warp and log out immediately.

Original issue reported on code.google.com by skye7...@gmail.com on 25 Dec 2010 at 10:28

GoogleCodeExporter commented 9 years ago
They don't start at the same position when using /summon for safety reasons. If 
you summon someone somewhere they shouldn't be, and they log out, you are stuck 
with them logging back in there. Its also not really much of a problem since 
you shouldn't be summoning people around much anyways.

As for the "enter a warp" thing, can you be more specific? And is that really a 
problem?

Original comment by Spodiii on 27 Dec 2010 at 1:11

GoogleCodeExporter commented 9 years ago
When you enter a tele entity and get warped to another location, if you do not 
move there, and log out, you'll be back at the tele entiy.

It's not really an error but certainly is a (minor) bug.

Original comment by devon.ke...@gmail.com on 27 Dec 2010 at 9:26

GoogleCodeExporter commented 9 years ago
Oh, so by "log out immediately", you mean before any movement takes place? By 
"immediately", I thought you meant "log out before the teleporting can finish".

If that is the case, then yep, that is a problem.

Original comment by Spodiii on 27 Dec 2010 at 10:40

GoogleCodeExporter commented 9 years ago
Yup before any movement.

Original comment by devon.ke...@gmail.com on 27 Dec 2010 at 11:15

GoogleCodeExporter commented 9 years ago
Tested it and it works just fine for me... you might just need to rewrite the 
logic since the default logic is probably just not what you want.

Original comment by Spodiii on 6 Jan 2011 at 8:45

GoogleCodeExporter commented 9 years ago

Original comment by Spodiii on 6 Jan 2011 at 8:45