Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Games/logs across multiple networks #236

Open
rootcoma opened this issue Dec 7, 2013 · 3 comments
Open

Games/logs across multiple networks #236

rootcoma opened this issue Dec 7, 2013 · 3 comments

Comments

@rootcoma
Copy link
Collaborator

rootcoma commented Dec 7, 2013

Should we make an effort to make the plugin work across multiple networks.

Currently the plugin ignores the network that you are connected to, and instead uses the channel name to store and retrieve game info.

The downfall of not using network in identifying games and logs is that if you want to run TriviaTime on 2 networks with the same channel name, you would not be able to. eg. you want to run #trivialand on oftc and freenode.

This would be a significant rewrite. Most tables would need to have 'network' row added. And self.games would have to be a 2 dimensional dictionary instead of the current 1 dimension.

I am also not sure how networks would be stored. I think the alias would be used for referencing network. I am worried if the network alias changed then you might 'lose' data. eg. you used to call irc.freenode.net 'freenode' and now you call it 'irc.freenode.net' as an alias

Regardless I think this is a good idea for making a robust plugin.

@tannn
Copy link
Owner

tannn commented Dec 8, 2013

I think in the long run the best idea would be to implement this, however I wouldn't consider it a major priority right now.

I think once we have our first version released (hopefully January), then I think it would be a good idea to implement this. However, right now I believe we have other priorities to take care of first.

@rootcoma
Copy link
Collaborator Author

Would global stats be global across networks?

@tannn
Copy link
Owner

tannn commented Dec 10, 2013

That's a really good question. I think if they are having it be global on one network, they would want it to be global on all. So yeah, make it global across all networks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants