Jump to content

[Solved] How to find Offset?

- - - - -

  • This topic is locked This topic is locked
4 replies to this topic

[Solved] How to find Offset?: post #1"> #1
w00

w00

    Advanced Member

  • Members
  • Others:Donator
  • PipPipPip
  • 118 posts
For now I want to find offset to clan creation level requirement. (Client Side)
I'm used to search that type of stuff with ollydbg by searching All constants. Since the constant is 20 / 00000014 I'm getting a lot results.

All I know that command will look something like CMP DWORD PTR DS:[?],14

So anyone could guide me how do you guys searching that type of stuff?

[Solved] How to find Offset?: post #2"> #2
twostars

twostars

    KO Guru

  • GateKeeper
  • Others:Donator, Snoxd server contributor
  • 6,044 posts
Are you sure it's even checked client-side? Those things rarely are.

In Ebenezer (1.298) it's located here:
00450F65                 cmp     byte ptr [eax+53h], 14h


[Solved] How to find Offset?: post #3"> #3
w00

w00

    Advanced Member

  • Members
  • Others:Donator
  • PipPipPip
  • 118 posts

Are you sure it's even checked client-side? Those things rarely are.


Yup, it is. Well its just cosmetic since I've edited server side. For example I've increased it to level 60 and 30,000,000 coins for clan creation.

Also I've edited cost client side, it was like if you have 500k coins and you are level 20 it opens box for type in clan name, but if you doesn't meet requirements it will give you message that you don't have 30,000,000 coins or ur under level 60.

Since I've edited cost client side, now it doesn't open box until you have 30,000,000 coins. But well if you do it opens under level 60 and above 20.

Btw its not like I'm asking to find it for me, but I'm just curious how you do it. Before I'm going editing it randomly till I find right one. lol

[Solved] How to find Offset?: post #4"> #4
twostars

twostars

    KO Guru

  • GateKeeper
  • Others:Donator, Snoxd server contributor
  • 6,044 posts
It's probably in the same client-side method as the coins. I'd check there.

Edit:
Just did.

.text:004A5EAA                 cmp     dword ptr [eax+498h], 14h
.text:004A5EB1                 jge     loc_4A5F69
There it is, short bit above the coin check.

Edited by twostars, 22 February 2012 - 03:37 AM.


[Solved] How to find Offset?: post #5"> #5
w00

w00

    Advanced Member

  • Members
  • Others:Donator
  • PipPipPip
  • 118 posts

It's probably in the same client-side method as the coins. I'd check there.

Edit:
Just did.

.text:004A5EAA                 cmp     dword ptr [eax+498h], 14h
.text:004A5EB1                 jge     loc_4A5F69
There it is, short bit above the coin check.

Damn. I had to do it by myself before creating this topic. Sorry for that and thanks once again.
Case closed, problem solved. :)