Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 248
Seite < 1 2 3 ... 8 9 10 [11] 12 13 >
Mindcrime


Geekboy





Beiträge: 1155
# Antwort: 201 - 05.11.2010 um 11:50 Uhr
Hast die IP von deine webseite in die "whitelist" gemacht?
Bist du sicher das auf deine webseite "fsockopen" funktion erlaubt ist?


Zuletzt editiert von Mindcrime am 05.11.2010 um 11:50 Uhr (1x Editiert)
Offline
|
Dennisen


King for a day





Beiträge: 377
# Antwort: 202 - 05.11.2010 um 12:47 Uhr
Beides der Fall, ich weiß echt nicht, was spinnt :/

Das Problem muss am Plugin liegen. Hier mal die Logs:
2010-11-06 08:33:12.282743|INFO |Query | | query from 3 88.198.2.107:34346 issued: use port=9987
2010-11-06 08:33:12.284547|INFO |VirtualServer | 1| query client connected 'Unknown from 88.198.2.107:34346'(id:5)
2010-11-06 08:33:12.284634|INFO |Query | 1| query from 3 88.198.2.107:34346 issued: quit
2010-11-06 08:33:12.284689|INFO |VirtualServer | 1| query client disconnected 'Unknown from 88.198.2.107:34346'(id:5) reason 'reasonmsg=disconnecting'

Das hier macht dein Plugin und das andere.

2010-11-06 08:41:23.065908|INFO |VirtualServer | 1| query client connected 'Unknown from 208.167.225.13:37171'(id:5)
2010-11-06 08:41:23.276962|INFO |Query | 1| query from 9 208.167.225.13:37171 issued: serverinfo
2010-11-06 08:41:23.490612|INFO |Query | 1| query from 9 208.167.225.13:37171 issued: channellist
2010-11-06 08:41:23.704967|INFO |Query | 1| query from 9 208.167.225.13:37171 issued: clientlist
2010-11-06 08:41:23.919372|INFO |VirtualServer | 1| query client disconnected 'Unknown from 208.167.225.13:37171'(id:5) reason 'reasonmsg=connection lost'

Das hier macht GameTracker - und dann gehts auch wunderbar: http://www.gametracker.com/server_info/88.198.2.107:9987/

Die musste ich nichtmal in die whitelist eintragen, damit es geht!


Zuletzt editiert von -=GoW=-Zeus am 06.11.2010 um 09:44 Uhr (2x Editiert)
Inaktiv
|
Dennisen


King for a day





