Feefty's FluxCP Addons Release

Status
Not open for further replies.
how to change Cashpoints to a custom Variable? in v4p

 
Last edited by a moderator:
thanks! working with minor issues

Edit: ticket listings in the support tickets error. the site crash 

Code:
?module=support&action=list 
 
Last edited by a moderator:
thanks! working with minor issues

Edit: ticket listings in the support tickets error. the site crash 

?module=support&action=list 
Same issue here. Guessing the author no longer provides support?

 
Hello :-)

Fix for Unable to vote for the server. Err no. 4 ?


/ modules / voteforpoints / function.php

+ This module not work for Hercules ?
default_dry.png


It uses:

if (!function_exists("getCashPoints")){ function getCashPoints($account_id, $server) { $sql = "SELECT value FROM global_reg_value WHERE account_id = ?"; $sth = $server->connection->getStatement($sql); $sth->execute(array((int) $account_id)); return $sth->rowCount() ? (int) $sth->fetch()->value : 0; }}


Hercules use: global_acc_reg_num_db  &  global_acc_reg_str_db   not global_reg_value

 
if you're using latest rathena emulator you will have those error because rathena emulator doesn't use "acc_reg_num_db" anymore

to fix this

goto : config/addons.php

find this  'cashpoints' =>

and change acc_reg_num_db to global_reg_value

after that goto modules/voteforpoints/index.php

find $sql = "UPDATE $cp_tbl SET value = value + ? WHERE key = ? AND account_id = ?";

and change WHERE key = ? to WHERE str = ?

hope this helps

 
when i click the voting sites, it counts the vote, the icon is disabled but .......nothing happens> it DID NOT redirect to the voting sites where the actual voting happens.  What could be the problem.? Thank you for the support

 
when i click the voting sites, it counts the vote, the icon is disabled but .......nothing happens> it DID NOT redirect to the voting sites where the actual voting happens.  What could be the problem.? Thank you for the support
Please help
default_sad.png


 
Status
Not open for further replies.
Back
Top