:moin: ,
zu DIESEM Thema habe ich folgendes gelesen:
http://www.manuadminmod.de/forum/index.php?page=Thread&threadID=1419
http://www.manuadminmod.de/forum/index.php?page=Thread&threadID=1238
http://gw-2.de/adminmod/forum/index.php?page=Thread&postID=7111
Leider kann ich eine "php.ini" weder in der PHP-"installation" noch im adminmod und auch nicht im call of duty-spieleverzeichnis finden.
Wo befindet sich die php.ini, von der dort gesprochen wird?
- Ein Bild des Fehlers habe ich als Dateianhang hochgeladen.
- php ist "installiert" unter C:\Programme\tools\php-5.3.5
- sqlite habe ich runtergeladen und zwar: "sqlite-dll-win32-x86-3070500.zip" und "sqlite-shell-win32-x86-3070500.zip". Die Dateien "sqlite3.def" und "sqlite3.dll" und "sqlite3.exe" liegen unter C:\Windows\System32
-> Nachdem dies aber garnicht geholfen hatte mit dem Problem beim starten des Servers, dass er wegen nicht vorhandenem sqlite gemeckert hat, habe ich in der config.cfg den wen Wert savestats = 0 gesetzt.
- Hostsystem ist Windows 7 mit Adminrechten
- Inhalt der start.bat lautet wie im Spoiler:
Spoiler anzeigen
@echo off
:1
C:\Programme\tools\php-5.3.5\php.exe -f daemon.php -- -configdir "config" -logdir "log"
goto 1 - Inhalt der config.cfg lautet wie im Spoiler:
Spoiler anzeigen
[main]
ip = "7.9.66.214"
port = 28960
logfile = "../main/games_mp.log"
rconpassword = "abc"
timezone = "Europe/Berlin"
prefix = "!"
language = "de"
antispam = 5
logrcon = 0
antistartupbug = "restart"
fixguidrelax = 1
pmprefix = "^1PM: ^2"
responsefailcmds = 0[kickban]
defaultkickreason = "Kicked by Admin"
defaultbanreason = "Banned by Admin"
usepb = 1
pbtempbanduration = 10
announce = 1
maxtempbantime = 1440[welcomemessages]
enabled = 1
master = "^1ATTENTION: <GROUP_NAME> ^7<PLAYER_NAME>^1 has joined the game!"
admin = "^1<GROUP_NAME> ^7<PLAYER_NAME>^1 has joined the game!"
member = "^2Welcome <GROUP_NAME> ^7<PLAYER_NAME>^2"
user = "^2Welcome <GROUP_NAME> ^7<PLAYER_NAME>^2"
default = "^2Welcome <GROUP_NAME> ^7<PLAYER_NAME>"
whisper = 0[banner]
enabled = 1
time = 300[randommapcycle]
enabled = 1
maps = "mp_backlot,mp_bloc,mp_bog,mp_cargoship,mp_citystreets,mp_convoy,mp_countdown,mp_crash,mp_crash_snow,mp_crossfire,mp_farm,mp_overgrown,mp_pipeline,mp_showdown,mp_strike,mp_vacant,mp_shipment,mp_broadcast,mp_carentan,mp_creek,mp_killhouse,mp_crossfire,mp_crossfire,mp_crossfire,mp_crossfire,mp_crossfire,mp_crossfire,mp_crossfire,mp_crossfire,mp_crash,mp_crash,mp_crash,mp_crash,mp_crash,mp_crash,mp_crash,mp_bog,mp_bog,mp_bog,mp_bog,mp_bog,mp_bog,mp_bog,mp_bog,mp_bog,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_backlot,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_citystreets,mp_convoy,mp_convoy,mp_convoy,mp_convoy,mp_convoy,mp_convoy,mp_convoy,mp_convoy,mp_convoy,mp_convoy"
gametypes = "war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,war,dm,sab,koth,sd,dom"
notlastmaps = 3
notlastgt = 0[badwords]
enabled = 1
warnstokick = 2
mode = "kick"
kickreason = "Use of bad words"[warns]
enabled = 1
warnstokick = 2
mode = "tempban"
kickreason = "Too many warns by admin"[pingkicker]
enabled = 1
maxping = 250
checkinterval = 60
warnstokick = 3
mode = "kick"
kickreason = "Your ping is too high (250ms allowed)"[nameprotection]
enabled = 1
badnamekick = 1
badnamekickmode = "kick"
badnamekickreason = "Your name contains an illegal part: <PART>"
adminnamekick = 1
adminnamekickmode = "kick"
adminnamekickreason = "Your name is an admins name"
maxnamechanges = 4
maxnamechangeskickmode = "tempban"
maxnamechangeskickreason = "Max. namechanges reached"
uppercasedisallow = 1
uppercasekickreason = "Please do not use only upper case letters in your nickname"
uppercasekickmode = "kick"[modstuff]
checkforupdates = 1
checkinterval = 24
announceinterval = 60
serverlist = 1
serverlistip = ""[customcommands]
pbsay = "pb_sv_say -1 <ARG>"
kickme = "pb_sv_kick <PLAYER:PBID> 0 <ARG:OPT:You kicked yourself>"
payback = "pb_sv_kick <LAST_KILLER:PBID> 0 ^1NEVER KILL AN ADMIN!"[spreemessages_config]
enabled = 1
firstblood = 1
killsprees = 1
deathsprees = 1
spreeendsfrom = 10
multikills = 1
spreeends = 1[spreemessages_messages]
firstblood = "^7<PLAYER_NAME> ^1drew first blood!"
multikill = "^7!! ^1Multikill ^7> ^2<PLAYER_NAME>^7 < ^1Multikill^7 !!"
monsterkill = "^7!!!! ^1MONSTERKILL ^7>>> ^2<PLAYER_NAME>^7 <<< ^1MONSTER KILL ^7!!!!"
end_kill = "^2<PLAYER_NAME>^1's killing spree ended (^2<KILLS> ^1kills). He was killed by ^3<KILLER_NAME>^1!"
end_teamkill = "^2<PLAYER_NAME>^1's killing spree ended (^2<KILLS> ^1kills). He was killed by TEAMMATE ^3<KILLER_NAME>^1!"
end_selfkill = "^2<PLAYER_NAME>^1's killing spree ended (^2<KILLS> ^1kills). He killed ^3himself^1, what a pity!"
5 = "^7<PLAYER_NAME> ^1is on a ^3killing spree! ^1(^2<KILLS> ^1kills in a row)"
10 = "^7<PLAYER_NAME> ^1is on a ^3rampage! ^1(^2<KILLS> ^1kills in a row)"
15 = "^7<PLAYER_NAME> ^1is ^3dominating! ^1(^2<KILLS> ^1kills in a row)"
20 = "^7<PLAYER_NAME> ^1is ^3unstoppable! ^1(^2<KILLS> ^1kills in a row)"
25 = "^7<PLAYER_NAME> ^1is ^3godlike!! ^1(^2<KILLS> ^1kills in a row)"
30 = "^7<PLAYER_NAME> ^1is ^3wicked sick!!! ^1(^2<KILLS> ^1kills in a row)"
35 = "^7<PLAYER_NAME> ^1is ^3real Potter!!! ^1(Woohoo, ^2<KILLS> ^1kills in a row!)"
-10 = "^7<PLAYER_NAME> ^1seems to have a bad day ... (^2<DEATHS>^1 deaths without a ^2kill^1)"
-15 = "^7<PLAYER_NAME> ^1is on the best way to get ^3victim^1 of the day... (^2<DEATHS> ^1deaths w/o ^2kill^1)"
-20 = "^7<PLAYER_NAME> ^1really gets his ^3ass kicked!^1 Oh well, ^2<DEATHS> ^1deaths without a ^2kill^1..."[mapvote]
enabled = 0
type = 2
mapcount = 3
duration = 620
announce = 90
maps = "<maps.cfg>"
gametypes = "war,dm,sab,koth,sd,dom"
notlastmaps = 5
notlastgt = 1
votestoskip = "50%"[weaponrestrictions]
enabled = 1
weapons = "gl,frag_grenade_short"
warnstokick = 5
mode = "tempban"
kickreason = "Used a restricted weapon: <WEAPON>"[statistics]
statsstring = "^2Kills: <KILLS> ^1Deaths: <DEATHS> ^3K/D: <KPD> ^2time: <ONLINETIME> min ^3K/M: <KPM> ^2HS: <HEADSHOTS> ^7TKs: <TEAMKILLS>"
whisperstats = 0
savestats = 0[antiteamkiller]
enabled = 0
min = -9
start = 0
warn = 5
kick = 10
teamkill = 1
kill = 0.1
mode = "tempban"
kickreason = "Made too many teamkills"
forgive = 1
forgivetime = 30
forgivepoints = 0.5[aliases]
k = "kick"
b = "ban"
rm = "quitmod"
mr = "quitmod"
setlevel = "setgroup"
admincheck = "checkadmin"
owned = "fun owned"
pwned = "fun owned"
killed = "fun killed"
bye = "fun bye"
pizza = "fun pizza"
beer = "fun beer"
coke = "fun coke"
whoiam = "fun whoiam"
groups = "setgroup listgroups dummy"
f = "forgive"
y = "yes"
n = "no"
j = "yes"
ja = "yes"
nein = "no"
votekick = "vote kick"
votemap = "vote map"
voteban = "vote ban"
banlist = "pbbanlist"
unban = "pbunban"
godmode = "fun godmode"
aimbot = "fun aimbot"
sex = "fun sex"
kamikaze = "fun kamikaze"
death = "fun death"
bigadmin = "fun bigadmin"
off = "readconfig off"
on = "readconfig"[funmessages]
enabled = 1
killed = "^7<PLAYER_NAME> ^1was last killed by ^7<PLAYER_LASTKILLER> ^1with a ^7<PLAYER_LASTWEAPONDEATH>"
owned = "^7<PLAYER_NAME> ^1killed ^7<PLAYER_LASTVICTIM> ^1with a ^7<PLAYER_LASTWEAPONKILL>"
bye = "^7<PLAYER_NAME>^2 waves his hand to say ^1GOOD BYE^2. We surely meet later!"
pizza = "^2Someone calls Mario and he brings ^7<PLAYER_NAME>^2 a hot pepperoni pizza!"
beer = "^2A nice sexy waitress brings ^7<PLAYER_NAME>^2 a nice pint of beer!"
coke = "^2Ah... A delicious glass of cold Coca Cola[tm] (*thinks ^7<PLAYER_NAME>^2 while he's drinking*)"
whoiam = "^2My name is ^7<PLAYER_NAME>^2, I'm in the team ^7<PLAYER_TEAM>^2 with a ^7<PLAYER_LASTWEAPONKILL>^2 and have ^7<PLAYER_KILLS>^2 Kills"
godmode = "^1GODMODE^2 is now enabled for player ^7<PLAYER_NAME>"
aimbot = "^3<PLAYER_NAME> ^2turned on his ^1AIM-BOT!"
sex = "^2SEX is not the answer. SEX is the question and ^7<PLAYER_NAME> ^2is the answer!!"
kamikaze = "^7<PLAYER_NAME> ^2is desperately trying to figure out why kamikaze pilots wore helmets."
death = "^2Hello ^7<PLAYER_NAME>^2, this is ^7Death. ^2Please answer when you're ready."
bigadmin = "^1Ooooooh, ^3Big Admin is watching ^1YOU!"[voting]
enabled = 1
duration = 45
interval = 120
annouce = 15
minplayers = 3
maxvotesperplayer = 2
timelimit = 10
ignoremapchange = 0
allowkick = 1
allowban = 1
allowmap = 1
allownextmap = 1
allowsetnextmap = 1
allowgametype = 1
allowhardcore = 0
allowrestart = 0
allowedmaps = "<maps.cfg>"
allowedgametypes = "war,dom,koth,dm,sab,sd"
banduration = 60[ftp]
enabled = 0
host = ""
port = 21
user = ""
password = ""
passive = 1[tcp_query]
enabled = 1
ip = "0.0.0.0"
port = 1337
logintimeout = 30
defaulaction = "say"
sayprefix = "^3TCP-Admin (<ADMIN>): ^7"
admingroups = "master,admin"
disallowedcommands = "vote,yes,no,stats,session"
maxconnections = 5[statistics_mysql]
host = "localhost"
user = "anonymous"
password = ""
database = "mamstats"
prefix = "mam01_" - Inhalt der server.cfg lautet wie im Spoiler:
Spoiler anzeigen
set rcon_password "abc"
set g_logsync 2
set logfile 1
set sv_log_damage 1
Danke - Enomine