Extending number of players

Mass Effect 3 Private Server Emulator is a replacement for the Origin/Blaze backend that handles the online component of Mass Effect 3.

Moderator: PSE Developer

User avatar
Mgamerz
Site Admin
Posts: 571
Joined: Wed Jan 06, 2016 1:13 am

Re: Extending number of players

Post by Mgamerz »

Ha-ha, you are right. For all the massive things I've done with coalesced over the years its a pretty big fail for me to forget that. I'll test it out tonight. If it works you are a godsend, I have wanted to disable balance changes since the first time I modded this game.

Sucks that I removed all those variables from modmaker though... Should have just left them in...
User avatar
Mgamerz
Site Admin
Posts: 571
Joined: Wed Jan 06, 2016 1:13 am

Re: Extending number of players

Post by Mgamerz »

It works! My dream of disabling balance changes is finally achieved! :D Thank you so much <3 Edit: Players cannot join because of version mismatch, even though I added the engine texts to PATCH2... maybe if I make it a DLC mod?

Still will look into player count... but so many new possibilities...
User avatar
Mgamerz
Site Admin
Posts: 571
Joined: Wed Jan 06, 2016 1:13 am

Re: Extending number of players

Post by Mgamerz »

So I downloaded your PSE from dropbox as linked in the FAQ. I used your ME3Server_WV that you provided here. I'm trying to do a MITM on public servers and inspect teh response packet, but I'm not sure what teh configuration for this is. I have redirection enabled, and MITM mode on, and I set lobby capacity to 6. However I can't connect to EA servers, and I'm using your ASI binkw32 which has the cert check removed.

Log I got was this:

Code: Select all

2016.02.06 17:16:23 [Telemetry Listener] Starting...
2016.02.06 17:16:23 [Http Listener] Starting...
2016.02.06 17:16:23 [Main Server] Starting...
2016.02.06 17:16:23 [Redirector] Starting...
2016.02.06 17:16:23 [Tick Listener] Started listening on 192.168.1.22:8999
2016.02.06 17:16:23 [Telemetry Listener] Started listening on 192.168.1.22:9988
2016.02.06 17:16:23 [Http Listener] Started listening on 192.168.1.22:80
2016.02.06 17:16:23 [Main Server] Started listening on 192.168.1.22:14219
2016.02.06 17:16:23 [Redirector] Started listening on 192.168.1.22:42127
2016.02.06 17:19:01 Player capacity set to: 6
2016.02.06 17:19:34 MITM mode = True
2016.02.06 17:20:32 [Redirector] New client connected
2016.02.06 17:20:33 [Redirector Handler 0] Client handler started
2016.02.06 17:20:33 [Redirector Handler 0] Send redirection to client => 192.168.1.22:57170
2016.02.06 17:20:33 [Main Server] New client connected
2016.02.06 17:20:33 [Main Server Handler 0] Client handler started
2016.02.06 17:20:33 [Main Server Handler 0] Connected to target
2016.02.06 17:20:33 [Main Server Handler 0] Established SSL
2016.02.06 17:20:33 [Main Server Handler 0] Authenticated as client
2016.02.06 17:20:33 [Main Server Handler 0] Received request data, len = 237
2016.02.06 17:20:33 [Main Server Handler 0] Received response data, len = 534
2016.02.06 17:20:33 [Main Server Handler 0] Received request data, len = 12
2016.02.06 17:20:34 [Main Server Handler 0] Received response data, len = 21
2016.02.06 17:20:34 [Main Server Handler 0] Received request data, len = 26
2016.02.06 17:20:34 [Main Server Handler 0] Received response data, len = 1113
2016.02.06 17:20:34 [Main Server Handler 0] Received request data, len = 25
2016.02.06 17:20:34 [Main Server Handler 0] Received response data, len = 1121
2016.02.06 17:20:34 [Main Server Handler 0] Received request data, len = 25
2016.02.06 17:20:35 [Main Server Handler 0] Received response data, len = 16405
2016.02.06 17:20:35 [Main Server Handler 0] Received request data, len = 26
2016.02.06 17:20:48 [Redirector] New client connected
2016.02.06 17:20:49 [Redirector Handler 1] Client handler started
2016.02.06 17:20:49 [Redirector Handler 1] Send redirection to client => 192.168.1.22:57179
2016.02.06 17:20:49 [Main Server] New client connected
2016.02.06 17:20:49 [Main Server Handler 1] Client handler started
2016.02.06 17:20:49 [Main Server Handler 1] Connected to target
2016.02.06 17:20:49 [Main Server Handler 1] Established SSL
2016.02.06 17:20:49 [Main Server Handler 1] Authenticated as client
2016.02.06 17:20:49 [Main Server Handler 1] Received request data, len = 237
2016.02.06 17:20:49 [Main Server Handler 1] Received response data, len = 534
2016.02.06 17:20:49 [Main Server Handler 1] Received request data, len = 12
2016.02.06 17:20:50 [Main Server Handler 1] Received response data, len = 21
2016.02.06 17:20:50 [Main Server Handler 1] Received request data, len = 26
2016.02.06 17:20:50 [Main Server Handler 1] Received response data, len = 1113
2016.02.06 17:20:50 [Main Server Handler 1] Received request data, len = 25
2016.02.06 17:20:50 [Main Server Handler 1] Received response data, len = 1121
2016.02.06 17:20:50 [Main Server Handler 1] Received request data, len = 25
2016.02.06 17:20:51 [Main Server Handler 1] Received response data, len = 16405
2016.02.06 17:20:51 [Main Server Handler 1] Error:
Exception: Unknown Tdf Type: 128
@:4
Game started up really fast and did not seem to connect to EA at all.


