we've to implement an extra function for it.
If you wish it, please create a new Thread here http://www.manuadminmod.de/wbb/index.php/…e-W%C3%BCnsche/
Beiträge von Mirko911
-
-
du könntest den "PlayerQuit" abfangen und bei jedem quit von $group != "default" einmal die Readconfig
Funktion aufrufen bzw. sogar ->setGroup("Player"); machen -
btw. you can set the timezones for !time in the config.cfg
timezone = "Europe/Berlin"
-
yea
reconnect removes all warns. Because they aren't permanent.
Are you sure, that you want to remove temporal warns?
If yes, I will try to add it as plugin for you -
line 29
remove the word "public"
-
give me the logfile pls
-
Create a new php file in plugins folder and add this
PHP
Alles anzeigen<?php /** * Writes complaints in a logfile * * With this command, complaints will be added to the logfile * * @package Plugins * @subpackage none * @version 1.0 * * @copyright ManuAdminMod (http://www.manuadminmod.de) * * @author mirko911 (original jinkazama) * @since 17.01.14 */ $mod->registerCommand("comp", '~^comp \S.*$~i', "comp"); $mod->setDefaultCV("complaint", "enabled", 1); /** * Writes complaints in a logfile * * @author mirko911 (original jinkazama) * @since 17.01.14 * @global mod $mod * @global player $players * @param string $guid 32 char long hex guid * @return boolean true if all successful */ function comp($guid, $parameters) { global $mod,$players; if(!$mod->getCV("complaint", "enabled"))return false; $parameters = implode(" ", $parameters); $players[$guid]->say("Complaint Registered"); $players[$guid]->say("Your Complaint is > ^0" . $parameters); $timestamp = date("[d.m.y H:i:s]"); $fp = fopen(LOGDIR . "/complaint.log", "a"); fwrite($fp, $timestamp . " [" . $guid . "] : [" . $parameters . "] Complaint by [ " . $players[$guid]->getName() . " ]\n\n"); fclose($fp); return true; } ?>
add to config.cfg
add to groups.cfg
Plugin not tested. I just rewrote it to add this later as plugin in the plugin section. But it should work
-
GPL doesn't force you to publish the scripts.
But if they are public you can't do nothing against it -
Banner Messages works?
Or nothing works?
Maybe you should take a look into the Adminmod Screen using screen -x [PID of screen]
Sometimes there are errors only in the screen -
maybe ;-).
But not with city names -
PHP
Alles anzeigen<?php /** * Register User on Server * * If you type !register, the server put's you in an other server group * * @package Plugins * @subpackage none * @version 1.0 * * @author mirko911 * @since 05.01.11 */ $mod->registerCommand("register", false , "register_main" ); $mod->setDefaultCV("register_main", "registed_group", "user"); $mod->setDefaultCV("register_main", "registed_message", "you are now registered on this server"); /** * If you type !register, the server put's you in an other server group * * @author mirko911 * @since 05.01.11 * @global mod $mod * @global player $players * @param string $guid 32 char long hex guid * @return boolean true if all successful */ function register_main($guid) { global $mod, $players; if($players[$guid]->getGroup() != "default") return false; $players[$guid]->setGroup($mod->getCV("register_main" , "registed_group")); $players[$guid]->Say($mod->getCV("register_main" , "registed_message")); return true; } ?>
-
-
can you give us some information about your servers.
Do you have a mod on your server, like promod?
I think that's a g_logsync problem of the server.
On promod g_logsync is resetted every round if you don't set it in the custom_public.gsc.I also saw it on some servers, that they set the rcon_password to "" after specific time [i think that was the rotu zombie server].
So if this happen again, check "g_logsync" and "rcon_password" on your server
-
i haven't tested it, but I think there is a way to get the actual pb.
The same way works with cod2 too.You need an old pbsetup.exe with the .html files where the games are stored.
Then pbsetup performes an update and replaces the html files with newer files [new files don't have the cod4 entry]
now you have to replace the new html file with the old ones. And pbsetup shows you "cod4" as option to updateFor cod2 it works
-
Hey,
I see you use the adminmod over FTP.
Are you sure, that you have to use FTP to get the loglines?The error says, that there is no "mods/deathrun_12" folder on your ftp server.
maybe you should try to use the full path like
Replace /home/gameserver/cod4/ with your FULL path to cod4 -
you can search for the rconsay() function in the mod.class.php and replace the "say" with a "screentell"
or if you want it as extra plugin, create a topic in the wishes board, and we'll try to write it as plugin
-
-
Hey,
please give us some information about the server and about mam.
Is there a mod like deathrun/promod/killtheking on the server?
Is there an error in the logs? Please upload the mod.log from your log folder [maybe compress it. That saves storage] -
Hey, there was a script, which detects the headshot rate of a player. Maybe we can rewrite it
-
you could do it over the "bad words" plugin.
Add the "help!1!1!" in the list and set the limit for it to 3.
After 3 "help!1!1!" the player gets a kick/tempban/ban.