Jump to content
  • 0

Ceres CP


Jzz

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   0
  • Joined:  02/29/12
  • Last Seen:  

Hello I would like to ask example new registered player's how to set they're account level into 1 when registering in ceres cp?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi jzz,

Edit 'query.php' (https://cerescp.svn.sourceforge.net/svnroot/cerescp/trunk/query.php)

DEFINE('INSERT_CHAR', "INSERT INTO `login` (`userid`, `user_pass`, `sex`, `email`, `birthdate`, `last_ip`) VALUES ('%s', '%s', '%s', '%s', '%s', '%s')");

To

DEFINE('INSERT_CHAR', "INSERT INTO `login` (`userid`, `user_pass`, `sex`, `email`, `birthdate`, `last_ip`, `level`) VALUES ('%s', '%s', '%s', '%s', '%s', '%s', 1)");

  • Upvote 1
Link to comment
Share on other sites

×
×
  • Create New...