Results 1 to 2 of 2

Thread: Quick Question.

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

    Default Quick Question.

    Code:
    program Test;
    {.include SRL/SRL.scar}
    
    procedure TellStat;
    begin
         GameTab(1);
         Wait(100+random(500));
         WriteLn(inttostr(GetCombatLevel));
    end;
    
    begin
         SetupSRL;
         ActivateClient;
         ClearDebug;
         TellStat;
    end.
    Okay as you can see this is quite a simple little program should just tell me my combat level on the debug box in scar and open the game tab 1. But neither happens.

    Now i used to program scripts for scar but i have not played runescape in some time. When i run this program the debug results :

    0
    Successfully executed
    If i make another quick program with the WriteLn(inttostr(GetXp('Agility'))); in place of the code in the procedure "tellstat" it will result in the following:

    -1
    Successfully executed
    Now -1 indicates an error/failure to get the experience as stated in the manual.

    Anyone got knowledge on this problem i am having ?
    Thanks -
    Your Friend,
    Chwiggy // Jason.

    -----
    "Great acts are made up of small deeds"

    "He who does not trust enough, Will not be trusted."

    "If you would take, you must first give, this is the beginning of intelligence."

    "A leader is best when people barely know he exists, when his work is done, his aim fulfilled, they will say: we did it ourselves."

    "Respond intelligently even to unintelligent treatment."
    -----

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

    Default

    never mind i just realised i was using full screen =S
    Thanks -
    Your Friend,
    Chwiggy // Jason.

    -----
    "Great acts are made up of small deeds"

    "He who does not trust enough, Will not be trusted."

    "If you would take, you must first give, this is the beginning of intelligence."

    "A leader is best when people barely know he exists, when his work is done, his aim fulfilled, they will say: we did it ourselves."

    "Respond intelligently even to unintelligent treatment."
    -----

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Just a quick question? Did I say quick?
    By SeanJohn in forum OSR Help
    Replies: 3
    Last Post: 01-28-2009, 12:03 AM
  2. Quick question
    By GinFoxface in forum OSR Help
    Replies: 2
    Last Post: 04-07-2007, 04:25 AM
  3. Quick Question
    By mage of begu in forum OSR Help
    Replies: 10
    Last Post: 01-12-2007, 10:48 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
  •