@Master of Little
wir müssten eh nochmal reden, einer mehr oder weniger wird nicht schaden
Beiträge von Mirko911
-
-
something is wrong with your rcon connecion
-
why do you use old beta versions.
Beta 2 had problems with game specific commands
-
Thats wrong.
He means that he wants to kick players with less then 3 chars in the name.
The punishment system isn't finished yet, but when it's done, it will be easy to write a plugin.
Btw. do you use 0.12 or 1.0.0?
-
I think he means that
"master_1": "^5Roll out the red carpet! ^7<GROUP_NAME> <PLAYER_NAME> ^5from ^7<COUNTRY_NAME> ^5has joined the <SERVER_NAME>^5 server.",
This feature is planned but not available atm
-
mit alt meinst du 0.12 oder noch älter?
Rotu Revolution = der Zombie Mod, oder :D?
Was es für CMD's gibt, kann ich dir auch nicht sagen, du kannst aber mal in der gsc nach getDvar() schauen, oft werden damit die Server Commands realisiert (Es sind dann in wirklichkeit keine Commands, sondern einfach nur Dvars die alle 0.05 Sekunden überprüft werden :D)
-
uff, momentan haut das vom Zeitplan her nicht so hin.
Wuerde gerne den MAM erstmal fertigstellen, bevor wir mit den Plugins anfangen.
Es kann gut sein, dass sich dort noch große Teile ändern, vorallem im Bereich
der Kicks/Bans/Warns ist einiges geplant -
Hey, 1 info
My name Mirko and not Mikro
-
dafuq, what are you doing there?
PHP
Alles anzeigen<?php $mod->registerCommand("date", false); function time($guid, $parameters) { //Get access to the mod class, which holds all mam relevant functions, values global $mod; //Find out the date. Y = year, m = month, d = day $mytime = date('Y-m-d'); //Say this message to everyone on the server $mod->rconSay("$mytime"); } ?>
should work
-
post your code of the plugin and we can tell you the error
-
send file please
-
the problem is $guid
the header for a command function like !admintest is
function myFuncionName($guid, $parameters)
in this function you need $guid because it's the guid of the executing personfor registerEvent you don't need the guid paramter,
so I would do it like this:PHP
Alles anzeigen<?php $mod->registerEvent("playerSay", "hello"); function hello($args) { global $mod; list($guid, $message, $executed) = $args; $search = 'hi'; $pos = strpos($message,$search); if($pos !== false) { $mod->rconSay("hi"); } }
list() splits an array in variables (this only works if you know the number of elements in the array) -
0:00 [30.06.14 10:26:27] Error: RCON connection failed: Wrong RCON password
schau mal in die config.cfg und ueberpruefe, ob dein rcon pw gesetzt ist, bzw ob die ip stimmt. (manchmal klappt es ueber localhost / 127.0.0.1 nicht, dann musst du die Server IP nehmen und umgekehrt)
-
gibt es jetzt vielleicht eine mod.log?
-
dein Hoster sollte PHP schon installiert haben,
du nutzt doch MAM 0.12 oder?
-
every Player has his own instance if the object "Player", which is saved in the $players array. The playerguid is the key for the array.
$players[$guid]->say() is a Function of "Players" which sends a PRIVATE message to the Player with the guid $guid
-
-
schick mal den Inhalt der mam.cfg
-
ok
schau mal, ob es im Log Ordner eine mod.log gibt. Wenn ja, poste mal den Content
-
kannst du den Adminmod nur über ein Webinterface starten oder hast du Zugriff auf SSH?