Developers

Unreal Software Connect

Unreal Software Connect allows external services and websites to detect if a user is the owner of a certain UnrealSoftware.de account.

Usage

  • Step 1: Get the nick

    Let the user enter their UnrealSoftware.de username
  • Step 2: Open Link

    Let the user open the following link
    http://www.unrealsoftware.de/connect.php?setkey=RANDOM
    RANDOM should be a random value (String) that you can define yourself. Maximum length is 255 characters. Random numbers or timestamps are advisable. The user has to be logged in at UnrealSoftware.de to open that link. The connect value of the user account will then be set to the given value.
  • Step 3: Check membership

    Afterwards open the following link internally
    http://www.unrealsoftware.de/connect.php?keyof=USERNAME&iskey=RANDOM
    USERNAME is the name which has been entered in step 1. RANDOM has to be the same value as in step 2.
    The script returns 1 if the account has the return value RANDOM. This means, that the account actually belongs to your user. Otherwise it returns 0. You can also use keyofid=USERID instead of keyof=USERNAME if you want to work with the ID instead.

Please note: Step 3 resets the connect value. So step 3 can only return 1 once. Moreover usernames may contain special characters. You should use the function urlencode() when using PHP or a comparable function in other languages! Moreover you can use the script to get the name or ID of a user.

Get name by ID:

http://www.unrealsoftware.de/connect.php?getname=USERID

Get ID by name:

http://www.unrealsoftware.de/connect.php?getid=USERNAME

Unreal Software User List

A list with all users in a pure text format is available at
http://www.unrealsoftware.de/users.php?raw&s=STARTOFFSET&c=COUNT
with STARTOFFSET as offset value (start at user X with 0 for the first) and the amount COUNT.
Returns one line per user with the structure: ID,NAME.