Page 3 of 3
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 20:21
by HaagseSmurf
I compared the files with the files we use for our servers.
The difference is that you use in your dedicated.cfg this and we dont:
Code: Select all
<title>TMStadium@nadeo</title> <!-- SMStorm, TMCanyon, ... -->
Instead we have it in our maplist.txt
Compare both, maybe it helps, i am not sure.
Greetz,
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 20:56
by prevonuty
I compared both, and apparently the only thing that changed is that :
Code: Select all
xmlrpc.client.Fault: <Fault -1000: 'No current script.'>
Instead of what I had before :
Code: Select all
xmlrpc.client.Fault: <Fault -1000: 'Not in script mode.'>
I don't know if this is a good sign or not.
Edit : after getting back to what I had before in my dedicated_cfg.txt, I don't have this error anymore :
Code: Select all
xmlrpc.client.Fault: <Fault -1000: 'Not in script mode.'>
But I keep have this one now :
Code: Select all
xmlrpc.client.Fault: <Fault -1000: 'No current script.'>
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 21:32
by reaby
Let me just drop this here, instead of spotting and correcting all the mistakes ...
viewtopic.php?f=261&t=43622
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 21:53
by prevonuty
The thing is that I used your tutorial to make my dedicated server and it works. The problem is not the dedicated server, the problem is PyPlanet right now.
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 22:16
by reaby
well, maybe i need to point... there's this differentials towards default config:
* <client_port> should be 0 (it's at 5000 at your config)
* as well you don't comply with 80k ladder server rules even if you have raised the limit at players page, please revert at 0-50000.
* if you run dedicated at same computer you play game, add 1 to xmlrpc port (so it reads 5001 and correct this as well at pyplanet config)
can you try once again with this corrections ?
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 22:30
by prevonuty
Now I got this :
Code: Select all
DEBUG [Main][pyplanet.core.management.commands.start] Initiated configuration and environment... (debug on, means no error reporting and verbose output
INFO [Main][pyplanet.core.management.commands.start] -------------------------------[ PyPlanet v0.7.4 ]-------------------------------
DEBUG [Main][pyplanet.god.pool] Starting watchdog... watching 1 instances
INFO [MainThread][pyplanet.god.process] Starting pool process for 'default'...
DEBUG [default][asyncio] Using selector: SelectSelector
DEBUG [default][pyplanet.core.gbx.remote] Trying to connect to the dedicated server...
DEBUG [default][pyplanet.core.gbx.remote] Dedicated connection established!
DEBUG [default][pyplanet.core.gbx.remote] GBX: Received response to handler 2147483648, method: None
ERROR [default][pyplanet.core.instance] <Fault -1000: 'Password incorrect.'>
Traceback (most recent call last):
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\site-packages\pyplanet\core\instance.py", line 127, in start
self.loop.run_until_complete(self._start())
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\asyncio\base_events.py", line 568, in run_until_complete
return future.result()
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\site-packages\pyplanet\core\instance.py", line 176, in _start
await self.gbx.connect()
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\site-packages\pyplanet\core\gbx\client.py", line 134, in connect
await super().connect()
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\site-packages\pyplanet\core\gbx\remote.py", line 132, in connect
await self.execute('Authenticate', self.user, self.password)
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\site-packages\pyplanet\core\gbx\remote.py", line 201, in execute
return await asyncio.wait_for(future, timeout)
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\asyncio\tasks.py", line 412, in wait_for
return fut.result()
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\site-packages\pyplanet\core\gbx\remote.py", line 215, in listen
data, method = loads(body, use_builtin_types=True)
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\xmlrpc\client.py", line 1021, in loads
return u.close(), u.getmethodname()
File "C:\Users\alpha\AppData\Local\Programs\Python\Python37\lib\xmlrpc\client.py", line 656, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -1000: 'Password incorrect.'>
INFO [default][root] Apps successfully stopped!
CRITICAL [Main][pyplanet.god.pool] The instance 'default' just died. We will not restart!
CRITICAL [Main][pyplanet.god.pool] All instances died. Quitting now...
Plus I don't understand what I don't comply with with 80k ladder server. I've paid enough planets to have "0-80k LP" on my Player Page, on Maniaplanet.com. Please I would appreciate how to comply with 80k ladder server because I don't get it.
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 22:51
by reaby
Please, read the tutorial again.
It all reads at section 3.1 of the tutorial, please read again as you might get ban if you don't comply the ladder server rules.
if you're not sure about the rules, revert it to 50000.
What comes to your incorrect password issue, you need to fill pyplanet the value shown below (defaults to: SuperAdmin, i doubt empty value will work)
Code: Select all
<dedicated>
<authorization_levels>
<level>
<name>SuperAdmin</name>
<password>USE THE VALUE AT HERE TO PYPLANET</password>
</level>
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 23:19
by prevonuty
First, thanks for the password issue, Pyplanet starts now, thanks again!
Second, I did check and indeed I made some mistakes. Tell me if I misunderstood or not this line "Validation seed, Referee[1]". So i did this :
Code: Select all
<referee_validation_mode>1</referee_validation_mode>
Indeed I haven't read that we must not put password for both players and spectators. So I did correct it. And now I guess that all is good, unless I keep doing something wrong with ladder server but I hope not.
Re: Issue when starting PyPlanet
Posted: 13 Apr 2020, 00:01
by reaby
prevonuty wrote: ↑12 Apr 2020, 23:19
First, thanks for the password issue, Pyplanet starts now, thanks again!
Cool, you got it working finally
prevonuty wrote: ↑12 Apr 2020, 23:19
Second, I did check and indeed I made some mistakes. Tell me if I misunderstood or not this line "Validation seed, Referee[1]". So i did this :
Code: Select all
<referee_validation_mode>1</referee_validation_mode>
This is fine, you may as well wish to enable this setting:
Code: Select all
<use_changing_validation_seed>True</use_changing_validation_seed>
next thing is to have a good time with friends on a brand new server

Re: Issue when starting PyPlanet
Posted: 13 Apr 2020, 00:09
by prevonuty
Okay, I enabled it ! All works really good, thanks you again, together with your tutorial
