Nothing happends after register
#1

Hey guys.
My friend gave me a new gamemod and After iam putting my password to register the server nothing happends..
Picture:


Server Log:

Quote:

[17:35:55] [MySQL] (Main Pipelines) Connecting to 127.0.0.1...
[17:35:55] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[17:35:55] [LoadHouses] Loading data from database...
[17:35:55] [LoadDynamicDoors] Loading data from database...
[17:35:55] [LoadDynamicMapIcons] Loading data from database...
[17:35:55] [LoadTurfWars] 0 turfs loaded.
[17:35:55] [LoadPaintballArenas] 10 paintball arenas loaded.
[17:35:55] [LoadGates] 4000 gates loaded.
[17:35:55] [LoadFamilies] 16 families loaded.
[17:35:55] [LoadPoints] 9 points loaded.
[17:35:55] [LoadCDealerships] 15 dealerships loaded.
[17:35:55] [MiscLoad] Misc Loaded
[17:36:10] Number of vehicle models: 63
[17:36:10]
[17:36:10]
[17:36:10] [LoadHouses] Failed to load any houses.
[17:36:10] [LoadDynamicDoors] Failed to load any doors.
[17:36:10] [LoadDynamicMapIcons] Failed to load any map icons.
[17:38:49] Incoming connection: xxxxx
[17:38:49] [join] XXXX has joined the server (xxxxx)
[17:38:53] [part] XXX has left the server (0:2)
[17:39:04] Incoming connection: xxxx
[17:39:05] [join] XXX has joined the server (xxxxxx)
[17:39:08] [part] xxx has left the server (0:2)
[17:39:18] Incoming connection: xx
[17:39:19] [join] XXX has joined the server (xxxx)
[17:39:22] [part] xxxx has left the server (0:2)
[17:39:53] Incoming connection: xxx
[17:39:54] [join] xxxx_xxxxx has joined the server (0xxxx)
[17:40:04] [MySQL] Query Error - (ErrorID: 1364) (Handle: 1)
[17:40:04] [MySQL] Check /logs/querydump.log to review the query that threw the error.
[17:40:04] Dumping query from 2012/8/2 (17:40:4)

Description: Field 'CarsRestricted' doesn't have a default value (index 0). Query:


[17:40:04] INSERT INTO `accounts` (`Username`, `Key`) VALUES ('xxx_xxx','E9B4CE59B08B2BC913C94C2EB46FB13EC188AB 3C0F261E9294C675F28897B30AEDB2B7C6C265EF427F884BBA AECC874BCE2791F74F68013E9DD5F8A1B41B6B45')
[17:40:29] [part] xxxx_x has left the server (0:1)

Reply
#2

Quote:

Description: Field 'CarsRestricted' doesn't have a default value

you need to set the default value, or set it on insert
Reply
#3

Quote:
Originally Posted by Misiur
Посмотреть сообщение
you need to set the default value, or set it on insert
How to do it?
Reply
#4

I don't know how you create the table. Easiest way would be if you had access to phpMyAdmin.
Reply
#5

Quote:
Originally Posted by Misiur
Посмотреть сообщение
I don't know how you create the table. Easiest way would be if you had access to phpMyAdmin.
So if i will make this value i will be able to register accounts?
Reply
#6

thats a known bug at New port city Role play
Reply
#7

Код:
[17:40:04] [MySQL] Query Error - (ErrorID: 1364) (Handle: 1)
 [17:40:04] [MySQL] Check /logs/querydump.log to review the query that threw the error.
 [17:40:04] Dumping query from 2012/8/2 (17:40:4)

 Description: Field 'CarsRestricted' doesn't have a default value (index 0). Query:


 [17:40:04] INSERT INTO `accounts` (`Username`, `Key`) VALUES ('xxx_xxx','E9B4CE59B08B2BC913C94C2EB46FB13EC188AB 3C0F261E9294C675F28897B30AEDB2B7C6C265EF427F884BBA AECC874BCE2791F74F68013E9DD5F8A1B41B6B45')
 [17:40:29] [part] xxxx_x has left the server (0:1)
this error coming from your msql database, it doesn't work soo good post, the register dialog , login dialog
Reply
#8

Quote:
Originally Posted by XStormiest
Посмотреть сообщение
Код:
[17:40:04] [MySQL] Query Error - (ErrorID: 1364) (Handle: 1)
 [17:40:04] [MySQL] Check /logs/querydump.log to review the query that threw the error.
 [17:40:04] Dumping query from 2012/8/2 (17:40:4)

 Description: Field 'CarsRestricted' doesn't have a default value (index 0). Query:


 [17:40:04] INSERT INTO `accounts` (`Username`, `Key`) VALUES ('xxx_xxx','E9B4CE59B08B2BC913C94C2EB46FB13EC188AB 3C0F261E9294C675F28897B30AEDB2B7C6C265EF427F884BBA AECC874BCE2791F74F68013E9DD5F8A1B41B6B45')
 [17:40:29] [part] xxxx_x has left the server (0:1)
this error coming from your msql database, it doesn't work soo good post, the register dialog , login dialog
I check and i can see any register system in the script maybe the register comes from the SQL?
Reply
#9

yeah maybe ................
Reply
#10

This is NG-RP gamemode, I suggest you not to use it as it will never give you any users, first of all why would anyone go to your server with like only 2 players when they can just got to NGRP with thousands of players and secondly you won't be able to fix their script and it will be very hard to edit.

And i also think it's stolen and your not allowed to use it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)