Register
Page 42 of 45 FirstFirst ... 32373839404142434445 LastLast
Results 616 to 630 of 664

Thread: ETSmart script!

  1. #616
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    Good to see people getting familar with this stuff still, If anyone wants help writing there own scripts, I can assist (Literally wrote the guide on this stuff),

    Perun main thing I would say is use consistant indentation, makes things easier to maintain, you know your free to change the messages up to your own native language if your more comfortable with that, anything in quotation marks can be safely changed without any risk. all of it was in russian before I re-wrote those templates

    Also the milage can get above your max value, but you need to find some high milage dumps to resolve the why
    A file for feedback, This is all that is asked on this site, Did it work? what value appeared on the dash? maybe some photos or a power-up,

  2. The Following 8 Users Say Thank You to Rerouter For This Useful Post:

    brend (22nd February, 2021), FxShaw (14th February, 2021), Johnner (8th February, 2021), jomberykaso (8th February, 2021), neospeedo (8th February, 2021), Niaz (14th March, 2021), teerak2uk (8th February, 2021), zckariya70 (8th February, 2021)

  3. #617
    V.I.P. Member
    zckariya70's Avatar
    Join Date
    Jan 2014
    Location
    Inside EEPROM
    Posts
    5,050
    Thanks Thanks Given 
    3,542
    Thanks Thanks Received 
    6,141
    Thanked in
    3,250 Posts

    Default

    Quote Originally Posted by Rerouter View Post
    Good to see people getting familar with this stuff still, If anyone wants help writing there own scripts, I can assist (Literally wrote the guide on this stuff),

    Perun main thing I would say is use consistant indentation, makes things easier to maintain, you know your free to change the messages up to your own native language if your more comfortable with that, anything in quotation marks can be safely changed without any risk. all of it was in russian before I re-wrote those templates

    Also the milage can get above your max value, but you need to find some high milage dumps to resolve the why


    Happy to see u again ,Welcome back to DK ..................
    Nothing will remain in this World , Everything will come to END!




    THINK POSITIVE NOTHING IS IMPOSSIBLE






    Please do not spam by PM asking for help. Use forum, that is why we are here.

  4. The Following 3 Users Say Thank You to zckariya70 For This Useful Post:

    DashProg (6th August, 2022), Johnner (6th March, 2021), neospeedo (8th February, 2021)

  5. #618
    Member
    ElectroRadar's Avatar
    Join Date
    Mar 2018
    Location
    Mexico
    Posts
    89
    Thanks Thanks Given 
    24
    Thanks Thanks Received 
    5
    Thanked in
    3 Posts

    Default

    Good morning, everyone, can you help me make a mileage calculator to modify the odometer of a 2009 ford lobo with eeprom 24c16
    Attached Files Attached Files

  6. #619
    V.I.P. Member
    jomberykaso's Avatar
    Join Date
    Sep 2013
    Location
    En algun lugar de Chile
    Posts
    12,380
    Thanks Thanks Given 
    2,826
    Thanks Thanks Received 
    9,177
    Thanked in
    6,317 Posts

    Default

    Quote Originally Posted by ElectroRadar View Post
    Good morning, everyone, can you help me make a mileage calculator to modify the odometer of a 2009 ford lobo with eeprom 24c16

    2396xx kms?
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    ONLINE CAR FILE EDITION SERVICE

    SERVICIOS DE EDICION DE ARCHIVOS AUTOMOTRICES

  7. #620
    Member
    ElectroRadar's Avatar
    Join Date
    Mar 2018
    Location
    Mexico
    Posts
    89
    Thanks Thanks Given 
    24
    Thanks Thanks Received 
    5
    Thanked in
    3 Posts

    Default

    If this is but it is in miles your answer is approximately 239677 miles

    Can you help me with the calculation please to be able to modify this value
    Last edited by ElectroRadar; 13th February, 2021 at 05:47 AM.

  8. #621
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    Usually Visteon 128 Algo, 0x798-7AB, so you should just have to tweak the start and stop locations of an existing visteon script.

    Technically the same as a F150 calc,

    And yes 239667 is the value in that file.
    A file for feedback, This is all that is asked on this site, Did it work? what value appeared on the dash? maybe some photos or a power-up,

  9. The Following 2 Users Say Thank You to Rerouter For This Useful Post:

    Johnner (5th March, 2021), neospeedo (1st March, 2021)

  10. #622
    Member
    ElectroRadar's Avatar
    Join Date
    Mar 2018
    Location
    Mexico
    Posts
    89
    Thanks Thanks Given 
    24
    Thanks Thanks Received 
    5
    Thanked in
    3 Posts

    Default

    Do you know where I can get this scrip for the f150 2009 and please

  11. #623
    Top Poster +
    Join Date
    Aug 2013
    Posts
    223
    Thanks Thanks Given 
    44
    Thanks Thanks Received 
    37
    Thanked in
    21 Posts

    Default

    Quote Originally Posted by Rerouter View Post
    Here you go, easy as pie
    I am making one for Fortuner/Hilux Innova 2016 and up, is there a need for checksum so no freezing?
    Last edited by toastedsiopao; 22nd February, 2021 at 11:14 AM.

  12. #624
    Member
    ElectroRadar's Avatar
    Join Date
    Mar 2018
    Location
    Mexico
    Posts
    89
    Thanks Thanks Given 
    24
    Thanks Thanks Received 
    5
    Thanked in
    3 Posts

    Default

    Can you help me calculate this script, it does not give me the mileage and it does not modify it either, it gives me other values



    Program Prog1;
    var
    Code,Code_1: string;
    KM: Integer;

    Procedure ReadKM;

    begin
    AddMsg('F150-Lobo km');
    Code_1:=inttohex(GetByteHexEdit($798),2)+inttohex( GetByteHexEdit($799),2);
    Delete(Code_1,1,1);
    Code:=IntToStr(StrToInt('$'+ Code_1)*128)
    AddMsg('KILOMETRAJE ACTUAL: '+ Code+' km');

    MsgBox('KILOMETRAJE ACTUAL: '+ Code+' km', 'KM ACTUAL', MB_OK);
    end;


    procedure NewKM;
    var
    n,new_KM: integer;
    n1: String;

    begin
    SetProgramModifiedOnly( true );
    if InBox( 'CAMBIA EL KM', 'ESCRIBE EL KM DESEADO', code ) then begin

    end;
    if StrToInt( code )> 999999 then begin
    MsgBox( 'Enter 000001-999999 Code', 'Error', MB_OK );
    exit;
    end;

    n := StrToInt( code );
    new_KM:= (16384 xor(n/128));

    n1:= IntToHex(new_KM,4);


    SetByteHexEdit( $798,(strtoint ('$'+n1[3]+n1[4])));
    SetByteHexEdit( $799,(strtoint ('$'+n1[1]+n1[2])));
    SetByteHexEdit( $79C,(strtoint ('$'+n1[3]+n1[4])));
    SetByteHexEdit( $79D,(strtoint ('$'+n1[1]+n1[2])));
    SetByteHexEdit( $7A1,(strtoint ('$'+n1[3]+n1[4])));
    SetByteHexEdit( $7A2,(strtoint ('$'+n1[1]+n1[2])));
    SetByteHexEdit( $7A4,(strtoint ('$'+n1[3]+n1[4])));
    SetByteHexEdit( $7A5,(strtoint ('$'+n1[1]+n1[2])));
    SetByteHexEdit( $7A8,(strtoint ('$'+n1[3]+n1[4])));
    SetByteHexEdit( $7A9,(strtoint ('$'+n1[1]+n1[2])));

    RefreshHexEdit;
    if MsgBox( 'PROGRAMAR?', 'CONFIRMAR', MB_YESNO ) = IDYES then begin
    SetProgramModifiedOnly( true );
    ProgramDevice;
    VerifyDevice;
    ReadKM;
    end;

    end;




    begin

    AddDeviceGroup( 'FORD ', 'SELECCIONAR' );
    AddDevice('F150 2009', '24C16', 'FORD ', '24C16' );
    AddAction( 'Read KM', 'ReadKM', 'F150 2009' );
    AddAction( 'New KM', 'NewKM', 'F150 2009' );




    end.

  13. #625
    Newbie
    Join Date
    Aug 2015
    Posts
    5
    Thanks Thanks Given 
    4
    Thanks Thanks Received 
    7
    Thanked in
    2 Posts

    Default

    Try this one.
    Attached Files Attached Files

  14. The Following 5 Users Say Thank You to perun750 For This Useful Post:

    ElectroRadar (28th February, 2021), janushaan (24th June, 2021), Tolik48 (3rd November, 2021)

  15. #626
    Member
    ElectroRadar's Avatar
    Join Date
    Mar 2018
    Location
    Mexico
    Posts
    89
    Thanks Thanks Given 
    24
    Thanks Thanks Received 
    5
    Thanked in
    3 Posts

    Default

    I thank you but this file as I execute it I use scrip for upa

  16. #627
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    Electroradar, as I am not as familiar with UPA's scripts syntax (believe its based on BASIC), if you could translate it to something closer to C Language or psudo code, I can help go over it,

    At a minimim it looks like its missing stuff, both from the read and expecially from the write,

    From the text its for a F150 24C16, that should be a Visteon 128 algorithm the 798-7AB variant,

    If you take a look at what perun supplied, with the big 3 stage lookup table at the end, that is something your going to need to translate to properly set these files within 1500km of what you type in, for ETSmart Scripts, everything after OnShow is the read section, everything after OnApply is the write section. Implementing this will get you within atleast 128km or 64km depending how you implement it, There is more to be done if your willing to work it out to get it to 1km, or to read / write higher than about 200,000km

    Edit, for the read, I can atleast give a rundown of what is supposed to happen. Take 0x798, shift it left by 4 (or times by 16, for the same result), then add that to the 0x799, right shifted by 4, then anded with 0xF
    Last edited by Rerouter; 1st March, 2021 at 11:03 AM.
    A file for feedback, This is all that is asked on this site, Did it work? what value appeared on the dash? maybe some photos or a power-up,

  17. The Following 7 Users Say Thank You to Rerouter For This Useful Post:

    andrym3 (25th March, 2021), bandus (2nd March, 2021), ElectroRadar (2nd March, 2021), Johnner (5th March, 2021), jomberykaso (2nd March, 2021), maremuruk (3rd May, 2023), neospeedo (1st March, 2021)

  18. #628
    Member
    ElectroRadar's Avatar
    Join Date
    Mar 2018
    Location
    Mexico
    Posts
    89
    Thanks Thanks Given 
    24
    Thanks Thanks Received 
    5
    Thanked in
    3 Posts

    Default

    Le agradezco su interés Redirior no estoy familiarizado con este programa ETS, se ve que es muy bueno, estoy más basado en Pascal ya que Upa maneja diferentes formas de hacer algoritmos y lo que necesito es calcular más de 400.000 km que ocupo para aumentar el kilometraje y no para bajarlo pero los algoritmos no me dan para modificar bien el valor, el valor que lee el algoritmo está bien al cambiarlo hace que sea incorrecto.


    Ahora si quería que el valor se diera en Km ya que este valor se da en Mile y ocupo que el resultado está en km. Gracias, ya entendí el guión de ETSmart y logré hacer el guión para Ford Lobo 2009 con eeprom 24C16, también adjuntar la conversión de millas a kilómetros, así que ahora lees kilómetros y escribes kilómetros, saludos a todos y gracias por las sugerencias posteriores intentaré continuar con el scrip upa


    F150.jpg
    Last edited by ElectroRadar; 3rd March, 2021 at 05:13 AM.

  19. #629
    V.I.P. Member
    zckariya70's Avatar
    Join Date
    Jan 2014
    Location
    Inside EEPROM
    Posts
    5,050
    Thanks Thanks Given 
    3,542
    Thanks Thanks Received 
    6,141
    Thanked in
    3,250 Posts

    Default

    [QUOTE=ElectroRadar;4077516]Le agradezco su interés Redirior no estoy familiarizado con este programa ETS, se ve que es muy bueno, estoy más basado en Pascal ya que Upa maneja diferentes formas de hacer algoritmos y lo que necesito es calcular más de 400.000 km que ocupo para aumentar el kilometraje y no para bajarlo pero los algoritmos no me dan para modificar bien el valor, el valor que lee el algoritmo está bien al cambiarlo hace que sea incorrecto.


    Ahora si quería que el valor se diera en Km ya que este valor se da en Mile y ocupo que el resultado está en km. Gracias, ya entendí el guión de ETSmart y logré hacer el guión para Ford Lobo 2009 con eeprom 24C16, también adjuntar la conversión de millas a kilómetros, así que ahora lees kilómetros y escribes kilómetros, saludos a todos y gracias por las sugerencias posteriores intentaré continuar con el scrip upa


    F150.jpg[/QU





    Ask ur solution in only english , Not in other language...........
    Nothing will remain in this World , Everything will come to END!




    THINK POSITIVE NOTHING IS IMPOSSIBLE






    Please do not spam by PM asking for help. Use forum, that is why we are here.

  20. The Following 2 Users Say Thank You to zckariya70 For This Useful Post:

    gmb45 (3rd March, 2021), PremierD (3rd March, 2021)

  21. #630
    Member
    ElectroRadar's Avatar
    Join Date
    Mar 2018
    Location
    Mexico
    Posts
    89
    Thanks Thanks Given 
    24
    Thanks Thanks Received 
    5
    Thanked in
    3 Posts

    Default

    Good morning zckariya70 I published the solution in Spanish because I am from Mexico but if any member occupies that I explain it in English or will occupy it in English I will gladly support you in the solution in English greetings and thanks for the help greetings from MEXICO

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.