[New Plugin] Flash Games 1.0.0.7 | Page 5

Discussion in 'MediaPortal 1 Plugins' started by Quarter, March 15, 2014.

  1. Quarter
    • Super User

    Quarter Super User

    Joined:
    June 21, 2010
    Messages:
    722
    Likes Received:
    110
    Gender:
    Male
    Location:
    Queenstown
    Ratings:
    +141 / 2
    Home Country:
    New Zealand New Zealand
    Show System Specs
    If it works in configuration it will should work in the plugin,. You may need to give me your sites config so I can test.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    This was in the error log:


    2015-01-29 12:37:38,405] [Error ] [MPMain ] [ERROR] - OnMessage exception:confused:ystem.NullReferenceException: Object reference not set to an instance of an object.
    at FlashGames.MediaPortal1.FlashGamesGUI.OnListControl()
    at FlashGames.MediaPortal1.FlashGamesGUI.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
    at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
    [2015-01-29 12:37:48,152] [Error ] [MPMain ] [ERROR] - OnMessage exception:confused:ystem.NullReferenceException: Object reference not set to an instance of an object.
    at FlashGames.MediaPortal1.FlashGamesGUI.OnListControl()
    at FlashGames.MediaPortal1.FlashGamesGUI.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
    at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)[DOUBLEPOST=1422557592][/DOUBLEPOST]And here is my sites file:

    <sites>
    <site name="Super Mario" url="http://sdgpub/videos/SuperMarioFlash.swf" gameBaseUrl="">
    <description>Super Mario Flash</description>
    <imageUrl><![CDATA[\\carepoint\Documents\FlashImages\SuperMario.jpg]]></imageUrl>
    </site>
    </sites>
     
    Last edited: January 29, 2015
  4. Quarter
    • Super User

    Quarter Super User

    Joined:
    June 21, 2010
    Messages:
    722
    Likes Received:
    110
    Gender:
    Male
    Location:
    Queenstown
    Ratings:
    +141 / 2
    Home Country:
    New Zealand New Zealand
    Show System Specs
  5. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    That is a local server on my network. However, I have the same issues if I use the supplied sites file. I can't play those files either.
     
  6. Quarter
    • Super User

    Quarter Super User

    Joined:
    June 21, 2010
    Messages:
    722
    Likes Received:
    110
    Gender:
    Male
    Location:
    Queenstown
    Ratings:
    +141 / 2
    Home Country:
    New Zealand New Zealand
    Show System Specs
    It looks like it's loosing the link. I've tried some smart link handling but it's not perfect. If none of the supplied sites aren't working it's will be something on your system. I'll be more help when I get hm.
     
  7. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    Thank you. The plan is to offer this to sick kids. We would place the system on a touch screen mounted to a swing arm. They would access it while receiving treatment (like chemotherapy or dialysis). I've mostly got a working prototype using the PureVisionHD skin. I'm just trying to add some games to the mix.
     
    • Like Like x 1
  8. Quarter
    • Super User

    Quarter Super User

    Joined:
    June 21, 2010
    Messages:
    722
    Likes Received:
    110
    Gender:
    Male
    Location:
    Queenstown
    Ratings:
    +141 / 2
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Ok the whole setup wasn't suited to non web based games. I have changed a few things and the plugin is now working well, just have to now create a plugin config file, maybe implement a downloader and then I can upload a new update in a few days. So in the end all you will have to do is enter the path to your games folder.
     
  9. Quarter
    • Super User

    Quarter Super User

    Joined:
    June 21, 2010
    Messages:
    722
    Likes Received:
    110
    Gender:
    Male
    Location:
    Queenstown
    Ratings:
    +141 / 2
    Home Country:
    New Zealand New Zealand
    Show System Specs
    Also here only some of the supplied sites don't work, could you please confirm they all don't work?
     
  10. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    That sounds good. I really like the idea of pointing to a folder. I'll do some testing with the supplied sites and let you know what I find out. I suspect that I might have firewall issues on those. The link I sent earlier is internal to our network, so the firewall issue doesn't apply on those.
     
  11. Tracy Oakley

    Tracy Oakley Portal Member

    Joined:
    January 23, 2015
    Messages:
    43
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    United States of America United States of America
    I've managed to make "some" headway. I've been able to get some of the supplied sites to work now, so the player is working. However, I still have not been
    able to get anything to play from my local web server.

    My FlashGamesSites.xml file now looks like this:

    <sites>
    <site name="Super Mario" url="http://sdgpub/videos/SuperMario.htm" gameBaseUrl="">
    <description>Super Mario</description>
    <imageUrl><![CDATA[\\carepoint\Documents\FlashImages\SuperMario.jpg]]></imageUrl>
    </site>
    </sites>

    And the SuperMario.htm file I'm referencing looks like this:

    <head>
    <title>Flash Game: Super Mario</title>
    </head>
    <frameset>
    <frame src="SuperMarioFlash.swf" name="main" />
    </frameset>
    </html>

    The file does play inside a browser, but does not play in the plugin.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!