ggmj.de

German Giant Map Junkies
Aktuelle Zeit: So Jun 17, 2018 10:57 pm

Alle Zeiten sind UTC + 1 Stunde




Ein neues Thema erstellen Auf das Thema antworten  [ 10 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: General Question
BeitragVerfasst: So Mai 21, 2006 1:56 pm 
Offline

Registriert: So Mai 21, 2006 1:55 pm
Beiträge: 11
Will Logcheck work for Mod servers like Red Orchestra? I have the necessary webspace etc but don't want to go through the installation if it will not work.

Thanks.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: So Mai 21, 2006 2:18 pm 
Offline
{GGMJ} - full - member
Benutzeravatar

Registriert: Di Mai 20, 2003 11:51 pm
Beiträge: 3208
Wohnort: ~52°N/13°E
Hi,
Should work - it only gets and parses the logfiles created by a 3rd-party-mutator ( http://ut2004.elmuerte.com/ServerExt ) on your gameserver. If this mutator can write logfiles on your gameserver and the gameserver has ftp-access to these files... it should work.

Greetz - ~3DC~

_________________
manamana


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: So Mai 21, 2006 3:44 pm 
Offline

Registriert: So Mai 21, 2006 1:55 pm
Beiträge: 11
Thanks 3DC will give it a try...


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Mi Mai 24, 2006 7:15 pm 
Offline

Registriert: So Mai 21, 2006 1:55 pm
Beiträge: 11
I am now gonna try installing this :D

However, a few more questions:

Do I have to create a new database, user and password etc for utlogcheck? The only database I use atm is for my phpBB forums.

Thanks.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Mi Mai 24, 2006 8:46 pm 
Offline
{GGMJ} - full - member
Benutzeravatar

Registriert: Di Mai 20, 2003 11:51 pm
Beiträge: 3208
Wohnort: ~52°N/13°E
Hi again, it does NOT need a complete blank Database for the utlc. Just a few tables, but there's an installer included.
For secure, please do a backup of your phpbb-db, if something wents wrong. But there isnt any DROP (erase) DB-query in UTLC, so this theoretically is not possible.

Just run da install after configuring the config.php

Please report if it works, ty! :)

Greetz - ~3DC~

_________________
manamana


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Mo Mai 29, 2006 9:06 pm 
Offline

Registriert: So Mai 21, 2006 1:55 pm
Beiträge: 11
Hey 3DC... I am a bit slow installing this but tonight I was trying finally. I am a bit confused...

Does my webspace with mysql and php have to be provided by my gameserver provider? I can't understand this...

$plserver ="localhost"; // IP-Adress: mostly localhost
$pluser ="web1337"; // name of DB-User
$plpass ="databasePW"; // your DB-password
$pldataBase ="database1"; // the database to be used


DO THE DETAILS ABOVE ^^^^ RELATE TO THE DETAILS BELOW vvvv ??

$ftp_server ="255.127.6.66"; // FTP-Server-IP
$ftp_user_name ="serveruser123"; // FTP-Server-Username
$ftp_user_pass ="ilovemyserver"; // FTP-Server-Password (if you upload Maps and Stuff you needed this PW too)
$ftp_logs_dir ="/newserver/UserLogs/";

I have separate webspace from my gameserver provider (although they also supply webspace - I don't use it). I can supply all the ftp info from my gameserver account np but the database info at the top, as this is on different webspace, how does the script know how to login to it and what the details are?

I know... I am a bit noobish here.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Di Mai 30, 2006 7:28 am 
Offline
{GGMJ} - full - member
Benutzeravatar

Registriert: Di Mai 20, 2003 11:51 pm
Beiträge: 3208
Wohnort: ~52°N/13°E
You install utlc on your webspace.

the 1st four entries are the access-data for mysql on your webserver.
the next four entries ($ftp...) are the access-data for your gameserver so that the webserver -where you install the utlc to- can connect to the gameserver and get the logfiles written by the gameserver.

If the webspace runs on a different host than mysql (this is uncommon in that case) you need to enter the ip of the mysql-server at $plserver. But in most cases the provider does not allow external access to mysql. Better use the following (utlc is intended for that setup):

1 webserver with php-support and mysql.
1 gameserver with ftp-access to the directory where the serverext-mutator writes the logfiles to.

This really isnt that complicated as it looks for you at the moment. Simply a scipt with php/mysql which remotely connects to your gameserver and gets the logfiles written by the serverext-mutator.

Hope this helps you,
Greetz - ~3DC~

_________________
manamana


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Do Jun 01, 2006 12:10 pm 
Offline

Registriert: So Mai 21, 2006 1:55 pm
Beiträge: 11
OK mate it installed fine but when I try to get the logs I see this error all down the page...

Warning: ftp_get(): Error opening ......./utlogcheck/logs/PlayerJoin_7777_2006_05_30_20_29_13.log in ......./utlogcheck/index.php on line 254

I suspect this is something simple I have incorrectly set up. I have checked permissions for this directory all seem ok. It seems strange as PlayerJoin_7777_2006_05_30_20_29_13.log is actually on my gameserver, so I assume that it has retrieved this log file and is having problems writing it on the webserver.. Just a guess. When I look in utlogcheck/logs/ it is empty.


....... = path on webserver

EDIT:

after reading another thread on this forum, I changed permissions on logs and checked logs to make them world writeable (777). Should this really be? Is this not a security risk?

Everthing is working fine! Thanks.


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Mo Jun 05, 2006 6:10 pm 
Offline
{GGMJ} - full - member
Benutzeravatar

Registriert: Di Mai 20, 2003 11:51 pm
Beiträge: 3208
Wohnort: ~52°N/13°E
Sorry for the late reply borat, but we were at LAN w/o Internet :o

For permissions/chmod/etc. i found that posting, please look if it helps you...

Chmod 777 - Securty Risk??
another link is includes in a posting of the above link:
Why chmod 777 is NOT a securty risk

But cool that it works, have fun with it :)

Greetz - ~3DC~

_________________
manamana


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Mo Jun 05, 2006 6:46 pm 
Offline

Registriert: So Mai 21, 2006 1:55 pm
Beiträge: 11
Thanks mate. I'll check out the links now. Nice program though ;)


Nach oben
 Profil  
 
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 10 Beiträge ] 

Alle Zeiten sind UTC + 1 Stunde


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
cron

Deutsche Übersetzung durch phpBB.de