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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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