- Thread starter
- #81
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, mpgames - Google Code)
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, mpgames - Google Code)