Edit: here's another log, with full verbosity:

Code: Select all

2016.02.06 17:28:49 Loading Config...
2016.02.06 17:28:49  Log Level = 0
2016.02.06 17:28:49  NAT Type = 4
2016.02.06 17:28:49  Time Out Limit = 60000ms
2016.02.06 17:28:49  Read/Write Time Out Limit = 100ms
2016.02.06 17:28:49  Bind IP = 192.168.1.22
2016.02.06 17:28:49  Redirect IP = 192.168.1.22
2016.02.06 17:28:49  MITM Target IP = 92.52.77.245
2016.02.06 17:28:49  Live BINI = conf\ME3BINI.bin
2016.02.06 17:28:49  Live TLK = conf\ME3TLK.tlk
2016.02.06 17:28:49 Configuration loaded
2016.02.06 17:28:49 [Tick Listener] Starting...
2016.02.06 17:28:49 [Telemetry Listener] Starting...
2016.02.06 17:28:49 [Http Listener] Starting...
2016.02.06 17:28:49 [Main Server] Starting...
2016.02.06 17:28:49 [Redirector] Starting...
2016.02.06 17:28:49 [Tick Listener] Started listening on 192.168.1.22:8999
2016.02.06 17:28:49 [Telemetry Listener] Started listening on 192.168.1.22:9988
2016.02.06 17:28:49 [Http Listener] Started listening on 192.168.1.22:80
2016.02.06 17:28:49 [Redirector] Started listening on 192.168.1.22:42127
2016.02.06 17:28:49 [Main Server] Started listening on 192.168.1.22:14219
2016.02.06 17:29:05 Player capacity set to: 6
2016.02.06 17:29:12 MITM mode = True
2016.02.06 17:29:23 Log Level Changed to : 5
2016.02.06 17:31:09 [Redirector] New client connected
2016.02.06 17:31:09 [Redirector Handler 0] Client handler started
2016.02.06 17:31:09 [Redirector Handler 0] Send redirection to client => 192.168.1.22:57319
2016.02.06 17:31:09 [Main Server] New client connected
2016.02.06 17:31:09 [Main Server Handler 0] Client handler started
2016.02.06 17:31:09 [Main Server Handler 0] Connected to target
2016.02.06 17:31:09 [Main Server Handler 0] Established SSL
2016.02.06 17:31:09 [Main Server Handler 0] Authenticated as client
2016.02.06 17:31:09 [Main Server Handler 0] Received request data, len = 237
2016.02.06 17:31:09 [<-][INFO] Util Component : preAuth
2016.02.06 17:31:09 [<-][INFO]  CDAT : 3
2016.02.06 17:31:09 [<-][INFO]  CINF : 3
2016.02.06 17:31:09 [<-][INFO]  FCCR : 3
2016.02.06 17:31:10 [Main Server Handler 0] Received response data, len = 534
2016.02.06 17:31:10 [->][INFO] Util Component : preAuth
2016.02.06 17:31:10 [->][INFO]  ANON : 0
2016.02.06 17:31:10 [->][INFO]  ASRC : 1
2016.02.06 17:31:10 [->][INFO]  CIDS : 4
2016.02.06 17:31:10 [->][INFO]  CNGN : 1
2016.02.06 17:31:10 [->][INFO]  CONF : 3
2016.02.06 17:31:10 [->][INFO]  INST : 1
2016.02.06 17:31:10 [->][INFO]  MINR : 0
2016.02.06 17:31:10 [->][INFO]  NASP : 1
2016.02.06 17:31:10 [->][INFO]  PILD : 1
2016.02.06 17:31:10 [->][INFO]  PLAT : 1
2016.02.06 17:31:10 [->][INFO]  PTAG : 1
2016.02.06 17:31:10 [->][INFO]  QOSS : 3
2016.02.06 17:31:10 [->][INFO]  RSRC : 1
2016.02.06 17:31:10 [->][INFO]  SVER : 1
2016.02.06 17:31:10 [Main Server Handler 0] Received request data, len = 12
2016.02.06 17:31:10 [<-][INFO] Util Component : ping
2016.02.06 17:31:10 [Main Server Handler 0] Received response data, len = 21
2016.02.06 17:31:10 [->][INFO] Util Component : ping
2016.02.06 17:31:10 [->][INFO]  STIM : 0
2016.02.06 17:31:10 [Main Server Handler 0] Received request data, len = 26
2016.02.06 17:31:10 [<-][INFO] Util Component : fetchClientConfig
2016.02.06 17:31:10 [<-][INFO]  CFID : 1 "ME3_DATA"
2016.02.06 17:31:10 [Main Server Handler 0] Received response data, len = 1113
2016.02.06 17:31:10 [->][INFO] Util Component : fetchClientConfig
2016.02.06 17:31:10 [->][INFO]  CONF : 5
2016.02.06 17:31:10 [Main Server Handler 0] Received request data, len = 25
2016.02.06 17:31:10 [<-][INFO] Util Component : fetchClientConfig
2016.02.06 17:31:10 [<-][INFO]  CFID : 1 "ME3_MSG"
2016.02.06 17:31:10 [Main Server Handler 0] Received response data, len = 1121
2016.02.06 17:31:10 [->][INFO] Util Component : fetchClientConfig
2016.02.06 17:31:10 [->][INFO]  CONF : 5
2016.02.06 17:31:10 [Main Server Handler 0] Received request data, len = 25
2016.02.06 17:31:10 [<-][INFO] Util Component : fetchClientConfig
2016.02.06 17:31:10 [<-][INFO]  CFID : 1 "ME3_ENT"
2016.02.06 17:31:11 [Main Server Handler 0] Received response data, len = 16405
2016.02.06 17:31:11 [->][INFO]  : B459
2016.02.06 17:31:11 [Main Server Handler 0] Error:
Exception: Unknown Tdf Type: 37
@:4
User avatar
Erik JS
Posts: 110
Joined: Sun Jan 10, 2016 8:03 pm
Location: Brazil

