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 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 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 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
AutoUpdate project
Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: AutoUpdate project

  1. #1
    Super Moderator klusbert's Avatar
    Join Date
    Dec 2007
    Posts
    1,201

    AutoUpdate project

    Here is a simple autoupdate tool.

    I tried to make the searches so unique as possible.
    Thanks to Blequi.
    http://imgur.com/maNg2Mj

    Clients that I've tested is 1055 and 1077
    Thanks to stiju I made some changes and added a save function.

    Let's hope for an tibia update soon, and see if it is usefull
    https://github.com/klusbert/MemoryScanner
    Attached Files Attached Files
    Last edited by klusbert; 05-17-2015 at 06:27 PM.
    How to find battlelist address --> http://tpforums.org/forum/thread-8146.html
    Updating addresses --> http://tpforums.org/forum/thread-8625.html
    DataReader --> http://tpforums.org/forum/thread-10387.html

  2. #2
    Good work klusbert,
    I made some changes in the code to speed it up a little and also removed baseAddress from all addresses, hope you don't mind.
    Hopefully everything still works correctly, I only checked a few addresses and it seems correct.

    Old code runtime 3700ms~
    New code runtime: 180ms~
    Attached Files Attached Files

  3. #3
    Super Moderator klusbert's Avatar
    Join Date
    Dec 2007
    Posts
    1,201
    Lol that's much faster, this is actually the 2nd version of this program. I am really thinking on making a 3rd. becouse the code is so messy :S Thanks manī

    Your way of comparing byte arrays is magic ;D
    Last edited by klusbert; 05-04-2015 at 02:48 PM.
    How to find battlelist address --> http://tpforums.org/forum/thread-8146.html
    Updating addresses --> http://tpforums.org/forum/thread-8625.html
    DataReader --> http://tpforums.org/forum/thread-10387.html

  4. #4
    Nice one, thanks for release!

    Btw, how do you get those byte arrays?

  5. #5
    It looks even better now, I like that you grouped the addresses into categories.

    Now you should make it possible to copy the full list and/or a single address to clipboard, faster than saving it to xml and then copying it.
    Also some kind of error handling in case it doesn't find an address. Maybe mark it with a different color or something to make it more noticeable.

    Keep up the good work.

  6. #6
    Super Moderator klusbert's Avatar
    Join Date
    Dec 2007
    Posts
    1,201
    I actually use cheat engine, or olly.

    Code:
       byte[] SearchBytes = new byte[] { 0xFF, 0x70, 0xFC, 0x8D, 0x70, 0xFC, 0x68, 0x70, 0x01, 0x00, 0x00, 0x50, 0xE8 };
    http://imgur.com/bJw28UM

    BTW I don't do paint well xD
    How to find battlelist address --> http://tpforums.org/forum/thread-8146.html
    Updating addresses --> http://tpforums.org/forum/thread-8625.html
    DataReader --> http://tpforums.org/forum/thread-10387.html

  7. #7
    Super Moderator klusbert's Avatar
    Join Date
    Dec 2007
    Posts
    1,201
    I am working on testing each address now, it will have green color if okay and red if it is not.

    But Some addresses are hard to test, for instance it's hard to test sendpacket. Becouse when I want to test that addreses I need "createpacket" "addbyte". And if it fails I wont know which one who failed.

    Like mc is kinda easy:
    Code:
       if (p.MainWindowTitle == "Tibia Error")
             {
                return false;
             }
          return true;
    Last edited by klusbert; 05-05-2015 at 12:23 PM.
    How to find battlelist address --> http://tpforums.org/forum/thread-8146.html
    Updating addresses --> http://tpforums.org/forum/thread-8625.html
    DataReader --> http://tpforums.org/forum/thread-10387.html

  8. #8
    Senior Member
    Join Date
    Dec 2011
    Posts
    249
    You could follow the function and check if the asm checks up

  9. #9
    Administrator
    Join Date
    Mar 2007
    Posts
    1,723
    Nice work. You should do like Stiju and notify the user if no Tibia client is found. Right now the program will crash. Also, remove base address from found addresses.
    Last edited by jo3bingham; 05-07-2015 at 06:34 PM.

  10. #10
    Senior Member
    Join Date
    Mar 2007
    Posts
    266
    So nice to see that community here is still active
    I've checked and this works really nice! Now Ill consider to update my bot to the newest tibia version xD I am too lazy to search for addresses myself + I am not playing this game anymore. Thanks for making it open source and Stiju for his contribution. Great job guys!

Posting Permissions

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