Page 11 of 12 FirstFirst ... 23456789101112 LastLast
Results 101 to 110 of 120

Thread: GPSExec Plugin

  1. #101
    Variable Bitrate
    Auto Apps:loading...
    marteline's Avatar
    Join Date
    Sep 2007
    Location
    Brazil, Sao Paulo
    Posts
    306
    Did you put my full line in the skin exectbl.ini file?
    You also should rename the path of the sound files, I just sent my sounds for you...
    Engineering: Where the rubber meets the road!
    RR Skin RED 2.0 http://www.mp3car.com/vbulletin/rr-s...red-2-0-a.html

  2. #102
    Variable Bitrate
    Auto Apps:loading...
    marteline's Avatar
    Join Date
    Sep 2007
    Location
    Brazil, Sao Paulo
    Posts
    306
    Would be great if you also add an option to set the minimum occurrence interval ( in milliseconds) of the "ONSLDGPXSLIDER1" Event, because it happens too many times...
    Engineering: Where the rubber meets the road!
    RR Skin RED 2.0 http://www.mp3car.com/vbulletin/rr-s...red-2-0-a.html

  3. #103
    Variable Bitrate
    Auto Apps:loading...
    marteline's Avatar
    Join Date
    Sep 2007
    Location
    Brazil, Sao Paulo
    Posts
    306
    Quote Originally Posted by pierrotm777 View Post
    I have defined the variables as follow into the skin.ini file:
    [GPSEXEC]
    SLDSTATUS=1
    RANGE_CLO=1
    RANGE_MID=1
    RANGE_FAR=1
    You do not had to put any variables in the skin.ini, they are already set in the code.

    Quote Originally Posted by pierrotm777 View Post
    How do you set the $PREVSLD$ variable please ?
    oops if understand how to !
    Code:
    SETVAR;PREVSLD;$GPXSLIDER1$
    But your line don't run for me (i have just replaced playwav by playsound and the wav's folder)
    Loose the skin.ini modifications that you do, try with my beep sounds and with the skin tool closed.
    Engineering: Where the rubber meets the road!
    RR Skin RED 2.0 http://www.mp3car.com/vbulletin/rr-s...red-2-0-a.html

  4. #104
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,842

    Smile

    Quote Originally Posted by marteline View Post
    Would be great if you also add an option to set the minimum occurrence interval ( in milliseconds) of the "ONSLDGPXSLIDER1" Event, because it happens too many times...
    Yes , i know , but i don't know how to do that in vb6 .
    I have added a loop that you can to set into the settings.ini:
    Code:
    [SETTINGS]
    GPXLatLon=yes
    GPXSlider=yes
    Delai=2
    See the #post78 please !

  5. #105
    Variable Bitrate
    Auto Apps:loading...
    marteline's Avatar
    Join Date
    Sep 2007
    Location
    Brazil, Sao Paulo
    Posts
    306
    This new version works, but still as heavy as before when in range of the target. I also try to disable my ONSLDGPXSLIDER1 event to see if it reduces the freezing that happens in my flash animations, no joy...

    Do you think that if you change the delay method it can affect the performance? Because I found in the net that the best way to implement delay in VB without computer lag is using the timer function, also found the sample below:

    Code:
    ' You can delay execution of your code for a specific time interval 
    ' by using the Timer function. Increments such as .25 or .5 can be
    ' used as well.
    
    ' To use the Timer function to pause for a number of seconds,
    ' store the value of Timer in a variable. Then use a loop to wait
    ' until the Timer returns a specified number of seconds greater than
    ' the stored value. If the delay loop will execute when midnight 
    ' passes, compensate by reducing the starting Timer value by the 
    ' number of seconds in a day (24 hours * 60 minutes * 60 seconds). 
    ' Calling DoEvents from within the loop allows events to be
    ' processed during the delay.
    
    ' Drop this sub in the appropriate form:
    
    Sub Pause (ByVal nSecond As Single)
    Dim t0 As Single
    Dim dummy As Integer
            
            t0 = Timer
            
            Do While Timer - t0 < nSecond
                    
                    dummy = DoEvents()
                    
                    ' If we cross midnight, back up one day
                    If Timer < t0 Then
                            t0 = t0 - 24 * 60 * 60 ' or t0 = t0 - 86400
    
                    End If
            Loop
    
    End Sub
    
    ' Call the routine from the appropriate event:
    ' Example:
    
            Call Pause(2)  ' delay for 2 seconds
            Form2.Show
    Well, I will sleep a couple of hours, 7:45 AM already here, I will be back as soon as I wake up for more tests! Good luck and keep the good work, "the force" will be with you!
    Engineering: Where the rubber meets the road!
    RR Skin RED 2.0 http://www.mp3car.com/vbulletin/rr-s...red-2-0-a.html

  6. #106
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,842

    Smile

    Marteline, the post #78 is updated with your timer , but with always the same settings for the delai .

  7. #107
    Variable Bitrate
    Auto Apps:loading...
    marteline's Avatar
    Join Date
    Sep 2007
    Location
    Brazil, Sao Paulo
    Posts
    306
    Quote Originally Posted by pierrotm777 View Post
    Marteline, the post #78 is updated with your timer , but with always the same settings for the delai .
    Did you already try this version? Because it's running smoothly!

    I tested again both last versions to make sure that the freezing is not just related with some temporary computer issue, with the following settings:

    [SETTINGS]
    GPXLatLon=No
    GPXSlider=yes
    Delai=0.3 (I donīt know if this is a valid value, but works, also try with value 2)

    As I told you. the previous version freezes my swf animations on each "slider event" but with this new one no significant freezing occurs.

    I will try it on my Carpc later for make sure, but I think that itīs done!
    Engineering: Where the rubber meets the road!
    RR Skin RED 2.0 http://www.mp3car.com/vbulletin/rr-s...red-2-0-a.html

  8. #108
    Variable Bitrate
    Auto Apps:loading...
    marteline's Avatar
    Join Date
    Sep 2007
    Location
    Brazil, Sao Paulo
    Posts
    306
    Pierrot, could you also add a way to disable the GPXDIST1? maybe it save a a little more system resource.

    Thanks!
    Engineering: Where the rubber meets the road!
    RR Skin RED 2.0 http://www.mp3car.com/vbulletin/rr-s...red-2-0-a.html

  9. #109
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,842
    Quote Originally Posted by marteline View Post
    Pierrot, could you also add a way to disable the GPXDIST1? maybe it save a a little more system resource.

    Thanks!
    Actually , the GPXDIST1 is disable in same time that the slider .
    Do you want to stop GPXDIST1 and to keep the slider ?

  10. #110
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,842

    Smile

    Quote Originally Posted by marteline View Post
    Did you already try this version? Because it's running smoothly!

    I tested again both last versions to make sure that the freezing is not just related with some temporary computer issue, with the following settings:

    [SETTINGS]
    GPXLatLon=No
    GPXSlider=yes
    Delai=0.3 (I donīt know if this is a valid value, but works, also try with value 2)

    As I told you. the previous version freezes my swf animations on each "slider event" but with this new one no significant freezing occurs.

    I will try it on my Carpc later for make sure, but I think that itīs done!
    Delai=0.3 is a good value (0.3 second)

    It's a very good news .

Similar Threads

  1. nGhost 2.0.0 Final is out!
    By tripzero in forum LinuxICE
    Replies: 53
    Last Post: 07-16-2009, 09:16 PM
  2. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 08:55 AM
  3. IRMAN plugin
    By knyarko in forum StreetDeck
    Replies: 3
    Last Post: 01-05-2007, 08:26 PM
  4. Replies: 0
    Last Post: 06-11-2006, 05:49 PM
  5. Winamp LCD display plugin / IRMan plugin - together?
    By Jarrod in forum Software & Software Development
    Replies: 9
    Last Post: 06-03-2002, 05:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •