I really want to help you with mw3. But atm. I'm very busy.
Beiträge von Mirko911
-
-
-
deswegen hab ich ja im Internen geschrieben, dass ich es testen will
EDIT: ich glaube wir haben in der Default Config einmal punishments. und punishment. verwendet.
@Superhelge: tausch mal die VIP Section mit dem hier aus
-
Is there any reason why you want to check all players every 5 seconds?
If an ip is banned, than the GSM should kick this player when he connects. I can't imagine any case where you need to check it every 5 seconds.
Here is an example for a job implementation. I hadn't time to test it but it should work
PHP: Example Class with Jobs
Alles anzeigenclass MyPlugin{ private $job_id; public function enable(){ parent::enable(); $this->job_id = $this->jobs->addPeriodicJob(5, 's', -1, [$this, 'callThis'], ['optionalParams']); } public function disable(){ parent::disable(); $this->jobs->deleteJob($this->job_id); } public function callThis(){ } }
-
Du kannst deine Fragen ruhig stellen. Dafür existiert dieses Forum.
Außerdem ist die Gruppeneinteilung auch nicht in Stein gemeißelt. Wir liefern eine Konfiguration aus, die für die meisten Nutzer für den Anfang vollkommen ausreicht. Wie du die Gruppen benennst und welche Rechte diese haben liegt ganz bei dir
Ich habe es jetzt mal so eingefügt, aber warnen geht für VIP nicht.
wenn du die Config von mir oben genommen hast, dann sollte das eigentlich funktionieren. Hast du evtl. versucht als VIP einen OP zu verwarnen?
-
Hey,
das hier sollte dir helfen:
JavaScript: groups.json
Alles anzeigen{ "ops": { "displayname": "Operator", "inheritance": [ ], "permissions": [ "*" ], "shownasadmin": true, "needstologin": true }, "mods": { "displayname": "Moderator", "inheritance": [ "vips" ], "permissions": [ "punishment.punish.*", "daemon.map.*", "daemon.gametype.*" ], "shownasadmin": true, "needstologin": true }, "vips": { "displayname": "Very Important Player", "inheritance": [ "default" ], "permissions": [ "punishments.punish.warn.*" ], "shownasadmin": false, "needstologin": false }, "default": { "displayname": "Player", "permissions": [ "funmessages.fun.*", "statistics.stats.*" ], "shownasadmin": false, "needstologin": false } }
Wir haben mit dem GSM das Rechtemanagement etwas aufgebohrt. Es funktioniert im Grunde wie das Minecraft Permissions System.
-
benutzt du PHP7?
-
we can implement cod8 if you want, but we need a listing of all maps, gametypes, weapons
-
ob er Admin ist oder nicht hat nichts mit dem Problem zu tun.
Er schreibt, dass der GSM crasht. Ich vermute mal, dass es an einer Config Datei liegt. Deswegen sollte er ja auch die Log Datei mit hochladen -
häng mal bitte die Log Datei an. Ohne die sieht man schlecht, was den GSM zum neustarten bringt
-
Hey,
der Fehler ist im Grunde nicht so schlimm und hat keine Auswirkungen auf den GSM.
Kann es sein, dass die Windows Firewall die Abfrage blockiert?
-
it seems that this player also doesn't have any pid
-
copy the config folder
copy the logfile folder
create new gsm.cfg with other screen , log and config folder -
Ja die Permissions dafür gibt es.
Wir haben das Protection System mit der 1.0.0 vom GSM etwas aufgebohrt.
Diese Flags gibt es nun:Code"punishment.immunity.ban", "punishment.immunity.kick", "punishment.immunity.kill", "punishment.immunity.tempban", "punishment.immunity.warn",
dazu kommen noch
Code"nameprotection.immunity.identicname", "nameprotection.immunity.namechanges", "nameprotection.immunity.reservedname",
Code"censor.immunity.badname", "censor.immunity.badword", "censor.immunity.uppercasename", "censor.immunity.uppercaseword",
Code"pingchecker.immunity.maxping", "pingchecker.immunity.minping", "pingchecker.immunity.pingkick",
Code"votings.immunity.ban", "votings.immunity.kick", "votings.immunity.tempban", "weaponrestrictions.immunity"
Die obersten 5 sind die, die dich vor den !kick, !ban, !tempban Commands sowie von den Folgen der unten aufgelisteten Permissions schützen. Die unteren Permissions sorgen auch dafür, dass z.B. keine Warnung ausgegeben wird. Dies kannst du aber in den Config Settings unter 'punishment', 'immunitynote' Einstellen. Ist der Wert auf True, dann bekommt der Spieler eine Nachricht wofür er bestraft werden würde
-
Yep. Der Bug ist bekannt und da wird noch dran gearbeitet. Im nächsten Release sollte das eigentlich wieder gehen und evtl. kommt sogar noch eine IP Ban Funktion hinzu
-
in cod2 - cod5 there are only knockback, speed and gravity.
We implemented all of them:PHP: commands.php$this->commands->registerSubCommand("set", "knockback", "~knockback (\d+)?~i", "setKnockback", $this); $this->commands->registerSubCommand("set", "gravity", "~gravity (\d+)?~i", "setGravity", $this); $this->commands->registerSubCommand("set", "speed", "~speed (\d+)?~i", "setSpeed", $this);
So maybe you mean !set gravity ?
-
hey,
you found a bug ;-). We don't have that much people who run a cod6 server so it's hard to find bugs there.
Can you replace the file
daemon/engines/quake3/games/cod6/weapons.php with this one:PHP: weapons.php
Alles anzeigen<?php /** * GSManager * * This is a mighty and platform independent software for administrating game servers of various kinds. * If you need help with installing or using this software, please visit our website at: www.gsmanager.de * If you have licensing enquiries e.g. related to commercial use, please contact us at: sales@gsmanager.de * * @copyright Greenfield Concept UG (haftungsbeschränkt) * @license GSManager EULA <https://www.gsmanager.de/eula.php> * @version 1.1.0 **/ namespace GSM\Daemon\Engines\Quake3\Games\Cod6; use GSM\Daemon\Core\Registry; use GSM\Daemon\Libraries\Helper\Helper; /** * Weapon Class for Call od Duty 6 * * This class contains all weapons for Call od Duty 6 * * @author Master of Little <masteroflittle@gsmanager.de> */ class Weapons { /** * Contains all weapons * * @var array */ private $weapons; /** * Contains all extensions like silencer, red dot ... * * @var array */ private $extensions; /** * Contains special stuff like suicide, death by world ... * * @var array */ private $special; /** * Class for Logging * * @var \GSM\Daemon\Libraries\Logging\LogHandler */ private $logging; /** * Constructor */ public function __construct() { $registry = &Registry::getInstance(); $this->logging = $registry->logging; $this->getWeapons(); } /** * Defines the Weapons */ private function getWeapons() { $json = \GSM\Daemon\Libraries\Helper\Helper::parseJson(__DIR__ . DIRECTORY_SEPARATOR . "data" . DIRECTORY_SEPARATOR . "weapons.json"); $json = \GSM\Daemon\Core\Language::replaceLanguageRecursive($json); $this->weapons = $json["weapons"]; $this->extensions = $json["extensions"]; $this->special = $json["special"]; } /** * Returns an array with detailed information about the weapon * * The array contains the weapon section, the weapon name and the short weapon name * * @todo Optimize it * @param array|string $index * @return array */ public function getWeapon($index) { if (!$index) { return array("section" => 'special', "name" => $this->special["none"], "short" => 'none'); } if (is_array($index) && $index[0] == "none") { $weaponindex = $index[0]; $specialindex = $index[1]; $specialindex_array = explode("_", $specialindex); } elseif (is_array($index)) { $weaponindex = $index[0]; $specialindex = $index[1]; } else { $weaponindex = $index; $specialindex = NULL; } $index_array = explode("_", $weaponindex); foreach ($this->weapons as $section => $values) { foreach ($values as $short => $long) { if (strtolower($short) == strtolower($index_array[0])) { return array("section" => $section, "name" => $this->weapons[$section][$short], "short" => $short); } } } foreach ($this->extensions as $section => $short) { if (strtolower($short) == strtolower($specialindex[1])) { return array("section" => $section, "name" => $this->extensions[$section][$short], "short" => $short); } } foreach ($this->special as $short => $long) { if (strtolower($short) == strtolower($specialindex)) { return array("section" => "special", "name" => $this->special[$short], "short" => $short); } } $this->logging->warning("Weapon with index: $weaponindex not found"); } }
-
type !commands to see a list of all commands.
Some of these ( like !map or !stats) have subcommands. -
!unban nimmt eine IP entgegen. IP's bannen geht momentan allerdings noch nicht
-
apt-get install php5 php5-cli php5-mysql php5-sqlite php5-curl
Try this. Also the old adminmod isn't supported anymore