Airline Mogul Forum

[Fixed] Strange registrations for Chinese aircraft

SomedayTrijet

  • Airline Operative
  • *
    • Posts: 294
    • View Profile
on: April 26, 2011, 06:51:34 pm
I'm a member of PW1924. I'm based in China (ID:49372), so my planes naturally have chinese registations.

I've recently ordered by 10th and 1th aircraft. Now I noticed the registrations are strange. My planes before has been registrated with B-1111/2/3/4/5/6/7/8/9. Instead of having registrations B-1120 and B-1121 as they probably would have, my planes have been registered with "B-111:" The other plane have been registered with "B-111;"

This seems very strange to me!
« Last Edit: May 01, 2011, 09:14:45 pm by StephenM »


SomedayTrijet

  • Airline Operative
  • *
    • Posts: 294
    • View Profile
Reply #1 on: May 01, 2011, 05:45:05 pm
It keeps going with registrations like:

B-111?  
B-111@
B-111A
B-111D
etc

Can it be solved some way?
« Last Edit: May 01, 2011, 08:02:42 pm by SomedayTrijet »


StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6038
    • View Profile
Reply #2 on: May 01, 2011, 06:44:21 pm
We did have a check built in to skip those characters. Originally the function we used to increment the registrations simply went through a group of letters which included those characters. I'll take a look at the code and see what's gone wrong.
Stephen Murphy
Airline Mogul Chief Developer


StephenM

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 6038
    • View Profile
Reply #3 on: May 01, 2011, 09:14:35 pm
Okay, I've now fixed the problem and re-registered all aircraft that were causing an issue.

Basically China use the structure B - #### each # signifying a number. We store this structure as 1111 in the database, but our logic was looking for 0000. Because there wasn't a match, the checks in place to prevent special characters and letters being used failed and you got the strange registrations. I have fixed the logic and it now operates in sequence from 0 to 9 reverting back to 0 when it reaches 9.

Thanks for the report.
Stephen Murphy
Airline Mogul Chief Developer



 

SMF spam blocked by CleanTalk