Results 1 to 19 of 19

Thread: Getting another Runescape player's level?

  1. #1
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Getting another Runescape player's level?

    How would I go about getting another runescape players level?

    thanks.

  2. #2
    Join Date
    Dec 2007
    Posts
    515
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    if there high level and not a pure you can get the combat stats and use a combat level calculator. Or you can add them in game and ask there where they are then go to them.
    In the kingdom of the blind, the one-eyed man is king

  3. #3
    Join Date
    Apr 2008
    Location
    Canada.
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah go check the hiscores for their combat stats and type them in a combat level calculator. Here is a link if you can't find one : http://www.zybez.net/calcs.php?calc=Combat

  4. #4
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    didn't think about that. anyone else know of another way to find out without using another website?

  5. #5
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    You could use something like this (not sure if it works, but it should just about get there):
    SCAR Code:
    procedure GetCharLevels(var Levels: TIntegerArray; CharName: string);
    var
      myClient: Integer;
      page: string;
    begin
      myClient := InitializeHTTPClient(True,True);
      ClearPostData(myclient);
      AddPostVariable(myclient,'user1',CharName);
      page:= PostHTTPPageEx(myclient,'http://hiscore.runescape.com/hiscorepersonal.ws');
      FreeHTTPClient(myClient);
    end;
    That then returns the highscores page for 'CharName' so you just have to setup a method for splitting it into individual values for the different skills and you are sorted (and it's all hidden during script running, though it will only work if they're in the highscores).
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  6. #6
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks mixster, do you have any idea of how i could split the individual values? all I need is combat stats or combat.

  7. #7
    Join Date
    Feb 2008
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i dont know if i will be flagged for this reply but you could do this


    Bring up another window of Runescape and navigate to highscores and just type in whoever looking for

    or you can download a program like "EliteSwitch" and it has a highscores look up right under the Runescape window.

    im not advertising just informing.

  8. #8
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Well, the source for attack is:
    Code:
    Attack
    </span>
    </a>
    </td>
    <td colspan="2" align="right">141</td>
    <td align="right">99</td>
    So you could do something like:
    SCAR Code:
    p := Pos('Attack', page);
      p := PosEx('Attack', page, p + 1); // It has attack1.gif just before the word 'attack'
      Delete(Page, 1, p + 6);
      Levels := [StrToInt(Between('<td align="right">', '</td>', page))];
      Delete(Page, 1, Pos('bold;">', Page) + 7);
    That, of course, just returns the attack, but you can repeat it with a little adjustment to get the other stuff (mainly just change 'Attack' to 'Defence' or whatever).
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  9. #9
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hopefully I can figure that out Do you have any idea how I can find the combat level?

  10. #10
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    If inside RS, you can move over them and use UpText to get the text then filter it out to get the level
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  11. #11
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    But How would I know which Character they are?

  12. #12
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    You mean level wise?
    Make it convert the string into an integer like.

    SCAR Code:
    //Get the Uptext//
    Lvl := StrToInt(Uptext);
    If lvl > 40(what ever) then
    Store;

    I'm stumped

  13. #13
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How would I find which character is the one I am looking for?

  14. #14
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    What is this all for? If it's for duel arena etc. then you could just input the details you gather from the highscores code I put above into level formula (must be able to get it somewhere) and if they aren't in it, you could set it up to do the minimum and maximum cbl they could be. Otherwise, you could just make the mouse go round to random players and check or something like that. Also, you would have to extract the integer level value from the UpText NaumanAhklaQ
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  15. #15
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Its for a PC world advertiser. It tells people to trade if they want to join a pc world. and then if they are right combat level then it tells them.

  16. #16
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @mixster: would this work for finding their stats?

    SCAR Code:
    procedure GetCharLevels(var Levels: TIntegerArray; CharName: string); //mixster
    var
      myClient: Integer;
      page: string;
      A, S, D, R, M, p : integer;
    begin
      myClient := InitializeHTTPClient(True,True);
      ClearPostData(myclient);
      AddPostVariable(myclient,'user1',CharName);
      page:= PostHTTPPageEx(myclient,'http://hiscore.runescape.com/hiscorepersonal.ws');

      p := Pos('Attack', page);
      p := PosEx('Attack', page, p + 1);
      Delete(Page, 1, p + 6);
      A := [StrToInt(Between('<td align="right">', '</td>', page))];
      Delete(Page, 1, Pos('bold;">', Page) + 7);
      WriteLn('Attack is: ' + IntToStr(A));
     
      p := Pos('Strength', page);
      p := PosEx('Strength', page, p + 1);
      Delete(Page, 1, p + 6);
      S := [StrToInt(Between('<td align="right">', '</td>', page))];
      Delete(Page, 1, Pos('bold;">', Page) + 7);
      WriteLn('Strength is: ' + IntToStr(S));
     
      p := Pos('Defence', page);
      p := PosEx('Defence', page, p + 1);
      Delete(Page, 1, p + 6);
      D := [StrToInt(Between('<td align="right">', '</td>', page))];
      Delete(Page, 1, Pos('bold;">', Page) + 7);
      WriteLn('Defence is: ' + IntToStr(D));
     
      p := Pos('Range', page);
      p := PosEx('Range', page, p + 1);
      Delete(Page, 1, p + 6);
      R := [StrToInt(Between('<td align="right">', '</td>', page))];
      Delete(Page, 1, Pos('bold;">', Page) + 7);
      WriteLn('Range is: ' + IntToStr(R));
     
      p := Pos('Mage', page);
      p := PosEx('Mage', page, p + 1);
      Delete(Page, 1, p + 6);
      M := [StrToInt(Between('<td align="right">', '</td>', page))];
      Delete(Page, 1, Pos('bold;">', Page) + 7);
      WriteLn('Mage is: ' + IntToStr(M));
     
      FreeHTTPClient(myClient);
    end;
    I don't really understand any of it, just edited the name of the skill


    also, how would I find who I am trading with?

    edit: this is the source from Zybez's Combat Calc. So how would I change it while running the script so that I could find out the combat level?

    HTML Code:
    <td align="right">Attack:</td>
    <td align="left"><input type="text" name="attack" size="5" maxlength="2" value="20" /></td>
    <td align="right">Strength:</td>
    <td align="left"><input type="text" name="strength" size="5" maxlength="2" value="1" /></td>
    <td align="right">Defence:</td>
    <td align="left"><input type="text" name="defence" size="5" maxlength="2" value="1" /></td>
    </tr>
    <tr>
    <td align="right">Magic:</td>
    <td align="left"><input type="text" name="magic" size="5" maxlength="2" value="1" /></td>
    <td align="right">Ranged:</td>
    <td align="left"><input type="text" name="ranged" size="5" maxlength="2" value="1" /></td>
    <td align="right">Prayer:</td>
    <td align="left"><input type="text" name="prayer" size="5" maxlength="2" value="1" /></td>
    </tr>
    <tr>
    <td align="right">Hitpoints:</td>
    <td align="left"><input type="text" name="hitpoints" size="5" maxlength="2" value="10" /></td>
    <td colspan="2" align="center"><input type="submit" value="Calculate" /></td>
    <td align="right">Summoning:</td>
    <td align="left"><input type="text" name="summoning" size="5" maxlength="2" value="1" /></td>
    </tr>
    </table>
    </form>
    <br /><table width="80%" align="center" class="boxtop" style="border: 1px solid black;" cellspacing="0" cellpadding="2">
    <tr>

  17. #17
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thats just showing the form...the php is the part you really want.

  18. #18
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

  19. #19
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow, thanks.

    edit: do you want me to post on the thread? it would be a bit of a gravedig if i did.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Any Level 3's?
    By BjRobMan in forum OSR Help
    Replies: 1
    Last Post: 09-17-2008, 03:37 PM
  2. JADDummy! will level you from any level to 8 :p
    By JAD in forum RS3 Outdated / Broken Scripts
    Replies: 23
    Last Post: 01-28-2008, 02:51 AM
  3. omg level 3s
    By Lord michie in forum RuneScape News and General
    Replies: 18
    Last Post: 12-15-2007, 10:05 PM
  4. Level 126.5 possible?
    By Hey321 in forum News and General
    Replies: 9
    Last Post: 03-03-2007, 12:59 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
  •