Results 1 to 7 of 7

Thread: Price from grand exchange?

  1. #1
    Join Date
    Apr 2012
    Location
    Belgium
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Price from grand exchange?

    Hey everybody! Im Era Xz, joined this forum last week and started learning/scripting . It was really awesome finding such a place like this full of tutorials and helpfull people. Hope I can contribute soon enough

    Making my first script right now and I was wondering how you are able to get a price of the grand exchange website?

    I Saw it in a script somwhere but can't manage to find it again

    Thx

  2. #2
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Kicked to scripting help.
    I made a new script, check it out!.

  3. #3
    Join Date
    Dec 2011
    Posts
    183
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this script gets the grand exchange price for iron ore, just go down to the procedure GetPriceGE; and change it to your needs.

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

  4. #4
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Include SRL/Misc/Online.simba and use its various subroutines.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  5. #5
    Join Date
    Apr 2012
    Location
    Belgium
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok thanks, il look into this.

  6. #6
    Join Date
    Apr 2012
    Location
    Belgium
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [Error] C:\Simba\Includes\SRL/srl/Misc/Online.simba(113:16): Unknown identifier 'CashStrToInt' at line 112
    Compiling failed.


    Simba Code:
    { We didn't find any items, OH NOES }
      if (rsr.rc = -1) then
      begin
        WriteLn('No item found.');
        if (rsr.e <> '') then
          WriteLn('GE Database encountered: ' + rsr.e);  <--- line 112
        Exit;
      end;


    Any idea how I can work arround this?

    ps : how do u put simba tags arround code?
    Last edited by Era Xz; 04-19-2012 at 09:52 PM.

  7. #7
    Join Date
    Feb 2007
    Location
    Switzerland
    Posts
    583
    Mentioned
    1 Post(s)
    Quoted
    50 Post(s)

    Default

    You have to go to the advanced posting mode.

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
  •