Results 1 to 7 of 7

Thread: grandexchange.simba

  1. #1
    Join Date
    Jul 2012
    Posts
    279
    Mentioned
    5 Post(s)
    Quoted
    46 Post(s)

    Default grandexchange.simba

    I found this extremely promising and I'm starting to wonder if I'm doing something wrong or the functions simply aren't up to date anymore. I can get the GEBuyAt function to work flawlessly, but I'm having issues with pretty much everything else. For example, when I try to use to GEBuy function, it goes all the way to opening a buy menu but then it exits.

    I found myself rewriting some functions entirely to do what I need (which was extremely interesting and educating in its own way), but I'd like to know if I can get it to work before I entirely rewrite it =).

    Note: I also tried the grandexchange.simba posted by ProphesyOfWolf and Kyle Undefined, to no avail.

    Thank you for your time.

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    it was made by rasta many months ago so i won't be surprised if it doesn't work anymore. You will probably have to edit quite alot of it urself if you want to get it to work.

  3. #3
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    I am finding InGE to be quite temperamental at the moment, will test all the other functions out and see if I can see what changes need to be made to the include so that it works more efficiently. But at present I would say that, yes, you will probably need to edit those functions so that they work appropriately for you.

  4. #4
    Join Date
    Jul 2012
    Posts
    279
    Mentioned
    5 Post(s)
    Quoted
    46 Post(s)

    Default

    Thank you for the quick replies.

    I was planning to (eventually) change all the waiting times to rely on colour (I'll see how well WaitColorGone works as that's the only option I can think of for some cases), so this will be a nice opportunity to do so. For object finding, I'm using TPA whenever possible, but I'm wondering if there is a way to add this in a SRL include file usable by everyone without writing down the whole TPA function every single time. In other words, I wonder if global variables put in the include would work the same way on the main script and what's your opinion on this (aka excessively dumb as it might come into conflict with the main script's variables as well as confusing by itself or worth the saved space and safe by using weird name variables (ex: iehjghd). Finally, this will be a nice opportunity for me to play around with DTMs instead of coordinates.

    I'll come back in a few days with my edited functions (busy life) for your pleasure and critics.

  5. #5
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    I recommend you have a look at using WaitFunc and WaitFuncEx once you get all of the colours and checks correct. Also, yes - it is possible to put this into an include for both personal and public use. For it to be used publicly it would need to be committed to the SRL GitHub.

    Nevertheless, this will be a great learning experience and I'd love to see how you go with touching the include up to your likings

  6. #6
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    http://villavu.com/forum/showthread.php?t=88948

    I believe this was updated quite recently?

  7. #7
    Join Date
    Jul 2012
    Posts
    279
    Mentioned
    5 Post(s)
    Quoted
    46 Post(s)

    Default

    Quote Originally Posted by P1ng View Post
    I recommend you have a look at using WaitFunc and WaitFuncEx once you get all of the colours and checks correct. Also, yes - it is possible to put this into an include for both personal and public use. For it to be used publicly it would need to be committed to the SRL GitHub.

    Nevertheless, this will be a great learning experience and I'd love to see how you go with touching the include up to your likings
    I did play a bit with WaitFunc already. I find it very useful, but its uses are somewhat limited (very reliant on your way of coding failsafes from my understanding). As for the WaitFuncEx, I'm having trouble thinking of uses for it. I'll look it up though. Thanks for the head up.

    I honestly don't think my scripting knowledge is on par with the public releases. I simply see this as a learning experience which, I hope, can help some other people too.

    Quote Originally Posted by Ollybest View Post
    http://villavu.com/forum/showthread.php?t=88948

    I believe this was updated quite recently?
    That's what I thought too which is why I'm that surprised.

    EDIT: Someone mentioned InGE being a bit "temperamental". Here is the code I propose to replace it. It works flawlessly for me (so far). More to come later. Just posting this one since there was a comment about it.

    Simba Code:
    function InGE: Boolean;
    begin;
      result := findTextTPA(39116, 20, 204, 27, 248, 49, 'Grand', upCharsEx, nothing);
    end;
    Last edited by Wardancer; 09-06-2012 at 06:56 PM.

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
  •