Results 1 to 9 of 9

Thread: SRLPlayerForm is racist against Dervishes ?

  1. #1
    Join Date
    Dec 2007
    Posts
    2,766
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default SRLPlayerForm is racist against Dervishes ?

    Hi

    Instead of wasting hundreds of lines on a form only used for declaring players, I tried to use SRLPlayerForm.

    But it doesn't work .

    Here's what happens :

    Code:
    Line 214: [Error] (216:1): Unknown identifier 'HowManyPlayers' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/misc/users.scar
    Here's my simple code that doesn't work apparently :

    SCAR Code:
    program New;
    {.include SRL/SRL/misc/users.scar}
    {.include SRL/SRL.scar}

    procedure DeclarePlayers;
    begin
         HowManyPlayers := 1;
         NumberOfPlayers(HowManyPlayers);
         CurrentPlayer:= 0

         Players[0].Name   := ('');
         Players[0].Pass   := ('');
         Players[0].Nick   := ('');
         Players[0].Active := True;
    end;

    begin
    SRLPlayerForm(True,[],[],[],[]);
    DeclarePlayers;
    end.

    What's wrong ? .

    If you need to know :
    - I have reinstalled SRL and tried again ... doesn't work.
    - YES I HAVE REV 28

    Any help ? :s

  2. #2
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    DeclarePlayers is never meant to be used in conjunction with SRLPLayerForm as the form already does that for you .
    Get rid of declareplayers

  3. #3
    Join Date
    Dec 2007
    Posts
    2,766
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Okay, I'll edit this post when I'm done, and tell you about how it is nowies =).

    EDIT : Nope, no changes, still a problem. . Same error...

  4. #4
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Ahh I got it, Include {srl/srl.scar} before users.scar and get rid of declareplayers . Sorry

  5. #5
    Join Date
    Dec 2007
    Posts
    2,766
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    Thanks you omfg i fucking love you !
    Rep ++

  6. #6
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    SCAR Code:
    program New;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/misc/users.scar}


    procedure DeclarePlayers;
    begin
         HowManyPlayers := 1;
         NumberOfPlayers(HowManyPlayers);
         CurrentPlayer:= 0

         Players[0].Name   := ('');
         Players[0].Pass   := ('');
         Players[0].Nick   := ('');
         Players[0].Active := True;
    end;

    begin
    SRLPlayerForm(True,[],[],[],[]);
    end.

    perfect
    Did someone say GDK?

  7. #7
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  8. #8
    Join Date
    Oct 2008
    Location
    In my House =)
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lol.. i dont get the title of this topic ^^

  9. #9
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    It's an eye catcher to make you click on it because it sounds interesting lol. :P
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. My Racist Car
    By anonymity in forum Blogs and Writing
    Replies: 3
    Last Post: 03-04-2009, 02:50 PM
  2. SRLPlayerForm
    By rogeruk in forum OSR Help
    Replies: 19
    Last Post: 11-18-2007, 12:14 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
  •