Alexandria 53 Posted March 22, 2014 Hello guys. I would like to know if the Paradox V4P still works in Hercules CP. I know that there is a free version but i need to cofirm if it is still working on Flux Hercules. Thanks Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted March 23, 2014 just try it and if you get any error post here so we can help Quote Share this post Link to post Share on other sites
0 Brynner 34 Posted March 23, 2014 yup it should work since there is no major changes happen for fluxcp and for fluxcphercules Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted March 23, 2014 Hello guys. It doesnt work. It doesnt give "Vote Points" after voting. Thanks Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted March 23, 2014 try to take a loot at /lib/cashshop.php replace global_reg_value with acc_reg_num_db and report back the result... Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted March 24, 2014 try to take a loot at /lib/cashshop.php replace global_reg_value with acc_reg_num_db and report back the result... No, thanks for answering but it didnt work :/ Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted March 24, 2014 the correct one is "char_reg_num_db" Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted March 24, 2014 the correct one is "char_reg_num_db" Where? have you tested it? thanks (:! Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted March 24, 2014 the correct one is "char_reg_num_db" Where? have you tested it? thanks (:! http://herc.ws/board/topic/5014-d%C3%BAvida-global-reg-value/ Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted March 24, 2014 the correct one is "char_reg_num_db" Where? have you tested it? thanks (:! http://herc.ws/board/topic/5014-d%C3%BAvida-global-reg-value/ Eu no falar portugues o.o Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted March 24, 2014 (edited) In Cashpoints.php replace this: // Initialize cash points record if it doesn't already exist. if (!$this->cashRecords[$accountID]) { $sql = "INSERT INTO {$this->server->charMapDatabase}.global_reg_value "; $sql .= "(`str`, value, type, account_id, char_id) "; $sql .= "VALUES (?, 0, 2, ?, 0)"; $sth = $this->server->connection->getStatement($sql); $sth->execute(array($this->pointsType, $accountID)); } with this: // Initialize cash points record if it doesn't already exist. if (!$this->cashRecords[$accountID]) { $sql = "INSERT INTO {$this->server->charMapDatabase}.acc_reg_num_db "; $sql .= "(`key`, account_id, value ) "; $sql .= "VALUES (?, ?, 0)"; $sth = $this->server->connection->getStatement($sql); $sth->execute(array($this->pointsType, $accountID)); } @edit don't forget to replace global_reg_value with acc_reg_num_db. @evilpuncker Why char_reg_num_db? #CASHPOINTS and #KAFRAPOINTS are saved in acc_reg_num_db. right? Edited March 24, 2014 by quesoph Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted March 24, 2014 In Cashpoints.php replace this: // Initialize cash points record if it doesn't already exist. if (!$this->cashRecords[$accountID]) { $sql = "INSERT INTO {$this->server->charMapDatabase}.global_reg_value "; $sql .= "(`str`, value, type, account_id, char_id) "; $sql .= "VALUES (?, 0, 2, ?, 0)"; $sth = $this->server->connection->getStatement($sql); $sth->execute(array($this->pointsType, $accountID)); } with this: // Initialize cash points record if it doesn't already exist. if (!$this->cashRecords[$accountID]) { $sql = "INSERT INTO {$this->server->charMapDatabase}.acc_reg_num_db "; $sql .= "(`key`, account_id, value ) "; $sql .= "VALUES (?, ?, 0)"; $sth = $this->server->connection->getStatement($sql); $sth->execute(array($this->pointsType, $accountID)); } @edit don't forget to replace global_reg_value with acc_reg_num_db. @evilpuncker Why char_reg_num_db? #CASHPOINTS and #KAFRAPOINTS are saved in acc_reg_num_db. right? idk but it worked for that guy xd Quote Share this post Link to post Share on other sites
0 Alexandria 53 Posted May 19, 2014 Is there a "free" or "paid" Vote For Points which is working properly in Hercules? Thank you. Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted May 20, 2014 http://herc.ws/board/topic/295-feeftys-fluxcp-addons-release/ Quote Share this post Link to post Share on other sites
0 vBrenth 39 Posted June 23, 2014 ^ not also working, hercules brokes all v4p addons for flux. Quote Share this post Link to post Share on other sites
Hello guys.
I would like to know if the Paradox V4P still works in Hercules CP.
I know that there is a free version but i need to cofirm if it is still working on Flux Hercules.
Thanks
Share this post
Link to post
Share on other sites