Airline Mogul Forum

Non-Airline Mogul => General Chat => Topic started by: sla31 on September 03, 2007, 10:45:29 pm

Title: Game that never ends.
Post by: sla31 on September 03, 2007, 10:45:29 pm
I am so board right now.  So I have resorted ot doing things like this.

This is the game that never ends,
Yes, it goes on and on my friends
Some people started playing it not knowing what it was,
And they'll continue playing it forever just because—

 :lol:  :lol:  :lol:  :lol:  :lol:

I'm sorry I'm just so board.
Title: Re: Game that never ends.
Post by: StephenM on September 03, 2007, 11:19:25 pm
Quote from: "sla31"
I am so bored right now.  So I have resorted ot doing things like this.

This is the game that never ends,
Yes, it goes on and on my friends
Some people started playing it not knowing what it was,
And they'll continue playing it forever just because—

 :lol:  :lol:  :lol:  :lol:  :lol:

I'm sorry I'm just so bored.


 :wink:
Title: Game that never ends.
Post by: StephenM on September 03, 2007, 11:24:05 pm
If you want something to do, figure out a way for me to automate the table in here so each aircraft is automatically registered using the right country format and there are no duplicates. :D

http://en.wikipedia.org/wiki/Aircraft_registration
Title: Game that never ends.
Post by: Daniel Doorgakant on September 03, 2007, 11:36:13 pm
Surely he meant it as a pun...

Play a BOARD game
Title: Game that never ends.
Post by: dktc on September 03, 2007, 11:46:33 pm
Quote from: "StephenM"
If you want something to do, figure out a way for me to automate the table in here so each aircraft is automatically registered using the right country format and there are no duplicates. :D

http://en.wikipedia.org/wiki/Aircraft_registration



With my limited pascal knowledge (yea i know it is out-dated... :P ), I am gonna suggest the following...

Based on the home base of the airline, assign the prefix (basically an array storing the info and a "repeat" clause or a "nested if" to screen the info).

Then in the same database mentioned above, also store the style of the suffix... and the suffix for the last plane registered there in ASCII form (or unicode or sth :roll: ... like AAA = 65,65,65). The style of suffix would link to a procedure of how the next suffix would be calculated (like next would be x,y,z+1 if z<90, which is Z in ASCII; if not, then x,y+1,65, if y<90; if not then x+1,65,65). The range would be setted with the style in mind as in whether it is 4 letter, of 4 numerics, or any combination of them. Finally assign the prefix and suffix to the aircraft database (to a specific aircraft id), then store the new latest suffix in the array for those countries.

Hope you understand what I mean... it is quite confusing, I know :P
Title: Game that never ends.
Post by: StephenM on September 03, 2007, 11:51:47 pm
I was going to do a system like that where numbers are governing letters, but the problem is putting the 2 together.

May be:
Code: [Select]
3 3 0 123 - ABC
3 2 1 112 - 1AB
5 0 0 12345 - 12345

Where the first digit is the Registration length, the second is the number of letters, the third is the number of characters in till you hit letters... Loosely speaking

Edit: Better system!

Code: [Select]
3 11 001 002 - 1AB
3 001 002 003 - ABC
5 11 12 13 14 15 - 12345
5 11 12 13 001 002 - 123AB

First digit = length of reg
Second digit = switch for 0 - Letter/1 - Number
Third digit = actual number or letter. 00 format for letters due 26