home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPGames Plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="metalla_nz" data-source="post: 401712" data-attributes="member: 52586"><p>Hi everyone.</p><p></p><p>Sorry for the lack of updates, but I've had other priorities lately. Dont you hate when real life gets in the way.</p><p></p><p>Ive had a look at my code today to try and work out why everyone is getting this weird error. I dont ever get errors running this, but everyone else seems to, and its always at the same point. So i hunted high and low and came up with a possibility. Going on AISTUDIOS suggestion that it was related to vista possibly, led me to believe there might be a difference between .net 2 and .net 3.5, So that could cause the problem.</p><p></p><p>I have yet installed 3.5 here as Im low on download bandwidth till the 20th on our connection here. But there wa sone line of code where the plugin initialises a connection to the database, Its possible because of what was around this code that 3.5 wasnt running it and 2.0 was. So i moved it, and hopefully that may fix the issue.</p><p></p><p>As far as I can tell the program was tryiong to run an sql statement on a database connection that didnt exist.</p><p></p><p>So im building the code again now, and will upload.</p><p></p><p>If this fixes the issue all well and good, if not, let me know and throw me some more logs to try and locate it.</p><p></p><p>Ill try and get .net 3.5 installed here soon to see if I can replicate.</p><p></p><p>My code is a mess at this point, So while im still keen to get this plugin going, im going to take some time to refresh my code and tidy it up a bit, so that if all turns to custard down the line someone can carry on. (Not saying its going to happen)</p><p></p><p>As an aside, what I have been working on is a household alarm app which is managed via computer, and Im planning to put a gui for mediaportal in it as well.</p><p></p><p>Essentially its a kinda hack-y alarm. You run the program fulltime. It listens for keystrokes.</p><p>The alarm bit is an old keyboard i hacked apart. Keyboards work by shorting to pins on the driver chip, so you can utilise this by placing a sensor (PIR, reed switch etc.) on a line between two of the pins, hence when the sensor is tripped you essentially type a letter.</p><p></p><p>The program responds to this (when its armed) by setting of an alarm via relay attached to the scroll lock led which is turned on when the alarm is set off. Im adding plugins to it now, it currently talks when it gets a sensor trip, and when the alarm is going off, and wehn armed-disarmed.</p><p></p><p>Working on the modem plugin so it can call you and tell you its going off. It will connect via usb to a lcd display/keypad so it can operate external of the pc etc. etc. If anyone is interested I can get some test copies of this out to see what people think if they want to do something similar. happy to add bits and pieces people want.</p><p></p><p>-Chris</p><p></p><p>(TL;DR)</p><p></p><p>(New plugin and apps should be on google code soon, <a href="http://code.google.com/p/mpgames" target="_blank">mpgames - Google Code</a>)</p></blockquote><p></p>
[QUOTE="metalla_nz, post: 401712, member: 52586"] Hi everyone. Sorry for the lack of updates, but I've had other priorities lately. Dont you hate when real life gets in the way. Ive had a look at my code today to try and work out why everyone is getting this weird error. I dont ever get errors running this, but everyone else seems to, and its always at the same point. So i hunted high and low and came up with a possibility. Going on AISTUDIOS suggestion that it was related to vista possibly, led me to believe there might be a difference between .net 2 and .net 3.5, So that could cause the problem. I have yet installed 3.5 here as Im low on download bandwidth till the 20th on our connection here. But there wa sone line of code where the plugin initialises a connection to the database, Its possible because of what was around this code that 3.5 wasnt running it and 2.0 was. So i moved it, and hopefully that may fix the issue. As far as I can tell the program was tryiong to run an sql statement on a database connection that didnt exist. So im building the code again now, and will upload. If this fixes the issue all well and good, if not, let me know and throw me some more logs to try and locate it. Ill try and get .net 3.5 installed here soon to see if I can replicate. My code is a mess at this point, So while im still keen to get this plugin going, im going to take some time to refresh my code and tidy it up a bit, so that if all turns to custard down the line someone can carry on. (Not saying its going to happen) As an aside, what I have been working on is a household alarm app which is managed via computer, and Im planning to put a gui for mediaportal in it as well. Essentially its a kinda hack-y alarm. You run the program fulltime. It listens for keystrokes. The alarm bit is an old keyboard i hacked apart. Keyboards work by shorting to pins on the driver chip, so you can utilise this by placing a sensor (PIR, reed switch etc.) on a line between two of the pins, hence when the sensor is tripped you essentially type a letter. The program responds to this (when its armed) by setting of an alarm via relay attached to the scroll lock led which is turned on when the alarm is set off. Im adding plugins to it now, it currently talks when it gets a sensor trip, and when the alarm is going off, and wehn armed-disarmed. Working on the modem plugin so it can call you and tell you its going off. It will connect via usb to a lcd display/keypad so it can operate external of the pc etc. etc. If anyone is interested I can get some test copies of this out to see what people think if they want to do something similar. happy to add bits and pieces people want. -Chris (TL;DR) (New plugin and apps should be on google code soon, [url=http://code.google.com/p/mpgames]mpgames - Google Code[/url]) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPGames Plugin
Contact us
RSS
Top
Bottom