Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Mon Apr 29, 2024 2:23 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Texthacking Programm
PostPosted: Sat Aug 02, 2008 7:08 pm 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Jul 11, 2007 6:42 pm
Posts: 24
Location: Germany
Code:
/* beschreibung */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main()
{
   
  int adress;
  char string[50];
  int i,
      K = 3,
      n,
      A = 0,
      T = 3;

  printf("Please put in your adress you want to write your text here: ");
  scanf("%p",&adress);
  getchar();
  printf("\n");
 
  printf("Please put in your text you want to write to your adress here: ");
  scanf("%s",&string);   
  getchar();
           // fgets(string, 1000, stdin);
  printf("\n\n");
 
 
  n = strlen(string)+1;
 
 
 
   printf("%p ",adress);   // er schreibt einmal die adresse dazu
 
  for(i=0; i <= n; i++)   //  er geht am anfang mit i = 0 in die for schleife;
    {       
           
           
            printf("%x", string[K-A]);
           
            A++;
           
           if(T==0)  // er überprüft ob i = 3 ist, i=0 also ignoriert er die befehle in der bedingung
           {
                     printf("\n");  //neue Zeile ^^
              T=4;
              K+=4;   //konstante K = K + 4, K = 3 + 4 (in der zweiten Zeile) 
             
              A = 0; // setzt A züruck auf 0
                     
                       adress+=4;   // die adresse wird um 4 erhöht
                         printf("%p ",adress);   // er schreibt immer die addresse dazu und addiert 4 zum offset^^
                         
                       
           }
           
             
                     
             
             T--;
             
                             
    }
   
   
   
 printf("\n\n");
 
  system("PAUSE");   
  return 0;
}



I thought of making a programm that can make it a way easier to print out your ar-code when you want to change some texts in your game, but in the last adress that the program prints out is always wrong.
idk how to fix it and want to question you, how i can write the programm a way easier or better.
its only a test how good im in C-programming but yet im exhausted with it.

one example for the programm is how to hack your name in mph.
for example you want to named Kodewerx.
you have to type in the adress (of the name) and "Kodewerx" then the programm should print out the ar-code.

i hope s.o. could help to make the programm work.

_________________
Image
Image

Metroid Prime Hunters Namehack v2.0
see opponents hand fixed 2.0


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group