Creating your own WLM '09 server the updated way

This is the long awaited update to reese’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 3.6. Make sure to add Python to PATH during the installation.
After installing Python, install Visual C++ Build Tools to fix the HLL error and install all dependencies properly.

Then download the server’s master branch (located at Files · master · Escargot / Escargot Server · GitLab) as a zip archive 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.

pypath

And it’s Python time. CD to the local server folder using Command Prompt, then run python -m pip install -r requirements.txt to install all server dependencies(If it continuously fails during requirement installation, install Git for Windows and run the commands on Git bash until phyton dev to fix that). Then run python -m pip install pycryptodome to install pycryptodome.

You’ll also need to add settings_local.py in the root of the local server folder.

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, interrupt it(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(the password will stay invisible as you type). 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. Download the Windows Live Messenger 2009 and Windows Live Communications Platform 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 services after testing the server, add a # 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 Prompt(not Git bash) to run the server. A cerfiticate will be generated the first time the command is run (located in .devtls_cache\DO_NOT_TRUST_DevTLS_Escargot.crt).
Install it to the Trusted Root Certification Authorities as shown below:


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

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!

EDIT: Python 3.8 seems to have deprecated funcli.py altogether, thus rendering it incompatible with the local server, and the replacement funcli.py does not work.
If you have anything higher that 3.6, you’ll need to uninstall that and install 3.6 instead to make the local server function.

EDIT 2: WLM ‘09 support is right around the corner now that the server supports MSNP18 and there’s only patching and database migrations left to do, so at this point, it’s just better to wait.

EDITS 3-15: Cleaned up the post and added some updates.

17 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.”

4 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 ??

So no anyone gonna help he?