Source.Python update command

Official Announcements about Source.Python.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Source.Python update command

Postby Ayuto » Sat Apr 21, 2018 12:13 pm

I'm glad to tell you that we have added a new Source.Python command: sp update.

The command automatically updates your Source.Python installation on your server. To finish the update you mostly just need to restart your server. In case there are more steps to do, which only happens if you load Source.Python via autoexec.cfg, instructions are printed to the console/log.

The new command is available with version 647.

If you have any problems or would just like to give feedback, please let us know!
decompile
Senior Member
Posts: 416
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

Re: Source.Python update command

Postby decompile » Sat Apr 21, 2018 1:22 pm

Thats awesome, well done!

For future reference, we just have to write "sp update" to get the latest build? Do we still have to follow the update steps and delete all directories mentioned here: http://wiki.sourcepython.com/general/updating.html
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Source.Python update command

Postby Ayuto » Sat Apr 21, 2018 1:50 pm

No, you only need to enter sp update and then follow the instructions printed to the console/log, which is mostly just a restart.

The wiki page already has been updated:
http://wiki.sourcepython.com/general/up ... omatically

If it still shows the the old page press CTRL + F5 to clear the cache and reload the page.
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

Re: Source.Python update command

Postby Painkiller » Sat Aug 18, 2018 2:01 pm

Very Nice
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Re: Source.Python update command

Postby velocity » Sun Oct 21, 2018 12:31 pm

If I do not set starting parameter -nowatchdog the server crashes when I do rcon command with SP Update (WARNING: Watchdog timer exceeded, aborting! ERROR) this is in CS:GO Linux
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Source.Python update command

Postby Ayuto » Sun Oct 21, 2018 2:58 pm

Please set the logging to the highest setting in core_settings.ini. Then please try again and send the console log. Also, please post the output of sp info.
User avatar
velocity
Senior Member
Posts: 220
Joined: Sat May 10, 2014 6:17 pm

Re: Source.Python update command

Postby velocity » Mon Oct 22, 2018 11:43 am

Hey, I already updated source-python, I will gladly do these things but I got it to update. I can do it next commit I guess?

Syntax: Select all

--------------------------------------------------------
Checksum : d44d8d16dc31d29aebe7e0c3342d2716
Date : 2018-10-22 11:45:01.999846
OS : Linux-4.15.0-36-generic-x86_64-with-debian-buster-sid
Game : csgo
SP version : 667
Github commit : 4b4d6a886456e7f59793af7ca0a9d2f098683b78
Server plugins:
00: Source.Python, (C) 2012-2018, Source.Python Team.
01: Metamod:Source 1.10.7-dev
SP plugins:
--------------------------------------------------------
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Source.Python update command

Postby Ayuto » Mon Oct 22, 2018 4:00 pm

You can spoof SP by changing the value of the VERSION constant in this file:
https://github.com/Source-Python-Dev-Te ... version.py

You can either set it to None or to a lower value. Then restart your server.

Return to “News & Announcements”

Who is online

Users browsing this forum: No registered users and 9 guests