Results 1 to 11 of 11

Thread: Quick Question

  1. #1
    Join Date
    Feb 2008
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Quick Question

    Hey just wondering why I always get this message.

    Failed when compiling
    Line 43: [Error] (12928:12): Unknown identifier 'BOOLEAN1' in script....(Location of the Script)

    BOOLEAN1 = Players[0].Boolean1 := True; // Is The Pick Equipped?

    Im not sure what Im doing wrong. Im using Wizzup's Essence Miner btw. Thanks in advance.

  2. #2
    Join Date
    Aug 2007
    Posts
    429
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    The script you are using is outdated.

    As they have now changed to using arrays:
    SCAR Code:
    Players[0].Booleans[0] := True;
      Players[0].Booleans[1] := True;
      //etc.

  3. #3
    Join Date
    Feb 2008
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So I need a new script or use those arrays? And can you tell me how to use em?

  4. #4
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    no its just that the script is not uptodate u can go thru the whole script changing currentplayer.boolean1 to currentplayerbooleans2 and to the same for the integers strings etc but im pretty sure that functions and procedures will be out of date as well but u could always update the script to work with srl rev 13 with wizzups permission of course



  5. #5
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    wait until you get junior member so you actually have the right to use it
    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  6. #6
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Rasta Magician View Post
    wait until you get junior member so you actually have the right to use it
    ~RM

    hahaha true i didnt realize he wasnt a jr member



  7. #7
    Join Date
    Feb 2008
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I have another question. I started using Power Woodcutter but I get this error

    Line 240: [Error] (12740:1): Semicolon (';') expected in script

    Line 240 is - if(x < 0) then

  8. #8
    Join Date
    Feb 2007
    Location
    EST (US East Coast)
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Look at the line before it and see if it's missing a semicolon.
    Temporarily inactive.

  9. #9
    Join Date
    Feb 2008
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ducels View Post
    Look at the line before it and see if it's missing a semicolon.
    Line 239 y := y - random(2)
    Line 240 if(x < 0) then

    I think its fine right?

  10. #10
    Join Date
    Jun 2007
    Posts
    152
    Mentioned
    4 Post(s)
    Quoted
    0 Post(s)

    Default

    you should make line 239:

    y := y - random(2);

  11. #11
    Join Date
    Feb 2008
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh I see. Thanks

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
  •