das ?> am ende ist nicht nötig und kann in einigen fällen sogar zu problemen führen aber sonst super
Beiträge von Belstgut
-
-
oops
deferred is auch falsch geschrieben
so jetzt unter version controll
-
falls es doch wer will (nix testet und höchst warscheinlich auch broken
) :
PHP
Alles anzeigen<?php class SetLogSync { private static function setGLogSync($n){ $GLOBALS['mod']->rconSetDvar("g_logsync", $n); } private static function addDeffered($sec, $n){ defferedJobs::add($sec, array(self, 'run'), array($sec,$n)); } public static function run($sec, $n){ self::setLogSync($n); self::addDeffered($sec, $n); } } SetLogSync::run(30, 1);
-
das wichtige ist nicht der name, sondern die guid mit der er auf den server connected
-
das is voll egal, da das ein windows system ist. bei windows "Mods" == "mods"
-
benutzt du die standardserverfiles? oder die iceops files?
-
Since I always wanted to learn a bit about app development i'm going to check that out and perhaps, might release a hopefully working android app
-
wenn du nen windows server hast brauchste kein putty, sondern die remote desktop. und wie das mit symlinks unter windows geht ka.
-
open your php.ini and uncomment the line where it says: ;extension=php_sockets.dll
-
ip und port richtig? wenn du localhost verwendest, verwende mal 127.0.0.1
-
vll ist die exe in einem unterverzeichnis deiner php installation in bin oder so.
-
??? help u with what?
-
you need shell access to run mam on the remote machine. if you only have ftp you cannot run it. (unless the webinterface provides similar functionality)
-
you need acces to your gameservers logfile. if its either locally or via ftp, both should work. but with ftp you have to specify your ftp credentials and stuff.
-
php installieren (auf debian/ubuntu sudo apt-get install php5)
und pfad zu php in der mam.cfg angeben. falls php im system PATH is brauchst du nur php also pfad angeben. -
check the path to your logfile.
-
line 34 (if no vertical whitespace)/43 (in codexample above): replace [$player] with [$killer]
-
you can set the interval in your config.
-
du musst protected=0 oder so zur cfg hinzufügen glaub ich. oder du machst das einfach ingame mit !setgroup
-
logfile. if mam crashes there should be sth