Results 1 to 8 of 8

Thread: Error: Unknown identifier 'STRING1' in script

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

    Default Error: Unknown identifier 'STRING1' in script

    Failed when compiling
    Line 64: [Error] (12573:12): Unknown identifier 'STRING1' in script
    ----------
    Procedure DeclarePlayers;
    Begin;
    HowManyPlayers := 1;
    NumberOfPlayers(HowManyPlayers);

    Players[1].Name :='sluder4';
    Players[1].Pass :='die';
    Players[1].Nick :='yo';
    Players[1].String1 := 'Iron'; //Type of bar : Bronze, Iron, Steel, Mithril, Adamant, Runite.
    Players[1].string2 :='Arrow tips'; //Type of item, list is available above.
    Players[1].Active:=True;

  2. #2
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    look on jads guide to annoying errors search it

    T ~ M

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

    Default

    Old script. Find a new one.

    String1, String2 etc were replaced with Strings[0], Strings[1]. You could probably make it compile, but the script is probably too old to be good and probably detectable.
    Temporarily inactive.

  4. #4
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Also that procedure is wrong. It is supposed to start with Players[0].Username and stuff. There is a semicolon on the Begin too. But as ducels said it is an outdated script. Try to update it yourself or find a new one once you are a junior member. Thanks,

    ~Kyle~

  5. #5
    Join Date
    Jul 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  6. #6
    Join Date
    Jul 2007
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  7. #7
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by Biogenes View Post
    I'll try with the String[0] thanks...
    .Strings[0]


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  8. #8
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Edit: Nevermind Hy had it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 01-19-2008, 09:16 AM
  2. Replies: 7
    Last Post: 10-07-2007, 10:41 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
  •