Jump to content
  • 0

Fluxcp no errors but not working


Zycron

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  35
  • Reputation:   17
  • Joined:  04/25/18
  • Last Seen:  

So Im trying to get a website up everything is fine cept the pvp ranking add-on no errors just not showing any results here are some examples 

Flux Control Panel_ Character Ranking - Google Chrome 5_14_2018 12_58_12 PM.png

Flux Control Panel_ Character Ranking - Google Chrome 5_14_2018 12_58_19 PM.png

Mine_ragnarok_main_pvpladder_ - HeidiSQL 9.1.0.4867 5_14_2018 12_58_44 PM.png

Using geromes pvp ladder from his svn

Here is php for module and theme . 

(module)pvpranking.php

(theme)pvpranking.php

Edited by Zycron
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   18
  • Joined:  01/28/12
  • Last Seen:  

Update this part of pvpranking.php on module

$col  = "ch.char_id, ch.name AS char_name, ch.class AS char_class, ch.base_level, ch.base_exp, ch.job_level, ch.job_exp, pl.kills, pl.deaths, pl.streaks,";
$col .= "ch.guild_id, guild.name AS guild_name, guild.emblem_len AS guild_emblem_len";

$sql  = "SELECT $col FROM {$server->charMapDatabase}.`char` AS ch ";
$sql .= "LEFT JOIN {$server->charMapDatabase}.guild ON guild.guild_id = ch.guild_id ";
$sql .= "LEFT JOIN {$server->loginDatabase}.login ON login.account_id = ch.account_id ";
$sql .= "LEFT JOIN {$server->charMapDatabase}.pvpladder AS pl ON pl.char_id = ch.char_id ";
$sql .= "WHERE 1=1 ";

 

Edited by Aries
Link to comment
Share on other sites

×
×
  • Create New...