Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Plugins


Reply
 
Share Thread Tools Display Modes
Old 06-04-2009, 10:00 AM   #1
Variable Bitrate
 
lambosprit's Avatar
 
Join Date: Sep 2006
Location: UK
Posts: 447
lambosprit is on a distinguished road
ONCOMMANDINVALID problem

Can some one tell me how RR decides to invoke the ONCOMMANDINVALID event. I'm trying to help someone who's having trouble with my mobilephone.NET plugin but I dont understand why its not working.
As far as I'm concerned the command is valid so why does RR think its not?


RR debug has the following

02.06.2009 23:47:29: Enter Exec: False, mobilephone.skin, "ONBTNPRESS||mobilephone_dial", False
02.06.2009 23:47:29: Que Exec: True, mobilephone.skin, "ONBTNPRESS||mobilephone_dial", False
02.06.2009 23:47:29: Que Exec: True, mobilephone.skin, "mobilephone_dial", False
02.06.2009 23:47:34: Executing: mobilephone_dial
02.06.2009 23:47:34: Command not executed: mobilephone_dial
02.06.2009 23:47:34: Que Exec: True, mobilephone.skin, "ONCOMMANDINVALID", False
02.06.2009 23:47:34: Executing: ONCOMMANDINVALID

thanks in advance
lambosprit is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-04-2009, 11:19 AM   #2
The Curator
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
Blue ZX3 will become famous soon enoughBlue ZX3 will become famous soon enough
I really wish that this forum had a bug tracking feature!~! Then maybe when ppl post a bug, we wouldn't constantly have to ask....

What RR ver you running?

If the cmd thats trying to be executed is NOT: Std RR cmd ,a cmd matching any found in the Exectbl.ini files(rr's and skins), or a plugin cmd then thats event is fired.
__________________
RideRunner...The #1 FE, PERIOD.

RR Media >>HERE <<

RRExtended Plugin
Updated RR Config (Current Ver 1.0.2.0)
Old RR Versions
Complete CFX PSD Set
RRSkinEditor v.76c
DFX Btn Editor
Blue ZX3 is offline   Reply With Quote
Old 06-04-2009, 05:57 PM   #3
Variable Bitrate
 
lambosprit's Avatar
 
Join Date: Sep 2006
Location: UK
Posts: 447
lambosprit is on a distinguished road
Didn't think I was posting a bug , I was just asking a question.

I'm using 01/04/09 version.

So how does RR know what a valid plugin command is?
lambosprit is offline   Reply With Quote
Old 06-04-2009, 06:21 PM   #4
The Curator
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Posts: 3,577
Blue ZX3 will become famous soon enoughBlue ZX3 will become famous soon enough
It doesn't if the PI was incorrectly coded. If you process a cmd in a plugin(PI), you have to return a value so that RR knows what happened inside the PI. Under normal circumstances, if you process a cmd completely and don't need RR to further process it, you return a 2. If you changed the passed "CMD" string parameter, then you need to return 3.
__________________
RideRunner...The #1 FE, PERIOD.

RR Media >>HERE <<

RRExtended Plugin
Updated RR Config (Current Ver 1.0.2.0)
Old RR Versions
Complete CFX PSD Set
RRSkinEditor v.76c
DFX Btn Editor
Blue ZX3 is offline   Reply With Quote
Old 06-06-2009, 12:07 PM   #5
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,064
guino will become famous soon enoughguino will become famous soon enough
if you're getting a command not executed/oncommandinvalid response (for the mobilephone_dial command), then either the plugin is not loaded correctly (setup issue) OR the plugin is not returning a processed command response code (plugin issue). If this is an isolated issue, then it's likely to be the first case.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 06-06-2009, 07:14 PM   #6
Variable Bitrate
 
lambosprit's Avatar
 
Join Date: Sep 2006
Location: UK
Posts: 447
lambosprit is on a distinguished road
Quote: Originally Posted by guino View Post
if you're getting a command not executed/oncommandinvalid response (for the mobilephone_dial command), then either the plugin is not loaded correctly (setup issue) OR the plugin is not returning a processed command response code (plugin issue). If this is an isolated issue, then it's likely to be the first case.

thanks guino. Its a really strange issue. The guy can see the plugin in the plugin manager. If he sets all the commands to lowercase some of them work (he can load and see the custom list) but one doesn't. If he sets the commands to uppercase lots of them dont work. My code allways converts the commands to lowercase before checking them.

For every command my plugin returns a command number , all 2 I think. The commands he's sending I've triple checked to make sure I send back a 2. and he's the only one to report this issue.

I'll get him to re-install but any other ideas? particularily why lowercase works but not upper.
lambosprit is offline   Reply With Quote
Old 06-07-2009, 10:27 AM   #7
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,064
guino will become famous soon enoughguino will become famous soon enough
Quote: Originally Posted by lambosprit View Post
I'll get him to re-install but any other ideas? particularily why lowercase works but not upper.

RR will pass the command to the plugin as it is in the .skin file -- you should take steps to convert it to upper/lower case before comparisons to avoid a casing issue when processing a command (The example plugins use lcase/uscase to do that in the select statements). Other than that, there should be no difference for upper/lower case commands.
__________________
Ride Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reconnected puter and now audio problem.. NYCdesignkid Car Audio 2 05-31-2006 12:09 AM
gps navilock and com problem lele67 GPS 0 04-01-2006 08:41 PM
Problem with directshow filter and WMP EricE Software & Software Development 0 03-01-2006 11:38 AM
Car Idle - power/amp problem? TheFaze Car Audio 1 12-16-2005 12:10 AM
Lilliput TouchKit problem solved! AAVfReaK LCD/Display 2 10-16-2004 04:51 PM



All times are GMT -5. The time now is 06:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics