Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

Nysha's New Creators for March - posted on 1st Apr 2018 at 9:00 AM
Quick Reply
Search this Thread
Replies: 3 (Who?), Viewed: 630 times.
Forum Resident
Original Poster
#1 Old 15th Apr 2018 at 10:54 PM Last edited by simmythesim : 17th Apr 2018 at 6:48 PM.
Default TS4 Multiplayer Testing
Hey folks! It's happening!

Discord here: https://www.reddit.com/r/TS4Multipl...cord_is_now_up/

In case you aren't aware... TS4 Multiplayer's code is now available on github for anybody to download, modify, whatever!

Here's a demo video in case you were wondering what the heck's this about: Multiplayer Demonstration

I'm planning to target Early May for the first pre-alpha release, if everything goes well, that is.

Until then... if you really want to test it right now, head over to github, clone the repository, and place it in your mods folder! Github Repository

Detailed install instructions as follows. The current install process is very user-unfriendly at the moment. Major changes will be made the following weeks till first release, which will make the user installation process a lot easier. I also plan to add instructions for setting up your own server!

When you're ready to play online, and before you launch the game...

Move the Scripts folder into a folder named "Heuristics" into your mods folder.
Copy the "Simmy-Multiplayer-Chat.package" to the base mods folder.
Edit the user_directory variable in the config.py file to point to the Scripts folder you created earlier.
Create a "client" file with no extension in the Scripts folder
Edit the host and port variables in the Client class in the multiplayer_client.py file to whatever the person hosting the server (me, in this case) tells you to put there.
Load the lot the person hosting the server tells you to.
Enjoy!

Things you CANNOT do at the moment:
Build Walls, Foundations, Roofs, whatever. (This is a WIP)
Buy furniture on the client (you can on the server though)
Pause the game (I haven't gotten around to adding this yet)
Only two people can play the same game at the same time (Will be increased soon)
Edit sims in-game through the mirror or wardrobe

Things you CAN do at the moment:
Chat with other players
See what other players are doing.
Select interactions
Travel to different lots
Change the speed of the game
Play on different networks, not just on WiFi

Bugs at the moment:
The server can be attacked by arbitrary code execution. I haven't protected against this yet, so this is why I'm the only server for now.
The game won't shut down with Exit Game, you have to force exit it using the task manager

If you want to join me in testing this mod, post here. Again, only one other person can join you in multiplayer at the moment, which will be increased soon.
If I select you for testing the mod, I suggest having your saves moved somewhere else, as multiplayer requires you to have the same save game on both machines.
I suggest you schedule when to test it, as it requires two people (me, and you), to be playing at the same time.

Don't put the mod into your mods folder until it's time to test! Or else, the game will not load as there's no server to connect to.

When the test is done, I suggest moving the Heuristics folder out of your mods folder, as it will always attempt to connect to a server, so if no one's server is active, it'll just hang on loading a lot forever.

Discord here again: https://www.reddit.com/r/TS4Multipl...cord_is_now_up/
More updates can be viewed at the TS4Multiplayer subreddit. View it here! https://www.reddit.com/r/TS4Multiplayer/
Advertisement
Test Subject
#2 Old 16th Apr 2018 at 5:27 AM
This is really great! Definitely want to test this, although one question. Is this an installation instruction for the client only?
Forum Resident
Original Poster
#3 Old 16th Apr 2018 at 8:09 AM
I've posted this on the reddit thread, but I'll also post it here.

At the moment, the mod can support creating servers, but I intentionally didn't include instructions for them because the server will happily execute any code the client sends to it.

So if somebody modifies the client to send malicious code to execute on the server, the person who's hosting the server will get screwed, basically.

Which is why at the moment, there's only install instructions for the client. I wanted to test the multiplayer functionality without exposing the testers to a massive security risk.

So, as soon as I can safeguard against arbitrary code execution on the server, I'll add some install instructions for the server, too.
Forum Resident
Original Poster
#4 Old 16th Apr 2018 at 8:04 PM
OnlyAbidoang tested the mod with me!

Here's a video of the session. https://youtu.be/dUH_1CfjWHo
Back to top