Results 1 to 13 of 13

Thread: Error

  1. #1
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default Error

    Well, I started off with getting the canvas error. I fixed it.

    Now, when I try and start the script, it compiles and I get this:

    Code:
    ** Warning in GameTab: 4 does not exist**
    ** Warning in GameTab: 4 does not exist**
    ** Warning in GameTab: 4 does not exist**
    ** Warning in GameTab: 4 does not exist**
    It doesn't even log in.

    This is my first script ever, my friend and I are making it. We are just trying some things out.

    Here is the script:

    (Removed)

    Thanks for the advice in advance;
    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  2. #2
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Hehe, its rather jumbled at the moment, sorry about that .

    I think the standards are right, and its not that hard to read atm...

    Also, if you have any tips as well, feel free to let me know

    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  3. #3
    Join Date
    Sep 2007
    Posts
    415
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hmm..maybe the client isn't focused, try re-doing the crosshair drag on your client, if that doesnt work, make sure your work is saved and restart SCAR...or as a first resort, you can add a wait in lproc login after the activate and before the loginplayer..like 1000/2000 ms should be good.
    Quote Originally Posted by That guy that wrote forefeathers
    <munklez>haha im too lazy, girls annoy me
    <munklez> they always wanna like, do stuff
    <munklez> and i just wanna program
    <munklez> and they always take all my money

  4. #4
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try loginplayer; instead of login;

    To solve your other problem, look at Wizzup's second post here - http://www.villavu.com/forum/showthr...+gametab+exist

    EDIT: Oh nvm about login, didn't look through the script well nuff

  5. #5
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    I tried both, same error. Thanks for the try though.

    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  6. #6
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    I will try that after I make some dinner, Toxin is going to test as well while im away, so look for his response

    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  7. #7
    Join Date
    Sep 2007
    Posts
    415
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Runescapian321 View Post
    Try loginplayer; instead of login;

    To solve your other problem, look at Wizzup's second post here - http://www.villavu.com/forum/showthr...+gametab+exist
    i think your try loginplayer; instead of login; is lack of looking at the script, he made a procedure called login that includes loginplayer
    Quote Originally Posted by That guy that wrote forefeathers
    <munklez>haha im too lazy, girls annoy me
    <munklez> they always wanna like, do stuff
    <munklez> and i just wanna program
    <munklez> and they always take all my money

  8. #8
    Join Date
    Jan 2008
    Location
    Barrie, Ontario, Canada
    Posts
    126
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hello, and I'm the person working with Nava2 to help create this script happen. Okay what I am trying to do here is, that I fixed the issue with the gametabs. The issue here now is that, whenever I run the script, even after it compiles perfectly, the login procedure still fails. Scar disapears in the background and it just sits there at the main page. If you have LoginPlayer as a procedure, then inside that procedure you have LoginPlayer; that'll be a duplicate identifier in the same procedure and we can't have that, Scar won't let us. So what we did is just put LogIn, as a procedure name, and LoginPlayer; under it.

    Now, does anyone else have any other ideas what we should do to help fix this problem?

    EDIT: Nevermind I fixed the problem. There was something wrong with my MainLoop.
    Version 2 Of Sig, made my own vectors, used my own character and everything.
    http://img248.imageshack.us/img248/7...goodsigxp7.png

    The Shilo Fisher has been halted temporarily. Sorry guys... Too much school work at the moment.

  9. #9
    Join Date
    Sep 2007
    Posts
    415
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    and you tried putting the wait before loginplayer in proc LogIn?

    oh haha Edit-ed
    Quote Originally Posted by That guy that wrote forefeathers
    <munklez>haha im too lazy, girls annoy me
    <munklez> they always wanna like, do stuff
    <munklez> and i just wanna program
    <munklez> and they always take all my money

  10. #10
    Join Date
    Jan 2008
    Location
    Barrie, Ontario, Canada
    Posts
    126
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    To Drizzt:

    What the problem was in the script that after the mainloop, like just the actual script procedure that runs all the procedures and everything, i just had

    Begin
    Mainloop;
    End.

    What I really needed to was just
    Begin
    SetupSRL;
    DeclarePlayers;
    ActivateClient;
    Mainloop;
    End.

    Can't login without SRL, DeclarePlayers, or Activated Client Woot, found the problem though. Stay tuned for more problems arising in the making of the script though, hah
    Version 2 Of Sig, made my own vectors, used my own character and everything.
    http://img248.imageshack.us/img248/7...goodsigxp7.png

    The Shilo Fisher has been halted temporarily. Sorry guys... Too much school work at the moment.

  11. #11
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Thanks all who helped... removing script from post

    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  12. #12
    Join Date
    Sep 2007
    Posts
    415
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well, to go ahead and nip 1 problem in the bud..
    SCAR Code:
    procedure DropDe(f,t: integer);
    var Hmm: integer;
    begin
      Hmm := MouseSpeed;
      MouseSpeed := 25+Random(7);
      for i := f to f do
        DropeItem(i);
      WriteLn('All Dropped!');
      MouseSpeed := Hmm;
    end;
    won't work

    SCAR Code:
    procedure DropDe(f,t: integer);
    var Hmm: integer;
    begin
      Hmm := MouseSpeed;
      MouseSpeed := 25+Random(7);
      for i := f to t do  //small problem was going from f to f... = just dropeitem haha
        DropeItem(i);
      WriteLn('All Dropped!');
      MouseSpeed := Hmm;
    end;
    Quote Originally Posted by That guy that wrote forefeathers
    <munklez>haha im too lazy, girls annoy me
    <munklez> they always wanna like, do stuff
    <munklez> and i just wanna program
    <munklez> and they always take all my money

  13. #13
    Join Date
    Jan 2008
    Location
    Barrie, Ontario, Canada
    Posts
    126
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Changed that little bit.

    That part of the script wasn't made by me, it was made by Hy71194. I used his fast dropper which was going to help out with the powerfishing, but first I gotta make a radial walk procedure to get to the fishing spot itself.

    I have a question, after getting to the fishing spot, are there any presets in Fishing.scar that help identify the colours/dtms/bitmaps of the jumping fish in the water? Or do I have to make that custom, if so, what would I go on about doing, because I can do it, it's just that I wouldn't know what kind of procedure I need.
    Version 2 Of Sig, made my own vectors, used my own character and everything.
    http://img248.imageshack.us/img248/7...goodsigxp7.png

    The Shilo Fisher has been halted temporarily. Sorry guys... Too much school work at the moment.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Line 135: [Error] (14845:1): Syntax error in script
    By AbsTrACt'^.| in forum OSR Help
    Replies: 16
    Last Post: 05-23-2008, 01:14 PM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  3. Smart error and Some kind of Math.scar error
    By FagetHax0r in forum OSR Help
    Replies: 6
    Last Post: 02-24-2008, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •