Jump to content
  • 0
Alexandria

Paradox V4P v0011

Question

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

14 answers to this question

Recommended Posts

  • 0

yup it should work since there is no major changes happen for fluxcp and for fluxcphercules

Share this post


Link to post
Share on other sites
  • 0

try to take a loot at /lib/cashshop.php

 

replace global_reg_value with acc_reg_num_db

 

and report back the result...

Share this post


Link to post
Share on other sites
  • 0

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 :/

Share this post


Link to post
Share on other sites
  • 0

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 by quesoph

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

^ not also working, hercules brokes all v4p addons for flux.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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