Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Enable leaderboards and add old gen teams #33

Closed
Flareninja opened this issue Dec 12, 2015 · 8 comments
Closed

Enable leaderboards and add old gen teams #33

Flareninja opened this issue Dec 12, 2015 · 8 comments
Assignees
Labels

Comments

@Flareninja
Copy link

Hi, how can I enable leaderboard in a room?

And how I give rby/gsc teams?It tells me "Error: Invalid team data"

@Ecuacion
Copy link
Collaborator

You can enable it in the config, see https://github.com/Ecuacion/Pokemon-Showdown-Node-Bot/blob/master/config-example.js#L302-L311

Add in config.js something like this and replace 'tournaments' for the corresponding room id.

exports.leaderboards = {};

exports.leaderboards['tournaments'] = {
    winnerPoints: 5,
    finalistPoints: 3,
    semiFinalistPoints: 1,
    battlePoints: 0
};

Also, i'll check the bug with rby/gsc teams

@Ecuacion Ecuacion added the bug label Dec 12, 2015
@Ecuacion Ecuacion self-assigned this Dec 12, 2015
@Ecuacion
Copy link
Collaborator

Bug fixed in 912c90e

@Flareninja
Copy link
Author

Thanks

@Flareninja
Copy link
Author

I noticed that when there is a suspect the teams given before the suspect don't work, what can I do?

@Flareninja Flareninja reopened this Dec 13, 2015
@Ecuacion
Copy link
Collaborator

Do you mean teams with Gothitelle shadow tag for example? You can simply delete the teams no longer valid for the tier with team delete, [team-id]. You can view all teams ids with teamslist

https://github.com/Ecuacion/Pokemon-Showdown-Node-Bot/tree/master/commands#battle

@Flareninja
Copy link
Author

I mean that when there is in progress a suspect test, the tier changes name and the teams given before don't work(the bot tells that it hasn't teams in that tier)
(Sorry for my english)

@Ecuacion
Copy link
Collaborator

This behavior is intentional. That's because OU and OU (Suspect test) are different formats with maybe different rules. So you must add new teams for OU (Suspect test), because OU teams can be invalid.

@Flareninja
Copy link
Author

Ok, thanks

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

No branches or pull requests

2 participants