Re: Extending number of players

Post by Erik JS »

conf\conf.txt -> RWTimeout. It's 100 by default, you'll have to use some higher number. Use "ping 92.52.77.245" and see what average time you get, then use any number a little higher than that (Example: you get 222ms, use 250). I included this on the FAQ now.
User avatar
Mgamerz
Site Admin
Posts: 571
Joined: Wed Jan 06, 2016 1:13 am

Re: Extending number of players

Post by Mgamerz »

Okay. Will update this post when I work on it today.

Edit: PCAP returned 6 on a private lobby. Haven't seen what affect this has on origin when the lobby is "full" at 4.
User avatar
Mgamerz
Site Admin
Posts: 571
Joined: Wed Jan 06, 2016 1:13 am

Re: Extending number of players

Post by Mgamerz »

Tests, all in MITM mode on blaze servers
So far I have only tested with myself.

PRIVATE LOBBY CREATE: Set player count to 0 => a network error occured. OK
PRIVATE LOBbY CREATE: Set player count to 1 => Joined. Other origin users think my game is full, they cannot click "Join game". This is a good sign. OK
PUBLIC LOBBY CREATE: Set player count to 1 => Joined. Been sitting here for about 10 minutes, nobody has shown up. OK

So far its looking pretty good. I have noticed that loading screens take significantly longer but that's not really a big deal to me. MITM doesn't capture between-players comms does it? Today when more of my friends list is online I will test this.

Edit: Lost connection to ME3 just idling... Wish there as a patch to disable this server ping. I know there is a packet that comes in "suspenduserping".
User avatar
Erik JS
Posts: 110
Joined: Sun Jan 10, 2016 8:03 pm
Location: Brazil

Re: Extending number of players

Post by Erik JS »

Mgamerz wrote: MITM doesn't capture between-players comms does it?
No. By default, ME3 uses port 3659 in order to communicate with other instances of the game running on remote machines. If that port is already being used when you enter the main menu, the game will use a random free one. Each client report its "client-to-client" port to the server. Server only tells one client about other client's port - this is not "settable" by the server because it has no way to know which ports are free on a client's machine. There's an entry in bioengine where this port is defined (and I still haven't tested it lol).
Mgamerz wrote: Edit: Lost connection to ME3 just idling... Wish there as a patch to disable this server ping. I know there is a packet that comes in "suspenduserping".
This is already in my "to-do" list. :P
User avatar
Mgamerz
Site Admin
Posts: 571
Joined: Wed Jan 06, 2016 1:13 am

Re: Extending number of players

Post by Mgamerz »

If you have this game on origin, you should add me on it and we can test stuff. Username is Mgamerz.
User avatar
Erik JS
Posts: 110
Joined: Sun Jan 10, 2016 8:03 pm
Location: Brazil

Re: Extending number of players

Post by Erik JS »

I happen to have this game on Origin...
Post Reply