Jump to content
  • 0

Safe codes starting with a 0 get trimmed in database.


EGC.NightStalker

Question

Dear Dayz Epoch Developers and fellow server admins,

Although this is not really a 'bug', i wont be surprised if more servers are experiencing this problem.
And i/we would really appreciate some help since i can`t find a proper solution.

The problem:
If someone places a safe and gets a code that starts with a 0. (For example 0123)
MySQL 5.5 will automatically trim away the first zero. Meaning you are left with the code 123.
And since a safe requires 4 digits as a code, it renders the safe unusable.

Therefor my following two questions:
1. Is there a way in the config of MySQL 5.5 to disable trimming the prefix?
2. Or is there a way to make sure codes never start off with a zero?

Thanks in advance!

NightStalker
European Gamers Community

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Hey guys, Running 1.0.1.5 and I cannot find the codes in the database. Is the code salted or something? I have a user (me) that took a piss as they were placing the tent and now he doesnt know the code (came back from the bathroom and it had already disppeared from the screen). Instead of deleting the empty safe and getting a new one I would simply like to look it up. Any help would be appriciated.

 

Also. may I suggest that the code stay displayed on the screen for a min or 2 in the next version.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...