Jump to content
×
×
  • Create New...
  • 0

[SOLVED] Issues in console


Svendsern
 Share

Question

Recommended Posts

  • 0
4 minutes ago, JackTheDev said:

Hello, 

It looks like you haven’t entered a database for the call outs manager. Try checking the name of your database, then putting it into the Callouts manager.

It's actually an issue of these items being named differently in the JSON than what the DB is expecting to find.  I fixed it by editing the config.json to refelct what it was looking for

 

Link to post
Share on other sites

  • 0
1 minute ago, NickStevensGaming said:

It's actually an issue of these items being named differently in the JSON than what the DB is expecting to find.  I fixed it by editing the config.json to refelct what it was looking for

 

Correct. I'd make sure that in the configjson file, you have included the database name of `fivepd` if you haven't modified the fivepd.sql folder?

NorthCam18

Arguably the best VIP member here

 

GitHub Account

Link to post
Share on other sites

  • 0

Delete everything in the config.json and paste this in.  There is still some kind of weirdness with MaximumSignatureSize that I can't figure out, and MaximumSuspectsCount which seems to be redundant with MaximumSuspectCount on the line before it. Also make sure you created a database named fivepd that had the fivepd.sql ran in it.

 

"database": {
    "username": "root",
    "password": "",
    "host": "127.0.0.1",
    "port": 3306,
    "database": "fivepd"
  },
  "callouts": {
    "MinimumTimeBeforeCall": 180,
    "MaximumTimeBeforeCall": 300,
    "CalloutExpirationTime": 30,
    "CalloutChance": 50
  },
  "xp": {
    "TRAFFIC_STOP": 250,
    "CALL_COMPLETED": 250,
    "BACKUP_ACCEPTED": 500,
    "CASE_COMPLETED": 500,
    "REPORT_COMPLETED": 250,
    "ARREST_COMPLETED": 250,
    "AMBULANCE_CALLED": 150,
    "FIRE_CALLED": 150,
    "TOW_CALLED": 150,
    "CORONER_CALLED": 150
  },
  "MaximumFineAmountFee": 1000000,
  "MaximumFineAmountPoint": 100,
  "MaximumCallLength": 125,
  "MaximumOfficerNameLength": 125,
  "MaximumAINameLength": 50,
  "MaximumInvolvedOfficerCount": 32,
  "MaximumSuspectCount": 32,
  "MaximumNumberOfVictims": 32,
  "MaximumViolationCount": 32,
  "MaximumReportLength": 1000,
  "IsSignatureEnabled": true,
  "MaximumSignatureSize": 10.0,
  "MaximumStreetNameLength": 25,
  "MaximumCityNameLength": 30,
  "MaximumZIPLength": 10,
  "MaximumChargeCount": 10,
  "MaximumReportCount": 100,
  "MaximumCitationCount": 100,
  "MinimumCallsignLength": 1,
  "MaximumCallsignLength": 15,
  "ManualAccountActivationRequired": true,
  "HashSalt": "5xhf@",
  "EncryptionKey": ">XM$a^Req!OJM%$^v>AciR5zvUca4n"
}

Link to post
Share on other sites

  • 0
Just now, NotCamSlice said:

Is your issue with Database or files itself?

Honestly Im not sure. I have set it up according to this post and the one below. Followed it to a T and not getting any errors. In my command window it even says connected to database but when I load in game none of the fivepd keys are working. I dont see anything in the F8 console when I hit any keys from fivepd.

 

Link to post
Share on other sites

  • 0
2 minutes ago, Noah654 said:

Honestly Im not sure. I have set it up according to this post and the one below. Followed it to a T and not getting any errors. In my command window it even says connected to database but when I load in game none of the fivepd keys are working. I dont see anything in the F8 console when I hit any keys from fivepd.

 

Ahh okay so I'm going to Direct message you my server version, all you will have to do is edit the calloutmanager config.json file to fit your database correctly

GTAPOLICEMODS.COM
SOFTWARE DEVELOPER | PROGRAMMER
GITHUB

Link to post
Share on other sites

  • 0
1 minute ago, NotCamSlice said:

Ahh okay so I'm going to Direct message you my server version, all you will have to do is edit the calloutmanager config.json file to fit your database correctly

Okay I will try that once I receive it

 

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.