JosephS/N generation in RCWed Dec 9 18:10:10 1998 Hi Lord Soth and All,It took me two nights to come with the final soplution, but at last I have it.One mistake we all made is to define the 4D key we ceated as a DW since the DW will hold no more than 8 hex numbers which translates to four bytes only and with four bytes as a user name one will never come to true serial number procedure. BTW, 4D holds the user name and not the serial number. Now to the solution which I will discribe brifly now and hope to present the commented code for it later.The RCrawler uses the nubers 3,12 and a funny string of characters "YMA19X@24$Z%" as constants, in addition to this he uses the length of the user's name as another constant. one important variable is the the position of the character being proceessed starting with 0 to n (nbeing the length of the user name). The first 5 characters in any serial number are the same for any user.First he divides n bu 12 and takes the remander and uses it as an offset to extract a character from the funny string. Thus if the user name is 8 chracter he will take the 8th charcter from this strig which will be 4 as the first calculated character in the serial number--remember the count starts with 0.Next he takes the position, which will be 0,1.2....n, and divids it by 3. If there is any remainder he skipsto the next character (using techi lingo, he evaluates the modulo of n/3). This way only characters positioned at 0, 3, 6,9 etc. are meaningful. One a chracter is selected this way its Acii value is divided by 2 and the integer result is added to 22. If the result is within the accepted range, which is the alphanumarical, Then this new character is added to the serial number. Each calculated character is appended to 8267- in its turn. After all characters in the user name are processed their count becomes significant. In the case of an 8 characters long user name 4 characters are genarated in the above discribed procedure thus after appendig the to 8267- the length becoms 9. This 9 is divided by 12 and the mod (remainder) is used to extract the final character in the serial number, thus an 8 chracter user name will yield a serial number looking like this: 8267-4???$.This is it for now and I hope it is clear and helpful.Best regards,Joseph Re: S/N generation in RC by The Sandman , Wed Dec 9 18:54 Goofed!!! by Joseph , Thu Dec 10 04:12 4D Key by Joseph , Thu Dec 10 04:06 To view the serial number in this 256 byte key. by Eternal Bliss , Thu Dec 10 06:02 Re: To view the serial number in this 256 byte key. by The Sandman , Thu Dec 10 12:36