Results 1 to 5 of 5

Thread: Dont know where to start with this puzzle! :S

  1. #1
    Join Date
    Apr 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Dont know where to start with this puzzle! :S

    Hi guys, Im making different kind of macros for GoonZu Online. I created a bot for training and now I need help to make one for the mini game. Its like a bejeweled and I dont nw what to do:


    Please tell me how or what I should do in order to make the macro do the puzzle for me, and without errors. smile

  2. #2
    Join Date
    Jul 2007
    Posts
    242
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i think you should go to scar-scripts.com for this.. this is srl





  3. #3
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SRL is for RuneScape... That game is far from RuneScape.

    I would use DTM's and function telling if 2 (of one type of creature) are within moving range of the last...
    It would be hard to do, but possible.

    -Knives

  4. #4
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    Both of you are wrong.

    SRL is formed around Runescape but it is not purely for runescape.

    I've made a few scripts for games that were not runescape with SRL

    But I dont know if playing a game like bejewled would be an easy, or even possible, task. Because you would have to find patterns on the threes or others that you can move around. It would be an uber complex script.
    STOP PM'ING ME

  5. #5
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Ok create an array of integers, make it 64 long. Those are your spots. Now you need a way to figure out which kind of jewel/creature is in each spot.

    Set the crosshairs, and pick a point on the first spot, that you will remember. In the above example, how about the bottom pixel of the right eye.

    Tmpx1:=79+((((WhichBankSlot+7)mod 8))*47);
    Tmpy1:=62+((((WhichBankSlot-1)/8))*38);

    The X coord will go where the 79 is, and the Y where the 62 is. Now somewhere on the top row, find that same yellow creature, and get the X coord for that. Subtract from that the first X coord, and divide by how any spots away it is (2), the answer goes where the 47 is. Next find the same yellow creature in the left column, and find the Y coord of the same pixel. Subtract from that the Y from the first creature, and divide by how many spots away it is (5), the answer (prolly same as other answer) goes where the 38 is. So now, using that formula, and putting in a spot number for WhichBankSlot, you get the x,y of a KeyPoint on any slot. The color at the KeyPoint for every slot with the yellow creature will be the same. The color at the KeyPoint for every slot with the pink creature will be the same, etc etc. So now to identify which creature is in a spot, you put that spot number into the formula, get a point, get the color at that point, and that will tell you which creature it is. Choose a number for each creature, so that you can put them in the 64 long integer array. (or you could name them, and use an array of string, but then you have to make sure to spell it the same everytime).

    To be continued

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. i dont even know where to start...
    By soul hacker in forum OSR Help
    Replies: 9
    Last Post: 06-04-2007, 04:54 AM
  2. Replies: 8
    Last Post: 05-24-2007, 11:57 PM

Posting Permissions

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