1. Hello!

    First of all, welcome to MapleLegends! You are currently viewing the forums as a guest, so you can only view the first post of every topic. We highly recommend registering so you can be part of our community.

    By registering to our forums you can introduce yourself and make your first friends, talk in the shoutbox, contribute, and much more!

    This process only takes a few minutes and you can always decide to lurk even after!

    - MapleLegends Administration-
  2. Experiencing disconnecting after inserting your login info? Make sure you are on the latest MapleLegends version. The current latest version is found by clicking here.
    Dismiss Notice

When someone buys an item from your shop, notify on discord

Discussion in 'Suggestions' started by BobTheSatan, Jul 1, 2020.

  1. BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    Could be great. People who linked their discord profiles to the MapleLegends server, would be able to get notified when someone made a purchase from their store.
    Each notification would probably look like this:

    Purchase was made by BobTheSatan:
    (Shop FM2 CH4, "Ores and stuff")
    Item: Gold Ore x2
    Profit: 50,000 mesos
    Overall profit: 10,000,000

    You've got a message from BobTheSatan:
    (Shop FM2 CH4, "Ores and stuff")
    Message: So cheap!

    Shouldn't be too difficult to implement xDD, it's a server only change. And looks like MapleLegends already have an integration with discord.

    **UPDATE**
    So I've decided to do it on my own, just for fun, on my private private server that I've had ages ago xDD

    I did it in 3 hours (Mainly because I am not super familiar with maple private servers) also since this is just a Proof or concept, I didn't go nuts with making the code beautiful, I just made it work :D
    I've recorded a little video that shows it:


    Also I did record the whole development process, it's a 3 hour recording, I will post it only if anyone would ask for it, I will not edit it tho, so there will be some quiet parts and debugging :)

    Jokes aside:
    I love this community, and it was really fun to have a conversation here xD Including the trolls and HollyCrapHollyCrap user, we're having a special relationship here haha

    #HireMe xDD
     
    • Like Like x 1
    • Disagree Disagree x 1
    • Great Work Great Work x 1
    • Creative Creative x 1
  2. HollyCrap
    Offline

    HollyCrap Capt. Latanica

    394
    51
    273
    Jul 2, 2017
    Male
    5:30 AM
    HollyCrap
    Cleric
    Saying "Shouldn't be too difficult to implement" to a programmer is like saying the N word to a black dude
     
    • Disagree Disagree x 7
    • Informative Informative x 1
    • Creative Creative x 1
  3. OP
    OP
    BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    I am a programmer, I am allowed to say that xD
     
    • Disagree Disagree x 1
  4. kalash
    Offline

    kalash Headless Horseman

    831
    233
    376
    Oct 18, 2016
    Male
    10:30 AM
    Kalash
    Night Lord
    200
    Halcyon
    Do you know how maple is coded?
    Almost nothing "shouldn't be too difficult to implement"
     
    • Disagree Disagree x 2
  5. jesscapades
    Offline

    jesscapades Pac Pinky

    176
    72
    196
    Jun 24, 2019
    Female
    4:30 AM
    jesscapades
    Shadower
    182
    Homies
    ? how so
     
  6. Diziple
    Offline

    Diziple Pac Pinky

    190
    20
    191
    Jun 23, 2017
    Male
    4:30 PM
    HappyGuY
    Dragon Knight
    70
    None
    Can program it too so that I can receive notifications on my WhatsApp too? I think it is not that difficult to implement. Jeez
     
    • Disagree Disagree x 3
  7. OP
    OP
    BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    So much salt, "shouldn't be to difficult" is a joke, I forgot to add the "xD" emote and I cannot edit the post for some reason lol
    I think what I am gonna do is setup a private server and implement that feature just make a proof of concept
     
    • Disagree Disagree x 1
  8. jesscapades
    Offline

    jesscapades Pac Pinky

    176
    72
    196
    Jun 24, 2019
    Female
    4:30 AM
    jesscapades
    Shadower
    182
    Homies
    I think the devs have a lot more pressing issues right now to deal with. Even if it’s not hard to code, I don’t think this adds much value—if I’m not around to check my store, why does it matter if I get notified that something sold?
     
  9. OP
    OP
    BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    I am not saying to implement this feature right now, I am just posting an idea.
    Personally I'd love to know when someone made a purchase in my shop, and I am not alone :)
    <3
     
    • Disagree Disagree x 1
  10. OP
    OP
    BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    Again I am sorry if I made anyone angry, don't take "not hard to implemented" seriously, I really didn't mean that..
     
    • Disagree Disagree x 1
  11. OP
    OP
    BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    I do, I am looking at the code right now, and I am looking at the hired merchant method "buy" that gets all the required arguments :)
    (This image is from my "friends only" private server from 4 years ago lol)
    upload_2020-7-2_11-34-2.png
     
    • Disagree Disagree x 1
    • Great Work Great Work x 1
  12. OP
    OP
    BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    I saw many people on discord having the "level 30, level 40" roles, and as well you can run `$maple <charname>` on discord to get character info from the db
    So they have discord bot that has access to the maple db
     
    • Like Like x 1
    • Disagree Disagree x 1
  13. OP
    OP
    BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    Whatsapp is problematic, and it costs money to integrate it to the platform..
     
    • Disagree Disagree x 1
  14. Ferluci
    Offline

    Ferluci Zakum Retired Staff

    1,473
    442
    460
    Jul 27, 2017
    Male
    10:30 AM
    Ferluci
    Bishop
    186
    That role levels has nothing to do with your character level in-game. It is based on how much you chat in discord in certain channels.
    In certain channels you get 3exp per 5minutes that you are messaging.

    the !maple command uses the website for it's data.
     
    • Informative Informative x 1
  15. OP
    OP
    BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    Thank you for clarification! <3
     
    • Disagree Disagree x 1
  16. Kanashimi
    Offline

    Kanashimi Brown Teddy

    66
    5
    70
    Nov 5, 2017
    Male
    11:30 AM
    Kanashimi
    Night Lord
    140
    Essence
    what are u talking about?
    doing $maple <charname> activates the DRODS bot that displays information about a certain character.
     
    • Agree Agree x 1
  17. jesscapades
    Offline

    jesscapades Pac Pinky

    176
    72
    196
    Jun 24, 2019
    Female
    4:30 AM
    jesscapades
    Shadower
    182
    Homies
    That's fair! I appreciate that we have people in our community interested in making suggestions to improve the game :)

    DRODS retrieves this info from the website database
     
    • Friendly Friendly x 1
  18. Ferluci
    Offline

    Ferluci Zakum Retired Staff

    1,473
    442
    460
    Jul 27, 2017
    Male
    10:30 AM
    Ferluci
    Bishop
    186
    Yea but the bot gets it character data from the website, not from the DB directly.
     
  19. OP
    OP
    BobTheSatan
    Offline

    BobTheSatan Slime

    17
    2
    15
    Jun 26, 2020
    Male
    11:30 AM
    BobTheSatan
    Cleric
    38
    Twice
    From the website client or web server?
     
    • Disagree Disagree x 1
  20. redblueblur
    Offline

    redblueblur Mr. Anchor

    253
    32
    251
    Dec 18, 2017
    Male
    4:30 PM
    Z00M
    Beginner
    10
    erm osm did it (but notifying the public fm channel, not the direct store owner) , so i guess its possible to link it to discord, but really manpower issue here and also if its really necessary. tbh idm and i think its a pretty cool function!
     
    • Friendly Friendly x 1

Share This Page