multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.38k stars 424 forks source link

mtasa:// protocol not working #3629

Closed Xenius97 closed 1 month ago

Xenius97 commented 1 month ago

Describe the bug

MTA SA protocol is broken when you try to connect while MTA is already started.

connection: Connecting to 127.0.0.1:22003...
connection: Unable to connect to mtasa://127.0.0.1:22003/:22003!
connection: Connecting to 127.0.0.1:22003...
connection: Unable to connect to mtasa://127.0.0.1:22003/:22003!
connection: Connecting to 127.0.0.1:22003...
connection: Unable to connect to mtasa://127.0.0.1:22003/:22003!
connection: Connecting to 127.0.0.1:22003...
connection: Unable to connect to mtasa://127.0.0.1:22003/:22003!

Steps to reproduce

Start the game Open in browser via your IP: mtasa://127.0.0.1:22003

Version

Multi Theft Auto v1.6-release-22650

Additional context

No response

Relevant log output

No response

Security Policy

Xenius97 commented 1 month ago

22634 works fine, maybe https://github.com/multitheftauto/mtasa-blue/commit/98837049b0f7ede95b0e1c7e78382444c2c64944 ?

botder commented 1 month ago

Issue introduced in b2cf02943924c4972d2a695cdbfd7c9873fc3cbb