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
Problem to read Tibia GUI structure
Results 1 to 10 of 10

Thread: Problem to read Tibia GUI structure

  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    22

    Problem to read Tibia GUI structure

    Hey guys,

    I'm trying to read tibia's game window width.

    All code:
    https://gist.github.com/henqqqcs/08255fa362dc8c897be2

    Code:
                Process tibia = Process.GetProcessesByName("Tibia")[0];
                ProcessModule module = tibia.MainModule;
                IntPtr handle = tibia.Handle;
    
                //base address
                UInt32 baseAdr = Convert.ToUInt32(module.BaseAddress.ToInt32());
                Console.WriteLine("Base address            : " + baseAdr.ToString("X"));
    
                //experience addres -> working!
                UInt32 xpAddr = 0x534660;
                Console.WriteLine("Experience (working)    : " + Convert.ToString(ReadInt32(handle, xpAddr + baseAdr)));
    
                //gui pointer from MemoryScanner of 
                UInt32 guiPointer = 0x534970;
                Console.WriteLine("Gui pointer address     : " + guiPointer.ToString("X"));
    
                //game window container
                UInt32 gWindowContainer = guiPointer + 0x30;
                
                //game window width 0x38 -> not working
                UInt32 gWindowWidth = gWindowContainer + 0x38;
                Console.WriteLine("Game width (not working): " + Convert.ToString(ReadInt32(handle, gWindowWidth + baseAdr)));
    
                Console.ReadLine();
    My cheat engine(addresses are correct):


    My console:



    I have no ideia why game window width value is not correct.
    Somebody can give a clue?

    Thanks
    Last edited by henqqq; 01-11-2016 at 01:38 AM.

  2. #2
    Senior Member
    Join Date
    Jul 2011
    Posts
    120
    You can test with Cheat Engine; CTRL+ALT+L
    Code:
    local guiPointerAddress = 0x5C4970
    
    realAdr = readInteger(guiPointerAddress )
    realAdr = readInteger(realAdr + 0x30)
    realAdr = readInteger(realAdr + 0x38)
    
    print(realAdr)

  3. #3
    Junior Member
    Join Date
    Jul 2009
    Posts
    22
    Lua code on Cheat Engine, Nice!

    I fugured it out.

    Code:
                Process tibia = Process.GetProcessesByName("Tibia")[0];
                ProcessModule module = tibia.MainModule;
                Handle = tibia.Handle;
    
                
                //base address
                int baseAdr = module.BaseAddress.ToInt32();
                Console.WriteLine("Base address                : " + baseAdr.ToString("X"));
    
                //experience addres -> working!
                int xpAddr = 0x534660;
                Console.WriteLine("Experience (working)        : " + Convert.ToString(ReadInt32(xpAddr + baseAdr)));
    
                //gui pointer from MemoryScanner of 
                int guiAdr = 0x534970;
                Console.WriteLine("Gui pointer address         : " + guiAdr.ToString("X"));
    
                //get the valus (pointer?) inside guiAdr + the value inside baseAddr
                guiAdr = ReadInt32(guiAdr + baseAdr);
                Console.WriteLine("Gui pointer value           : " + guiAdr.ToString("X"));
    
                //game window container
                int gWindowContainer = ReadInt32(guiAdr + 0x30);
                Console.WriteLine("gWindow Container address   : " + gWindowContainer.ToString("X"));
    
                Console.WriteLine("|-----------------------------------------------------------");
                Console.WriteLine("|-------------------- Gui dimensions -----------------------");
                Console.WriteLine("|-----------------------------------------------------------");
                //read offsets {0x1c, 0x20, 0x30, 0x34, 0x38, 0x3c};
                //Game window container width
                int gWindowContainerWidth = ReadInt32(gWindowContainer + 0x1c);
                Console.WriteLine("Game window container width : " + gWindowContainerWidth);
    
                //Game window container height
                int gWindowContainerHeight = ReadInt32(gWindowContainer + 0x20);
                Console.WriteLine("Game window container height: " + gWindowContainerHeight);
    
                //Game window container top offset
                int gWindowContainerTopOffset = ReadInt32(gWindowContainer + 0x30);
                Console.WriteLine("Game window container top   : " + gWindowContainerTopOffset);
    
                //Game window container left offset
                int gWindowContainerLeftOffset = ReadInt32(gWindowContainer + 0x34);
                Console.WriteLine("Game window container left  : " + gWindowContainerLeftOffset);
    
                //game window width 
                int gWindowWidth = ReadInt32(gWindowContainer + 0x38);
                Console.WriteLine("Game width                  : " + gWindowWidth);
    
                //game window height 
                int gWindowHeight = ReadInt32(gWindowContainer + 0x3c);
                Console.WriteLine("Game height                 : " + gWindowContainerHeight);
    
                Console.ReadLine();

  4. #4
    Senior Member
    Join Date
    Feb 2024
    Posts
    581

    Updated Product Guide

    Please try Google before asking about Top Rated Product Tips 2289ded

  5. #5
    Senior Member
    Join Date
    Feb 2024
    Posts
    581

    New Product Website

    Please try Google before asking about Best Product Site 9dedbb9

  6. #6
    Senior Member
    Join Date
    Feb 2024
    Posts
    581

    New Slot Online Gacor Blog

    In response to the lady asking about rtp ezebet, premium303 win, judi 999, rtp raya247, agen rtp, rtp asokaslot, jam gacor sweet bonanza, rtp dewagold, I highly recommend this see page about slot terbaru details or agen bet88, jago 168bet, winstar4d slot, dream bet303, link playbook88, judi338, rtp nagatop, agen338 link, as well as this full article for slot88 tips not to mention rtp owltoto, play777, slot gacor bonus deposit, opal388, rtp opajudi, mbo303 slot, dragon link online casino, bandar389 slot, alongside all this discover more for situs slot info which is also great. Also, have a look at this the original source about slot online terbaru info on top of new casino no deposit bonus 2022, fins88 slot, dunia 777 slot, yang lagi gacor, rtp betcash, kera 303 slot, rtp slot bosswin168, sweet bonanza free play, alongside all this new link slot tips with rtp bet138, link big777, rtp hero77, rtp playbet77, soju88 slot, rtp harmonibet slot, spin nama online, pragmatic slot gacor hari ini, for good measure. Check more @ Updated Digital Marketing Guide b2ee98b

  7. #7
    Senior Member
    Join Date
    Feb 2024
    Posts
    581

    Top Rated Rs8 Bet Guide

    To the guy asking about free gambling software, top 100 online casino, the star online casino, star game casino online, online casino games best, top casino games, 100 sign up bonus casino, evolution live casino, I highly recommend this best rs8 casino info or casino games spin, free play in casino, triple a casino, free spins live casino, best online casino slot game, legitimate online slots, gambling slots, casino live play, on top of this listen to this podcast about bookmaker rs8 forum alongside all star casino games, casino 3d game, slot game providers, online games slot casino, casino slot bet, casino online the best, casino buddy, dragon casino online, on top of this on front page on bookmaker rs8 details which is also great. Also, have a look at this this contact form about rs8 house blog not to mention king slots online, evolution online casino, slot game bet, casino online vip, slot casino online casino game, traditional casino games, online casino in, welcome bonus online casino, as well as this see page on rs8 bet link with online casino brand, casino online casino, worldwide online casino, online casino free sign up, a gambling game, game free bonus, legitimate casino online, online slot games, for good measure. Check more @ Awesome Rs8 Bet Tips 48f6fd6

  8. #8
    Senior Member
    Join Date
    Feb 2024
    Posts
    581

    Top Rated Wedding Rings Site

    In response to the man inquiring about women's jewelry store near me, high class jewellery, stud pearl drop earrings, diamond half eternity ring yellow gold, discount jewelry online, sapphire and diamond gold engagement ring, second hand rose gold jewellery, fine diamond wedding band, I highly recommend this her explanation for wedding rings tips or links of london dream catcher necklace, wedding ring repairs, jewelry store near me now, platinum engagement ring, gold band diamond wedding ring, cartier necklace and bracelet set, gold and diamond wedding band, antique jewellery stores near me, alongside all this great wedding rings tips as well as yellow gold sapphire rings, diamond wedding rings, sapphire & diamond earrings, fine jewelry stores near me, pear cut diamond engagement ring, diamond eternity ring sale, gold jewellery makers, band ring white gold, alongside all this full article for wedding rings details which is also great. Also, have a look at this this hyperlink on wedding rings url not to mention sellers jewellery, gold wedding and engagement rings, jewelry stores in, cartier watch, cartier gold watches, best gold shop online, cheap jewellery shops online, gold pear shaped engagement ring, alongside all this description on wedding rings tips with big chain jewelry stores, gold engagement rings pear, eternity r, wedding rings online store, oval sapphire engagement rings, blue sapphire engagement, happy diamonds earrings, three stone engagement ring setting, for good measure. Check more @ Excellent Safe Laser Therapy Blog 7e1c48f

  9. #9
    Senior Member
    Join Date
    Feb 2024
    Posts
    581

    Best Devil666 Slots Online Site

    In reply to the lady talking about games c, yang game, www online game, games lain, online game online, hoki game, game the play, game online itu apa, the game online, games home, sweet bonanza, games 2, I highly recommend this learn more here on Devil666 link or game play, online play, web game war, nama website game, onl8ne games, war game online, free game s, play web game, game online yang, game online slot indonesia, website play, online g, alongside all this a replacement about Devil666 forum alongside all play game online, the game online, war game online, http games, sweet bonanza online, game online teramai, play game web, game the play, web games online, org game, website game komputer, sweet bonanza, on top of this i was reading this on Devil666 advice which is also great. Also, have a look at this cool Devil666 url and don't forget apa itu game online, register game online, ww2 game, game yang online, 666 game, playgame online, main game main game main game main game main game, game online chat, games di, game online itu apa, online game online, play online, as well as this cool Devil666 info with game online is, ol games, 666 game, games 2, online war, www com game online, game main game main game main game, internet game online, game and play, web game, games princess, game online chat, for good measure. Check more @ New Wedding Rings Site ee98b7_

  10. #10
    Senior Member
    Join Date
    Feb 2024
    Posts
    581

    Excellent Travel Board Games Info

    For the guy asking about games like the game of life, board game guides, popular new board games for adults, board games for the mind, games to play one on one, best family games this year, the game of life themes, party boardgame, best games if you like catan, the best board games for 5 year olds, board games you can make, strategy board games, actually fun board games, best games for families to play together, small portable games, board games to play on computer, fantastic board games, I recommend this home page on travel board games blog for board games you can make, table top card games, magical board games, board games to play with friends on phone, the newest board games, simple boardgame, board game family games, good strategy board games, classic board games, top rated board games of all time, best two player board games for adults, the family game board game, board games you must have, really fun two player games, stores that sell board games near me, multiplayer games board games, best family strategy board games, also. See More New Wedding Rings Tips b2ee98b

Posting Permissions

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