Results 1 to 3 of 3

Thread: "ONLINE" and "OFFLINE" don't work

  1. #1
    Constant Bitrate mstaedt's Avatar
    Join Date
    Dec 2007
    Posts
    164

    "ONLINE" and "OFFLINE" don't work

    I think I found a bug in the "OFFLINE" and "ONLINE" event triggers in EXECTBL.ini. I made some very simple lines of code to test the process.

    I have these lines in my EXECTBL.ini...

    "OFFLINE","SETVAR;my_inc;8"
    "ONLINE","SETVAR;my_inc;0"

    and these lines in my menu.skin.....

    I,430,165,28,34,"ONLINE"
    IND,ONLINE,,Indicators\orange_ball.png

    B,316,290,93,33,"offline",
    B,316,253,93,33,"online",

    L,430,217,121,30,0,0,0,22,"Arial","=$my_inc$","CEN TER"

    The indicator showing whether I'm online or not works, and the buttons I added to trigger the "offline" and "online" events work, but switching the WiFi off and on has no effect.

    I think I can see the problem in the debug.txt file - "ONLINE" executes as "NLIN" and "OFFLINE" executes as "FFLIN" when the WiFi is switched on and off.

    Thanks....
    Mark
    Attached Files Attached Files
    --------------------------------
    Project completed! (almost)

    My Truck as featured in Custom Classic Trucks magazine.

  2. #2
    Constant Bitrate mstaedt's Avatar
    Join Date
    Dec 2007
    Posts
    164
    I modified my EXECTBL.ini accordingly.....

    "OFFLINE","SETVAR;my_inc;8"
    "FFLIN","SETVAR;my_inc;8"
    "ONLINE","SETVAR;my_inc;0"
    "NLIN","SETVAR;my_inc;0"

    Definitely a hack, but it works.
    --------------------------------
    Project completed! (almost)

    My Truck as featured in Custom Classic Trucks magazine.

  3. #3
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    thanks fixed

    that bug had to be there for a Long time
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

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
  •