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 85

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 85

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
Tibia Address Delphi 10.53
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Tibia Address Delphi 10.53

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    15

    Question Tibia Address Delphi 10.53

    Hello to all, first I'm sorry for the typos, my ingles is by google translator
    * I have a doubt how to update the Address in Delphi, tried to update several more ways I can not always give some error.
    some examples are: selfSoul = $419648 this would be the address in version selfsoul 10:53...
    9:53 version would: selfSoul = $3BA0D0;
    him on the site in version Blackd 9:53's how: adrMySoul=&H7BA0D0...
    and 10:53 version is like: adrMySoul=&H819648
    So, from what I could understand is: in the current version (10:53) he would trade 8 by 4, so instead of getting &H819648 -> $419648

    someone could help me update the address or point me some good stuff so I can study and learn how to do this?
    sorry for the mistakes, I'm new to programming for bots.


    Here is the link address in the 9:51 version, 9.83, and some in the current version .. 10:53
    if someone can help update, be grateful -> Address Tibia Bot Delphi

    http://pastebin.com/KY5DJkN1

  2. #2
    Senior Member Lolrapa's Avatar
    Join Date
    Mar 2014
    Posts
    125
    The memory addresses are relative to the position of the beginning of Tibia in the RAM (calles BaseAddress). Normaly this value is 0x400000. So this address has to be subtracted to the absolute position in order to read it.
    (I'm actually not quite sure about if that's the cause of the substraction, excuse me if I'm wrong.)


    Ex. &H819648 - 0x400000 = &H419648 = $419648
    &H, 0x, $ just indicate to the compiler that is a hexadecimal number.

    When I make the WinApi call to read I use the realtive position.

    I just realize that Tibia has been updated so I haven't updated the adresses myself, but I leave you here a list of some addresses for Tibia 10.52. It would be great I'f you can check them and tell me which ones work and which ones don't.

    Code:
    <const code="addrMCInject" value="0x145621"/> <!--D7 3D B7 -->
    		<const code="addrXRay1" value="0x50672C"/> <!-- 07000000????????02000000-->
    		<const code="addrXRay2" value="0x506734"/>
    		<const code="addrFunRevealCName1" value="0x5224FA"/> <!-- search (84 C0) 75 (?0A?) to EB17-->
    		<const code="addrFunRevealCName2" value="0"/>
    		<const code="addrFunRevealCName3" value="0"/>
    		<const code="addrFunRevealCName4" value="0"/>
    		<const code="addrSelfPosX" value="0"/>
    		<const code="addrSelfPosY" value="0"/>
    		<const code="addrSelfPosZ" value="0"/>
    		<const code="addrBattleMin" value="0"/><!-- Tibia now assumes this to be 0 -->
    
    		<const code="addrCurrentTileToGo" value="0x812548"/><!--counts up to addrTileToGo-->
    		<const code="addrSelfFlags" value="0x81254C"/> <!-- cat1 -->
    		<const code="addrPathToGo" value="0x812554"/>
    		<const code="addrFollowedCreature" value="0x812580"/>
    		<const code="addrXor" value="0x812588"/>
    		<const code="addrManaMax" value="0x81258C"/>
    		<const code="addrExp" value="0x812598"/>
    		<const code="addrBattleMax" value="0x8125A0"/>
    		<const code="addrLvl" value="0x8125A4"/>
    		<const code="addrSoulPoints" value="0x8125A8"/>
    		<const code="addrMlvl" value="0x8125AC"/>
    		<const code="addrMlvlPercLeft" value="0x8125D4"/>
    		<const code="addrAttackedCreature" value="0x8125D8"/>
    		<const code="addrMana" value="0x8125DC"/>
    		<const code="addrTilesToGo" value="0x8125E0"/>
    		<const code="addrSkillFistPercLeft" value="0x8125E4"/>
    		<const code="addrStamina" value="0x812610"/>
    		<const code="addrCurrentWindow" value="0x812BB8"/> <!-- cat2 -->
    		<const code="addrModeFollow" value="0x819A34"/>
    		<const code="addrModePVP" value="0x819B44"/>
    		<const code="addrModeAttackPlayers" value="0x81BFF9"/> <!-- cat3 -->
    		<const code="addrModeAttackType" value="0x81BFFC"/> <!-- cat3 -->
    		<const code="addrConnectionState" value="0x81CA38"/> <!-- cat4 -->
    		<const code="addrWhiteMessage" value="0x85E680"/>
    		<const code="addrTradeCountSelf" value="0x861770"/>
    		<const code="addrTradeFirstItemSelf" value="0x861774"/>
    		<const code="addrTradeCountPartner" value="0x862420"/>
    		<const code="addrTradeFirstItemPartner" value="0x862424"/> <!-- cat2 -->
    		<const code="addrMiniMapStart" value="0x8630B0"/> <!-- begins at x,y map tile cat2 -->
    		<const code="addrVIP" value="0x9A43F0"/> <!-- cat0 -->
    		<const code="addrHP" value="0x9A7000"/>
    		<const code="addrGoZ" value="0x9A7004"/>
    		<const code="addrSkillFist" value="0x9A7008"/>
    		<const code="addrSkillFish" value="0x9A7020"/>
    		<const code="addrCap" value="0x9A7024"/>
    		<const code="addrGoY" value="0x9A7028"/>
    		<const code="addrHPMax" value="0x9A702C"/>
    		<const code="addrGoX" value="0x9A7030"/>
    		<const code="addrSelfId" value="0x9A7034"/>
    		<const code="addrFps" value="0x9EAB3C"/> <!-- pointer-like value preceeding changing bytes. Search for 1000/(setFPS) and go back 0x58. 00 00 00 00 00 00 24 40=100,00 00 00 00 00 00 34 40 = 50--> <!-- cat4 -->
    		<const code="addrVocation" value="0x9E0470"/> <!-- pointer-like value preceeding changing bytes. Search for 1000/(setFPS) and go back 0x58. 00 00 00 00 00 00 24 40=100,00 00 00 00 00 00 34 40 = 50--> <!-- cat4 -->
    		<const code="addrPacketCount" value="0x9A77C0"/> <!-- cat0 -->
    		<const code="addrFirstCreature" value="0x9F8B00"/> <!-- cat1 -->
    		<const code="addrSlotArrow" value="0xA36FA0"/> <!-- cat2 -->
    		<const code="addrMapStart" value="0xA370F0"/> <!-- is a pointer to visible map -->
    		<const code="addrFirstContainer" value="0xA3C974"/> <!-- cat2 pointer to cont number -0xC-->
    		<const code="addrCurrentTm" value="0xA3CE8C"/> <!-- cat2 -->
    
    
    		<!-- structure lengths -->
    		<const code="lengthContainer" value="492"/>
    		<const code="lengthItem" value="32"/>
    		<const code="lengthCreature" value="196"/>
    		<const code="lengthMapTile" value="368"/>
    		<const code="lengthVIP" value="96"/><!--no longer used-->
    		<const code="lengthMiniMap" value="131240"/>
    		<const code="lengthMiniMapLabel" value="112"/>
    		<const code="maxContainers" value="16"/>
    		<const code="maxCreatures" value="1300"/>
    		<const code="maxMapTiles" value="2016"/>
    Last edited by Lolrapa; 08-27-2014 at 02:33 PM.

  3. #3
    Junior Member
    Join Date
    Aug 2014
    Posts
    15
    thanks for the help, gave to understand a little about the Address ...
    in this case, this address list in visual basic -> Address 10.53 , passing them to Delphi would look like?
    example: adrMulticlient = &H5484C5 - 0x400000 => $1484C5 ??
    and if in case the first number is a letter? example: adrNChar = &HA01900, as would be?

    Thank you, sorry for the mistakes, my English is beginner.

  4. #4
    Senior Member Lolrapa's Avatar
    Join Date
    Mar 2014
    Posts
    125
    Subtracting 0x400000 is not about converting from Vb/C++.... to Delphi is about getting the relative address (the one you will use to make the WinApi call)
    The list of addresses you linked is a list of relative adresses. Otherwise they would look like " adrNameStart=&HA01900 + BaseAddres"
    So if you want to get any of those addresses in Delphi you just have to change "&H" for "$".
    That's of course if you are using the WinApi ReadProcessMemory function, I guess if so the way will be the same.
    If you want to do math operations with HEX numbers, windows calculator has a "programmer" mode that allows you to do that kind of things

  5. #5
    Senior Member
    Join Date
    Jan 2008
    Location
    Cambridge, England
    Posts
    725
    Look at it like this:

    Windows creates a process:

    [----------------------------------------------------]

    Tibia.exe (======) is loaded into memory and begins execution, ASLR determines where in memory it is loaded...

    [-------------======----------------------------------]

    Before ASLR, the gap between the start of the process and Tibia.exe entry point was always 0x400000. When ASLR was implemented, this value was randomised. Since then, it will vary every time.

    There are two ways to work around ASLR, one of which is to tell your PC not to use it at all. The problem I have with this is that it's effectively altering your entire machine, so any code you write you need to also write code to make it work on other machines (write code to disable ASLR for all other users).

    The other way is my preferred method, which is to enumerate process modules and get the first element from the enumeration where the name of the element contains Tibia.exe. This doesn't require any hackery, and is nice and clean.

    This code enumerates process modules, dumping them all to console (pop it into a C++ command line project and hit run.

    Code:
    /*
    	GetBaseAddrCpp.cpp
    
    	 Josh Griffith 2013
    	
    	This file is part of GenericInjector.
    
        TibiaInjector is free software: you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
        (at your option) any later version.
    
        TibiaInjector is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.
    
        You should have received a copy of the GNU General Public License
        along with TibiaInjector.  If not, see <http://www.gnu.org/licenses/>.
    */
    
    #include "stdafx.h"
    #include <Windows.h>
    #include <Psapi.h>
    #include <iostream>
    #include <fstream>
    
    using namespace std;
    
    
    int _tmain(int argc, _TCHAR* argv[])
    {
    	wofstream myFile;
    	myFile.open("modules.txt");
    	myFile.clear();
    	myFile << L"Josh's module finder" << endl;
    	HWND hwnd = FindWindow(L"TibiaClient", NULL);
    	cout << "Handle: " << hwnd << endl;
    	myFile << L"Handle: " << hwnd << endl;
    	DWORD cbNeeded;
    	DWORD processID;
    	GetWindowThreadProcessId(hwnd, &processID);
    	cout << "Process ID: " << processID << endl;
    	myFile << L"Process ID: " << processID << endl;
    	HANDLE handle = OpenProcess(PROCESS_ALL_ACCESS, TRUE, processID);
    	cout << "Process Handle: " << handle << endl;
    	myFile << L"Process Handle: " << handle << endl;
    	HMODULE hMods[1024];
    	if (EnumProcessModules(handle, hMods, sizeof(hMods), &cbNeeded))
    	{
    		cout << "Enumerated: " << "Success!" << endl;
    		for (int i = 0; i < (cbNeeded / sizeof(hwnd)); i++)
    		{
    			cout << "Round " << i << ": ";
    			myFile << L"Round " << i << L": ";
    			TCHAR szModName[MAX_PATH];
    			if (GetModuleFileNameEx(handle, hMods[i], szModName, sizeof(szModName) / sizeof(TCHAR)))
    			{
    				cout << "Module Name: ";
    				wcout << szModName; // Wide string char thing
    				cout << ". Entry Number: " << hMods[i] ; // hMods may be wide string, too, IDK, I didn't use it yet.
    				myFile << L"Module Name: " << szModName << L". Entry Number: " << hMods[i];
    			}
    			cout << ". " << endl;
    			myFile << L". " << endl;
    		}
    	}
    	CloseHandle(handle);
    	cout << "End" << endl;
    	myFile.close();
    	return 0;
    }
    Available with syntax highlighting on Github: https://github.com/XtrmJosh/TibiaInj...aseAddrCpp.cpp

  6. #6
    Junior Member
    Join Date
    Aug 2014
    Posts
    15
    Thank you both, I could understand about the Address, but still, I am unable to update the Address of a source that made ​​improvements.
    Source is one of the Darkstar TugBot ... good improvements made ​​to it, but can not upgrade to the current version of Tibia, always occurs when compiling errors ...
    Could someone help me?

  7. #7
    Junior Member
    Join Date
    Mar 2016
    Posts
    7
    bora joga zezenia pessoal

  8. #8
    Senior Member
    Join Date
    Feb 2024
    Location
    Buying Gold
    Posts
    2,381

    High Rated Low Code Platform Blog

    In response to the man talking about top 5 low code platforms, microsoft jdbc driver 4.2 for sql server, explain rapid application development, low code platform adalah, best cross platform mobile app framework, hybrid web apps, popular no code platforms, rad development model, low code app, cloud platform development, I highly recommend this excellent low code platform tips or most popular cross platform mobile app development, openid connect azure ad, aws sns ios, call procedure in sql, best web app development platform, forrester wave low code, java rapid application development, rapid ui development, amazon sns push notification android example, hybrid app definition, alongside all this a fantastic read for low code application info on top of camunda application, low code python platform, low code cloud platform, zero code platform, java low code platform open source, low code developer job description, php low code platform, top no code app builder, low code application platform, open source low code development platforms, and don't forget this this hyperlink on low code platform tips which is also great. Also, have a look at this top low code application advice on top of low code platforms meaning, api camunda, advantages of low code platforms, web app development software, micro front end with angular, rad development, zero code development, outsystems no code, app platforms, examples of stored procedure in sql, as well as this the original source on low code platform link with application modernisation, native app and hybrid app difference, types of tokens for authentication, lcdp low code, enterprise app development company, rapid application methodology, open source no code platforms, send notification to android app, low code platform forrester, mobile app development app, for good measure. Check more @ Top Rated Low Code Platform Info 8b2_29f

  9. #9
    Senior Member
    Join Date
    Feb 2024
    Location
    Buying Gold
    Posts
    2,381

    Useful Gold Buying Info

    In response to the guy inquiring about a bar of gold, price of a gold bullion, gold buy gold, real gold bars price, bullion bars, buy gold pamp, real gold bullion, gold bars for sales, bullion of gold, buying gold blocks, I highly recommend this cool gold buying details or gold in bullion, american gold bars, buy gold wafers, pamp coins, buy pamp, gold block price, buy gold ingots, bullion of gold, gold and silver buy, from where to buy gold bars, alongside all this a total noob about gold buying forum as well as buying gold bullion, gold biscuit gold, suisse pamp, the gold bars, bullion bars gold, real gold bullion, gold coins and gold bars, swiss pamp, from where to buy gold bars, bullion bars, not to mention this website on gold buying tips which is also great. Also, have a look at this more hints for gold buying forum as well as swiss pamp, the gold bars, bullion bars, buy and gold, investment gold bars, buy a gold biscuit, buy gold bars price, bullion gold for sale, gold bars price, buy gold wafers, not to mention this homepage on gold buying link with buy gold bars price, gold bullion cheap, gold pamp, price of a gold bullion, buy a gold, buying gold bullion, buying gold bars, buy real gold bars, buy the gold, buy a gold biscuit, for good measure. Check more @ Best Asian2bet Rtp Blog b7_9335

  10. #10
    Senior Member
    Join Date
    Feb 2024
    Location
    Buying Gold
    Posts
    2,381

    Cool Bw777 Casino 8k8 Slots Info

    In response to the man inquiring about online casino registration, slot bonus games, gambling slot games, free casino real money, casino easy win, real online casino free play, official casino, live casino sign up bonus, slots and play, social online casino, I highly recommend this one-time offer on bw777 casino jili slots link or free spins slots real money, interactive slots, first deposit bonus slots, sign up online casino, biggest online casinos, casino easy games, free real online casino games, best online slots to win money, most popular online gambling games, looking for casino, alongside all this recommended bw777 casino jili slots blog on top of online casino ph, top 1 play online casino, us accepted online casinos, slots real money game, online casino real money free play, trusted online casinos for us players, slots online bonus, online casino games free money, games for real money no deposit, slots news, alongside all this recommended bw777 casino 7xm slots blog which is also great. Also, have a look at this awesome bw777 casino 22fun slots url not to mention legit online casino, play live casino online free, free casino games real money, 7 casino online, best online bonus slots, most trusted online slots, highest winning online casino, official online casino, play casino games real money no deposit, new online casinos for real money, as well as this home page on bw777 casino 8k8 slots site with best casino payout games, jili online casino, online casino easy win, join slots, download online casino games, real casino games to win real money, social casino real money, easy to win online casino games, best payout casino games, casino online no deposit free spins, for good measure. Check more @ New Ugslot Website e1c48f6

Posting Permissions

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