20.12.2015, 07:31
I have insert new field to database in Navicat.
And It's working when account already had in navicat, the ammo is have when player quit game. But error happen with player who want to register account.
And there some error when player register account. There're some line error in serverlog.txt. Here's the error.
You can watch this video
https://www.youtube.com/watch?v=s2n_...ature=*********
And It's working when account already had in navicat, the ammo is have when player quit game. But error happen with player who want to register account.
And there some error when player register account. There're some line error in serverlog.txt. Here's the error.
PHP код:
[15:14:32] [MySQL] Query Error - (ErrorID: 1364) (Handle: 1)
[15:14:32] [MySQL] Check mysql_log.txt to review the query that threw the error.
[15:14:32] Dumping query from 2015/12/20 (15:14:32)
Description: Field 'Ammo1' doesn't have a default value (index 0). Query:
[15:14:32] INSERT INTO `accounts` (`RegiDate`, `LastLogin`, `Username`, `Key`) VALUES (NOW(), NOW(), 'Ploy_Register','A72EDBDC3E66DC3F0F84500C4A0DF1AB640F47E95AE4E7C76DE3398854146F33FCABE0A9861A6896D9A78C15273F2C1996E88B14E92A99D4B883AF9A5C98C9C6')
[15:14:43] [part] Ploy_Register has left the server (0:1)
https://www.youtube.com/watch?v=s2n_...ature=*********