1
Papelera de reciclaje General / Re: Template Adana MU Core 1.0.8 [ RE DESIGN ] HOT!
« Posteado: January 14, 2019, 10:06:35 PM »
no me funciona, me queda la pagina en blanco alguna idea ¿?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<? require("Onlines/config.php");
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css">
#InfoOnlines {color:<? echo $Informacion; ?>; text-align: <? echo $InformacionAlign; ?>; font-size:<? echo $InformacionSize; ?>}
#InfoOnlines2 {color:<? echo $Informacion; ?>; text-align: <? echo $InformacionAlign; ?>; font-size:<? echo $InformacionSizeVIP; ?>}
.FondoModuloOnlines {
background: <? echo $Modulo; ?>;
-webkit-border-radius: .3em;
-moz-border-radius: .3em;
border-radius: .3em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.DegradadoOnlines {
color:<? echo $DegradadoColorLetra; ?>;
text-align: <? echo $DegradadoAlignLetra; ?>;
border: solid 1px <? echo $DegradadoBorde; ?>;
background: <? echo $DegradadoColor1; ?>;
background: -webkit-gradient(linear, left top, left bottom, from(<? echo $DegradadoColor2; ?>), to(<? echo $DegradadoColor1; ?>));
background: -moz-linear-gradient(top, <? echo $DegradadoColor2; ?>, <? echo $DegradadoColor1; ?>);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='<? echo $DegradadoColor2; ?>', endColorstr='<? echo $DegradadoColor1; ?>');
}
.ModuloPrincipalOnlines {
color: <? echo $ModuloPrinColor; ?>;
background: <? echo $ModuloPrinFondo; ?>;
text-align:<? echo $ModuloPrinAlign; ?>;
}
.ModuloPrincipalOnlines:hover{background: <? echo $ModuloPrinHover ; ?>; text-align:<? echo $ModuloPrinHoverAlign; ?>;}
.ModuloPrincipalOnlines:active{background: <? echo $ModuloPrinHover ; ?>; text-align:<? echo $ModuloPrinHoverAlign; ?>;}
.ModuloPrincipalOnlines2 {
color: <? echo $ModuloPrinColor2; ?>;
background: <? echo $ModuloPrinFondo; ?>;
text-align:<? echo $ModuloPrinAlign; ?>;
}
.ModuloPrincipalOnlines2:hover{background: <? echo $ModuloPrinHover ; ?>; text-align:<? echo $ModuloPrinHoverAlign; ?>;}
.ModuloPrincipalOnlines2:active{background: <? echo $ModuloPrinHover ; ?>; text-align:<? echo $ModuloPrinHoverAlign; ?>;}
.trhover {color: #666666;
background: #FFFFFF;
text-align:center;
}
.footer_font {
font: normal 11px Tahoma, Calibri, Verdana, Geneva, sans-serif;
color: #FFF;
}
.trhoverR {color: #666666;
background: #FFFFFF;
text-align:center;
}
-->
</style>
</head>
<body>
<div align="center">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center">
<table width="0" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="0" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="InfoOnlines"><? echo $UsersOnline; ?></td>
</tr>
</table>
<table width="0" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="600" border="0" cellspacing="1" cellpadding="1" class="FondoModuloOnlines">
<tr>
<td>
<table width="600" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="DegradadoOnlines">#</td>
<td class="DegradadoOnlines">Nombre:</td>
<td class="DegradadoOnlines">Nivel:</td>
<td class="DegradadoOnlines">Reset:</td>
<td class="DegradadoOnlines">GR:</td>
<td class="DegradadoOnlines">Clase:</td>
<td class="DegradadoOnlines">Guild:</td>
<td class="DegradadoOnlines">Ubicacion:</td>
<td class="DegradadoOnlines">Pais:</td>
<td class="DegradadoOnlines">VIP:</td>
</tr>
<tr>
<?
$query=mssql_query("select TOP 999 * from MuOnline.dbo.MEMB_STAT WHERE ConnectStat='1'");
while($row=mssql_fetch_assoc($query)){
$AccountOnline=$row['memb___id'];
$ServerOnline=$row['ServerName'];
$CountryOnline = mssql_fetch_row(mssql_query("SELECT country,memb___id FROM MEMB_INFO WHERE memb___id='".$AccountOnline."'"));
$PaisG1 = $CountryOnline[0];
require("Onlines/flags.php");
$PJOnline = mssql_fetch_row(mssql_query("SELECT GameIDC,Id FROM AccountCharacter WHERE Id='".$AccountOnline."'"));
$Personaje = $PJOnline[0];
$PJInfo = mssql_fetch_row(mssql_query("SELECT cLevel,Resets,Class,MasterResetCount FROM Character WHERE Name='".$Personaje."'"));
$Niivel = $PJInfo[0];
$Reeset = $PJInfo[1];
$ClassGunitGN = $PJInfo[2];
$GrandsResets = $PJInfo[3];
require("Onlines/class.php");
$PJUbicacion = mssql_fetch_row(mssql_query("SELECT MapNumber,MapPosX,MapPosY FROM Character WHERE Name='".$Personaje."'"));
$lugarG = $PJUbicacion[0];
require("Onlines/maps.php");
$lugarX = $PJUbicacion[1];
$lugarY = $PJUbicacion[2];
$OnlineVIP = mssql_fetch_row(mssql_query("SELECT $CeldaVIP FROM $TablaVIP WHERE memb___id='".$AccountOnline."'"));
$VIP = $OnlineVIP[0];
if ($VIP == 0) {$VIP = "<img src='http://i27.servimg.com/u/f27/13/17/22/22/vip-no11.gif'>";}
if ($VIP == 1) {$VIP = "<img src='http://i27.servimg.com/u/f27/13/17/22/22/vip10.gif'>";}
$GuildOnline = mssql_fetch_row(mssql_query("SELECT G_Name FROM GuildMember WHERE Name='".$Personaje."'"));
$Guild = $GuildOnline[0];
$GuildMemberOnline = mssql_fetch_row(mssql_query("SELECT G_Mark FROM Guild WHERE G_Name='".$Guild."'"));
$UserGuild = urlencode(bin2hex($GuildMemberOnline[0]));
?>
<td class="ModuloPrincipalOnlines"><?=++$countOnline;?></td>
<td class="ModuloPrincipalOnlines"><?=$Personaje?></td>
<td class="ModuloPrincipalOnlines"><?=$Niivel?></td>
<td class="ModuloPrincipalOnlines"><?=$Reeset?></td>
<td class="ModuloPrincipalOnlines"><?=$GrandsResets?></td>
<td class="ModuloPrincipalOnlines"><?=$ClassGunitGN?></td>
<td class="ModuloPrincipalOnlines"><img src="get.php?aL=<?=$UserGuild;?>.png" alt="" width="20" height="20"></td>
<td class="ModuloPrincipalOnlines"><?=$lugarG?> (<?=$lugarX?> , <?=$lugarY?> )</td>
<td class="ModuloPrincipalOnlines"><?=$PaisG1?></td>
<td class="ModuloPrincipalOnlines"><?=$VIP?></td>
</tr>
<? } ?>
</table>
</td>
</tr>
</table>
<div align="center">
<table width="0" border="0" cellspacing="0" cellpadding="0">
<tr>
<tr>
<td id="InfoOnlines2">Usuarios Free <img src="template/<?=$core['config']['template'] ?>/images/class/novip.gif" alt="" width="7" height="14"></td>
</tr>
<tr>
<td id="InfoOnlines2">Usuarios VIP <img src="template/<?=$core['config']['template'] ?>/images/class/vip.gif" alt="" width="7" height="14"></td>
</tr>
</table>
</div>
</div></td>
</tr>
</table>
</div>
</body>
</html>
MuServer/GameServer/Data abres GameServerInfo - Common.datCode: [Select];==================================================
; Cash Shop Settings
;==================================================
CashShopSwitch = 1
CashShopScriptVersion1 = 512
CashShopScriptVersion2 = 2011
CashShopScriptVersion3 = 6
CashShopBannerVersion1 = 583
CashShopBannerVersion2 = 2010
CashShopBannerVersion3 = 5
CashShopGoblinPointDelay = 10 //Cada tiempo que aumenta el goblin point (esta en minutos creo)
CashShopGoblinPointValue_AL0 = 1 //Cantidad de GP que aumenta
CashShopGoblinPointValue_AL1 = 1
CashShopGoblinPointValue_AL2 = 1
MuEMU solo tiene configurado para goblinpoint, no para wcoins, eso se puede modificar desde el source o creando un procedure que calcule de acuerdo al tiempo acumulado en la tabla mem_stat, pero no lo recomiendo
Esta guia fue sacada del tema
http://tuservermu.com.ve/index.php?topic=3059.msg15137;topicseen#new
SQL Query Para agregar Cuenta VipCode: [Select]UPDATE MEMB_INFO SET AccountLevel = 1, AccountExpireDate = GETDATE() + 30 WHERE memb___id = 'LOGIN'
"AccountLevel = 1" es el level del VIP sea 1,2,3
"AccountExpireDate = GETDATE() +30"= donde esta el "30" significan los días osea 30 días un mes
"LOGIN" = Cuenta que se asignara el VIP
Query para que expiren los días Automáticamente (Solo se usa 1 Vez nada mas)Code: [Select]SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER Procedure [dbo].[WZ_GetAccountLevel]
@Account varchar(10)
AS
BEGIN
SET NOCOUNT ON
SET XACT_ABORT ON
DECLARE @CurrentAccountLevel int
DECLARE @CurrentAccountExpireDate smalldatetime
SELECT @CurrentAccountLevel=AccountLevel,@CurrentAccountExpireDate=AccountExpireDate FROM MEMB_INFO WHERE memb___id=@Account
IF(@CurrentAccountLevel <> 0 AND getdate() > @CurrentAccountExpireDate)
BEGIN
SET @CurrentAccountLevel = 0
UPDATE MEMB_INFO SET AccountLevel=@CurrentAccountLevel,AccountExpireDate=@CurrentAccountExpireDate WHERE memb___id=@Account
END
SELECT @CurrentAccountLevel As AccountLevel,@CurrentAccountExpireDate As AccountExpireDate
SET NOCOUNT OFF
SET XACT_ABORT OFF
END
GO
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
CREDITOS
Guia publicada por @Rastaa