Creating your own WLM '09 server the updated way

This is the long awaited update to reesehan_schavinchi1’s local server creation guide.
While it’ll be mostly similar, broken/old steps were fixed/updated to work normally with the master branch.


As stated in the original post, this tutorial is for Windows ONLY. Running it on Linux/MSYS2 is not possible at the time of posting.

What you’ll need:

Download and install Python ( http://www.python.org/) If you’re using 3.7+ you’ll need to replace funcli.py to prevent the GenericMeta error(funcli.py.rar (2.1 KB) , located at C:\Users\username\AppData\Local\Programs\Python\Python37-32\Lib\site-packages).
After installing it, install Visual C++ Build Tools to fix the HLL error and install all modules properly. Also install Git for Windows if you get stuck at requirement installation, as stated above.

Then download the local server’s master branch, located at https://gitlab.com/valtron/msn-server/tree/master. Download it as a zip and extract its contents to somewhere, preferrably Documents.

image

Now you’ll need to add a system variable. Navigate to Control Panel/System and Security/System/Advanced system options and add a system variable named PYTHONPATH. Set its value to the local server folder’s current path.

image

And it’s Python time. Navigate to the local server folder and select “Git bash here” from the right click menu if you’re using Git, otherwise CD to the folder using the command prompt. Run python -m pip install -r requirements.txt to install all server dependencies. Then run python -m pip install pycryptodome to install pycryptodome.

You’ll also need to add a settings_local.py with the following contents:

DEBUG = True
DEBUG_MSNP = True
DEBUG_HTTP_REQUEST = True

Now run python script/dbcreate.py to create user databases. If you get an error for the db module missing, install it. Next run python script/dummydata.py . If the script hangs for more than 10 seconds, send interrupt (Ctrl+C).

Then run python script/user.py emailhere@service.com to create a user. After you run the command, insert the password needed for the user. You can repeat this command to add as many users if you want to run multiple WLM processes and talk to yourself (You’ll need MSN Polygamy).

Now you’re done with the Python stuff. Install the WLM 2009 (http://messenger.jonathankay.com/redir/w3rc/wlm.asp ) and Windows Live Communications Platform (http://messenger.jonathankay.com/redir/w3rc/contacts.asp ) packages and install them. Quit WLM for now.

Then go into the HOSTS file (located in C:\Windows\System32\drivers\etc) and add these lines:

127.0.0.1 m1.escargot.log1p.xyz
127.0.0.1 messenger.hotmail.com
127.0.0.1 login.live.com
127.0.0.1 gateway.messenger.hotmail.com
127.0.0.1 byrdr.omega.contacts.msn.com
127.0.0.1 config.messenger.msn.com
127.0.0.1 tkrdr.storage.msn.com
127.0.0.1 ows.messenger.msn.com
127.0.0.1 rsi.hotmail.co

Remember that if you want to use any official Microsoft service after testing the server you’ll want to add a hastag to the beginning of 127.0.0.1 login.live.com to disable it.
Save your changes to HOSTS and close it.

You can now run python dev through command line to run the server. Once you run it the first time it will generate a certificate. Install it to the Trusted Root Certificate Authority as shown here:


After you install it, run the command again and the server should start running.
If it gives errors out instead, make sure to check for any running VMWare/Virtualbox networking processes and terminate them. Then it will run.

Start WLM '09 and attempt to log in using any of the accounts you created. If you managed to log in with no issues, your server works!

Also to clarify that port forwarding your server IIRC doesn’t work and only runs on LAN. You can only use another computer, use MSN Polygamy to use multiple WLM windows, or use a tunneling software like Hamachi.

If you have any issues, let me know and make sure the check out the original thread as there’s many useful info there.


Enjoy your long awaited update!

6 Likes

when i try to run dbcreate.py it gives me an error that says unexpected indent

Did you install the db module? If you haven’t, run python -m pip install db to do so.

i still get the error

1 Like

Seems like you forgot to add your server location to PYTHONPATH.
Change the value of PYTHONPATH to the server folder’s location (example: C:\Users\yourname\Documents\msn-server-master).

i added it to pythonpath

If you do all of this. Why it not work for you? You forgot something?

it’s weird, it worked for me

ok

Soooo. Wheres the download for msn 2009 on this tutorial and the yours? I can download the msn 2009 version final?

read bro
"Now you’re done with the Python stuff. Install the WLM 2009 (http://messenger.jonathankay.com/redir/w3rc/wlm.asp ) and Windows Live Communications Platform (http://messenger.jonathankay.com/redir/w3rc/contacts.asp ) packages and install them. Quit WLM for now."

3 Likes

But… I want to know wheres the link. What’s the version i should use?

i cant do new users, when i type " python script/user.py emailhere@service.com " like " python script/user.py rony@service.com" he just stuck there and dont ask me for password, how slove this problem ??

So. I’m so sorry if i’m asking again. But no one asks what version i will use for msn 2009. If i would use the final or other. Because i have no idea what version to use. And no one gives the link… So give me a link to version i would for patching the msn 2009 or what version to use.

Any version can run i think, i don’t remember the one i used for making mine in 2018

1 Like

Thanks.

You can use any final version of 09 with the server, but I’m not sure about the beta versions.

Thanks Again :stuck_out_tongue:

can you help me about create accounts ??