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