User blog:Andibad/Names system?

yay you try to collect all automatic names right? but not success to finding the "pattern" i just share this since i just bored now =P

Example : Nature dragon (id:1000, type:"p")

let's create some variable to it. like c, d,b as var.

c define as array but filled by null

d define as int 0;b define name[id];

if we assumptions the number of name of dragon is 200 or less or more. since b[1000], is was out of range, so it will null ("").

if is not null, system will not generate the name for your dragon, and it will crash, and detected as cheater =P.

back to variable c. since nature dragon is only have 1 type is "p" so is only have 1 entrie on that variable. another word length of c is 1. let's define again variable d : floor(random*(length of c+1)).since c is 1 so floor(random*2). is can be 0, 1, or 2. if d>=c ,it will used random dictonary of name.

example like this : Formula(s) : floor(random*49) (remember is just example, system can used ""any" dictionary" but not used "specific "main type" dictionary", new type is not on main type) :
 * 1) [0]="Quinlan"
 * 2) [1]="Happy"
 * 3) [2]="Keiko"
 * 4) [3]="Bunny"
 * 5) [4]="Finn"
 * 6) [5]="Kasia"
 * 7) [6]="Ali"
 * 8) [7]="Ludo"
 * 9) [8]="Horacio"
 * 10) [9]="Andres"
 * 11) [10]="Julian"
 * 12) [11]="Ancor"
 * 13) [12]="Ruben"
 * 14) [13]="Yeray"
 * 15) [14]="Isaac"
 * 16) [15]="Santi"
 * 17) [16]="Gaspy"
 * 18) [17]="Nere"
 * 19) [18]="Bart"
 * 20) [19]="David"
 * 21) [20]="Hansu"
 * 22) [21]="Sunny"
 * 23) [22]="Lex"
 * 24) [23]="Nosey"
 * 25) [24]="Rusty"
 * 26) [25]="Chuckles"
 * 27) [26]="Spiky"
 * 28) [27]="Dave"
 * 29) [28]="Milly"
 * 30) [29]="Sassi"
 * 31) [30]="Izzy"
 * 32) [31]="Bugsy"
 * 33) [32]="Bruno"
 * 34) [33]="Bugsy"
 * 35) [34]="Beavis"
 * 36) [35]="Bobo"
 * 37) [36]="Alvin"
 * 38) [37]="Dino"
 * 39) [38]="Daffy"
 * 40) [39]="Cedric"
 * 41) [40]="Gaston"
 * 42) [41]="Felix"
 * 43) [42]="Frans"
 * 44) [43]="Nibbles"
 * 45) [44]="Rupert"
 * 46) [45]="Pebbles"
 * 47) [46]="Sparky"
 * 48) [47]="Wilbur"
 * 49) [48]="Boo"

^actually this list used on new type called light type, ..., ... .

or based of type (is based of d);
 * 1) [0]="Bink"
 * 2) [1]="Spooks"
 * 3) [2]="Fuffy"
 * 4) [3]="Bud"
 * 5) [4]="Pomona"

another : poo dragon

is have 3 : dark, terra, and sea

possibility system will used :

dark : sea : Terra :
 * 1) [0]="Lobo"
 * 2) [1]="Chifi"
 * 3) [2]="Rocko"
 * 4) [3]="Dor"
 * 5) [4]="Severin"
 * 1) [0]="Pooky"
 * 2) [1]="Emery"
 * 3) [2]="Rollo"
 * 4) [3]="Erie"
 * 5) [4]="Frosty"
 * 1) [0]="Xili"
 * 2) [1]="Rodney"
 * 3) [2]="Scooter"
 * 4) [3]="Nessie"
 * 5) [4]="Luz"

system will randomly picked the name. random number is used float variable since is used floor.

some dragon id is have special name is not found on another dragon id. and some is used special dictonary. so i think you will need a lot time to find the pattern :v, since it will repeat randomly :)

That all =P

and don't claim this by your work. just give the link to this page. not using a screenshot to prove that from this wiki, is too overreaction :p.