project-error / npwd

NPWD is a FiveM phone resource written entirely in TypeScript and React.
https://projecterror.dev
Other
351 stars 275 forks source link

Bug: Resource attempts to register X phone number in database but registers Y number in the database, neither numbers work #1096

Closed Kaleb99jOfficial closed 10 months ago

Kaleb99jOfficial commented 10 months ago

Development Issue

Unsure

Phone Version

v1.8.3

Issue Description

Upon joining my server NPWD throws the error shown in the attached screenshot. It seems the resource is trying to save one number to the database but actually saves a different one and freaks out at the mismatch. This makes it to where when dialing a number the dialer's phone screen does not change after pressing dial, and the one being dialed hears what the dialer should hear without a ringtone. The one being dialed has no incoming call screen and cannot accept/decline the call. Neither number works even after manually editing the SQL database to the number that caused the txAdmin console error.

Issue Reproduction

  1. Join the server
  2. Look at txAdmin (or other server) console and discover the screenshotted error.
  3. Attempt to dial another person using either the number saved in the database or the one that threw the error in the console.
  4. Notice how the call is not placed and you cannot use messages to text the other person.

Evidence

Imgur Gallery

Kaleb99jOfficial commented 10 months ago

When you encounter an issue that stumps you, contact tech support, and you'll figure it out yourself.

Install pe-core and set "useResourceIntegration": true,