Piqueserver 0.1.0 RC1 released! (command system rewrite, 4-8x map download speedup)

Host your own server and communicate with server operators.
3 posts Page 1 of 1 First unread post
notafile
Deuced Up
Posts: 72
Joined: Sat Sep 09, 2017 3:20 pm


NOTE
Since these forums were not online during the first release, which was done on aloha.pk, here is a short summary of what piqueserver is:

Piqueserverver is a fork of pysnip/pyspades aimed at making substatial improvments to the servers we love. We were unsatisfied with the lack of progress on Pysnip and decided to do something about it.

The primary goal of our previous release was making installation and configuration as easy as possible and collecting all the enhancements the community had made. We added support for installing piqueserver on most systems with a single
Code: Select all
pip install piqueserver
, and a number of other small features you can read in the original release post on aloha.

Below is the original release notice, as posted on the aloha.pk forums:

Piqueserver 0.1.0 RC1 RELEASED

After half a year of progress, we are happy to announce the first release candidate of Piqueserver 0.1.0!

We have marked this as a release candidate due to the lack of people available for testing so far. If you want to help us, please try piqueserver and report any bugs!

You can find the release information on Github at: https://github.com/piqueserver/piqueser ... 0.1.0-rc.1

Here is the Summary:

Configuration Enhancements

You can now use the `piqueserver --copy-config` option to copy the default config to your configuration directory.

Scripts can now be loaded from the PYTHONPATH. This enables the installing and updating scripts with a single command, directly from pypi or github. No more abandoned scripts and lost patches! The goal is to make this even simpler next time.

Built-in Version Detection

Piqueserver now supports built-in version detection. It does not currently support enhanced version detection though.

Players can access version detection via the
Code: Select all
/client <username>
command.

Scripters can access version detection via the
Code: Select all
connection.client_info
dictionary.

Support for OpenSpades Popup Messages

OpenSpades supports new popup messages. These can be sent via the following functions:
Code: Select all
connection.send_chat_notice(message)
connection.send_chat_warning(message)
connection.send_chat_error(message)
connection.send_chat_status(message)

protocol.broadcast_chat_notice(message, team=None)
protocol.broadcast_chat_warning(message, team=None)
protocol.broadcast_chat_error(message, team=None)
protocol.broadcast_chat_status(message, team=None)
Command System Rewrite

The commands system has been rewritten from scratch.
This is mainly a thing visible to script authors, but we managed to sneak in a few new features too:
  • commands will now return a helpful error message when used incorrectly. No more "Invalid Command".
  • commands taking player names will now refuse to work if multiple players match. No more accidental kicks of the wrong person.
  • commands now accept "yes", "no", "on", "off" in addition to "0" and "1"
Commands in old scripts will automatically continue working, but will not have all the benefits

The new command interface can be used like this:
Code: Select all
from piqueserver import commands

@commands.command()
def do_thing1(connection):
    do_thing1()

@commands.command("name", "alias", "another_alias", "even_more", "wew", "stop")
def do_thing2(connection):
    do_thing2()
Other Small Things

- 4-8x increase in map download speed
- merge several scripts into the base server (dynfog, bugfix.py, etc.)
- native support for bots
- merge changes from github.com/infogulch/pyspades
- update dependencies
- now uses `pyenet` pypi package
- now uses `ipaddr` pypi package
- various small fixes and improvements
- Lots and lots of internal changes that will make things easier in the future
- Progress on python3 compatibility

your Piqueserver team,

noway, notafile, swalladge, feikname, kmsi
Kuunikal
Deuced Up
Posts: 187
Joined: Sun Mar 13, 2016 8:37 pm


Incredible work!
bloodfox
Post Demon
Post Demon
Posts: 2206
Joined: Mon Oct 21, 2013 4:32 pm


sweeet
3 posts Page 1 of 1 First unread post
Return to “Servers”

Who is online

Users browsing this forum: No registered users and 16 guests