-
Notifications
You must be signed in to change notification settings - Fork 48
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
Support for more than 9 characters #33
Comments
Hi, late response excuse me. Now it supports up to 18 characters. Technically it can do the max character number (24?), but some lines need to be changed in switchToCharacter(). Thanks for the recommendation! |
I edited my copy to be able to run up to the full 24 characters in "config.py", add to the end of the config ={}
in "bot.py", define a new switch character function, I put this right under the original so as to ensure its defined prior to being referenced
Comment out any functions calls to the original switch character function, and call the new one instead
|
Readme says this only works for 9 characters. Not sure if that was intended, or simply due to not programming in the scrolling function to be able to swap to characters past the first page on the "Switch Characters" menu. The attached was my take on making it support up to 24 characters. Granted I'm not very experienced with Python, so it's likely not optimized, but I have tested the function and it was able to log into 13 characters without a hitch, so I'm reasonably confident this would work.
Basically just uses the x,y of the 9 characters on the first page, then for characters 10-24, it hits the scroll down button just enough times to make the row of "index" visible as the bottom row, and uses the x,y for positions 7-9 to select them.
def switchtocharacter.txt
config.txt
The text was updated successfully, but these errors were encountered: