Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Ranking para muemu en webengine  (Visto 2013 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline Jimmy Posteado: July 03, 2017, 11:47:24 AM | Modificado: July 03, 2017, 01:27:57 PM by Lude

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 12
  • Gracias recibida: 0
  • ar
No me funciona el ranking del muemu season 6 liberado en mi webengine en webhosting,Entre a la tabla en el sql de characters donde estan los "rreset" y me aparecen todos en 0 , cargan los los lvl/los asesinos pero no me cargan los reset ayuda por favor.



<?php
/**
 * WebEngine
 * Loading...
 *
 * @version 1.0.9
 * @author Lautaro Angelico <http://lautaroangelico.com/>
 * @copyright (c) 2013-2017 Lautaro Angelico, All Rights Reserved
 *
 * Licensed under the MIT license
 * The MIT License | Open Source Initiative
 */

try {
   
   echo '<div class="page-title"><span>'.lang('module_titles_txt_10',true).'</span></div>';
   
   $Rankings = new Rankings();
   $Rankings->rankingsMenu();
   $Character = new Character();
   loadModuleConfigs('ResetCount');
   
   if(!mconfig('rankings_enable_resets')) throw new Exception(lang('error_44',true));
   if(!mconfig('active')) throw new Exception(lang('error_44',true));
   
   $ranking_data = LoadCacheData('rankings_resets.cache');
   if(!is_array($ranking_data)) throw new Exception(lang('error_58',true));
   
   echo '<table class="rankings-table">';
   echo '<tr>';
   if(mconfig('rankings_show_place_number')) {
      echo '<td style="font-weight:bold;"></td>';
   }
   echo '<td style="font-weight:bold;">'.lang('rankings_txt_11',true).'</td>';
   echo '<td style="font-weight:bold;">'.lang('rankings_txt_10',true).'</td>';
   echo '<td style="font-weight:bold;">'.lang('rankings_txt_13',true).'</td>';
   echo '</tr>';
   $i = 0;
   foreach($ranking_data as $rdata) {
      $characterIMG = $Character->GenerateCharacterClassAvatar($rdata[1]);
      if($i>=1) {
         echo '<tr>';
         if(mconfig('rankings_show_place_number')) {
            echo '<td class="rankings-table-place">'.$i.'</td>';
         }
         echo '<td>'.$characterIMG.'</td>';
         echo '<td>'.$rdata[0].'</td>';
         echo '<td>'.$rdata[2].'</td>';
         echo '</tr>';
      }
      $i++;
   }
   echo '</table>';
   if(mconfig('rankings_show_date')) {
      echo '<div class="rankings-update-time">';
      echo ''.lang('rankings_txt_20',true).' ' . date("m/d/Y - h:i A",$ranking_data[0][0]);
      echo '</div>';
   }
   
} catch(Exception $ex) {
   message('error', $ex->getMessage());
}

Eso es el reset , tiene que conectar a ResetCount que es donde estan los resets


Offline Lude #1 Posteado: July 03, 2017, 01:10:19 PM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 388
  • Gracias recibida: 19153
  • us
No te funciona por que al instalarla elegiste el tipo de files equivocados.


Offline Jimmy #2 Posteado: July 03, 2017, 01:25:39 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 12
  • Gracias recibida: 0
  • ar
No te funciona por que al instalarla elegiste el tipo de files equivocados.
Si , ignc puse pero porque al habilitar el mp5 algo asi , no me levantaba nada ni el ranking ni nada y como ya tenia gente jugando no podia sacar la base de datos pelarla y volver a empezar, nose si me explico , Cuando instale webengine tilde el m5p nose como era , y eso hacia que la gente no se pueda registrar ni nada , entonces reinstale con ICG


Offline Lude #3 Posteado: July 03, 2017, 01:27:24 PM

  • MAESTRO

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 388
  • Gracias recibida: 19153
  • us
Sinceramente no recuerdo el que se pone para MuEmu ya que ya no uso esa web y debes procurar tener el MD5 desactivado. Procedo a cerrar y dar por solucionado entonces.


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
3 Replies
1846 Views
Last post September 21, 2019, 08:37:59 PM
by Tauro14
5 Replies
2913 Views
Last post August 22, 2020, 08:31:07 PM
by DarkBot
14 Replies
4321 Views
Last post April 30, 2020, 02:41:12 PM
by Berserker
11 Replies
2013 Views
Last post July 15, 2020, 09:48:53 AM
by yhoon
11 Replies
2596 Views
Last post July 24, 2020, 06:29:12 PM
by muonlineuy