Page 2 of 2 FirstFirst 12
Results 26 to 30 of 30

Thread: Adding MultiPlayer

  1. #26
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Thank you


    xraye: I don't know if you figured it out yet, but you misplaced the end:
    SCAR Code:
    procedure ChopWillow;
    begin
      if not LoggedIn then Exit;
      FindRandoms;
      if ( TreeToCut = 'Willow' ) Or ( TreeToCut = 'willow' ) then
      begin
        if FindObjCustom(x, y, ['Wil', 'low'], [3108448, 1986630], 5) then
        begin
          Wait(30 + Random(20));
          Mouse(x, y, 3, 3, True);
          Wait(7000 + Random(700));
        end
        else   (THIS IS LINE 119)
        begin // if it doesn't find the symbol (if it messes up)
          Players[CurrentPlayer].Active := False; // Set your player to false!!
          Players[CurrentPlayer].Loc := 'Walking to there';
          LogOut; // Log him out!!
          Exit; // Exit the procedure, so it wont continue!!
        end;
      end;
    end;
    Hup Holland Hup!

  2. #27
    Join Date
    Jun 2008
    Location
    Somewhere
    Posts
    117
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    Nice tut, Now I can start putting multiplayer on my scripts

  3. #28
    Join Date
    Jul 2007
    Posts
    1,431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow this helped me I did Nextplayer(loggedin)(when I scripted) instead of (players[cp].active)...so if player was logged out, that meant something was wrong..but your solution is 100% better

    Haha..funny..
    [CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]

  4. #29
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ooohh nice tut. I've never done multiplayer properly before shhh!
    ~ Metagen

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

    Default

    Perfect, sweet and simple. This helped me out a lot, thanks Nielsie <3.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiplayer help
    By Raskolnikov in forum OSR Help
    Replies: 3
    Last Post: 09-11-2008, 06:44 PM
  2. multiplayer
    By havoc928 in forum OSR Help
    Replies: 4
    Last Post: 09-13-2007, 01:57 AM
  3. adding multiplayer to a tut runner
    By RudeBoiAlex in forum OSR Help
    Replies: 4
    Last Post: 04-29-2007, 06: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
  •