Mostrar posts

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.


Messages - gerchu

Paginas: [1]
1
no me funciona, me queda la pagina en blanco alguna idea ¿?

2
Template para mu core 1.0.8 precio ?

3
Soporte / Ayudas / SOPORTE Modulo Usuarios en linea quitar ubicación
« Posteado: December 14, 2017, 12:30:53 PM »
Ayer encontre el siguiente modulo y lo instale en mi mu core. Pero le queria sacar la parte que se vea la ubicación y antes de tocar y hacer cualquier cosa me gustaria saber si me dicen que linea tengo que borrar para que quede bien.

COD:
Code: [Select]
<!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>&nbsp;</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>&nbsp;</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>

4
Soporte / Ayudas / SOPORTE Cambiar ruta de Mu Core 1.0.6 para poner intro!
« Posteado: December 14, 2017, 11:10:59 AM »
Bueno como dice el titulo, estoy necesitando cambiar la ruta de la mu core. Esta en xampp->httdocs-> y quiero ponerla en /web para poner una intro. El tema es que cuando mando todo a /web se ve que tengo que modificar algo y no se qué es!
Espero su ayuda y que se haya entendido el problema. Espero una respuesta, gracias!!

5
Temas solucionados / Re: W coin C y Goblin Point por hora conectada, configuracion
« Posteado: December 12, 2017, 07:29:11 AM »
MuServer/GameServer/Data abres GameServerInfo - Common.dat

Code: [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

Disculpen por citar algo tan viejo, pero tenia una duda, CashShopGoblinPointDelay = 10 //Cada tiempo que aumenta el goblin point (esta en minutos creo) .. esta en minutos o en horas ? porque como dice "creo" queria sacarme la duda, gracias.

6
MuEMU / Re: Hacer usuarios VIP MuEmu
« Posteado: December 02, 2017, 08:22:44 PM »
Esta guia fue sacada del tema
http://tuservermu.com.ve/index.php?topic=3059.msg15137;topicseen#new


SQL Query Para agregar Cuenta Vip
Code: [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

Disculpa que reviva algo tan antiguo, tengo dos consultas.
1- Query para que expiren los días Automáticamente: Se pone antes de poner la cuenta vip? Se pone después? o es indiferente ?
2- Una vez que pones la cuenta vip y ya esta la query para que expiren los días, cuando se agregan mas vips ya no hay que poner la query de expiracion de los dias ? Es una única vez?
Espero no molestar y espero una respuestas, gracias!

Paginas: [1]