Results 1 to 3 of 3

Thread: Created a heal bot in C# take a look

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    9

    Cool Created a heal bot in C# take a look

    Hello Community!

    I figured I'll just share the code for a simple heal bot. I just started to write it last night so the code is not perfect, nor commented Someone out there might find use for it or maybe just look at the code to learn something.

    The reason why I developed this is mainly because I start a course in C# this fall, and I figured I'll get ahead and learn something before then. My next project will probably be something more advanced, I sure want to learn stuff about injection into the client and method calls through Tibia API. We will see what comes out

    This is the link to the repository: https://github.com/metadeath/Tibia-heal-bot

    Enjoy the code/app and please share your thoughts

    /LanfeaR

    EDIT: The memory addresses is for Tibia version 10.80
    Last edited by lanfear; 08-01-2015 at 12:52 PM.

  2. #2
    Junior Member
    Join Date
    Jul 2015
    Posts
    2
    Hey !

    Since you are going to start a c# course, let me just point out one thing - actual programming (I mean writing the code itself) is really the least part of the whole thing. The hardest part is to create a good architecture of your program. You want to train - that's why I'm writing this post. I know you wrote this during one night but I think you should rethink what your classes do. Look at tibiaapi's structure and learn from it, it's really good. And btw: class KeyboardSimulator, lines 37 and 40. If you tibia is null, I think you will get some kind of nullpointer exception cause you are using a property from object tibia.

    c# is great, go on with it! Here you have a link to videos I've watched a few months ago, it's great in my opinion and you can learn a lot of things: http://www.microsoftvirtualacademy.c...ogramming-in-c

    Daniel

  3. #3
    Junior Member
    Join Date
    Jan 2014
    Posts
    9
    Thanks a lot for your reply @Danioss, I really appriciate that you took the time. I watched the three first videos, and it's a great series of videos for learning C#, thanks a lot for sharing those. I understand completly what you mean about getting the architecture right - It's damn hard. I have been reading into some design patterns and when to use them etc. but I can say that I'm not really comfortable with the concept yet.

    Do you think that there is a certain design pattern that would be a good approch for this type of application?

    Well, thanks again for the reply and for the tips!

    Yours, LanfeaR

Posting Permissions

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