Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6
[C++ Source]The mighty Mana Bar - Page 2
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: [C++ Source]The mighty Mana Bar

  1. #11

    RE: [C++ Source]The mighty Mana Bar

    Im change address bor tibia 8.70, but not exec

    #define PRINT_TEXT_FUNC_ADDR 0x4B4D50
    #define DRAW_RECT_DX5_FUNC_ADDR 0x525990
    #define DRAW_RECT_DX9_FUNC_ADDR 0x52EED0
    #define DRAW_RECT_OGL_FUNC_ADDR 0x53CE70
    #define PREPARE_DRAW_RECT_FUNC_ADDR 0x5239C0
    #define GRAPHIC_ENGINE_MODE_ADDR 0x7C9DCC

    #define CURRENT_HP_BAR_DRAWING_CREATURE (0x18E108-0x30)
    #define EXPERIENCE 0x63FD50
    #define SELFID (EXPERIENCE + 16)
    #define SELFMANA (EXPERIENCE - 24)
    #define SELFMAXMANA (EXPERIENCE - 28)

    //HP Bar patches
    #define PRINT_NAME_PATCH_ADDR 0x4F57C3 //4F14F3
    #define PLACE_BLACK_BAR_CALL 0x4F56D5 // -EE
    #define FIX_BLACK_BAR_CALL 0x4F56DB // -E8
    #define PLACE_COLOR_BAR_CALL 0x4F5783 // -40
    #define FIX_COLOR_BAR_CALL 0x4F5789 // -2A


    HELP

  2. #12
    Junior Member
    Join Date
    Mar 2011
    Posts
    2

    RE: [C++ Source]The mighty Mana Bar

    Hello, I have tried to change the addresses to 8.54 but it hasn't worked. If someone could either post the addresses and where to change in the files or how to find them (and also where to change) I would appreciate it!

    Spaz

  3. #13
    Junior Member
    Join Date
    May 2010
    Posts
    12

    RE: [C++ Source]The mighty Mana Bar

    wtf ? i login to server 8.62 > run injector and debug ;/


  4. #14
    Junior Member
    Join Date
    Aug 2012
    Posts
    3

    RE: [C++ Source]The mighty Mana Bar

    Could someone compile a client with a manabar in 8.54?
    I really don't know what to do,I don't know anything about programming. :P

  5. #15
    Senior Member
    Join Date
    Oct 2009
    Location
    Poland, Świebodzin
    Posts
    233

    RE: [C++ Source]The mighty Mana Bar

    You can compile it alone. Here you are with 8.54 addresses:

    [code=cpp]const DWORD CURRENT_HP_BAR_DRAWING_CREATURE = (0x13E114-0x30);
    const DWORD PRINT_TEXT_FUNC_ADDR = 0x4B0550;
    const DWORD DRAW_RECT_DX5_FUNC_ADDR = 0x51F640;
    const DWORD DRAW_RECT_DX9_FUNC_ADDR = 0x528B90;
    const DWORD DRAW_RECT_OGL_FUNC_ADDR = 0x536940;
    const DWORD PREPARE_DRAW_RECT_FUNC_ADDR = 0x51D6B0;
    const DWORD GRAPHIC_ENGINE_MODE_ADDR = 0x792238;
    const DWORD PLACE_BLACK_BAR_CALL = 0x4F08A5;
    const DWORD FIX_BLACK_BAR_CALL = 0x4F08AB;
    const DWORD PLACE_COLOR_BAR_CALL = 0x4F0953;
    const DWORD FIX_COLOR_BAR_CALL = 0x4F0959;[/code]

    Regards, Czepek!

  6. #16
    Junior Member
    Join Date
    Aug 2012
    Posts
    3

    RE: [C++ Source]The mighty Mana Bar

    Well I really don't know how to compile it,could someone explain me - quick tutorial? :P

  7. #17
    Junior Member
    Join Date
    Oct 2012
    Posts
    3

    RE: [C++ Source]The mighty Mana Bar

    does it work in what version ?

  8. #18
    Junior Member
    Join Date
    Mar 2007
    Posts
    24
    Does someone have the source of code of this project?

  9. #19
    Member
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    47
    You need to write it by your own.
    I made this in that way:
    -Trampoline hook for hp bar drawing
    -Check if current creature is our player
    -Save x,y position of hp bar
    -Add 5 to y
    -Draw black bar
    -Fix bar
    -(Mana/MaxMana)*25 - Full mana will take 25 pixel as width of hp
    -Draw blue bar
    -Return to regular function, draw hp bar, nickname

  10. #20
    Junior Member
    Join Date
    Mar 2007
    Posts
    24
    Thanks for the help Blues, I managed to do it. Do you know an interesting way to make the new mana bar interact with ambient light like the HP bar does?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •