- - [Web Site] Loguin On
(https://secretexperience.net/l2j-duvidas/12982-loguin.html)
Domal
12-09-2009 12:53 AM
Loguin On
Olah gostaria ki alguem desse a luz de como configura certo o site pra dizer quando o serve ta on ou off
No meu configurei conforme um tuto ki axei na net e nao muda em nada o loguin sempre off
Vlws
Giga-Byte
12-09-2009 09:10 AM
Poste Aqui Como Esta o Arquivo Config.php Que Ajudaremos :D
lSantana
12-09-2009 09:11 AM
Seria bom você postar o seu arquivo de config do site aqui para resolver o seu problema. Porque na maioria das vezes nao é config diretamente por o arquivo de config ai tu tem q localiza-lo na index.
Domal
12-09-2009 05:11 PM
Citação:
<?php
//Game Database Config
$user1 = "root"; //GameServer MySQL Database Login
$pass1 = ""; //GameServer MySQL Database Password
$data1 = "l2jdb"; //GameServer MySQL Database
$host1 = "localhost"; //GameServer MySQL Host
//Website Title Config
$site['site-title'] = 'L2 SkyNet';
//Login Database Config
$user2 = "root"; //LoginServer MySQL Database Login
$pass2 = ""; //LoginServer MySQL Database Password
$data2 = "l2jdb"; //LoginServer MySQL Database
$host2 = "localhost"; //LoginServer MySQL Host
//Server IP and Port
$log_ip = "10.1.1.55"; //Set the IP of your Login Server
$log_port = "2106"; //Set the Port of your Login Server
$gam_ip = "10.1.1.55"; //Set the IP of your Game Server
$gam_port = "7777"; //Set the Port of your Game Server
//mail config ( for register is mail_activ 1 )
$smtphost = "smtp.yourdomain.com"; //Set the SMTP host
$smtplogin = "noreply@yourdomain.com"; //Set the SMTP Login
$smtppwd = "YourPassword"; //Set the SMTP Login Password
$smtpmail = "noreply@yourdomain.com"; //Set the E-Mail Adress who from the e-mails
$smtpfrom = "ServerNameOrYourName"; //Set your/or the Server name insert
//General
$error_in_script = "0"; //Set to E_ALL when you search an error in script , Set 0 when its all Ok with the script
//level.php Config
$offline_color = "#FF0000"; //Color for Offline Status (NO)
$online_color = "#00FF00"; //Color for Online Status (YES)
//clan Script Config
$leader_color = "#00FF00"; //Color who have the Clan Leader
$member_color = "#000000"; //Color who have the Clan Members
//Limits
$wedding_limit = "25"; //List max xxx Weddings ( wedding.php )
$level_limit = "100"; //List max xxx in Top Level ( level.php )
$pvp_limit = "100"; //List max xxx in PvP Top ( pvp.php )
$p_on_limit = "100"; //List max xxx in Player Online ( player_online.php )
$pk_limit = "10"; //List max xxx in Player Kill Top ( pk.php )
$most_on_limit = "10"; //List max xxx in Most Online Time ( most_online.php )
$karma_limit = "10"; //List max xxx in Karma Top ( karma.php )
$jail_limit = "10"; //List max xxx in who is in Jail ( jail.php )
$clan_limit = "10"; //List max xxx in Clan List ( clan_index.php )
$rich_limit = "10"; //List max xxx in Rich Top ( rich.php )
//Register Mail Config
$days = "30"; //Delete Inactiv Accounts after x Days
$max_accounts = "1000"; //Maximum of Accounts
$servername = "L2 SkyNet"; //Set the Servername
$url_to_activ = "http://10.1.1.55/register";//Set the URL to activ.php , without / at the end
$mail_activ = "0"; //Use 1 for use with e-mail activation, Use 0 for without e-mail activation
$self_mail = "0"; //Use 1 for activ check e-mail in db , use 0 for withot ckeck e-mail in db
$mail_limit = "0"; //How often allow the self e-mail for registartion, only works is mail_activ 1 and self_mail 1
?>
Ta assim na config.php
OBS: O template e do madweb v.6 em flash
HugoAlcovias
12-09-2009 05:14 PM
Código:
<?php
//Game Database Config
$user1 = "root"; //GameServer MySQL Database Login
$pass1 = ""; //GameServer MySQL Database Password
$data1 = "l2jdb"; //GameServer MySQL Database
$host1 = "localhost"; //GameServer MySQL Host
//Website Title Config
$site['site-title'] = 'L2 SkyNet';
//Login Database Config
$user2 = "root"; //LoginServer MySQL Database Login
$pass2 = ""; //LoginServer MySQL Database Password
$data2 = "l2jdb"; //LoginServer MySQL Database
$host2 = "localhost"; //LoginServer MySQL Host
//Server IP and Port
$log_ip = "10.1.1.55"; //Set the IP of your Login Server
$log_port = "2106"; //Set the Port of your Login Server
$gam_ip = "10.1.1.55"; //Set the IP of your Game Server
$gam_port = "7777"; //Set the Port of your Game Server
//mail config ( for register is mail_activ 1 )
$smtphost = "smtp.yourdomain.com"; //Set the SMTP host
$smtplogin = "noreply@yourdomain.com"; //Set the SMTP Login
$smtppwd = "YourPassword"; //Set the SMTP Login Password
$smtpmail = "noreply@yourdomain.com"; //Set the E-Mail Adress who from the e-mails
$smtpfrom = "ServerNameOrYourName"; //Set your/or the Server name insert
//General
$error_in_script = "0"; //Set to E_ALL when you search an error in script , Set 0 when its all Ok with the script
//level.php Config
$offline_color = "#FF0000"; //Color for Offline Status (NO)
$online_color = "#00FF00"; //Color for Online Status (YES)
//clan Script Config
$leader_color = "#00FF00"; //Color who have the Clan Leader
$member_color = "#000000"; //Color who have the Clan Members
//Limits
$wedding_limit = "25"; //List max xxx Weddings ( wedding.php )
$level_limit = "100"; //List max xxx in Top Level ( level.php )
$pvp_limit = "100"; //List max xxx in PvP Top ( pvp.php )
$p_on_limit = "100"; //List max xxx in Player Online ( player_online.php )
$pk_limit = "10"; //List max xxx in Player Kill Top ( pk.php )
$most_on_limit = "10"; //List max xxx in Most Online Time ( most_online.php )
$karma_limit = "10"; //List max xxx in Karma Top ( karma.php )
$jail_limit = "10"; //List max xxx in who is in Jail ( jail.php )
$clan_limit = "10"; //List max xxx in Clan List ( clan_index.php )
$rich_limit = "10"; //List max xxx in Rich Top ( rich.php )
//Register Mail Config
$days = "30"; //Delete Inactiv Accounts after x Days
$max_accounts = "1000"; //Maximum of Accounts
$servername = "L2 SkyNet"; //Set the Servername
$url_to_activ = "http://10.1.1.55/register";//Set the URL to activ.php , without / at the end
$mail_activ = "0"; //Use 1 for use with e-mail activation, Use 0 for without e-mail activation
$self_mail = "0"; //Use 1 for activ check e-mail in db , use 0 for withot ckeck e-mail in db
$mail_limit = "0"; //How often allow the self e-mail for registartion, only works is mail_activ 1 and self_mail 1
?>
Coloque o IP do servidor onde esta de vermelho.
Domal
12-09-2009 05:18 PM
Citação:
# ================================================== ==============
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================== ==============
# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname = 10.1.1.55
GameserverPort = 7777
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# If this ip is resolvable by Login just leave *
ExternalHostname = 10.1.1.55
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
# If this ip is resolvable by Login just leave *
InternalHostname = 127.0.0.1
# The Loginserver host and port
LoginPort = 9014
LoginHost = 127.0.0.1
MAs ja estah com o devido ip
Giga-Byte
12-09-2009 05:36 PM
Tente Mudar Aki.
# The Loginserver host and port
LoginPort = 9014
LoginHost = 127.0.0.1 Coloca Teu IP.
E Manda o Index.php Para Nos Vermos, Pos Pode Esta Com Algum IP Modificado
Domal
12-09-2009 06:08 PM
Citação:
<?
/////////////////////////////////////////////////
// Secret Experience - Seja Bem-Vindo(a) //
// ..:: Line][age Noblesse PvP Server ::.. //
// Script feito por _Dudu_1533 //
/////////////////////////////////////////////////
$conexao = mysql_connect($servidor, $usuario, $senha) or die(mysql_error());
mysql_select_db($banco, $conexao) or die(mysql_error());
function total($tab, $cond = NULL) {
$sql = mysql_query("SELECT COUNT(*) AS total FROM ".$tab." ".$cond."") or die(mysql_error());
$c = mysql_fetch_array($sql);
return $c['total'];
}
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!docume nt.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}