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
[HELP] OTClient BattleList
Results 1 to 4 of 4

Thread: [HELP] OTClient BattleList

  1. #1

    [HELP] OTClient BattleList

    Hello,

    I'm working on an open source Bot for OTClients. But most otservers uses OTCv8, Battlelist works different there. The old method (there is Ascer tutorial about it) is Hashtable, here is the visual example:

    Hash Table:

    PS.: You can check my VB6 battlelist function at my source.

    For those OTCv8, it uses more complicated structure: Binary Tree.



    I would appreciate if someone share the function or any knowleadge for battlelist in binary tree. If I make progress by myself it will be soon available.

    My bot's current thread:
    https://tpforums.org/forum/showthrea...6457#post56457
    Last edited by oclipper; 08-19-2021 at 11:35 AM.

  2. #2
    Here is a cool tutorial someone wrote about Kasteria entity list. https://guidedhacking.com/threads/ot...ty-list.15407/

  3. #3
    This is visual representation of battlelist tree in OTCv8. Each node has 3 child, many repetitions and if you keep moving next layer you may reach an infiite loop. I dont know what are the parameters to make recursion/go next layer yet. Also this battlelist is dynamic.

    Last edited by oclipper; 08-27-2021 at 01:32 PM.

  4. #4
    Back to a dead end. Accidentally deleted my source and lost my progress in OTCv8 battlelist.

    Its known otcv8 battlelist uses Red-Black Binary tree. But there is something i'm missing

Posting Permissions

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