I have installed the RPN module in my game. It inserted pretty easy, and it's all hooked up. It seems terrific. My problem is setting the RPN key.
Mr. Dark says in the Read Me file of RPN reg module 1.8:
"As a side note rpn keys are very tricky. Make sure you don't
just substitue random numbers in the one that is provided here.
Make sure your key is able to create a different reg number for
every key entered in a given name.
"example: if you enter a name like "miller" you'd get something
like 54723 for the number. Make sure if you enter
"millerrr" you don't get the same number as before."
I find that "miller," "millerrrr" and "r" generate the same unlock code in the RPN module example, as it is downloaded and with no modifications by me. The code generated seems to be dependent solely on the last letter entered.
In the registerpanel Create Actor script section, there is this code that must be modified to create individual RPN codes to be supplied to Handango, etc:
// This is your personal algorithm that can be supplied to
Handango, PocketGear, and other sites
strcpy(rpnstring,"i 0 == 123 * key + c 4567 * 890123 +");
I have modified that script, and the unlock codes that are generated do change, but they still follow the same pattern: "Miller", "Millerrr" or any name ending in r will generate the same code. I am not sure of what to change, and obviously. I do not know how to change the code.
So let me present my question.
Using just the RPN module as it is downloaded, unzipped, and opened in Game Editor, can someone supply a sample modification of the rpn key? I would prefer if you would show a modification of the actual strcpy line from the module.
One last point: The sample code, strcpy(rpnstring,"i 0 == 123 * key + c 4567 * 890123 +");, contains 0, 123, 4567, and 890123. Must those numbers always contain the same number of digits? For instance, could 123 be changed to 456789?
BeyondtheTech, Makslane, Mr. Dark, I thank you for your work. I have been able to work out every problem simply by reading the forum, but this time I am stumped.
Steve13
Chief Kook and Boggle watcher