Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 08-04-2008, 05:01 PM   #1
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
RRGAS - Gas prices for the US - Status: Updated 16/07/09

v1.6.1 (1.6.0.1) 16/07/09
---------------------


Added
------

Command to delete saved files
Command to save current GPS coords to a file with place name.
Function to retieve above locations and get prices when online and save info to savedfiles.
When GPS button pressed if offline the GPS coords will be saved to file as above.
Labels for fuel type selected and a price by fuel type selected
Indicators for fueltype selected or sorted by. (Request of Sal.R)


Fixed

"/" stripped from the brand names so icons will work.
prevention of error if stations.prv file empty



v1.5.1 (1.5.0.1) 10/10/08
---------------------
Some bug fixes.
Removed reliance on logo for brand name (pointed out by DiggGuy)
Stopped it missing out a station and then doubling up on first one read (Pointed out by DiggGuy)
stopped distances of less than 1 mile being treated as further than 9 miles



v1.5 (1.5.0.0) 4/10/08
---------------------
Ability to save current info and recall at a later date if no internet available (1 save per Zipcode)


v1.4 (1.4.0.2) 14/09/08
-----------------------
Calculation of Zipcode from GPS coords supplied via RoadRunner.
Slider added to show progress when updating gas prices

v1.3.1 (1.3.0.1) 09/08/08
-------------------------
Change to RRGASSEARCHING command so it actually works when it is supposed to.
Removal of Sort order resuming to unleaded if distance is chosen on restart

v1.3 08/08/08
--------------
Distance truncated to 1 decimal place
last 'searched by' is remembered on restart.
added RRGASNODATAAVAIL trigger.


First release v1.2 07/08/08
--------------------------


Donation(s) - Thank You
-----------------------

Chuck


Get it from my forum

Thanks to LostReception for releasing his code

it's an extension plugin so X,rrgas will needed to be added to menu.skin

When initially loaded it will look to see if there is a previously saved list of prices, it there is and it is the same as the zipcode in the ini file (this is updated everytime the zipcode is changed) and the date is the same it will used the stored data.


You can sort the prices by distance or any of the fuel types.

You can also limit the distance you are willing to travel.



here is a screenie and a list of skincommands.

Skinning sholud be fairly easy as I have used mainly similar commands to the old native ones, just replaced the gas part with rrgas. The layout should be the same so you should be able to use the same graphics (with some minor tweaks).

the .skin is just called gas.skin as opposed to gas_pricefinder.skin


here is the current skin commands.

SkinCommands

Buttons
rrgas - loads gas.skin
rrgas_zipcode - brings up NUMOSK to change zipcode
rrgas_refresh - force refresh of data from web if available
rrgas_distance - brings up NUMOSK to change maximum distance to travel
rrgas_distancesort - sort stations by distance
rrgas_diesel - sort stations by diesel price
rrgas_premium - sort stations by premium price
rrgas_plus - sort stations by plus price
rrgas_unleaded - sort stations by unleaded price
rrgas_gps - use current Lat and Lon from RoadRunner to generate Zipcode and then get prices. (Added in v1.4)
rrgas_save - save current info to disk with zipcode as filename (added in v1.5)
rrgas_load - brings up gas_saved.skin which has list of previously saved info (added in v1.5)
rrgas_select - select and load previously saved info. (added in v1.5)
rrgas_delete - delete a saved zipcode (added in v1.6)
rrgas_savegps - save gps location to a file for retrieval at a later date or on a different PC (will do this automatically when gps button is pressed if no internet available). (added in v1.6)
rrgas_offline - runs through the saved gps locations file getting prices for those locations and saving the information. (added in v1.6)

In the following # is (0-19)
rrgas_#_fdnavigate - Send GPS coords to Freedrive and plot route

Labels
rrgas_zipcode - current zipcode
rrgas_updated - Last time/date a successful update occured
rrgas_distance - current distance to travel restriction
rrgas_fuel - current fuel selected (added in v1.6)

