ropenttd / suds Goto Github PK
View Code? Open in Web Editor NEWAn OpenTTD dedicated server administration plugin for Supybot / Limnoria written in Python. Forked from openttdcoop/soap
License: GNU General Public License v2.0
An OpenTTD dedicated server administration plugin for Supybot / Limnoria written in Python. Forked from openttdcoop/soap
License: GNU General Public License v2.0
It's useful to be able to impose your operator power on players in game, so a simple @ or other mark before the name of the IRC user would be exceptionally useful (see plugin.py:1569 and onwards for placement)
Hey,
I tried looking through the code. Seems like it's not what you use on your servers? Couldn't find any code referring to the "!reset" command, which works with S1 and S3 bots…
I've cloned the libottdadmin2 folder to within the suds folder.
When I try to run init.py i get:
Traceback (most recent call last): File "__init__.py", line 39, in <module> import enums File "/home/citizen/openttd/supybot/plugins/suds/enums.py", line 17, in <module> from libottdadmin2.enums import EnumHelper ImportError: cannot import name 'EnumHelper' from 'libottdadmin2.enums' (/home/citizen/openttd/supybot/plugins/suds/libottdadmin2/enums.py) INFO 2020-05-16T19:02:13 Shutdown initiated. INFO 2020-05-16T19:02:13 Killing Driver objects. INFO 2020-05-16T19:02:13 Killing Irc objects. INFO 2020-05-16T19:02:13 Shutdown complete.
It seems Xaroth has refactored his enums.py.
For example:
ValueError: year=1870 is before 1900; the datetime strftime() methods require year >= 1900
Traceback:
irc_s3_1_a724429fde3a | Traceback (most recent call last):
irc_s3_1_a724429fde3a | File "/usr/local/lib/python2.7/site-packages/supybot/callbacks.py", line 1320, in _callCommand
irc_s3_1_a724429fde3a | self.callCommand(command, irc, msg, *args, **kwargs)
irc_s3_1_a724429fde3a | File "/usr/local/lib/python2.7/site-packages/supybot/utils/python.py", line 90, in g
irc_s3_1_a724429fde3a | f(self, *args, **kwargs)
irc_s3_1_a724429fde3a | File "/usr/local/lib/python2.7/site-packages/supybot/callbacks.py", line 1286, in callCommand
irc_s3_1_a724429fde3a | method(irc, msg, *args, **kwargs)
irc_s3_1_a724429fde3a | File "/usr/local/lib/python2.7/site-packages/supybot/commands.py", line 1093, in newf
irc_s3_1_a724429fde3a | f(self, irc, msg, args, *state.args, **state.kwargs)
irc_s3_1_a724429fde3a | File "/var/supybot/data/plugins/suds/plugin.py", line 867, in date
irc_s3_1_a724429fde3a | message = '%s' % conn.date.strftime('%b %d %Y')
irc_s3_1_a724429fde3a | ValueError: year=1870 is before 1900; the datetime strftime() methods require year >= 1900
Hopefully an easy enough fix. Will do ASAP
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.