How would I go about getting another runescape players level?
thanks.
How would I go about getting another runescape players level?
thanks.
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
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
didn't think about that. anyone else know of another way to find out without using another website?
You could use something like this (not sure if it works, but it should just about get there):
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 sortedSCAR 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;(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.
thanks mixster, do you have any idea of how i could split the individual values? all I need is combat stats or combat.
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.![]()
Well, the source for attack is:
So you could do something like:Code:Attack </span> </a> </td> <td colspan="2" align="right">141</td> <td align="right">99</td>
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).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);
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.
Hopefully I can figure that outDo you have any idea how I can find the combat level?
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.
But How would I know which Character they are?![]()
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![]()
How would I find which character is the one I am looking for?
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.
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.
@mixster: would this work for finding their stats?
I don't really understand any of it, just edited the name of the skillSCAR 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;
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>
thats just showing the form...the php is the part you really want.
http://www.villavu.com/forum/showthread.php?t=18809
here straight up works easily.
wow, thanks.
edit: do you want me to post on the thread? it would be a bit of a gravedig if i did.
There are currently 1 users browsing this thread. (0 members and 1 guests)