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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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