Open GoogleCodeExporter opened 8 years ago
Which version and branch does this apply to?
Cookies are loaded in OnClientCookiesCached and we use this event to load
cookie-based data.
In the beta 2 release it looks like classes aren't loaded on players until
cookies are loaded, but usually cookies are loaded pretty fast (before the
player is spawning). During the time I managed a ZR server class cookies worked
fine. Those issues I had were bugs in ZR, that I fixed.
The symptoms with no knock back or settings from another class when loading
from cookies sounds like a very old bug that was fixed a long time ago. When
loading classes from cookies it should revalidate the team in case class config
has changed.
In the dev branch we've made a special event to fire when certain conditions
are met (OnClientReady). For this event we actually store whether cookies are
loaded, as you mentioned. The event fires when clients are connected, admin
checked and cookies loaded (as far as I remember). We use this to preload a
default class, and then replace it with the saved class once cookies are loaded.
What happens with ZMarket and other settings? ZMarket should at least work for
buying weapons.
Original comment by richard.helgeby@gmail.com
on 10 Aug 2011 at 5:29
This is the exact same issue I am having currently. I haven't always had this
issue but it has been happening on my server regularly. A fix or even some
type of patch would be greatly appreciated.
Original comment by jljr...@gmail.com
on 1 Mar 2012 at 3:20
Adding links with more info about this for future reference:
http://forums.alliedmods.net/showthread.php?t=179465
Discussion of solutions:
http://forums.alliedmods.net/showthread.php?t=186433
The best solution so far is a "waiting for players"-round, but I'm not sure how
it should work in detail.
Original comment by richard.helgeby@gmail.com
on 4 Jun 2012 at 5:41
Original issue reported on code.google.com by
kyle.l...@gmail.com
on 10 Aug 2011 at 4:00