Beiträge: 377
# Antwort: 203 - 09.11.2010 um 06:19 Uhr
Freundlicher Push (:


Inaktiv
|
Mindcrime


Geekboy





Beiträge: 1155
# Antwort: 204 - 09.11.2010 um 08:37 Uhr
Hast du server version beta29? Das modul ist nur kompatibel mit die letzte beta29 von TeamSpeak3

Wenn du eine aeltere version hast:

Zeile 1606 mods/teamspeak/classes/ts3admin.0.1.5.class.php:
aendere
if (strpos(fgets($this->socket), 'Welcome') !== false)
$this->debug .= 'Welcome message (BETA 29+ Server) received<br>';

zu
// if (strpos(fgets($this->socket), 'Welcome') !== false)
// $this->debug .= 'Welcome message (BETA 29+ Server) received<br>';


Zuletzt editiert von Mindcrime am 09.11.2010 um 11:51 Uhr (1x Editiert)
Offline
|
Dennisen


King for a day





Beiträge: 377
# Antwort: 205 - 09.11.2010 um 13:17 Uhr
Ich habe sogar Beta30-Pre. :( Willst du FTP-Daten oder sowas zum checken?


Inaktiv
|
Mindcrime


Geekboy





Beiträge: 1155
# Antwort: 206 - 09.11.2010 um 14:05 Uhr
Du hast eine pre-beta von eine beta und erwartest das mein modul damit kompatibel ist?

Brauch kein ftp-daten, hab deine IP und port, damit sollte ich genuegend testen koennen...


Offline
|
Dennisen


King for a day





Beiträge: 377
# Antwort: 207 - 09.11.2010 um 14:09 Uhr
Mindcrime ich hab den Fehler: In deienr aktuellsten Version ist in der Klasse dieses Addon einfach noch garnicht drin, was du oben gesagt hast:

/* Since BETA 29, try to get extra welcome message */
if (strpos(fgets($this->socket), 'Welcome') !== false)
{
// echo 'EXTRA STUFF';
}


Das hab ich über nen anderen Thread gefunden, nach
if(strpos(fgets($this->socket), 'TS3') !== false) {

eingefügt und jetzt gehts!



Inaktiv
|
Mindcrime


Geekboy





Beiträge: 1155
# Antwort: 208 - 09.11.2010 um 14:13 Uhr
Welcher download link benutzt du? Weil:

http://trac.csphere.eu/csp/browser/CSP%20Module/mindcrime/mods/teamspeak/mods/te amspeak/classes/ts3admin.0.1.5.class.php

Kuck mal zeile 1606, da ist es drin...


Offline
|
Dennisen


King for a day





Beiträge: 377
# Antwort: 209 - 09.11.2010 um 14:16 Uhr
Deine gepackte Datei im SVN.
Außerdem hast du noch nicht die Zeitrechnung angepasst, die wurde auch mal kürzlich geändert, deswegen ist mein Server nur vier minuten lang online, obwohl er schon seit 4 tagen on ist.


Inaktiv
|
Mindcrime


Geekboy





Beiträge: 1155
# Antwort: 210 - 09.11.2010 um 14:35 Uhr
Die zip hat auch die letzte version... Du benutz vielleicht ein falschen link...

Fuer die zeit, quickfix, in mods/teamspeak/classes.tss.class.php zeile 398:
return intval($serverInfo['virtualserver_uptime'] / 1000);

zu
return $serverInfo['virtualserver_uptime'];



Offline
|
Dennisen


King for a day





Beiträge: 377
# Antwort: 211 - 09.11.2010 um 14:44 Uhr
Super, funktioniert! Dankeschön!


Inaktiv
|
Mobbingpapst


Wannabe poster




Beiträge: 31
# Antwort: 212 - 12.11.2010 um 11:02 Uhr
Hm.....irgendwie hab ich jetzt das Problem, bei Servererstellung kommt nen fataler Fehler mit dem Passwort anscheinend.

Fatal error: Call to undefined function cs_encrypt_decrypt() in /usr/home/++++++/++++++/mods/teamspeak/serveradd.php on line 102

Kann doch nicht sein, nie was dran geändert!!!

Warum denn das jetzt?


Inaktiv
|
Mindcrime


Geekboy





Beiträge: 1155
# Antwort: 213 - 12.11.2010 um 12:54 Uhr
cs_encrypt_decrypt() ist eine funktion die in die datei system/runstartup/tools.php stehen sollte...


Offline
|
Mobbingpapst


Wannabe poster




Beiträge: 31
# Antwort: 214 - 12.11.2010 um 13:14 Uhr
Hm.......bin ich blind oder fehlt mir was?
Komplette tool.php: mehr... +-
<?php

/**
* Encode to ClanSphere encoding (UTF-8) if possible, using iconv() (or mb_detect_encoding()) when available
*
* @param string $input the string to be encoded
* @param string $charsetFrom the current character set of the string
* @param string $charsetTo optional: the character set to convert to, if not set encode to the ClanSphere encoding.
*
* @return string the (possibly) converted string
*
* @uses iconv() if possible
*/
function cs_encode($input, $charsetFrom = 'ISO-8859-15', $charsetTo = null)
{
global $cs_main;

if (is_null($charsetTo))
{
$charsetTo = strtoupper($cs_main['charset']);
}

// no need to convert if the charsets are the same
if (strtoupper($charsetTo) == strtoupper($charsetFrom))
{
return $input;
}

if (function_exists('iconv'))
{
/* use transliteral */
$return = @iconv(strtoupper($charsetFrom), strtoupper($charsetTo).'//TRANSLIT', $input);
if ($return !== false)
return $return;
}
else
{
/* Uses utf8_encode/utf8_decode and mb_detect_encoding/mb_convert_encoding.
* To be extended in the future...
*/
if (strtoupper($charsetTo) == 'UTF-8')
{
switch (strtoupper($charsetFrom))
{
case 'ISO-8859-1':
// case 'ISO-8859-15':
return utf8_encode($input);
break;
default:
if (function_exists('mb_detect_encoding'))
{
$encoding = mb_detect_encoding($input);
if (is_string($encoding))
return mb_convert_encoding($input, 'UTF-8', $encoding);
// else, do nothing
}
break;
}
}
if (strtoupper($charsetFrom) == 'UTF-8')
{
switch (strtoupper($charsetTo))
{
case 'ISO-8859-1':
// case 'ISO-8859-15':
return utf8_decode($input);
break;
default:
break;
}
}
}
// if we don't know what to do, just return it
return $input;
} // function cs_encode

/*
* Description : A function with a very simple but powerful xor method to encrypt
* and/or decrypt a string with an unknown key. Implicitly the key is
* defined by the string itself in a character by character way.
* There are 4 items to compose the unknown key for the character
* in the algorithm
* 1.- The ascii code of every character of the string itself
* 2.- The position in the string of the character to encrypt
* 3.- The length of the string that include the character
* 4.- Any special formula added by the programmer to the algorithm
* to calculate the key to use
*/
function cs_encrypt_decrypt($string)
{
//Function : encrypt/decrypt a string message v.1.0 without a known key
//Author : Aitor Solozabal Merino (spain)
//Email : aitor-3@euskalnet.net
//Date : 01-04-2005
$strlen = strlen($string);
$strencrypted = '';
for ($pos = 0; $pos < $strlen ; $pos++)
{
// long code of the function to explain the algoritm
// this function can be tailored by the programmer modifyng the formula
// to calculate the key to use for every character in the string.
$usekey = (($strlen+$pos)+1); // (+5 or *3 or ^2)
// after that we need a module division because can´t be greater than 255
$usekey = (255+$usekey) % 255;
$encryptbyte = substr($string, $pos, 1);
$asciibyte = ord($encryptbyte);
$xorbyte = $asciibyte ^ $usekey; // xor operation
$encrypted = chr($xorbyte);
$strencrypted .= $encrypted;

//short code of the function once explained
// $str_encrypted_message .= chr((ord(substr($str_message, $position, 1))) ^ ((255+(($len_str_message+$position)+1)) % 255));
}
return $strencrypted;
} // function cs_encrypt_decrypt

/**
* Show byte size in readable format
*/
function cs_format_bytes($bytes, $decimals = 2)
{
if ($bytes < 1024)
{
return sprintf('%d Bytes', $bytes);
}
$bytes /= 1024.0;
if ($bytes < 1024)
{
return sprintf('%.'.$decimals.'f KiB', $bytes);
}
$bytes /= 1024.0;
if ($bytes < 1024)
{
return sprintf('%.'.$decimals.'f MiB', $bytes);
}
$bytes /= 1024.0;
if ($bytes < 1024)
{
return sprintf('%.'.$decimals.'f GiB', $bytes);
}
$bytes /= 1024.0;
return sprintf('%.'.$decimals.'f TiB', $bytes);
} // function cs_format_bytes

/**
* Add 1 (or create a new record) to the view count for a mod and id
*/
function cs_views_add($mod, $fid)
{
settype($fid, 'integer');

if ($fid <= 0) return;

$where = 'views_mod = \''.cs_sql_escape($mod).'\' AND views_fid = '.$fid;
$count = cs_sql_count(__FILE__, 'views', $where);
if ($count == 0)
{
cs_sql_insert(__FILE__, 'views', array('views_mod', 'views_fid', 'views_count'), array($mod, $fid, 1));
}
else
{
cs_sql_query(__FILE__, 'UPDATE {pre}_views SET views_count = views_count + 1 WHERE views_mod = \''.cs_sql_escape($mod).'\' AND views_fid = '.$fid);
}
} // function cs_views_add

/**
* Get the view count for a mod and id
*/
function cs_views_get($mod, $fid)
{
settype($fid, 'integer');

if ($fid <= 0) return 0;

$where = 'views_mod = \''.cs_sql_escape($mod).'\' AND views_fid = '.$fid;

$count = cs_sql_select(__FILE__, 'views', 'views_count', $where);
if ($count === false || !is_array($count))
return 0;
return intval($count['views_count']);
} // function cs_views_get

if (!defined('LOCK_PERIOD'))
{
define('LOCK_PERIOD', 3600);
}

/**
* Lock if we can
*/
function cs_locks_lock($mod, $fid, $users_id)
{
settype($fid, 'integer');

if ($fid <= 0) return false;

$lock = cs_locks_islocked($mod, $fid);
if (is_null($lock) || $lock['users_id'] == $users_id)
{
if (is_null($lock))
{
cs_sql_insert(__FILE__, 'locks', array('locks_mod', 'locks_fid', 'locks_time', 'users_id'), array($mod, $fid, cs_time(), $users_id));
}
else
{
/* add users_id for possible webmasters access level overrides */
cs_sql_update(__FILE__, 'locks', array('locks_time', 'users_id'), array(cs_time(), $users_id), $lock['locks_id']);
}
return true;
}
return false;
} // function cs_locks_lock

/**
* Unlock if we can
*/
function cs_locks_unlock($mod, $fid)
{
settype($fid, 'integer');

if ($fid <= 0) return false;

$lock = cs_locks_islocked($mod, $fid);
if (!is_null($lock))
{
cs_sql_delete(__FILE__, 'locks', $lock['locks_id']);
return true;
}
return false;
} // function cs_locks_unlock

/**
* Is locked?
*
* @return array if null then not locked, else array('locks_id', 'locks_time', 'users_id') is given
*/
function cs_locks_islocked($mod, $fid)
{
settype($fid, 'integer');

if ($fid <= 0) return null;

$where = 'locks_mod = \''.cs_sql_escape($mod).'\' AND locks_fid = '.$fid;
$lock = cs_sql_select(__FILE__, 'locks', 'locks_id, locks_time, users_id', $where);
if ($lock === false || !is_array($lock))
return null;

return $lock;
} // function cs_locks_islocked

/**
* Check if a subtemplate exists for the mod and action.
* If we use cs_subtemplate(), it raises a cs_error(). We want to prevent that from happening
*
* @param string $source
* @param string $mod
* @param string $action
*
* @return boolean true if the subtemplate exists (cs_subtemplate() may be called), false otherwise
*/
function cs_subtemplate_exists($mod, $action)
{
global $cs_main;

$cs_main['def_theme'] = empty($cs_main['def_theme']) ? 'base' : $cs_main['def_theme'];

$target = 'themes/' . $cs_main['def_theme'] . '/' . $mod . '/' . $action . '.tpl';
if ($cs_main['def_theme'] != 'base' and !file_exists($target))
{
$target = 'themes/base/' . $mod . '/' . $action . '.tpl';
}
if (!file_exists($target))
{
return false;
}
return true;
} // function cs_subtemplate_exists

/**
* Check if the user is a member, checks if the user is not deleted.
*
* @param int $users_id
*
* @return boolean returns true if the users is a member, false otherwise
*/
function cs_is_member($users_id)
{
settype($users_id, 'integer');

if ($users_id <= 0)
return false;

$where = 'm.users_id = '.$users_id.' AND us.users_delete = 0';
$count = cs_sql_count(__FILE__, 'members m LEFT JOIN {pre}_users us ON m.users_id = us.users_id', $where);

if ($count > 0)
return true;

return false;
} // function cs_is_member

/**
* Cut text (usefull for navlists), multibyte safe if supported in PHP
*
* @param string $text the text to be cut
* @param int $maxlength the maximum length to accept
* @param string $subst an additional string to be added after the cut
* @param int $subtract substract this number of extra characters (for correction of $subst)
*
* @return the cut text string
*/
function cs_textcut($text, $maxlength, $subst = '...', $subtract = 3)
{
/* prevent some stupid stuff */
if ($maxlength < 1)
return $text;
if ($maxlength < $subtract)
return $text;
/* check for multi-byte support */
if (function_exists('mb_strlen'))
{
global $cs_main;
/* prevent any &xxx; being stripped in half */
$realtext = html_entity_decode($text, ENT_QUOTES, $cs_main['charset']);
if (mb_strlen($realtext, $cs_main['charset']) > $maxlength)
{
$text = mb_substr($realtext, 0, $maxlength - $subtract, $cs_main['charset']).$subst;
}
}
else
{
if (strlen($text) > $maxlength)
{
$text = substr($text, 0, $maxlength - $subtract).$subst;
}
}
return $text;
} // function cs_textcut


Inaktiv
|
Mindcrime


Geekboy





Beiträge: 1155
# Antwort: 215 - 12.11.2010 um 13:39 Uhr
Hast ein upgrade von ClanSphere gemacht? Hast $cs_main['runstartup'] = true; in deine setup.php?


Offline
|
Mobbingpapst


Wannabe poster




Beiträge: 31
# Antwort: 216 - 12.11.2010 um 15:56 Uhr
Hast recht, der Eintrag ist dort nicht mehr vorhanden!
Wird der nach einem Update entfernt???

Hm........jetzt erscheint oben noch die Meldung "Login fehlerhaft" im navlist_tree vor dem ersten Channel!


Zuletzt editiert von Mobbingpapst am 12.11.2010 um 16:02 Uhr (1x Editiert)
Inaktiv
|
DopeK!cK


Going for pro



Herkunft: Syke (nähe Bremen)
Beiträge: 551
# Antwort: 217 - 12.11.2010 um 20:23 Uhr
Mal ein wenig Off-Topic, aber kommt bei euch auch die Meldung wenn ihr den Thread öffnet, dass bitte der Benutzername und das Kennwort von warlon.kilu.de:80 eingegeben werden soll?
Also wenn ich den Thread öffne, gleich auf der ersten Seite kommt die Meldung.


------------------
Mit freundlichen Grüßen

DopeK!cK

Inaktiv
|
Miraculix


Going for pro




Herkunft: Füssen
Beiträge: 429
# Antwort: 218 - 12.11.2010 um 21:23 Uhr
jop. kann ich bestätigen


------------------
greeetz Miraculix

Band-Page -> www.muddleheaded-scum.de

Inaktiv
|
SlayR ClanSphere Team


Geekboy




Herkunft: Calbe (Saale)
Beiträge: 1133
# Antwort: 219 - 12.11.2010 um 21:59 Uhr
^^dito


------------------
--- CLANSPHERE ---
Professional clan care starts here


Inaktiv
|
Mobbingpapst


Wannabe poster




Beiträge: 31
# Antwort: 220 - 12.11.2010 um 22:16 Uhr
Jupp....ebenfalls!

Update:
Kein Wunder, hier:
www.warlon.kilu.de

Wer ist denn das vom CS-Team?


Zuletzt editiert von Mobbingpapst am 12.11.2010 um 22:21 Uhr (1x Editiert)
Inaktiv
|
Antworten: 248
Seite < 1 2 3 ... 8 9 10 [11] 12 13 >


Sie müssen sich registrieren, um zu antworten.