Results 1 to 8 of 8

Thread: Should I use TPAs,Dtms, or ????

  1. #1
    Join Date
    Jun 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Should I use TPAs,Dtms, or ????

    I'm making a script for a minigame and also does combat, but I have a few design choice questions.

    1. For talking to an NPC to start the minigame, how should I go about it?
    Currently I have it to use ACA and FindObjTPA to locate the NPC and talk to him, but it doesn't always find him on the first try due to issues being able to paint him well with ACA (His armor blends in with the surroundings unfortunately well), but I can make this work with decent consistency its just that at certain angles it doesn't always work, which irks me.

    Would it be more viable to use a DTM since he doesn't move? And does simba automatically say, Take into account your camera angle when searching for a dtm or how would I account for that.

    2. For Attacking an npc. Should I use the above ACA,FindObjTPA method or something else? This is probably the most viable solution for attacking I'd imagine or have seen so far.

    BTW I apologize in advance if something in here is easily answered by another thread, I have looked through several tutorials as well as scripts, but this is just one of those "Fine tuning" answers I could not find elsewhere.


    Another question: What is the absolute best way to interact with NPCs/monsters that is foolproof. (I noticed in one script that had to do with runespan there seemed to be some pretty advanced stuff going on, but i'm not experienced enough yet to completely decipher it)

    Thanks in advance for your time!
    Last edited by Shanked; 06-22-2012 at 08:35 PM.

  2. #2
    Join Date
    Mar 2012
    Posts
    690
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    Learn TPA's for object finding on the mainscreen, they are awesome!
    A dtm wont be reliable for moving objects

  3. #3
    Join Date
    Jun 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ahh thats how I have it going now. Perhaps I can just fiddle with the colors more, and make it take a larger bound with a higher pixel match to really make it faster and more accurate.


    Also, how about my question in regards to using a DTM for different camera angles on a stationary object

  4. #4
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    Quote Originally Posted by Shanked View Post
    Ahh thats how I have it going now. Perhaps I can just fiddle with the colors more, and make it take a larger bound with a higher pixel match to really make it faster and more accurate.


    Also, how about my question in regards to using a DTM for different camera angles on a stationary object
    1. i would stop using premade functions that have "obj" in them. example: findObj(). learn TPA/ATPAs yourself and you can accomplish much more with them.

    2. dtms will never automatically take in to account your camera angle. most scripters will never use a dtm on the main screen (few exceptions, like detecting open doors) simply because it is less reliable than other methods. but dtms are great when it comes to items in the inv/bank. or when it comes to walking on the MM. i would recommend staying with TPA/ATPAs for any npc/object clicking.

  5. #5
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    wat minigame is it?
    Oh Hai Dar

  6. #6
    Join Date
    Jun 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    1. i would stop using premade functions that have "obj" in them. example: findObj(). learn TPA/ATPAs yourself and you can accomplish much more with them.
    Hmm i'll have to look into it. I was basically starting off by using the example from Yohojos color detection with the ACA involved. Is there any recommended tutorials for that or basically anything in the advanced scripting section? I was just assuming that the way he showed it was pretty efficient, but I would definitely want to streamline it


    Quote Originally Posted by Main View Post
    wat minigame is it?
    I'm doing troll invasion, I noticed powerbot had it, but we didn't and i said well this is probably one of the most useful mini games, might as well. and its finally coming out pretty decent. At least i didn't see one for us. I'm trying to stray away from powerbot, but that script is soooooo useful as well as great safe exp, I've actually figured out a few ways to improve over that one also in regards to using specials and the tables more efficiently... actually I'm gonna make it handle things better overall.
    Last edited by Shanked; 06-22-2012 at 09:55 PM.

  7. #7
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    i tried to make it before, but the trolls has a lot of similar color to the background.

    It can defintily be done, and when its done it'll be tons of xp.
    Oh Hai Dar

  8. #8
    Join Date
    Jun 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah definitely. I started an account using this method at level 1. I was able to get around 40 attack 20 str and 20 def on the first day without even constantly doing it. I couldn't even abuse the tables/spec as well as you can at higher levels. With the no risk leveling + no player interaction im shocked that we dont have one already. Thus i am excited to have that be my first contribution to the community

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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