• Announcements

    • Colorfulstan

      Windows XP\ Vista support dropped   11/19/2016

      It's been a while but I think some people (especially first time visitor's) don't know yet
    • ChriSKate

      Think you tried everything?! - Check out the Overwolf knowledge-base!   02/25/2017

      Dear gamers, how about some DIY? -   http://support.overwolf.com/ The knowledge-base for all your Overwolf related troubleshooting, faq, bugs, known issues and much more!
      Just start typing anything related to your issue (for example, 'fps' or 'heartharena') and discover new ways to work things out.
    • Raif

      Code of Conduct - Rules you should read   02/25/2017

      In General
      Be respectful! There's another person on the other end of that conversation! The forums are a place to discuss anything related to Overwolf and beyond but want this to be a place where people feel comfortable to participate and have fun! Keep it on topic, keep it constructive - Threads should be constructive and have a clear topic. Replies to that topic should be relevant. Bumping a thread without adding relevant information is not considered constructive. Bumping a thread from a long time ago is also not constructive (Overwolf updates every 2 weeks, things change). Attacks or Accusations are not acceptable - Attacking another person is unacceptable, the circumstances are irrelevant, just don't do it. Read the topic - Know what people are talking about in the thread. Stick to the given topic and don't derail it. Search - We have a great search function, use it before you post a new thread as it's possible someone has asked your question before and there's info on it. Don't see something about your question or topic after searching? Post it! (keep in mind that bumping threads from a long time ago is not recommended, post your own). Don't post about locked or deleted topics; they were deleted for a reason. No petitions, demands or "When will.." We have places for asking for games, features and we will tell you when something is coming. We don't give dates for a reason. Don't try getting around the swear filter, it's not cute or funny. This is not a place to break NDA's, talk about something illegal or break any law from any country. We will contact the necessary parties involved and you will be pursued to the extent of the law. No spam. You will be banned and your post deleted. Please write in English. This is an international forum and we'd like everyone to be able to participate.
      Bad Behavior Insults, racial slurs, profanity, vulgarity. Trolling - You know who you are, and we will find you. Nudity, porn or anything obscene. Flaming - We don't have a trained fireman on staff, so don't do it. No advertising - No one wants to buy that shirt off of you, or that WoW gold. No insulting any religion (fake, real, or imagined), sexual orientation, gender or culture. No talking about drugs or performing illegal activities. Impersonation - Don't do it, people find out and you end up looking stupid.
      What will we do if you break a rule? Warnings - You get only one. Thread/Post deletion - We delete your thread/post from the forums. Suspension - Temporary forum ban. Account termination - Permanent forum ban. Legal action or report violations to the appropriate legal authorities.

altf4pressthem

Members
  • Content count

    3
  • Joined

  • Last visited

About altf4pressthem

  • Rank
    Overwolf Newbie
  1. I see, thank you all very much for the help. @Colorfulstan I will definitely use this for testing purposes and while the window popping up at the desktop client makes sense, I would like to try having the window pop up at defeat or victory. I did try something when I had free time last night and would like opinions on this. I searched the forums and found an eventListener and it technically worked. I launched the app at game launch with the window minimized and had this piece of code (mainly plugged in from LOL sample app) // an event triggerd overwolf.games.events.onNewEvents.addListener(function (info) { for (var i in info.events) { if (info.events.name == 'matchStart') { overwolf.windows.restore('MainWindow') } } The window did pop up at the beginning of the match but when I tried replacing matchStart with matchEnd (played a bot game for fun last night), nothing came when the match ended. Again thank you all for the great help. This is definitely making me enjoy developing apps
  2. Ah thank you both so much for answering! Yes i was genuinely confused on the launch event. Reading around, with the event listener, is it possible to launch at match end or should i launch the app with GameLaunch and make the window appear with event listener with matchEnd? Thank you so much for your help! i was going around in circles yesterday! (P.S: matchEnd should work with bot games correct? i don't know how to test the app without actually playing a game and i don't really want to have to play a full match just for testing)
  3. Hello everyone! First time developer here and I have a question on when my window shows up for League of Legends. Looking at the sample app i see that there is a launch_events option and event name in the manifest.json "game_events": [5426], "launch_events": [ { "event": "GameLaunch", "event_data": { "game_ids": [5426] }, "start_minimized": false } ] ,I want the window for my app to appear when the match ends in league of legends (like a window saying "good job" or "better luck next time" for example) and i see that there is a matchState option in events. I changed it to this but nothing seems to be happening "launch_events": [ { "event": "matchEnd", "event_data": { "game_ids": [ 5426 ] }, "start_minimized": false }] Am I using the terms incorrectly? Any help would be appreciated. Thank you!