Bios-Marcel / ServerBrowser

SA-MP Server Browser including some extra functions
Mozilla Public License 2.0
21 stars 8 forks source link

Server password is passed incorrectly #60

Closed Berndwl closed 6 years ago

Berndwl commented 6 years ago

Couldn't connect to a password protected server, samp constantly gave me an invalid password message.

the buildLaunchingArguments has a typo which passes the wrong arg for the server password:

        if (!password.isEmpty()) {
            arguments.add("z");
            arguments.add(password);
        }

should be arguments.add("-z");

as far as I know?

Bios-Marcel commented 6 years ago

you are right, i am retarded ...

Berndwl commented 6 years ago

Happens to the best 😃