World of Tanks Offsets ( HP Offset ? ) menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    gulba's Avatar Member
    Reputation
    8
    Join Date
    Mar 2012
    Posts
    36
    Thanks G/R
    4/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    World of Tanks Offsets ( HP Offset ? )

    I am currently working on a Bot for WoT. Somehow I am not able to get to the final HP , Max_HP Pointer... tank dies to fast...

    So anyone got the Offset ? other offsets would be useful too.

    World of Tanks Offsets ( HP Offset ? )
  2. #2
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Assuming you know how to iterate over the Python objects..

    Code:
    struct Vehicle : PyVarObject
    {
        inline PyBoolObject* isPlayer( void ) { return ( PyBoolObject* )PyTool_GetAttr( ( PyObject* )this, "isPlayer" ); }
        inline VehicleType* typeDescriptor( void ) { return ( VehicleType* )PyTool_GetAttr( ( PyObject* )this, "typeDescriptor" ); }
        inline PyBoolObject* isStarted( void ) { return ( PyBoolObject* )PyTool_GetAttr( ( PyObject* )this, "isStarted" ); }
        inline PyIntObject* health( void ) { return ( PyIntObject* )PyTool_GetAttr( ( PyObject* )this, "health" ); }
        inline PyBoolObject* isCrewActive( void ) { return ( PyBoolObject* )PyTool_GetAttr( ( PyObject* )this, "isCrewActive" ); }
    
    
        // Custom function for my own sanity
        inline Math::Angle GetAngle( void ) { return Math::Angle( yaw, pitch, roll, true ); }
    
    
        long            playerVehicleID;
        Math::Vec3        position;
        Math::Vec3        velocity;
        float            yaw;
        float            pitch;
        float            roll;
    };
    Code:
    inline PyObject* PyTool_DictGetValue( PyObject* dict, const char* str )
    {
        PyObject* key,* value;
        PyStringObject* sval;
        Py_ssize_t pos = 0;
    
    
        if ( dict == 0 || !PyDict_Check( dict ) )
            return 0;
    
    
        while ( PyDict_Next( dict, &pos, &key, &value ) )
        {
            sval = ( PyStringObject* )key;
            if ( strcmp( ( char* )sval->ob_sval, str ) == 0 )
                return value;
        }
    
    
        return 0;
    }
    
    
    inline PyObject* PyTool_GetAttr( PyObject* obj, const char* str )
    {
        PyObject* dict,* oval;
    
    
        if ( obj == 0 || obj->ob_type == 0 )
            return 0;
    
    
        dict = obj->ob_type->tp_dict;
        oval = PyTool_DictGetValue( dict, str );
        if ( oval != 0 )
            return oval;
    
    
        if ( obj->ob_type->tp_dictoffset > 0 )
        {
            dict = *( PyObject** )( ( unsigned long )obj + ( obj->ob_type->tp_dictoffset ) );
            oval = PyTool_DictGetValue( dict, str );
            return oval;
        }
    
    
        return 0;
    }


  3. #3
    gulba's Avatar Member
    Reputation
    8
    Join Date
    Mar 2012
    Posts
    36
    Thanks G/R
    4/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that dosnt help me out, what is it supposed to do ?

  4. #4
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I gives you access to things like vehicle type descriptors, health etc. etc.


    If that doesn't help you, then I'm sorry but I can't help you.


  5. #5
    adm001's Avatar Banned
    Reputation
    1
    Join Date
    Mar 2012
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wenn Sie Fähigkeiten von Tera (Tera Gold) und dem Video aktualisieren wollen, dann können Sie unter: TeraGoldeu - Buy cheapest Tera Gold,Tera Gold,Tera Items,Tera Powerleveling
    World of Tanks Offsets ( HP Offset ? )-20120331022105_43906-jpg

Similar Threads

  1. [Selling] World of Tanks T34
    By Teerwik in forum General MMO Buy Sell Trade
    Replies: 1
    Last Post: 05-03-2011, 06:16 PM
  2. World of Tanks MOAR Beta Keys!
    By kazoooka in forum Community Chat
    Replies: 1
    Last Post: 08-06-2010, 10:28 PM
All times are GMT -5. The time now is 05:25 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search