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 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
Way to send packets
Results 1 to 9 of 9

Thread: Way to send packets

  1. #1
    Member
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    47

    Way to send packets

    Is there some good method to send packets?
    I don't like Tibiasock, cause it sometimes crash on startup.
    Please help

  2. #2
    Super Moderator
    Join Date
    May 2007
    Posts
    1,191
    TCP proxy (BlackD does this) and calling Tibia's internals (Xenobot does this) are what I can think of off the top my head, but you'll have to write the code yourself either way, or at the very least modify existing code

  3. #3
    You can use packet.dll aswell, it never crashed on start up for me.
    Another way is using hookproxy.

  4. #4
    Quote Originally Posted by Blues View Post
    Is there some good method to send packets?
    I don't like Tibiasock, cause it sometimes crash on startup.
    Please help
    Define "crash on startup," please.

  5. #5
    Member
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    47
    Sometimes, when i try send first packet, no matter what, Tibiasock thread crash. I can see something like this:


    Of course is only an example cuz i haven't real screenshot.
    In this case i must find new way to send packets :|

  6. #6
    Quote Originally Posted by Blues View Post
    Sometimes, when i try send first packet, no matter what, Tibiasock thread crash. I can see something like this:


    Of course is only an example cuz i haven't real screenshot.
    In this case i must find new way to send packets :|
    You're probably passing it unsafe data or calling something incorrectly, because it works fine when properly used. I use the same methods in XenoBot.

  7. #7
    Member
    Join Date
    Dec 2012
    Location
    Poland
    Posts
    47
    But what about hooking send() function? I will need to encrypt packets?

    @EDIT When Tibiasock crach, error log points to 0x11b4f0 in Tibia memory.
    That region is filled by ?? chars in cheat engine.
    Last edited by Blues; 02-12-2013 at 03:50 PM.

  8. #8
    Junior Member
    Join Date
    Dec 2012
    Posts
    24
    Tibia Sock hooks send() function.

  9. #9
    Quote Originally Posted by Dayle View Post
    Tibia Sock hooks send() function.
    No, it doesn't. It calls Tibia's internal SendPacket() function, which invokes encryption and checksumming, then calls send(). It skips the extra layers of complexity, so to speak.

Posting Permissions

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