then go into /home/srv4000/.callofduty4/main and check the content of games_mp.log
Beiträge von Yenz
-
-
ok, but it will grow again because of any error. delete it and then upload it while it's small.
-
extract the last 100 lines of mod.log and upload them
-
-
When you download the manu admin mod you have 4 folders named config_*. You have to rename the the right folder to config (if you use cod4, then rename "config_cod4 RENAME TO config IF CoD4" to "config". In this folder is a file config.cfg. Open it (with notepad/wordpad/noteüad++/other texteditor of your choice) and you will see man sections ([this is a section]) and pairs of keys and values (key = value). In the main section you have to edit the importantst settings: ip, port, logfile and rconpassword.
-
yes (and of course the rest of the config ^^)
-
Then your logfile is
/home/srv4000/.callofduty/main/file
That's ok. That's the line to put in mam config.cfg under [main]logfileAfter that (restart you mam) you will be able to execute mam-commands!
-
-
The feel free to set one in your server.cfg OR search for "games_mp.log" on your disk.
-
top answer, belstgut!
I'm out for the weekend - and now i only have a laptop, can't help more now.
But as I see I am not the only helping hero here :mrgreen: -
take a look in /home/srv4000/.callofduty/...... (hiudden directory)
-
Logfiles are created in sever's dvar fs_gamepath (or sth. similar) - i will check out my location at home and post more information for you. Meanwhile let us know you operating system on which the server is hosted (windows or linux).
-
-
COD4 is also q3 based, but you might be right with the other color codes.
Edit: Confirmed! There are only ten color codes available in Call of Duty (from 0 to 9). -
I would recommend to use mirko's version. It contains a nice feature: You can use reasons (which are defined in config/reasons.cfg) to scream like this with a leading point:
To choose the colors and reduce the count of messages replace this part of mirko's code:
with something LIKE that (you may want to edit color codes and add further colors by adding a new line):PHP$mod->rconSay("^1$msg"); $mod->rconSay("^3$msg"); $mod->rconSay("^7$msg"); $mod->rconSay("^2$msg");
(In this case 4 messages will be printed with color codes 1, 3, 7 and 2.) COLOR CODES -
What OS do you use?
-
Spoiler anzeigen
PHP
Alles anzeigen<?php $scream = new Scream(); $mod->registerCommand("scream", false, "command", $scream); class Scream { public function command ($guid, $parameters) { global $mod; $message = implode(" ", $parameters); for ($color = 0; $color < 10; $color++) { $mod->rconSay("^$color$message"); } } }
Save this into plugins/scream.php.
Add command "scream" into config/groups.cfg to allow executing.Usage:
NOT TESTED - please report bugs/errors in mod.log. I'll fix it then!
-
1.) Please post the part around line 282 of your mod.class.php... something is messed up
2.) You don't want the skip-mapvote but normal mapvote by MAM? The set [mapvote]type = 1. Then MAM will offer a few random maps which can be votet by !vmap.
2b.) If deathrun has it own mapvoting system (which i understand first), then disabling the MAM mapvorting doesn't disable the Deathrun mapvoting. -
I mixed something up with bbCodes, recheck my prev. post and try again.
If there's still an error let me know the error message.If you don't want any mapvoting, set [mapvote]enabled = 0 in config.cfg.
-