Enable GPACK for Player

Enable GPACK for Player
This commit is contained in:
novgorodschi catalin
2026-07-27 10:42:44 +03:00
parent 81cf911128
commit dd7ee34e20
34 changed files with 162 additions and 220 deletions
+7
View File
@@ -426,6 +426,13 @@ function __construct() {
$this->uid = $_SESSION['id_user'] = $this->userarray['id'];
$this->gpack = $this->userarray['gpack'];
// Pachetul grafic ales de jucator ajunge in sesiune, exact ca limba de
// mai sus: config.php se incarca INAINTE de a exista o conexiune la baza
// de date, deci singurul mod de a-i spune ce pachet vrea jucatorul este
// prin sesiune. Fara asta, GP_LOCATE ramanea mereu pachetul serverului,
// oricat de des si-l schimba jucatorul din profil.
$_SESSION['gpack'] = (string) $this->userarray['gpack'];
$this->access = $this->userarray['access'];
$this->plus = ($this->userarray['plus'] > $this->time);
$this->goldclub = $this->userarray['goldclub'];