Results 1 to 1 of 1
  1. #1
    garupede's Avatar
    Join Date
    Oct 2016
    Gender
    male
    Location
    WHERE'S DA PUSSY
    Posts
    40
    Reputation
    10
    Thanks
    55
    My Mood
    Twisted

    Settings-modifier TEKNOMW3 --> UPDATE(colours)

    Hi guys,
    This is an update of the modifier for tekno settings that I posted yesterday; I added the function for the colours in order to mae it a little well-appearing; I hopw you will like it. Remember to put it in your game folder, in older to have " teknogods.ini " and this program together.
    Byeee


    Correction: some bugs have been corrected.

    #define _CRT_SECURE_NO_WARNINGS

    #include <stdio.h>
    #include <stdlib.h>
    #include <windows.h>
    #include <conio.h>

    #define dim 20

    typedef struct {
    char name[dim], clantag[dim], title[dim];
    int maxfps, fov;
    }user;

    void SetColor(short Color){
    HANDLE hCon = GetStdHandle(STD_OUTPUT_HANDLE); // oppure system("COLOR E9");
    SetConsoleTextAttribute(hCon, Color);
    }

    main() {
    FILE* fp;
    FILE* f;
    FILE* fin;
    user utente;
    char s[81];
    SetColor(11);
    printf("The followings are your actual settings:\n");
    if ((fp = fopen("teknogods.ini", "r")) == NULL)
    exit(1);
    else {
    while (!feof(fp)) {
    SetColor(5);
    fscanf(fp, "%s\n", s);
    printf("%s\n", s);
    }
    fclose(fp);
    }
    printf("\n\n\n");
    f = fopen("teknogods.ini", "w+t");
    fprintf(f, "[Settings]\n");
    SetColor(11);
    printf("These will be your own settings.\n");
    SetColor(12);
    printf("Type your name: ");
    SetColor(10);
    scanf("%s", utente.name);
    SetColor(12);
    printf("Type your ClanTag: ");
    SetColor(10);
    scanf("%s", utente.clantag);
    SetColor(12);
    printf("Type your title: ");
    SetColor(10);
    scanf("%s", utente.title);
    SetColor(12);
    printf("Type your FPS max: ");
    SetColor(10);
    scanf("%d", &utente.maxfps);
    do {
    SetColor(12);
    printf("Type your FOV: ");
    SetColor(10);
    scanf("%d", &utente.fov);
    } while (utente.fov < 65 || utente.fov>90);
    fprintf(f, "Name=%s\n", utente.name);
    fprintf(f, "ClanTag=%s\n", utente.clantag);
    fprintf(f, "Title=%s\n", utente.title);
    fprintf(f, "MaxFps=%d\n", utente.maxfps);
    fprintf(f, "FOV=%d\n", utente.fov);
    fclose(f);
    SetColor(11);
    printf("\n\n\nThe followings are your new settings:\n");
    if ((fin = fopen("teknogods.ini", "r")) == NULL)
    exit(1);
    else {
    while (!feof(fin)) {
    SetColor(14);
    fscanf(fin, "%s\n", s);
    printf("%s\n", s);
    }
    fclose(fin);
    }
    system("pause");
    }
    Last edited by garupede; 12-02-2016 at 08:02 AM.

  2. The Following User Says Thank You to garupede For This Useful Post:

    manu2405_ (02-07-2017)

Similar Threads

  1. [Source Code] Settings-modifier TEKNOMW3
    By garupede in forum C++/C Programming
    Replies: 1
    Last Post: 12-09-2016, 05:01 PM
  2. [Patched] MW3 Reset Tool (Also Set Option) 1.0 [Updated]
    By Jorndel in forum Call of Duty 8 - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 13
    Last Post: 04-30-2012, 10:17 AM
  3. Replies: 4
    Last Post: 11-19-2010, 10:18 PM
  4. [1.3.37]Modified exe[HACKS][UPDATED]
    By Hell_Demon in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 19
    Last Post: 05-31-2010, 01:24 AM
  5. Realse+Tut|Colour "OGC AimBot"/How To Setting\
    By almog6666 in forum Combat Arms Europe Hacks
    Replies: 15
    Last Post: 03-14-2009, 10:21 AM