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
Alles
  • Alles
  • Artikel
  • Seiten
  • Dateien
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. GSManager
  2. Mitglieder
  3. Geventh

Beiträge von Geventh

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!
  • Ich könnte kotzen weil:

    • Geventh
    • 20. Februar 2011 um 06:00

    Was habt ihr denn alle gegen Mac?
    Wenn man alle Spiele spielen will, kann man einfach über Bootcamp legal Windows drauf tun drauf tun.
    Mir gefallen nur zwei dinge nicht: Preis & Updates, sonst ist es perfekt(meine Meinung).

    Ich könnte kotzen, dass die Schule morgen wieder anfängt ;(

  • Webinterface für Cod und mam. Was sollte es können?

    • Geventh
    • 20. Februar 2011 um 05:33

    Livechat (evt. über Ajax/Flash)
    Wie mirko911: Die gesamte Adminmod TCP Konsole
    Ich würde dir dabei auch gerne helfen, nur wenn du hilfe brauchst.

  • !online customizable?

    • Geventh
    • 20. Februar 2011 um 05:29

    Hi,
    Yes it's possible: You have to edit the basiccommands.php file which is under the folder /plugins/.. .
    I haven't tried it yet: You won't get any further support by anyone else if it fails except me... (kind of core files)

    Change: line 535

    PHP
    public function online($guid, $parameters) {
    	   $admins = $this->mod->getAdmins();
    	   $online = array();
    	   foreach ($admins as $adminguid => $admin) {
    	       if (array_key_exists($adminguid, $this->players)) {
    	           $online[] = array(
    	              "nick" => $this->players[$adminguid]->getName(),
    	              "group" => $this->players[$adminguid]->getGroup()
    	           );
    	       }
    	   }
    	   $str = $this->mod->getLngString("onlineadmins") . " ";
    	   if (count($online) > 0) {
        	   foreach ($online as $admin) {
        	       $str .= "^2" . $admin["nick"] . " ^1(" . $this->mod->getLongGroupName($admin["group"]) . ")^7, ";
        	   }
        	   $str = substr($str, 0, -4);
    	   }
    	   else {
    	       $str .= $this->mod->getLngString("onlineAdminsNone");
    	   }
    	   $this->players[$guid]->say($str);
    }
    Alles anzeigen


    to:

    PHP
    public function online($guid, $parameters) {
    	   $admins = $this->mod->getAdmins();
               $admingroups = array("masteradmin", "admin"); // change to choose which groups you want | add this line
    	   $online = array();
    	   foreach ($admins as $adminguid => $admin) {
                   $playergroup = $this->players[$adminguid]->getGroup(); // add this line
    	       if (array_key_exists($adminguid, $this->players) && in_array($playergroup, $admingroups)) { //change this line
    	           $online[] = array(
    	              "nick" => $this->players[$adminguid]->getName(),
    	              "group" => $playergroup // change this line
                        );
    	       }
    	   }
    	   $str = $this->mod->getLngString("onlineadmins") . " ";
    	   if (count($online) > 0) {
        	   foreach ($online as $admin) {
        	       $str .= "^2" . $admin["nick"] . " ^1(" . $this->mod->getLongGroupName($admin["group"]) . ")^7, ";
        	   }
        	   $str = substr($str, 0, -4);
    	   }
    	   else {
    	       $str .= $this->mod->getLngString("onlineAdminsNone");
    	   }
               $this->players[$guid]->say($str);
    }
    Alles anzeigen
  • ein Mod, mehrer Server, sollen aber gleiche admin.cgf groups.cgf und reasons.cgf haben

    • Geventh
    • 20. Februar 2011 um 05:09

    Hi,
    Ich an deiner Stelle würde nicht herum basteln, wenn du nicht weisst was du tust.
    Kann wegen dem auch Probleme geben. (Support gibt es dann auch ned.)
    Ich würde lieber warten auf v0.12 BETA.

    MFG Geventh

  • ManuAdminMod - Webinterface v0.2

    • Geventh
    • 20. Februar 2011 um 05:03

    Mein Fehler, hab nicht alles gelesen und mit MySQL in Verbindung gesetzt.
    Sorry....

    Meinte: xD

    PHP
    $magic_quotes_active = get_magic_quotes_gpc();
    $mysql_real_escape_string_exists = function_exists("mysql_real_escape_string");
    
    
    
    
    if($mysql_real_escape_string_exists) {
      if($magic_quotes_active) {
        $text = stripslashes($text);
        $text = mysql_real_escape_string($text, $connection);
      } 
    }else {
      if(!$magic_quotes_active) {
        $text = addslashes($text);
      }
    }
    Alles anzeigen

    Mirko911: manu ist kein Kongruent für mich, er ist einfach zu gut.

  • ManuAdminMod - Webinterface v0.2

    • Geventh
    • 19. Februar 2011 um 23:36
    Zitat von manu

    Äh, nein ^^


    Was meinst du damit? :huh:

  • ManuAdminMod - Webinterface v0.2

    • Geventh
    • 19. Februar 2011 um 20:22
    PHP
    if(get_magic_quotes_gpc()) {
       $text = stripslashed($text);
    } else {
       $text = addslashes($text);
    }
  • ein Mod, mehrer Server, sollen aber gleiche admin.cgf groups.cgf und reasons.cgf haben

    • Geventh
    • 17. Februar 2011 um 18:51

    Hi,
    Wenn man ein Mod und mehrere Server hat wird es nur unübersichtlich.
    Aber ab v.0.12 BETA kann man dann die Config Dateien sharen. (kommt bald raus)
    Link: Click here

  • Timed events

    • Geventh
    • 17. Februar 2011 um 18:46

    Yeah, it's possible:
    use:

    PHP
    $mod->registerEvent("everyTime",(string)FUNCTIONNAME, OBJECT);


    everyTime is the event, it will call that function the whole time (an endless loop).

  • Release: Online-Skript für eure Homepage

    • Geventh
    • 17. Februar 2011 um 18:39

    Hi,
    Wieso machst du keine For/While Schleife?
    Würde doch einfacher gehen oder?
    Mfg Geventh

  • MySQL-Statistik-Seite / MySQL-Stats-Page

    • Geventh
    • 14. Februar 2011 um 11:36

    phpMyAdmin is just a tool to "control" mysql.
    It's like a website where you can edit, update, delete..... your database/s.
    It's working with PHP.
    You don't have to have it, but it's a nice handy tool.

    Zitat

    Wikipedia says:
    phpMyAdmin is an open source tool written in PHP intended to handle the administration of MySQL over the World Wide Web. It can perform various tasks such as creating, modifying or deleting databases, tables, fields or rows; executing SQL statements; or managing users and permissions.

    I don't know if stats works, but can you look every hour if the tables were updated?
    Do you have any error messages?

    Geventh

  • MySQL-Statistik-Seite / MySQL-Stats-Page

    • Geventh
    • 13. Februar 2011 um 12:12

    I think you haven't set up mysql-stats yet!
    Try !stats to check if the stats plugin works.

    Geventh

  • MySQL-Statistik-Seite / MySQL-Stats-Page

    • Geventh
    • 12. Februar 2011 um 11:51

    Do u have PHPMyAdmin?
    If yes, please check your tables!
    Link: XAMPP
    The path would be like this to PHPMyAdmin: http://localhost/phpmyadmin

    And have you changed any code ? ;)

    Geventh

  • MySQL-Statistik-Seite / MySQL-Stats-Page

    • Geventh
    • 11. Februar 2011 um 10:56

    Hi,
    Do you have a gameserver/rootserver or is it on your own PC/local?
    Windows or Linux?
    Then, do u have mysql stats enabled and where are they saved?

    Geventh

  • MySQL-Statistik-Seite / MySQL-Stats-Page

    • Geventh
    • 1. Februar 2011 um 22:21

    Hast du SSH Access? (Root Server)
    Wenn ja Linux oder Windows (evtl. Betriebsystem) ?

    MFG Geventh

  • MySQL-Statistik-Seite / MySQL-Stats-Page

    • Geventh
    • 1. Februar 2011 um 07:43
    Zitat von Lottich


    Diese Erweiterung scheint echt interessant zu sein, muss ich einfach haben.
    Nur, geht mal davon aus, dass ich der DAU bin... (dümmster anzunehmender user)

    Wie muss ich das denn genau installieren? Ich hab keine Anleitung gefunden

    Hast du ein Webserver? (Apache 2, PHP5, MySQL ,evt. PhpMyAdmin)
    Hast du stats aktiviert?
    Kannst du deine config.cfg Datei vom MAM mal posten. (rconpass & andere pass hiden)

    MFG Geventh

  • Frage zum Befehl hinzufügen.

    • Geventh
    • 30. Dezember 2010 um 09:44

    Hi,
    Such mit der den Pfad zu deiner Logfile: click here!
    Die fügst du dann in deine "config.cfg" Datei rein.

    MFG Geventh

  • sehr nützliches script zum starten/stoppen des Servers

    • Geventh
    • 27. Dezember 2010 um 05:48

    Nice work...
    Keep it up!

    Geventh

  • Server verarbeitet keine Befehle

    • Geventh
    • 18. Dezember 2010 um 20:29

    Hi,
    Schau noch einmal nach, ob der Pfad auch wirklich stimmt: click here

    MFG Geventh

  • only registered players?

    • Geventh
    • 8. Dezember 2010 um 22:18

    Try this...

    PHP
    <?php
    $mod->registerEvent("playerJoined", "registered_main");
    $mod->setDefaultCV("registered", "enabled", 1);
    $mod->setDefaultCV("registered", "kickreason",  "Not allowed to join");
    
    
    
    
    function registered_main($guid) {
        global $mod;
        global $players
    
    $allowed = array("guid1","guid2","guid3"); // enter your guids here
    
    
    
    
      
    if(!in_array($players[$guid],$allowed)) {
        $players[$guid]->kick($mod->getCV("registered", "kickreason"));
     }
    ?>
    Alles anzeigen

    Geventh

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