Comments (4)
This is due to the way IRC implements the MockPlayer
object: MockPlayer
s do not have an actual factory.connection
instance in the player_manager
. Because they don't, things like .local
and .universe
don't make any sense, and cause the wrapper to throw this error.
I'll need to revisit how MockPlayer
objects are generated in order to resolve this... which I'm going to put off on, for now. I'll try handling this better in 1.1
from starrypy3k.
Quick-fix is probably good enough. I still need to work on the MockPlayer connection, but I think that your fix is sufficient for closing this issue.
from starrypy3k.
Sounds good to me; I figure once MockPlayer
is robust enough to handle remotely issued commands (e. g /kick
) from IRC, this band-aid can be ripped off, or the whitelist of IRC-parsed commands expanded.
from starrypy3k.
eh.. I'm less inclined to allow /kick from IRC since it will be a pain in the a** to handle permission controls. This bot isn't that smart, and I feel like it is better if it stays that way. I'd rather give a well-restricted web GUI for handling these sorts of issues.
from starrypy3k.
Related Issues (20)
- Planet protection won't save when StarryPy3k quits HOT 6
- Planetary chat messages appear as Universe ones, without time stamps HOT 11
- StarryPy3k's RAM usage with Starbound 1.0.3 HOT 2
- IRC bridge mishandles CTCP Actions (/me) in IRC channel HOT 5
- Add the ability to reload plugins without restarting the proxy HOT 1
- IRC chat relay is not sent in-game emotes (/me dances) HOT 2
- Add "maintenance" mode - reject new player connections HOT 3
- /me command shows up universally
- Chat censoring HOT 2
- Users cannot be demoted
- Example configuration is woefully incomplete HOT 1
- Add filtering of unknown species HOT 2
- Protecting Instance worlds. HOT 2
- Can not kick a player who DCed - and can not connect after HOT 1
- Remove /local chat HOT 1
- Ensure_future HOT 4
- Error in chat HOT 2
- Ban/unban issue HOT 1
- Whois a players IP HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from starrypy3k.