Results 1 to 5 of 5
  1. #1
    cnttuchme's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    NA
    Posts
    187
    Reputation
    11
    Thanks
    49
    My Mood
    Inspired

    Question about offsets

    I recently started coding my own hacks witch will be realeased soon. Ive been using the *(float*) method witch has worked all the way threw it except for 2 hacks gold premium and opk. Through analysis i noticed that.


    Code:
    #define ADR_Spread 0x00B042B0
    #define OFS_PREMIUM 0x00374
    Spread has ADR_nospread as premuim has OFS...
    Now just an educated guess that ADR = address and OFS = offset..how would i find the address of the offset if not how would i code he offset for gold prem.

    Also here is how ive coded my nospread witch works perfectly
    Code:
    //No Spread
    void Spread()
    {
    *(float*) ADR_Spread = 0;
    }

  2. #2
    BooYa's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    hre
    Posts
    111
    Reputation
    10
    Thanks
    19
    This is from a tutorial, not sure if it works

    Code:
    void premium () //Gold Premium
    {
    DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
    if(dwPlayerPtr != 0)
    {
    *(long*)(dwPlayerPtr+Premium_OffSet) = 3, 10; // 1 = bronze  2 = silver 3 = gold
    }
    }

  3. The Following 2 Users Say Thank You to BooYa For This Useful Post:

    cnttuchme (09-29-2009),why06 (09-29-2009)

  4. #3
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Yeh you would just add the offset to the base pointer, which in this case is the PlayerPointer, just like Booya said.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  5. The Following User Says Thank You to why06 For This Useful Post:

    cnttuchme (09-30-2009)

  6. #4
    cnttuchme's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    NA
    Posts
    187
    Reputation
    11
    Thanks
    49
    My Mood
    Inspired

    YES!!!

    Quote Originally Posted by BooYa View Post
    This is from a tutorial, not sure if it works

    Code:
    void premium () //Gold Premium
    {
    DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
    if(dwPlayerPtr != 0)
    {
    *(long*)(dwPlayerPtr+Premium_OffSet) = 3, 10; // 1 = bronze  2 = silver 3 = gold
    }
    }
    Thank you so much !!!......i would love you to be added to my msn messenger or yahoo im
    Yahoo: johnjohn51392@yahoo.com
    msn:cnttuchme@hotmail.com

    As a matter of fact anyone who codes can add me b/c im just starting to learn to code...
    Last edited by cnttuchme; 09-29-2009 at 04:33 PM. Reason: idk

  7. #5
    cnttuchme's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    NA
    Posts
    187
    Reputation
    11
    Thanks
    49
    My Mood
    Inspired
    Code:
    //STAMINA
    void STAMINA()//unlimited stamina
    {
    DWORD dwplayerPtr = *(DWORD*)Serverpointer;
    if(dwPlayerPtr != 0)
    {
    *(long*) (dwplayerPtr+OFS_STAMINA) = 5000, 5000;
    }
    }
    undeclared identifier???
    any suggestions...
    Sorry for double post

Similar Threads

  1. Questions about Torrents.
    By SadisticGrin in forum Hardware & Software Support
    Replies: 19
    Last Post: 12-20-2006, 03:34 PM
  2. Question About Invisible Hack
    By wafflele in forum WarRock - International Hacks
    Replies: 14
    Last Post: 08-06-2006, 12:40 AM
  3. A question about NFV2
    By vomer in forum WarRock - International Hacks
    Replies: 19
    Last Post: 08-02-2006, 06:02 PM
  4. Questions about making colored models
    By zelda803 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 02-04-2006, 06:36 PM
  5. question about zoom
    By yocinfluence in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-26-2006, 10:12 PM