Results 1 to 5 of 5

Thread: Stuck with scripting again

  1. #1
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default Stuck with scripting again

    So, im trying to follow guide from youtube once again to get basic idea of scripting but I get stuck all the time with some stupid things and most of the times the reasons are that im being stupid but cant figure this1 out again could any1 help me with this1? ty.
    screen: http://www.upload.ee/image/3331050/stuck.png
    dont have the whole msg on the screen so Ill put it here : Unknown identifier 'PluOne' at line 19
    Compiling failed.

    also I think it should of ben id'd by this line :PlusOne:= InvCount + 1;
    I think im doing something wrong that I cant figure out.

  2. #2
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    It's a typo, U typed PluOne, should be PlusOne

    Creds to DannyRS for this wonderful sig!

  3. #3
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Oh, thnx I never noticed even I was looking at the code like 30 mins also now I got other problem now its spamming the +1 for some reason as it clicks on chop the tree.
    http://www.upload.ee/image/3331121/w...t_spamming.png

  4. #4
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Your Writeln('+1); is OUTSIDE the if then statement, meaning it will play everytime.
    you need a new begin and end; for multiple actions example:

    Simba Code:
    repeat
    if InvCount = Plusone then  // now if then statement applies to everything between begin end;
    begin
     Wait(300);
     Writeln('+1');  // between begin end now.
    end;
    until(InvCOunt = Plusone);

    Also refrain yourself from using movemouse and clickmouse, these are a very HIGH BANRISK. (very computer like)
    instead use MMouse and Clickmouse2.

    Creds to DannyRS for this wonderful sig!

  5. #5
    Join Date
    Jul 2012
    Location
    Estonia, dont try to find it from the map its a cave!
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Thnx and I know about the ban risk however this script is just for learning the basic its not like im ever going to actually use it and sure if Ill be using mouse movements Ill be adding randomness and delay randomness to it.
    any advice what to learn? also what I need for my script is talking with npcs and banking etc. that I will do once I got enough knowledg of simba.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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