Jump to content






Fix view character problem hercules fluxcp

Posted by mrlongshen, 02 April 2016 · 561 views

Open the modules/ranking/death.php (lines 24)

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 modules/character/view.php (lines 59)

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' "; 

If you cant find, just search for PC_DIE_COUNTER

Credit to: Ossi

Make a reference for mine and other people!




Did this ever get pushed to the official Hercules FluxCP @mrlongshen or @Mysterious / @MishimaHaruna

Did this ever get pushed to the official Hercules FluxCP @mrlongshen or @Mysterious / @MishimaHaruna

 

Nope. I hope you can pushed it. Tq

Whats this problem about... what view? 

Did this ever get pushed to the official Hercules FluxCP @mrlongshen or @Mysterious / @MishimaHaruna

 

latest hercules fluxcp already got this, I've just looked at it

Did this ever get pushed to the official Hercules FluxCP @mrlongshen or @Mysterious / @MishimaHaruna

 

latest hercules fluxcp already got this, I've just looked at it

 

Thanks evil for the update! Yeahhhh

Whats this problem about... what view? 

 

Its already solve :D

March 2017

S M T W T F S
      1234
567891011
12131415161718
19202122232425
2627282930 31