Share your amazing scripts in this thread! Not in modding because these are meant to be scripts written from scratch rather than modified stuff for mount and blade!
Firstly, my Python A* Keygen that none of you noobs could decipher:
Spoiler
import random, time
###Algorithim Constants. DO NOT CHANGE!###
SEC1 = 7
SEC2 = 3
SEC3 = 15
###Algorithim Constants. DO NOT CHANGE!###
###Main Algorithim Generator###
def Generator():
WordBank = "gjeiru"
time.sleep(1)
print("Generating combinations...")
time.sleep(2)
Stage1 = False
Stage2 = False
Stage3 = False
while Stage1 == False:
FKey1 = random.randint(0,7)
SKey1 = random.randint(0,7)
if FKey1 + SKey1 == 7:
print("Stage1 generated suitable intigers")
x1 = True
break
while Stage2 == False:
FKey2 = random.randint(0,3)
SKey2 = random.randint(0,3)
if FKey2 + SKey2 == 3:
print("Stage2 generated suitable intigers")
x2 = True
break
while Stage3 == False:
FKey3 = random.randint(0,15)
SKey3 = random.randint(0,15)
if FKey3 + SKey3 == 15:
print("Stage3 generated suitable intigers")
x3 = True
break
if x1 == True and x2 == True and x3 == True:
Combo = "ZiltarkytmQetra"
print("First combination generated succesfully:")
Key = FKey1,SKey1,FKey2,SKey2,FKey3,SKey3
time.sleep(1)
y1 = FKey3
y2 = SKey3
y3 = FKey2 + SKey2
Key = Combo[y1],FKey1,Combo[y3],SKey1,FKey2,SKey2,FKey3,Combo[y2],SKey3
print("The final key is now written below:")
Key = str(Key)
print(Key)
print("Writing Key to KEYS.txt...")
F = open("KEYS.txt","a")
F.writelines("" + Key +"\n")
F.close()
print("Key written! generating new key.")
###Main Algorithim Generator###
###Prompts User to Ask for a Number of Keys###
def DemandKeys():
try:
KeyRequest = raw_input("How many keys should be generated? These will be stored in the same \n"
"directory in a seperate .txt file called KEYS\n")
KeyRequest = int(KeyRequest)
while KeyRequest != 0:
Generator()
except ValueError:
print("You did not enter an intiger. The program will now reboot from scratch.\n")
DemandKeys()
###Prompts User to Ask for a Number of Keys###
###Starting User Prompt. Initiates Program###
UP = raw_input(str("Begin generating keys? y/n?\n"))
if UP == "y" or UP == "Y":
DemandKeys()
else:
print("Ok then, closing the program")
time.sleep(2)
###Starting User Prompt. Initiates Program###
^ Meant to stop noobs pirating a friends game. I haven't written a script to decipher any keys generated by it, so at the moment, it remains undecipherable. A video demonstration of my 3 hours labour, with
incredibly unfitting music and poor quality:
[youtube]http://www.youtube.com/watch?v=VguZZFiSLv8[/youtube]
Perhaps the bad video can be forgiven by the good intention of the script, preventing piracy? This is really the groundwork of my final keygen. It is somewhat easy to decipher and bypass at the moment and the keys can be dangerously similar in the .txt file lol...
Why not share you magical stuff here? Simple programs like mine. So people can use them and we can all learn more
.