Results 1 to 13 of 13

Thread: How to find offsets

Hybrid View

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    29

    Re: How to find offsets

    Well, then it gets trickier. The reason for starting with pointers you already know is to find out what the values you need to search for to get the secondary offsets are. The first five steps should all work, and will get you the primary offsets you need to at least get skittles, but of course you won't have previous offsets to give you any hints as to which returned values are most likely to be the correct ones for each step.

    Once that's done, LevelOffset is pretty easy to find, since you know your level, and you can get second- or third-target verification because you know the level of any NPC you /con anymore, so you can search for those.

    For invis, what I would do is get an invis potion, then, while visible, do an "es" and search for 00 00 00 00. Then, invis yourself and search for 01 00 00 00. You'll probably only find one offset where you found 00 00 00 00 while visible and 01 00 00 00 while invis, and that's HideOffset. Note that it may be important to use an invis potion to become invisible, because there are different types of invisibility (invis, invis to animals, invis to undead, hide, and so on), so there are a bunch of different possible values that can show up at HideOffset - I know the value that shows up when you invis using a potion is 01 00 00 00, but I don't know for sure what it would be if you cast invisibility or camouflage on yourself.

    For ClassOffset and RaceOffset, you can search for those pretty easily, and to find the values you need to look for, look in the \cfg folder in your ShowEQ directory. In the file "Classes.txt" is a list of what each value for class translates into, starting with 0 on the first line (so, warrior=1, cleric=2, paladin=3, and so on). In the file "Races.txt" is a list of what each value for race translates into, again starting with 0 on the first line (so, human=1, barbarian=2, erudite=3, and so on).

    For PrimaryOffset and OffhandOffset, you need to do some looking up of things. Go to lucy.allakhazam.com and look up the item you equip in your main hand. Click on "raw" in the upper-right corner, and scroll down to see what the value for "idfile" is (it will be in the format "ITxxxxx", where xxxxx is a number). Convert that number to hexadecimal, and search for that, making sure to put the least significant byte first (for example, if you're equipping Fabled Fiery Staff of Zha, the value for idfile is IT10506...10506 in hex is 290a, so you'd search for 0a 29). Do the same for the item in your offhand.

    The process for finding OwnerIDOffset is unchanged.

    Bear in mind that you won't get valid hits for some these if you're using the debug server that comes stock with the distro as of this writing, because some of the offsets (ClassOffset, RaceOffset, PrimaryOffset, and OffHandOffset) are outside the range of data that is displayed by the unmodified debug server that comes in the distro.

    As for the "failed to obtain valid memory pointer" error - did you reload the offsets using the "r" command after you put in the primary offset for CharInfo? If not, you may want to try again. If so, maybe try targeting yourself and use "et" rather than "es". If that fails too, there may be a problem using the "es" and "et" against the test client.
    Last edited by wxh; 07-20-2018 at 07:14 AM.

  2. #2
    Registered User
    Join Date
    Dec 2018
    Posts
    2

    Re: How to find offsets

    Quote Originally Posted by wxh View Post
    Well, then it gets trickier. The reason for starting with pointers you already know is to find out what the values you need to search for to get the secondary offsets are. The first five steps should all work, and will get you the primary offsets you need to at least get skittles, but of course you won't have previous offsets to give you any hints as to which returned values are most likely to be the correct ones for each step.
    Is there a better way to find offsets? Recently there is a good chance for even the first five steps to have out of range values that this method does not pick up.

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    358

    Re: How to find offsets

    Would be nice if the built in offset finder could be fixed. Was a standalone offset finder at one point, but it eventually broke too.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On