Page 1 of 2

Fault -1000: 'User unknown

Posted: 11 Jul 2020, 18:13
by o0Julia0o
I am getting this error at the start of the pyplanet-server: Fault -1000: 'User unknown

Is this occuring because of this section in the base.py:

Code: Select all

# Dedicated configuration holds the different dedicated servers that the instances will run on including the names of
# the instances.
DEDICATED = {
	'default': {
		'HOST': '127.0.0.1',
		'PORT': '5004',
		'USER': 'MYMANIAPLANETUSERNAME',
		'PASSWORD': 'MYMANIAPLANETPASSWORD',
	}
}
How can i solve this?

Re: Fault -1000: 'User unknown

Posted: 11 Jul 2020, 18:19
by Fleckman
You don't enter your name/Pw here but the name of your server and the PW that was generated for you.

Log on to this site to do so:
https://players.trackmania.com/

(and press "manage)

Image

Re: Fault -1000: 'User unknown

Posted: 11 Jul 2020, 18:22
by o0Julia0o
Thank you, Fleckman. So Login and Account-ID(the long number)?

Image

Ah, you edited it. But they don´t work, too. I am getting the same error.

Re: Fault -1000: 'User unknown

Posted: 11 Jul 2020, 18:24
by Fleckman
No, once you create the login a PW will be generated.

Image

Re: Fault -1000: 'User unknown

Posted: 11 Jul 2020, 18:30
by Fleckman
Looked it up on my server and I was wrong, sorry.

You need to enter the Superadmin-Account of the server (set by you in the dedicated_cfg.txt) and its PW!

DEDICATED = {
'default': {
'HOST': '127.0.0.1',
'PORT': '5000',
'USER': 'SuperAdmin',
'PASSWORD': 'blablabla',
}
}

Re: Fault -1000: 'User unknown

Posted: 11 Jul 2020, 18:33
by o0Julia0o
Thx! Yes, the MasterServerAccount from the dedicated_cfg.txt.

So it´s the user from: https://players.trackmania.com/player/server
But not the long id-number, but the password you got from creating the dedicated server on this page.

Now it´s working. Leading into the next error ^^: https://forum.maniaplanet.com/viewtopic ... 26&t=46962

Re: Fault -1000: 'User unknown

Posted: 11 Jul 2020, 19:15
by o0Julia0o
Hmm.. if i add the login-data to the superAdmin-position in the dedicated_cfg.txt, i am getting the "Fault -1000: 'User unknown"-error again:

So at the moment i start the dedicated server with added the login into the SuperAdmin-section i am getting the error:
Image
(I started the dedicated server right after the 4th retry)

part of the dedicated_cfg.txt:
<?xml version="1.0" encoding="utf-8" ?>

<dedicated>
<authorization_levels>
<level>
<name>SuperAdmin</name> -> i can leave that the same or f.e. testname
<password>SuperAdmin</password> -> i can leave that the same or f.e. testword
</level>
<level>
<name>Admin</name>
<password>Admin</password>
</level>
<level>
<name>User</name>
<password>User</password>
</level>
</authorization_levels>

<masterserver_account>
<login></login> -> here i have to fill in the username from here: https://players.trackmania.com/player/server -so the name under login on this picture:
<password></password> -> here i have to fill in the password i got from here: https://ibb.co/09smKyD
</masterserver_account>

Order wrong? First activate virt. env, then goto project(manage.py)

Posted: 12 Jul 2020, 11:23
by o0Julia0o
i am reading this tutorial: https://pypla.net/en/latest/intro/starting.html
Image

If i go(like said in the tutorial) into the directory:
D:\Pyplanet\Project1
i can´t start the activate.bat, because it is in another folder:
D:\Pyplanet\env\Scripts

So i can´t do stop 3 of the tutorial, too. Because the manage.py-file isn´t in the folder:
D:\Pyplanet\env\Scripts

So the order in the tutorial is wrong, i think. Is has to be like this:
1. acitivate the virtual environment:
D:\Pyplanet\evn\Scripts
activate.bat

2. goto your project-folder(where the mange.py is):
cd D:\Pyplanet\Project1

3. Start Pyplanet
python manage.py start

Have I overlooked something or am I correct?

Re: Order wrong? First activate virt. env, then goto project(manage.py)

Posted: 14 Jul 2020, 09:05
by toffe
Both orders are correct, the tutorial executes the activate.bat in the different folder directly.

Re: Fault -1000: 'User unknown

Posted: 14 Jul 2020, 09:06
by toffe
Put the SuperAdmin credentials on top of your dedicated config in the pyplanet dedicated configuration, the account created on the player page should only be filled in the dedicated_cfg.txt, not pyplanet.