EngineProtocol.wiki
changeset 1094 860e2bd4e975
parent 1093 1fa6884340af
child 1095 3e447fab8d32
equal deleted inserted replaced
1093:1fa6884340af 1094:860e2bd4e975
    29 === Message format ===
    29 === Message format ===
    30 ==== Seed ====
    30 ==== Seed ====
    31 In the QT frontend, the seed is a UUID.
    31 In the QT frontend, the seed is a UUID.
    32 The UUID is a 32 bytes array composed of ASCII characters; groups of letters should be separated by '-'. There are standard function calls to automatically generate this string depending on the tools used.
    32 The UUID is a 32 bytes array composed of ASCII characters; groups of letters should be separated by '-'. There are standard function calls to automatically generate this string depending on the tools used.
    33 
    33 
    34 This is however just due to convenience.  UUIDs are not a particularly good source of entropy and any 1-249 character string can be used.  If the string is of the form AAAAAAAAA|BBBBB (2 pipe separated strings) then only AAAAAAAAA will be used for terrain generation while AAAAAAAAA|BBBBB will be used for everything else.  This allows players to use keep a terrain they generated but change the rest of the seed to ensure new positions etc.
    34 This is however just due to convenience.  UUIDs are not a particularly good source of entropy and any 1-249 character string can be used. For example. 人算不如天算 is a valid seed.
       
    35 
       
    36 If the string is of the form AAAAAAAAA|BBBBB (2 pipe separated strings) then only AAAAAAAAA will be used for terrain generation while AAAAAAAAA|BBBBB will be used for everything else.  This allows players to use keep a terrain they generated but change the rest of the seed to ensure new positions etc.
    35 
    37 
    36 Example: _eseed {AERTB-62FASDSAD-NNIASDSADASD-12P}_
    38 Example: _eseed {AERTB-62FASDSAD-NNIASDSADASD-12P}_
    37 
    39 
    38 ==== Template filter ====
    40 ==== Template filter ====
    39 _N_ selects the type of map that is going to be generated. This command is ignored when MapGen is not 0, but it must be set anyways.
    41 _N_ selects the type of map that is going to be generated. This command is ignored when MapGen is not 0, but it must be set anyways.