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
Visual Basic .NET Tutorials - Page 3
Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: Visual Basic .NET Tutorials

  1. #21
    Super Moderator
    Join Date
    May 2007
    Posts
    1,191

    RE: Visual Basic .NET Tutorials

    Simple cavebots are just bad and a pain to use, not to mention error-prone due to lack of functionality.
    Making more advanced cavebots requires reading the battlelist, map, containers etc, and by the time you know how to do all that, you'll know how to write the behavioural logic too. So don't bother with cavebots at this point.

    Thread processing? You mean multi-threading? You can create and manage threads using the System.Threading namespace.
    MSDN has more than enough info on this subject.

    edit: I advise you to go with C# instead, as you'll find much more and better resources written in C#.
    But if you can fully understand C# and write VB.NET code from what you learn, that's fine too.

  2. #22
    Junior Member
    Join Date
    Jun 2012
    Posts
    5

    RE: Visual Basic .NET Tutorials

    I've learned vb.NET at school, so im gonna stick to it. Already made a walker, healer eater etc. even som functions to give Pot healer higher priority then mana and what kind of pots to use. Then only thing i feel missing with my bot now is a cavebot tbh. I started working on the bot 3 days ago, and I got the most basic stuff in order. but its the whole read the battlelist thing and atk the "monster" i actully could need.

    I've seen people mention multi threading and says u should use it. But i dont get why i should. because most computers now have more then 1 core now.

    And I dont even know if my bot is worth releasing :P

  3. #23
    Super Moderator
    Join Date
    May 2007
    Posts
    1,191

    RE: Visual Basic .NET Tutorials

    Quote Originally Posted by Sprokket
    its the whole read the battlelist thing and atk the "monster" i actully could need.

    I've seen people mention multi threading and says u should use it. But i dont get why i should. because most computers now have more then 1 core now.
    TibiaAPI covers reading battlelist, albeit personally I think TibiaAPI's BattleList class could contain a lot more methods.

    If you have a CPU with more than 1 core, multi-threading is even more important. I.e. I have a quadcore CPU, so I can run 4 threads simultaneously.
    You'll also need threads to utilize Thread.Sleep.

  4. #24
    Member
    Join Date
    May 2013
    Location
    Florida
    Posts
    54
    Soooooooooooooooo is this thread still a thing or nah?

Posting Permissions

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