Page 3 of 3 FirstFirst 123
Results 51 to 55 of 55

Thread: problems with my script

  1. #51
    Join Date
    Dec 2011
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    Begin
    Wait(750+random(250)) or
    IsUpText('ew') (InvFull);
    Repeat;
    End;


    [Error] (115:16): Type mismatch at line 114
    Compiling failed.


    Fixed the other error and i tweaked this around some any ideas on what i'm doing wrong?
    Goals:

    Learn to script(doing)
    Write Basic Yew and magic log cutter(DONE!NEEDS WALKING AND BANKING 1ST)
    Create Universal Fighter

  2. #52
    Join Date
    Dec 2011
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Double posted my bad laggy internet
    Goals:

    Learn to script(doing)
    Write Basic Yew and magic log cutter(DONE!NEEDS WALKING AND BANKING 1ST)
    Create Universal Fighter

  3. #53
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by insidethefire666 View Post
    Simba Code:
    Begin
    Wait(750+random(250)) or
    IsUpText('ew') (InvFull);
    Repeat;
    End;


    [Error] (115:16): Type mismatch at line 114
    Compiling failed.


    Fixed the other error and i tweaked this around some any ideas on what i'm doing wrong?
    uhm..are u actually trying to do this:
    if WaitUptext('ew') or InvFull then

  4. #54
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Or only comes after if statements.
    Read your code out loud and see if it makes any sense.

    "wait or" naah!
    But
    If IsUoText() Or InvFull then

    That makes sense.


    I thunk you really need to slow down, go through the code line by line, make sure it's standardized/organized first, and then read to see if it makes sence logically.
    First just think in human terms what you're trying to do, then figure out how to code it.
    Imagine what you would do if you were playing, then turn it into code.

    Slow down, relax, and code away!
    If you are basing this off of my tutorial videos, pay closer attention to my code and make yours like mine. The code in the video works and compiles except for like updates in SRL simba.

    Good luck.

  5. #55
    Join Date
    Dec 2011
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i am doing this without the tutorial and free balling it off what i learned in the first 15 minutes of your video i want it to be a all hands on learning process not video instructed where i'm copying you I want some of my own touches and variances,
    Goals:

    Learn to script(doing)
    Write Basic Yew and magic log cutter(DONE!NEEDS WALKING AND BANKING 1ST)
    Create Universal Fighter

Page 3 of 3 FirstFirst 123

Thread Information

Users Browsing this Thread

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

Posting Permissions

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