In the following # is (0-19)
rrgas_#_diesel - price of diesel
rrgas_#_premium - price of premium
rrgas_#_plus - price of plus
rrgas_#_unleaded - price of unleaded
rrgas_#_distance - distance from zipcode
rrgas_#_address - number and street of station
rrgas_#_address2 - town, state and zipcode of the station
rrgas_#_name - rrgas station brand
rrgas_#_lon - gas station GPS coordinates (Lon.)
rrgas_#_lat - gas station GPS coordinates (Lat.)
rrgas_#_byfuel -returns price of currently selected fuel (added in v1.6)


Indicators

rrgas_distance - Indicates sort is by distance (added in v1.6)
rrgas_diesel - Indicates sort is by diesel price (added in v1.6)
rrgas_premium - Indicates sort is by by premium price (added in v1.6)
rrgas_plus - Indicates sort is by by plus price (added in v1.6)
rrgas_unleaded - Indicates sort is by by unleaded price (added in v1.6)

In the following # is (0-19)
rrgas_#_icon - Fuel company logo

Sliders

RRGAS - Will show progress as it gets the prices from the web (added in v1.4)

Commands sent by RRGas

RRGASSEARCHING - this is sent when RRGas starts looking for new prices - Requested by JohnWPB
RRGASDONE - this is sent when RRGas has finished searching and parsing the info. - Requested by JohnWPB
RRGASNODATAAVAIL - this is sent when there is no information for zipcode entered (added in v1.3)
Attached Images
 

Last edited by Enforcer; 07-25-2009 at 04:49 PM. Reason: Update
Enforcer is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 08-04-2008, 05:01 PM   #2
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
F.A.Q. Read this post first before asking your question

Frequently Asked Questions.

Q. I don't have an internect connection in my car, can I still use this.

A. Yes, run this on your home PC (obviously you will need to be running RoadRunner on the PC as well), and then copy the stations.prv file to your car PC (must be done on same day).


Q. I put in a new zipcode but the stations haven't changed or updated.

A. It is most likely the site does not have any stations near the zipcode you have entered or you do not have a connection to the internet.


Q. I don't have any Gas Station brand icons.

A. Look in your RoadRunner folder, there should be a folder called gas which contains all the gif files. If you do not have this check the orginal gas price thread. check attachment at bottom of this post.


Q. I have the gas folder but I still don't have any Gas Station brand icons.

A. For the icons to work you will need the latest RoadRunner version released by mitchjs.


Q. You have done RRGas for the US and UK, any chance of doing it for <Insert Country here>?

A. If you can find a website for your country that show the prices against individual stations, is searchable by postal code or GPS coords and doesn't show the price as a graphic, then post a link and I will have a look.


Q. How do I set this up to work with my skin?

A. To get the same functions that were in the native version

1. rename gas_pricefinder.skin to gas.skin
2. Modify all gas related labels to add RRGAS in front
3. Change image indicators

for the added features you will need to read the skincommands.txt and add the appropriate commands and maybe edit the graphic files.

or

Download the GasSkinConverter attached to this post. Extract to your skinfolder and run GasSkinConverter.exe. It is recommended that you backup your skin folder just in case.


Q. Does the "Show Map" function work now? for some reason, and it worked flawlessly with gaspricefinder.

A. the show map depends on your GPS.
1. Mappoint - (this was what the native went to) No, not sure how to code for this as the original code is internal specific.
2. FreeDrive - Yes as long as it is my Personal Edition
3. iG, see posts by John, and MGD (there have been various vesions of GASNAV posted in this thread)

others nothing that I have done yet.


Q. Do I need a ZIP.DAT in my rr folder for the zip codes?

A. No, the plugin accesses a website to do the conversion.


Q. Would someone care to send me this?

A. The Terms And Conditions expressly forbid the distribution of this program, please register on my forum to get your copy.


Q. Anyone have a screen built for <Insert skin name here>? it would be greatly appreciated!

A. check the skins thread, contact the skinner or you can try and convert it yourself (basic instructions earlier in the F.A.Q.)


Q. How can I download this wonderful creation?

A. Register on my forum at www.en4cer.co.uk/forum , when activated go to the downloads section.


Q. I have registered on your site but am still not activated, why?

A. I do not monitor the forum registrations 24/7 so it could take hours or possibly a day or two before I can activate you. If I am going away I will normally put this info into the news section of the forum. If however after a few days of registering you have not been activated then contact me via PM here. Using the same username as you do on here will help you get activated quicker.



Q. The labels seem to be doubled up, why?

A. It is likely you are running two instances of the plugin. X,rrgas should only be in the menu.skin of your skin or possibly in a file called plugins.txt not anywhere else.

NB. if you are Running the new Ride Runner it is possible it has loaded it up from your plugins folder and then loaded it from somewhere else (something we have been told shouldn't happen)



Gas Icons - Unzip to Road Runner
Attached Files
File Type: zip Gas Icons.zip (876.1 KB, 190 views)
File Type: zip GasSkinConverter.zip (19.2 KB, 104 views)

Last edited by Enforcer; 01-28-2009 at 10:08 PM.
Enforcer is offline   Reply With Quote
Old 08-04-2008, 05:18 PM   #3
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
Skin files

Brushed Metal - BMV2 (Updated for 1.5)



iDrive Classic
iDrive Night Red. (Updated for 1.4)
iDrive Night Green

The iDrive skins will only work in an iDrive skin as they need other files to work.
Attached Images
    
Attached Files
File Type: zip IDNR.zip (155.9 KB, 55 views)
File Type: zip IDC.zip (76.9 KB, 47 views)
File Type: zip IDNG.zip (172.8 KB, 45 views)
File Type: zip bmv2.zip (528.2 KB, 101 views)

Last edited by Enforcer; 10-03-2008 at 09:44 PM.
Enforcer is offline   Reply With Quote
Old 08-04-2008, 05:35 PM   #4
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
iDrive Transparent (Unreleased)
Attached Images
 

Last edited by Enforcer; 09-16-2008 at 05:12 PM.
Enforcer is offline   Reply With Quote
Old 08-04-2008, 05:52 PM   #5
FLAC
 
Machinehead's Avatar
 
Join Date: Jun 2007
Location: hijacks small portable city
Posts: 1,234
Machinehead will become famous soon enoughMachinehead will become famous soon enough
Machinehead is offline   Reply With Quote
Old 08-04-2008, 06:22 PM   #6
Maximum Bitrate
 
tundra2000's Avatar
 
Join Date: Mar 2006
Location: south bend, indiana
Posts: 518
tundra2000 is on a distinguished road
finally. thank you.
tundra2000 is offline   Reply With Quote
Old 08-05-2008, 01:15 AM   #7
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
Received PM. I'll start looking at this probably tomorrow.
Is there a way to find E85 prices? Really, I guess the question is, what kinds of fuel are available for searching?
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!
monkeyracer is offline   Reply With Quote
Old 08-05-2008, 05:40 AM   #8
Super Moderator
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Posts: 3,745
JohnWPB is a jewel in the roughJohnWPB is a jewel in the roughJohnWPB is a jewel in the rough
In preliminary beta testing, it is working flawlessly! Even better than the original, as you can now sort the prices by distance and the type of fuel you are interested in!

This naively sends the coordinates to Freedirve to navigate to to the station of your choice. With just a little bit of alteration of the original GasNav script, I now have it working to route you with iGuidance as well.

Fantastic job on this Enforcer!
__________________
Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DigitalFX 4.0 Skin Available at www.JohnWPB.com

My Fiero Build Thread
JohnWPB is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 08-05-2008, 08:22 AM   #9
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
Quote: Originally Posted by monkeyracer View Post
Received PM. I'll start looking at this probably tomorrow.
Is there a way to find E85 prices? Really, I guess the question is, what kinds of fuel are available for searching?

From the site used, just the four listed

Unleaded, Plus, Premium and Diesel.
Enforcer is offline   Reply With Quote
Old 08-05-2008, 11:40 AM   #10
MGD
FLAC
 
MGD's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 1,652
MGD is on a distinguished road
Working excellent. To keep it uncluttered, I made a Options Menu for the sorting. But.........from Los Angeles to Washington, DC only 0.2 some miles. Must be because no Valid gps signal. Also, I have rewritten the GASNAV.exe for the coordinates. Will test it in the car.
Thanks Enforcer, Great Job.
Attached Images
  
MGD is offline   Reply With Quote
Old 08-05-2008, 11:48 AM   #11
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
Quote: Originally Posted by MGD View Post
Working excellent. . . But.........from Los Angeles to Washington, DC only 0.2 some miles.

Quote: Originally Posted by Enforcer View Post

At present it is only done from a zipcode, I will add the facility to get the zipcode from the current GPS coords at a later date.




Quote: Originally Posted by MGD View Post
Also, I have rewritten the GASNAV.exe for the coordinates. Will test it in the car.
Thanks Enforcer, Great Job.


Check with John, as he has also reworked something for it to send coords to IG.


Skin looks real nice.




PS you have one over on John, for some reason he doesn't have the logos working ?????
Enforcer is offline   Reply With Quote
Old 08-05-2008, 12:02 PM   #12
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
Quote: Originally Posted by Enforcer View Post
Q. I don't have any Gas Station brand icons.

A. Look in your RoadRunner folder, there should be a folder called gas which contains all the gif files. If you do not have this check the orginal gas price thread.

Went to the original thread:

http://www.mp3car.com/vbulletin/rr-p...e-support.html

then to LR's site for the download:

http://www.lostreception.com/carpc/gpsgas.html

get this:

Quote: Originally Posted by lostreception
GPS Gasoline Road Runner Plugin

This plugin is on hold, Till then use the native gas function in RoadRunner
I have to rework the files and rerelease this plugin for it to be worthwhile. I appreciate all of your support and suggestions. - Lost

So I can't get the images. Someone posting thier Gas folder would help...

here's my skinned version (without the images):



At first, the results are sorted by distance, but pressing any of the fuel grades on the right re-sorts the list:



Pressing the top area where it shows the last update will refresh the list, and pressing the area where each gas station is listed will bring up IG (if someone wants to post an updated gasnav.exe)

Glad we're getting this back up and running...
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!
monkeyracer is offline   Reply With Quote
Old 08-05-2008, 12:06 PM   #13
FLAC
 
Sal R.'s Avatar
 
Join Date: Aug 2006
Location: Sun Diego
Posts: 1,407
Sal R. is an unknown quantity at this point
Yay! I can finally use gps gas in my carPC!
__________________
Pico-ITX / nLite'd XP Pro with EWF-HORM / RR v9/22/2009 / Winamp v5.13 / RRMedia v1.2.2
Sal R. is offline   Reply With Quote
Old 08-05-2008, 12:08 PM   #14
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,938
Enforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant futureEnforcer has a brilliant future
Quote: Originally Posted by monkeyracer View Post
Went to the original thread:

http://www.mp3car.com/vbulletin/rr-p...e-support.html

then to LR's site for the download:

http://www.lostreception.com/carpc/gpsgas.html

get this:



So I can't get the images. Someone posting thier Gas folder would help...


Re-Read F.A.Q.
Enforcer is offline   Reply With Quote
Old 08-05-2008, 12:15 PM   #15
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
Quote: Originally Posted by Enforcer View Post
Re-Read F.A.Q.

coo... downloaded... but, still nothing

here's my indicator codes:

Code:
/, I, x, y, w, h, Code;INDICATORCODES I06,126,368,50,50,"rrgas_5_icon" I05,126,311,50,50,"rrgas_4_icon" I04,126,253,50,50,"rrgas_3_icon" I03,126,195,50,50,"rrgas_2_icon" I02,126,137,50,50,"rrgas_1_icon" I01,126,79,50,50,"rrgas_0_icon"

did i do something wrong?
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!
monkeyracer 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




All times are GMT -5. The time now is 06:33 PM.


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