Results 1 to 9 of 9

Thread: Multi players

  1. #1
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default Multi players

    I finally got Multi players kind of working. The first guy mines the right amount of loads but when he finishes and logs off the next guy mines 1 or 2 ore then logs and same with the 3rd guy and it just goes on like that forever....any ideas. it happened once i added more players.


    Also how do i do find and attach pick head things and find gas......oh also even though i've got run away if in fight thingy in script i got attacked by rock golem thing and it didnt run. so lil help plz
    Sleeping...

  2. #2
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Loads:=0
    You must reset the variable Loads after changing the next player.

  3. #3
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    how? lol
    which bit?
    and what do i have to do?
    Sleeping...

  4. #4
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    In your script you have
    SCAR Code:
    procedure drop;
    begin
    if(invfull)then
    begin
     if(pickequip)=True then
     begin
     GameTab(4);
     DropTo(1,28);
     Loads:= Loads + 1
      end;
     begin
     if(pickequip)=False then
     begin
     GameTab(4);
     DropTo(2,28);
     Loads:= Loads + 1
     end;
     end;
    end;
    end;
    See the Loads:=Loads+1

    And in mainloop you have
    SCAR Code:
    If (Loads = Loadz) then
        Logout;
        Nextplayer(true);
        gametab(4);
        FindOre;
        MouseAndClick;
        UntilMined(5000);
        Drop;
        AntiRandoms;
        until (false);
    See "If (Loads = Loadz) then". The variable loads will be same
    as last player's, because you never reset it, and thats why it does this. This is how to fix this issue:
    SCAR Code:
    If (Loads = Loadz) then
        begin
        Loads:=0
        Logout;
        Nextplayer(true);
        end;
        gametab(4);
        FindOre;
        MouseAndClick;
        UntilMined(5000);
        Drop;
        AntiRandoms;
        until (false);
    Now that will start variable Loads at 0 when you change player.

  5. #5
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    ty so much pentti you've helped me quite a few times now thx so much!
    Sleeping...

  6. #6
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by rkroxpunk View Post
    ty so much pentti you've helped me quite a few times now thx so much!
    No problems man! Its always nice to help you!

  7. #7
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    hey can you +rep on here? if you can how i need to do it for u pentti :P
    Sleeping...

  8. #8
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    See the blue square at top-right on my posts.

  9. #9
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    ha uber noob ftw thx

    EDIT: Now i've done a bit of editing to my script and i can't find why it's not changing character when it does the set amount of loads i tell it too: please help:

    don't worry i figured it out
    Sleeping...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multi-User, Multi-Log, Multi-Bow Pro Fletcher
    By Foss in forum First Scripts
    Replies: 13
    Last Post: 07-16-2008, 08:54 AM
  2. Multi players Ban?
    By paintplaye in forum OSR Help
    Replies: 2
    Last Post: 04-05-2007, 01:36 AM
  3. Help With Multi Players
    By da_professa in forum OSR Help
    Replies: 7
    Last Post: 12-10-2006, 07:36 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
  •