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#] Reading Memory Tutorial - Page 2
Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 44

Thread: [C#] Reading Memory Tutorial

  1. #11
    Junior Member
    Join Date
    Feb 2011
    Posts
    7

    RE: [C#] Reading Memory Tutorial

    Great tutorial thank you

  2. #12
    Junior Member
    Join Date
    Aug 2012
    Posts
    11

    RE: [C#] Reading Memory Tutorial

    Hey, i have a problem.

    I made everything what is in your tutorial and i can't see any item. Maybe addresses are old, but i tryed with new too.

    For example:
    label1.Text = (Convert.ToString(ReadInt32(Tibia.Handle, HpAdr + Base)));

    in label1 i have number: 0.

    When i changed HpAdr to ex. MpAdr or CapAdr i have 0 too.

  3. #13
    Senior Member
    Join Date
    Jul 2011
    Posts
    120

    RE: [C#] Reading Memory Tutorial

    Use Xor.

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

    RE: [C#] Reading Memory Tutorial

    Can you write a example for this tutorial?

  5. #15
    Senior Member
    Join Date
    Mar 2007
    Posts
    367

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

    RE: [C#] Reading Memory Tutorial

    I have a XOR address. But i have other problem, when i build program in visual studio on windows XP all working fine, but on windows 2008 server(64bit) the same application return 0.

  7. #17
    Senior Member
    Join Date
    Jan 2008
    Location
    Cambridge, England
    Posts
    725

    RE: [C#] Reading Memory Tutorial

    Quote Originally Posted by wwiert
    Hey, i have a problem.

    I made everything what is in your tutorial and i can't see any item. Maybe addresses are old, but i tryed with new too.

    For example:
    label1.Text = (Convert.ToString(ReadInt32(Tibia.Handle, HpAdr + Base)));

    in label1 i have number: 0.

    When i changed HpAdr to ex. MpAdr or CapAdr i have 0 too.
    Did you update addresses before trying to use this code? If not that would explain why you get 0. Also I will add XOR into this soon. Just gotta check the code to make sure it's correct.

    The first post now contains a method for reading XOr addresses. Please refer to that if you wish to read HP, MP, or cap. I believe they all use XOr.

  8. #18
    Junior Member
    Join Date
    Aug 2012
    Posts
    11

    RE: [C#] Reading Memory Tutorial

    Thanks for reply, the problem is solved. Many of addresses have to be substrackted 0x400000 and then working fine.

  9. #19
    Senior Member
    Join Date
    Jan 2008
    Location
    Cambridge, England
    Posts
    725

    RE: [C#] Reading Memory Tutorial

    Those Subtractions are because of base addresses, in windows 7 the base address varies, whereas in XP it didn't. People still wrote the addresses with old method for some reason. Check for info on it in some other threads.

  10. #20

    RE: [C#] Reading Memory Tutorial

    Please could someone try and convert this code to VB.NET?

Posting Permissions

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