1. Welcome to the Toram Online Forums. Please make sure to read our rules and be friendly to all our members.
    Click here to read the rules before posting.
    Dismiss Notice

Discord Bot for Toram Discord Guilds

Discussion in 'Toram Online General Discussions' started by Zastrix, Jul 14, 2019.

  1. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    Was troublesome but not for the reasons you'd guess.
    Some people do indeed do that actively.
    Getting the information for the thread.
    The update should be automatically, or at least, follow the thread.

    Edit:

    Yeah, I added monthly dyes basically.
     
  2. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    I also added a LOT ton of commands for better search, I'll update the screenshots when I can.
     
  3. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    The bot has been renamed, I will now update the opening thread with pics and the new name, commands, etc.
     
  4. Xeon

    Xeon New Member

    Joined:
    Jul 28, 2017
    Messages:
    2
    Likes Received:
    0
    I added your amazing bot at the first time i saw this thread... You did a really good job :3 amazing ^^
    At the beginning it had some small bug but wow... you fixed it, nice work.
     
  5. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    Thanks for the post!

    And to be honest, I am constantly fixing any issue and Heroku (the service I use for hosting) has registered 100+ builds of the bot there!
     
  6. Zexxen

    Zexxen Well-Known Member

    Joined:
    May 17, 2018
    Messages:
    176
    Likes Received:
    110
    IGN:
    伝説のZexxen
    I think if your boss recommendation has exp details for not only full break that'd be better because of not every boss able to fully break easily (like interruption-reactive bosses), it's gonna lessening the time efficiency. We need a boss recommendation for not a full break. Or you can give more than one boss recommendation.
     
  7. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    O ye I was planing to like do that but I completely forgot. I took a pause off from Toram and like supporting the bot (I was multitasking and my will burned out. I am kinda back to updating the code of the bot but not really into playing Toram. NGL the main reason why I maintain the bot is so that I can use it as a portfolio :D, I will upload the new code which will not target full break but rather the base exp).
     
  8. Rydalis Darx

    Rydalis Darx Well-Known Member

    Joined:
    Oct 14, 2015
    Messages:
    569
    Likes Received:
    533
    IGN:
    Rydalis
    You monster, dont abandon us for real life
     
  9. Zephyr666

    Zephyr666 Well-Known Member

    Joined:
    May 28, 2016
    Messages:
    528
    Likes Received:
    286
    IGN:
    Zephyruu
    okay im kinda mad at myself for just now looking at this thread (after all this time) because this bot seems amazing, what else are you planning for it?
     
  10. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    Well I did as @ZexxenXD said, to add on the bosses full break and N-break to a 0 break to the EXP search. I didn't yet release it yet. I want to wait a day or two to like get more recommendations for commands and such.
     
  11. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    Okay peeps, I added a few optimizations and such.
    • fixed >mats command
    • fixed some random commands which at a moment didn't want to work
    • capped search queries to 5 so y'all don't get bombarded
    But the thing which I added is the one y'all have been waiting for (you just didn't know it yet)... Automatic updates from http://en.toram.jp/?type_code=event!

    Basically Toram-sensei will search for channels named #toram-sensei-news, and post on all of them if new data is out! (it won't tag @Everyone, don't worry)

    This checks globally so newly added channels won't get a message until a new update/maintenance is posted on the toram site!
    The update rate is 5 mins and Discord has a thing that it sends 50 messages over 50 seconds so one server will get a message faster than a server which is located 50+ servers apart!

    Edit:

    Yes it is almost 2 AM, I KNOW!!!!
     
    Last edited: Oct 31, 2019
  12. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    I have just seen the error of the message spam, I am right now uploading the bot which shouldn't make that spam!
     
  13. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    Okay, great news. The issue has been fixed!

    My bot did work by itself, but it kept inserting new data in my database while checking the old data, thus having an infinite loop. I fixed it by adding another value and making it unique thus 2 url types can not be saved in the same time.
     
  14. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    Ello peeps, it's ya boi back from the dead.
    [​IMG]

    As all of you might know: currently Toram-sensei is broken. Coryn club changed the look if the website and rendered all of the current logic useless. So I'd like to ask for the community that if they know Java, to help me update the bot to be compatible w/ the new website. Here are the instructions I wrote on Discord:


    Steps how to:

    PROGRAMMARS

    1) Go to: https://github.com/zastrixarundell/ToramBot
    2) Look at the issues which are present on the repo.
    3) Checkout to the nightly branch.
    4) Create a feature/bugfix branch from the nigtly branch: git checkout -b feat/my-feature-name or git checkout -b bugfix/fixed-bug-xyz Create commits fixing the issues with normal commit messages like Done XYZ, Moved AA to BB rather than done stuff or commit go brrrrrrrrr.
    5) Create a pull request for your branch into the nightly branch Wait for reviews.

    REST OF PLEBIANS


    1) See what isn't working on the bot: ie. >level
    2) Go to: https://github.com/zastrixarundell/ToramBot/issues/new
    3) Create a new issue with a good description:
    Title: Level command not working:
    Description/comment: When I try to use the >level 99 command there is an issue that nothing is shown.
     
    • Like Like x 1
  15. Zastrix

    Zastrix Well-Known Member

    Joined:
    May 17, 2019
    Messages:
    49
    Likes Received:
    37
    IGN:
    Zastrix
    I haven't update here on the forums for a while.

    The bot is fixed (mostly).

    Alas, that is not the main point. I have added a new feature which gives you the latest monthly dyes. Running the >month command or waiting for a notification on a #toram-sensei-dyes channel will result an image of monthly dyes. The image is currently on Indonesian as the website I'm taking the info from is Indonesian.

    I'm searching for a solution to have the bossnames auto-translated to English without maintenance so I don't have to update a translation file on every game update.
     

Share This Page