Jump to content
  • 0
Sign in to follow this  
安赫尔

FluxCP for new SQL Table

Question

global_reg_value

----------------------

global_acc_reg_num_db

global_acc_reg_str_db

 

 

char

------

char

char_reg_num_db

char_reg_str_db

 

acc_reg_num_db

acc_reg_str_db

 

 

How to change FluxCP for these new SQL Table? I found many error in Flux. 

 

ex. Character Info page, and Death count page.

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Ok 

 

Open the modulesrankingdeath.php

 

and change

 

 

$sql .= "LEFT JOIN {$server->charMapDatabase}.`global_reg_value` AS reg ON reg.char_id = ch.char_id AND reg.str = 'PC_DIE_COUNTER' "; 

into

 

$sql .= "LEFT JOIN {$server->charMapDatabase}.`char_reg_num_db` AS reg ON reg.char_id = ch.char_id AND reg.key = 'PC_DIE_COUNTER' ";

 

 

 

now Open modulescharacterview.php

 

and change

 

$sql .= "LEFT OUTER JOIN {$server->charMapDatabase}.`global_reg_value` AS reg ON reg.char_id = ch.char_id AND reg.str = 'PC_DIE_COUNTER' ";

into

 

$sql .= "LEFT OUTER JOIN {$server->charMapDatabase}.`char_reg_num_db` AS reg ON reg.char_id = ch.char_id AND reg.key = 'PC_DIE_COUNTER' "; 

 

 

and errors are solved

 

Share this post


Link to post
Share on other sites
  • 0

Ok 

 

Open the modulesrankingdeath.php

 

and change

 

 

 

$sql .= "LEFT JOIN {$server->charMapDatabase}.`global_reg_value` AS reg ON reg.char_id = ch.char_id AND reg.str = 'PC_DIE_COUNTER' "; 
into

 

$sql .= "LEFT JOIN {$server->charMapDatabase}.`char_reg_num_db` AS reg ON reg.char_id = ch.char_id AND reg.key = 'PC_DIE_COUNTER' ";
 

 

 

now Open modulescharacterview.php

 

and change

 

$sql .= "LEFT OUTER JOIN {$server->charMapDatabase}.`global_reg_value` AS reg ON reg.char_id = ch.char_id AND reg.str = 'PC_DIE_COUNTER' ";
into

 

$sql .= "LEFT OUTER JOIN {$server->charMapDatabase}.`char_reg_num_db` AS reg ON reg.char_id = ch.char_id AND reg.key = 'PC_DIE_COUNTER' "; 
 

 

and errors are solved

thx so much

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.