1. GSManager
    1. Funktionen
    2. Unterstützte Spiele
    3. Neuigkeiten
    4. Statistiken
    5. Serverliste
  2. Lexikon
  3. Filebase
  4. Entwicklung
  5. Forum
    1. Dashboard
    2. Unerledigte Themen
  6. Web-Interface
  7. Artikel
  8. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  • Anmelden
  • Registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Seiten
  • Dateien
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. GSManager
  2. Forum
  3. Unterstützung
  4. Benutzung

Manu Admin delayed GUID finder

  • CroGame
  • 9. März 2013 um 10:26
Das Projekt GSManager (vormals ManuAdminMod) wurde am 01.01.2020 eingestellt - diese Internetpräsenz bleibt verfügbar, die Software wird aber nicht länger gepflegt. Vielen Dank für eure Unterstützung in den mehr als zehn vergangenen Jahren!
  • CroGame
    Anfänger
    Punkte
    145
    Beiträge
    22
    • 9. März 2013 um 10:26
    • #1

    Hello, is it somehow possible to delay GUID recognization ? I want to load GUID after 10 sec, and not instatly when player joins the server.
    Thanks

  • Belstgut
    Entwickler
    Reaktionen
    53
    Punkte
    4.643
    Trophäen
    4
    Beiträge
    900
    Einträge
    2
    • 9. März 2013 um 10:42
    • #2

    Yeah that would be great so i can modify my pb server to calculate the guid on different aspects which are harder to spoof.

  • CroGame
    Anfänger
    Punkte
    145
    Beiträge
    22
    • 11. März 2013 um 15:44
    • #3

    i tryed adding sleep command in player.class.php:

    PHP
    <?php
    
    
    
    
    class player {
    	private $mod;
    	private $rcon;
    	private $players;
    	private $logging;
    	private $guid;
    	private $pid;
    	private $name;
    	private $customvars = array();
    	private $lastkiller = false;
    	private $lastvictim = false;
    	private $team = "none";
    	public $joined = 0;
    	public $lastweaponkill = false;
    	public $lastweapondeath = false;
    	public $kills = 0;
    	public $deaths = 0;
    	public $teamkills = 0;
    	public $teamdeaths = 0;
    	public $selfkills = 0;
    	public $headshots = 0;
    	public $lastdeathwastk = false;
    	public $lastkillwastk = false;
    	public $lastCommand = 0;
    	public $damagegiven = 0;
    	public $teamdamagegiven = 0;
    	public $damagetaken = 0;
    	public $vehicledamagegiven = 0;
    	public $teamvehicledamagegiven = 0;
    	public $actorsdamagegiven = 0;
    	public $teamactorsdamagegiven = 0;
    
    
    
    
    	public function __construct($guid, $pid, $name) {
    		sleep(18);
    		$this->mod = & $GLOBALS['mod'];
    		$this->rcon = & $GLOBALS['rcon'];
    		$this->logging = & $GLOBALS['logging'];
    		$this->players = & $GLOBALS['players'];
    		$this->guid = $guid;
    		$this->pid = $pid;
    		$this->name = $name;
    		$this->joined = time();
    	}
    Alles anzeigen


    but it seems that this works only first time player joins the server. And only that time player can execute commands. If player rejoins he won't get welcome message and he wont be able to send commands to manu admin until next map loads. After that player gets another welcome message and everything is as described above.

    And yes i want to use this so that my own server could calculate pb guid based on hardware id so that banned users cannot join anymore (unless they buy new computer :smile: )

  1. Mitarbeiter
  2. Datenschutzerklärung
  3. Nutzungsbedingungen
  4. Impressum
  5. Kontakt
Community-Software: WoltLab Suite™