Ja das stimmt, hab ich voll vergessen..
XAMPP => Windows, Linux, Mac
WAMPP => Windows
LAMPP => Linux
MAMPP => Mac
Geventh
Ja das stimmt, hab ich voll vergessen..
XAMPP => Windows, Linux, Mac
WAMPP => Windows
LAMPP => Linux
MAMPP => Mac
Geventh
Meinst du nicht LAMPP?
Das ist für Linux.
Diesen Error hatte ich auch heute morgen, dann war er abgestürzt.
Muss mal schauen, was passiert ist.
Geventh
Hast du einen Root-Server?
Wenn ja Linux oder Windows?
Geventh
Was hast du denn da in der config.cfg eingestellt:
[statistics]
statsstring = "^2Kills^7: ^0<KILLS> ^7| ^1Deaths^7: ^0<DEATHS> ^7| ^3Ratio^7: ^0<KPD>{{br}}^2Time^7: ^0<ONLINETIME>mins{{br}}^2Kills per Minute^7: ^0<KPM>{{br}}^2HeadShoots^7: ^0<HEADSHOTS> ^7| ^1TeamKills^7: ^0<TEAMKILLS>"
whisperstats = 0
savestats = "mysql"
Hast du PhpMyAdmin?
Schau mal nach wie die zwei Tabllen bei dir heissen?
Bei mir heissen sie: mam01_nicks und mam01_user
Was hast du beim MAM in der config.cfg da reingeschrieben:
[statistics_mysql]
host = "localhost"
user = "root"
password = "*******"
database = "mamstats"
prefix = "mam01_"
Was hast du für Tabellen unter config.php eingeschrieben?
Notice: Undefined variable: select_db in /opt/lampp/htdocs/stats/class_database.php on line 47 und Notice: Undefined index: p in /opt/lampp/htdocs/stats/index.php on line 137 sind Fehler meinerseits....
Komisch, das die Beiden bei mir nicht angezeigt wurden.
Fix1:
ZitatNotice: Undefined variable: select_db in /opt/lampp/htdocs/stats/class_database.php on line 47
Fix2:
ZitatNotice: Undefined index: p in /opt/lampp/htdocs/stats/index.php on line 137
Bis ich eine bessere Lösung finde:
if(!isset($_GET['p'])) {
echo "<center><h2 style=\"color:#D5EDFF\">TOP " . $limit . " Players</h2></center>";
} elseif(isset($_GET['p']) && $_GET['p'] == 1) {
echo "<center><h2 style=\"color:#D5EDFF\">TOP " . $limit . " Players</h2></center>";
}
Anstelle von:
if($_GET['p'] == 1 || !isset($_GET['p'])) {
echo "<center><h2 style=\"color:#D5EDFF\">TOP " . $limit . " Players</h2></center>";
}
Welche Linie es ist, siehst du ja...
für deine zwei Bugs, werde nächste Woche Version 0.0.4 veröffentlichen ohne diese Bugs und mit mehr Features.
Falls du noch mehr Bugs findest, wäre ich froh, wenn du sie mir mitteilst...
Ich kann php erst seit gut 3 Monaten.
Geventh
Vielleicht, mal schauen xD...
:offtopic: :offtopic:
Geventh
And are u sure abt readconfig.. (!readconfig)
groups.cfg is located under adminmod/config/..
What game is it?
Can u give me your Server-ip? If u don't want, u can also send me a mail: geventh28@yahoo.de
Geventh
Can u post us ur groups.cfg file and also admins.cfg(hmm without all the guids)...
Thanks Geventh
Haha..
Gute Idee, aber ich glaub ned, dass viele mailen, denn es handelt sich um ein Plugin xD
Geventh
Ahh schön..
War noch gestern Abend.
Warte auf Bugs und Vorschläge danke...
Geventh
No Problem, it was early morning for me, perhaps of that.. xD
Take it easy and calm down.
:fun:
Geventh
Didn't u changed from:
(in the admins.cfg just by simply addding ,online to the end) to (in the groups.cfg just by simply addding ,online to the end)
If not sry.. (my mistake)
Geventh
Ahh u have just edited his reply from admin.cfg to groups.cfg..
I thought he did something in admins.cfg wrong xD
So i explained how to do it..
And u have to reload the configs by typing into the chat !readconfig / restart the mod!
Geventh
Hi Leute...
Version 0.0.3 is da..
ZitatMit einer besseren Suchfunktion.
Das Design wurde bearbeitet.
Mit Klassen.
Man kann jetzt mehr selber bestimmen unter config.php.
Noch sicherer.
Bald kommt Version 0.0.4 mit mehr Funktionen.
Falls ihr Bugs/Vorschläge habt einfach reinposten oder an: geventh28(at)yahoo.de mailen.
U have to edit the groups.cfg file..
Example of groups.cfg:
[server]
name = "Server-Admin"
commands = "*"
[admin]
name = "Admin"
commands = "rules,vote,yes,no,forgive,ti,stats,fun,help,admintest,time,nextmap,uptime,status,info,me,ff,cmdlist,session,serverstats,resetmystats,cointoss,pl,maps,checkadmin,kickme,kick,tempban,restart,maprotate,say,setnextmap,warn,gametype,septa,removepw,hardcore,oldschool,killcam,setoff,exec,avocet,cancel,pass,resetplayerstats,paypack,online,readconfig,gravity,speed,knockback,map,whisper"
[mod]
name = "Global-Mod"
commands = "rules,vote,yes,no,forgive,ti,stats,fun,help,admintest,time,nextmap,uptime,status,info,me,ff,cmdlist,session,serverstats,resetmystats,cointoss,pl,maps,checkadmin,kickme,kick,restart,say,setnextmap,warn,paypack,online,tempban,cancel,whisper"
[member]
name = "Member"
commands = "rules,vote,es,no,forgive,ti,stats,help,admintest,time,nextmap,uptime,status,info,me,ff,cmdlist,session,serverstats,resetmystats,online,warn,fun"
[default]
name = "Player"
commands = "rules,vote,yes,no,forgive,ti,stats,help,admintest,time,nextmap,uptime,status,info,me,ff,cmdlist,session,serverstats,resetmystats,online,fun"
Alles anzeigen
If u add a new group, then be careful...
U should make a welcome message & be sure that group under admin.cfg is correct.
Hi
Take a look at this section: click here
Geventh
Gute Arbeit Makahost!!
Ich schätze deine Arbeit sehr.
Weiter so!!
Geventh
Alles Gute zum Geburtstag Dennis.
ZitatGenau 1 Tag nach meinem xD.
Geventh
Danke, endlich keine Abstürze mehr!! xD
Geventh