Coder Social home page Coder Social logo

modnationserveremu's Introduction

ModnationServerEmu

A server emu for ModNation Racers

BombServer - Emulates the BombProof matchmaking server that is used by the game, this may work with LBPK without modifcation (though untested)

TODO:

  • Connect to directory service
  • Get a list of services to connect to
  • Connect to all the initially required services successfully
  • Request a game list from gamebrowser
  • Attempt to join a game given by gamebrowser
  • Can match up with other players in modspot
  • Online races can be hosted
  • Other services are implemented. For example, stats, playgroup etc

ModnationServer - Emulates the core HTTP server that stores creations and user stats

TODO:

  • Initial connection, get policy
  • Successful login
  • Fetch announcements etc
  • Fetch user creations
  • Implement creation upload, download and searching
  • Time attack ghosts, leaderboards
  • Implement other features, messaging etc

Emulation of the BombProof system is slow because of lack of documentation and packet logs (They're all SSL encrypted). All work so far on the matchmaking server has been done via reverse engineering the game executable (And as such progress on this will be SLOW)

modnationserveremu's People

Contributors

derole1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

modnationserveremu's Issues

Ok so I think Rpcs3 is having issues connecting to the servers

Because every time I have followed the instructions for RPCS3, the servers Connection basically craps itself and dies (not even creation station works on RPCS3’s network and simulating PSN gives an infinite boot loop on connecting)

I don’t know why this happens but if you could look into it then that would be great

Having issues with connecting to BombServer

When the game connects to BombServer hosted on my laptop the server crashes with error System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm
I already tried multiple ways to enable TLS_RSA_WITH_RC4_128_MD5, but none of them seems to work, also it's worth to note that i'm connecting from lbpk and it can connect to your server, so the game itself shouldn't be an issue

As far as I can tell the digital version has 1.11 as the base version with no way to downgrade. The guide could use a note on that since it only says to uninstall DLC and doesn't mention needing 1.0

As far as I can tell the digital version has 1.11 as the base version with no way to downgrade. The guide could use a note on that since it only says to uninstall DLC and doesn't mention needing 1.0

Originally posted by @butterbutts in #3 (comment)

Ok that's fair, I'm moving this to a new issue though, please start a new issue instead of replying to an existing one as this is likely a different issue. Will close this once I update the readme.

Cert Issue (High Priority!)

Im the owner of the second biggest custom lbp server Infinite, and we're about to launch lbpk support, the deadline is very soon, we need to set up bombd for it though, i tried it before on a different vs that didnt have the tls and there this error didnt pop up, we need to fix this error somehow, i think its the last obstacle, its on windows 2016 and it seems to be a cert issue, do you guys have any idea how to fix it? I know that windows 1909 also has support for that tls but its hard to find a vps with a lifetime option and iso support, im pretty sure it works on 2016. Do you guys know smth about this issue? Shanzenos said multiple ppl had that already.
image

Build Instructions

Build/Launch Instructions.
[ALL CREDIT GOES TO derole1 for their AWESOME & hard work]
Windows 10 only - if you don't understand how to port forward, modify firewalls, run custom DNS, don't even bother continuing.

  1. Download a copy of this github repository as a zip, unzip somewhere
  2. Download and install Visual Studio 2022 Community Edition (Choose the .Net Desktop Development).
  3. Find, download and install Win64OpenSSL_Light-3_0_0.msi, when prompted install to the system folder
  4. Go to you unzipped folder, open ModnationServerEmu.sln
  5. When it asks to update the project to .Net 4.8, let it.
  6. Expand Bombserber > Src and open (double click on) Program.cs
  7. Change the IP addresses to match the system the compiled binary will run on.
  8. Go to Tools menu > NuGet Package Manager > Manager NuGet Packages for Solution..
  9. Search for Sqlite
  10. Click on "System.Data.SqLite.Core, then on the right select the project files and click install.
  11. Now go to the Build menu and choose Build solution

Running app for first time

  1. Go to the project folder > BombServer > Bin > Debug and run BombServerEmu_MNR.exe (as Administrator)
  2. It should generate a cert, pop up a folder with a "output.pfx" file in it. Copy this file, go back to the Debug folder
  3. Make a new folder called Certs, paste in "output.pfx"
  4. Close the window that was running BombServer

Running BombServer.

  1. Run the BombServerEmu_MNR.exe (as Administrator) again, it should start with a bunch of lines about "Register method" and the last line should say "Started service stats ... "

Running Modnation Server

  1. Go to the project folder > ModnationServer > Bin > Debug and run ModnationServer.exe (as Administrator)
  2. If it works, it will show two lines saying CDNServer and MainServer Started (http://*/

To stop the servers, just close the window.

I have not yet attempted to connect the game to the server or attempted to set up the required DNS entries as i dont know the URL's that i need to redirect as yet. I'll try and update as i know more, if anyone wants to share - that would be great.

It appears there is one DNS call to: modnation.ps3.playstationcloud.com

However internally pointing that to my windows box running the compiled server versions it does not work, but then again i have NO IDEA whether this is a working version of the server software.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.