SRL Archive - S.M.A.R.T. Questions and Answers.

SMART Lowest CPU usage!?!?


Cartmann

2010-01-17 17:05:19

Why doese smart set the cpu usage to lowest posible?
I don't even know why runescape made that low cpu, i crashed after it clicked the first TPA (which worked, yay :D)

Gu3st...

2010-01-17 17:08:42

Why not?
And who crashed what?

RuneScape should run perfectly fine with CPU on lowest

Cartmann

2010-01-17 17:16:28

not at all, it's like running counter.strike with 4 fps.

i lagged so much the smart screen just froze.

Gu3st...

2010-01-17 17:17:35

From: Cartmann
not at all, it's like running counter.strike with 4 fps.

i lagged so much the smart screen just froze.
Really? wow your computer must be rusty O_o

What's your specs?

Cartmann

2010-01-17 17:22:00

2 gb ram, some nice intel duo core with 2.00ghz (stole it from my daddies test server :P)

Gu3st...

2010-01-17 17:26:28

Hm.. Should work fine O_o

Tried restarting SCAR / computer?
I have 4gb ram intel duo 2.66GHz and SMART runs just fine for me

Cartmann

2010-01-17 17:30:14

on low CPU usage? my graphic card is like 3 years old, do you think that might effect it?

Gu3st...

2010-01-17 17:35:54

From: Cartmann
on low CPU usage? my graphic card is like 3 years old, do you think that might effect it?
Maybe…
Update the driver and check again, if the problem is still there then you might want to consider buying a new one :)

YoHoJo

2010-01-17 17:58:50

Its the gfx card for sure, what model/brand/whatever is it?

Cartmann

2010-01-18 07:57:35

hmm, if i had a server with thiese specs:
32gb ram
4 quad cores (16 cores)
divided in 1 or 2 windows 7

what gfx card would need in order to be capable of running 120 smart simuntaniusly?

jimmy_mac

2010-01-18 08:04:56

woah! why would you only have 32mb of ram??

Frement

2010-01-18 08:05:47

I think he meant 32gb? :)

Cartmann

2010-01-18 09:48:09

Yes i meant 32 gb, lol :P

Floor66

2010-01-18 09:54:55

You DO get that lowest CPU usage means that the CPU will be utilized as LITTLE as possible by RS, right? With your specs you should easily be able to run RS on lowest.

Camaro'

2010-01-18 10:46:08

From: Cartmann
hmm, if i had a server with thiese specs:
32gb ram
4 quad cores (16 cores)
divided in 1 or 2 windows 7

what gfx card would need in order to be capable of running 120 smart simuntaniusly?


Any new Nvida Graphics card(sp?)..

Floor66

2010-01-18 10:56:25

You would barely need a gfx card..? Only in HD RS uses your gfx card (openGL). Else it just goes through your CPU afaik.

Gu3st...

2010-01-18 10:58:33

From: Cartmann
what gfx card would need in order to be capable of running 120 smart simuntaniusly?
The newest and best graphics card there is. Nvidia is preferred, Nvidia is more game-focused than any other I know

BTW: 120 smarts is pretty heavy :redface: you should get some awesome debug reports lol

Cartmann

2010-01-18 11:03:28

Just wait until you see what i have in mind ;)
But before I can go out and promise anything, I need to know if my set-up would work.

Gu3st...

2010-01-18 11:09:04

From: Cartmann
Just wait until you see what i have in mind ;)
But before I can go out and promise anything, I need to know if my set-up would work.
How many accounts do you have btw?
Be sure to have more than one account per smart so minimize the randoms..
I currently have around 260 accounts but I don't think that would be enough for 120 smarts.. I'm thinking around 800 accounts would be O.K :p

Cartmann

2010-01-18 11:18:12

Yes, some 5 each smart, but I have a database to adjust it.

about that gfx card, what kind of specs should i look for? and btw, since i will play it on a server, i won't have any monitor on it, wouldn't that help on my gfx card?

Floor66

2010-01-18 11:20:03

Read up and read my post…

Gu3st...

2010-01-18 11:54:04

From: Cartmann
Yes, some 5 each smart, but I have a database to adjust it.

about that gfx card, what kind of specs should i look for? and btw, since i will play it on a server, i won't have any monitor on it, wouldn't that help on my gfx card?
Good lord…
600 accounts.. Hm.. Have you made a account database + system to keep track of them all?
I made one with .ini files, working pretty good I must say :)

Capricorn

2010-01-18 12:27:22

From: Zyt3x
The newest and best graphics card there is. Nvidia is preferred, Nvidia is more game-focused than any other I know


The newest and best GPU isn't a nvidia card, and no, nvidia is only preferred by you and what makes nvidia more game-focused then other GPU's?

And yes, only HD uses your GPU.

And I don't think you will be able to get to 120 smarts at once… Not with accessing a database, searching the screen and what not. You may, but I doubt they would run well and may run into problems when 30+ accounts try to search for a DTM or something.

Gu3st...

2010-01-18 13:04:49

From: Capricorn
The newest and best GPU isn't a nvidia card, and no, nvidia is only preferred by you and what makes nvidia more game-focused then other GPU's?

And yes, only HD uses your GPU.

And I don't think you will be able to get to 120 smarts at once… Not with accessing a database, searching the screen and what not. You may, but I doubt they would run well and may run into problems when 30+ accounts try to search for a DTM or something.
The newest and best Nvidia card IS in fact a Nvidia card… And if you didn't know.. almost EVERY post in this forum is based on their own experiences.. :rolleyes:
EDIT: atleast my posts are

Exactly why would there be a problem searching on more than one SMART? I really don't see the problem.

Capricorn

2010-01-18 14:21:29

From: Zyt3x
The newest and best Nvidia card IS in fact a Nvidia card… And if you didn't know.. almost EVERY post in this forum is based on their own experiences.. :rolleyes:
EDIT: atleast my posts are

Exactly why would there be a problem searching on more than one SMART? I really don't see the problem.


I don't claim to have experience of using a 295 and a 5970, but I just checked and nvidia still hasn't gotten their GF100 line up out yet so I can only conclude that you have no experience either because all the benchmarks that were run for ATI's newer GPU's beat out nvidia's card one way or another. Loosen your brand loyalty belt and go look at some benchmarks. Only their 220 - 240 competes now and thats only because ATI is milking their domination in the GPU market and marking up their prices because nvidia cannot compete.

Some benchmarks to prove that ATI has a hold on the market (and I hate that, because it takes away competitive pricing)

http://images.anandtech.com/graphs/rv870_092209122344/20094.png
http://images.anandtech.com/graphs/rv870_092209122344/20105.png
http://images.anandtech.com/graphs/rv870_092209122344/20096.png
http://images.anandtech.com/graphs/rv870_092209122344/20097.png

As you can see, the 5870 beats the 285 in almost all tests. Its not really a fair comparison though seeing as nvidia was caught with their pants down and will be late to this generation of GPU's by ALMOST A YEAR.

And its not a problem of searching on multiple smarts, its a problem of searching for a DTM or something, and having your CPU spike to 100%. This while accessing a database over 120 smarts, I think its pushing it but I cannot be certain as I don't have a server to test.

Gu3st...

2010-01-18 14:36:47

From: Capricorn
I don't claim to have experience of using a 295 and a 5970, but I just checked and nvidia still hasn't gotten their GF100 line up out yet so I can only conclude that you have no experience either because all the benchmarks that were run for ATI's newer GPU's beat out nvidia's card one way or another. Loosen your brand loyalty belt and go look at some benchmarks. Only their 220 - 240 competes now and thats only because ATI is milking their domination in the GPU market and marking up their prices because nvidia cannot compete.

Some benchmarks to prove that ATI has a hold on the market (and I hate that, because it takes away competitive pricing)

http://images.anandtech.com/graphs/rv870_092209122344/20094.png
http://images.anandtech.com/graphs/rv870_092209122344/20105.png
http://images.anandtech.com/graphs/rv870_092209122344/20096.png
http://images.anandtech.com/graphs/rv870_092209122344/20097.png

As you can see, the 5870 beats the 285 in almost all tests. Its not really a fair comparison though seeing as nvidia was caught with their pants down and will be late to this generation of GPU's by ALMOST A YEAR.

And its not a problem of searching on multiple smarts, its a problem of searching for a DTM or something, and having your CPU spike to 100%. This while accessing a database over 120 smarts, I think its pushing it but I cannot be certain as I don't have a server to test.
Wow.. Sorry then :p looks like you know a lot about these things..

And I have never experienced my cpu to spike to 100% when I have been searching for dtms/bmps/colors

Capricorn

2010-01-18 14:45:18

Well I don't have the greatest computer, but I'd imagine you'd notice it with 120 SMARTS running. And databases take up a lot of CPU but that depends how much database usage he does and what type of usage. But I doubt anybody will be able to give a fair guess because none of us have 32 cores of CPU power to test this. Nor would I feel like making 800 accounts to test this.

My point is no one has the experience of what OP is wanting to do so. And not only that, OP never mentioned which CPU's he had, only that he had 4 quad cores (16 cores leads me to believe its AMD). With nehalem I could see maybe 120 smarts, but not with AMD chips.

Gu3st...

2010-01-18 14:48:11

From: Capricorn
Well I don't have the greatest computer, but I'd imagine you'd notice it with 120 SMARTS running. And databases take up a lot of CPU but that depends how much database usage he does and what type of usage. But I doubt anybody will be able to give a fair guess because none of us have 32 cores of CPU power to test this. Nor would I feel like making 800 accounts to test this.

My point is no one has the experience of what OP is wanting to do so. And not only that, OP never mentioned which CPU's he had, only that he had 4 quad cores (16 cores leads me to believe its AMD). With nehalem I could see maybe 120 smarts, but not with AMD chips.
Databases is easy, just write some stuff into .ini files when logging out and in

Cartmann

2010-01-18 16:39:22

The database is not located on the computer, but on a website, and it's controlled by numerous gethttp functions.

I'm not entirely sure about the specs of the server, but it's from Amazon, and i believe it's Intel? Not quite sure though, I'll might get some more info tomorrow, and yeah, I'll probably need a nice account maker :P

Gu3st...

2010-01-18 16:42:07

From: Cartmann
The database is not located on the computer, but on a website, and it's controlled by numerous gethttp functions.

I'm not entirely sure about the specs of the server, but it's from Amazon, and i believe it's Intel? Not quite sure though, I'll might get some more info tomorrow, and yeah, I'll probably need a nice account maker :P
[-jesus-]
Made one, it's awesome :)
But when it gets to the end of the list, it pops an error. Do not click "Abort" or "Cancel", instead click "Continue", and then click Export, this way, you don't lose all your accounts (:mad:)

Cartmann

2010-01-18 16:44:54

I've seen that, but the name generation kinda sucks? it's just like:
Cartmannrock0
Cartmannrock1
Cartmannrock2
Cartmannrock3
Cartmannrock4

Btw, do we also posses some flawless tut runners?

Capricorn

2010-01-18 18:42:33

From: Cartmann
The database is not located on the computer, but on a website, and it's controlled by numerous gethttp functions.

I'm not entirely sure about the specs of the server, but it's from Amazon, and i believe it's Intel? Not quite sure though, I'll might get some more info tomorrow, and yeah, I'll probably need a nice account maker :P


Well then if you mean 2 physical CPU's I think 120 SMARTS is ambitious, but its not like anybody has any experience in this sort of matter.

Gu3st...

2010-01-18 18:52:50

From: Cartmann
I've seen that, but the name generation kinda sucks? it's just like:
Cartmannrock0
Cartmannrock1
Cartmannrock2
Cartmannrock3
Cartmannrock4

Btw, do we also posses some flawless tut runners?
Yeah I know.. I made a better one:
const
HowMany = 50; // How many accounts do you want? Min 1. Max 50.
AddNumb = True; // True = Asdf1, Asdf2. False = Asdf, Qwer.
First = True; // True = 1Asdf, 2Asdf. False = Asdf1, Asdf2.
NumC = 5; // How many accounts with the same name?
LongNames = True; // True = ~9 chars. False = ~5 chars.
Consonant = False; // Consonant heavy names? (Wekthlor, Zhaphg...)
Vowel = False; // Vowel heavy names? (Elaythu, Amoseiti...)
Randomize = False; // Randomizes the name, none of the booleans above count

var
Usernames : TStringArray;
f, S : String;
I, J, P, H : Integer;

begin
if HowMany > 50 then
H := 50
else
if HowMany < 2 then
H := 2
else
H := HowMany;
f := '2';
if LongNames then f := '3';
if Consonant then f := '4';
if Vowel then f := '5';
if Randomize then f := '6';
S := GetPage('http://www.rinkworks.com/namegen/fnames.cgi?id=checked&f=' + f);
Usernames := Explode('<li>', Between('<table><tr><td><ul></ul></td><td><ul><li>', '</ul></td></tr></table></center>', S));
SetArrayLength(Usernames, H);
for I := 0 to H-1 do
begin
P := Pos('<', Usernames[I]);
if P > 0 then
Delete(Usernames[I], P, 18);
if Length(Usernames[I]) < 5 then
Usernames[I] := Usernames[I] + Copy(Lowercase(Usernames[Random(H-1)]), 0, 12);
if AddNumb then
Delete(Usernames[I], 11, 20)
else
Delete(Usernames[I], 12, 20);
end;
ClearDebug;
for I := 0 to H-1 do
begin
if AddNumb then
begin
for J := 1 to NumC do
if First then
WriteLn(IntToStr(J) + Usernames[I])
else
WriteLn(Usernames[I] + IntToStr(J));
I := I + NumC
end else
WriteLn(Usernames[I]);
end;
end.

Cartmann

2010-01-19 03:35:26

Thanks zyt3x :D +rep

BTW, is it possible to make a checker on Runescapes website too? (so i don't manually have to check 600 acc names) already did it with 100 though :P

And another question: In order to stay hidden while generating 600 accounts, what proxy would be best to use? i was thinking torproject perhaps?

Gu3st...

2010-01-19 07:08:07

From: Cartmann
Thanks zyt3x :D +rep

BTW, is it possible to make a checker on Runescapes website too? (so i don't manually have to check 600 acc names) already did it with 100 though :P

And another question: In order to stay hidden while generating 600 accounts, what proxy would be best to use? i was thinking torproject perhaps?
with [-jesus-]'s account maker you don't have to check anything at all. If the name is taken then it will jump to the next player :)

Cartmann

2010-01-19 09:23:32

sweet, but what about detectability

Gu3st...

2010-01-19 09:26:00

From: Cartmann
sweet, but what about detectability
I made 200 accounts with it. Nothing happened ;)

n3ss3s

2010-01-19 15:00:28

SMART doesn't automatically set the CPU usage to lowest?

1. Go to RuneScape graphics options and make sure CPU Usage is on highest.
2. Adjust the SMART fps bar.

those are the only things in our control afaik.

Floor66

2010-01-19 15:05:20

fps bar =/= cpu usage

Cartmann

2010-01-19 15:06:50

Fps bar?

Gu3st...

2010-01-19 15:20:25

From: Cartmann
Fps bar?
The bar at the right on SMART, which you can set high or low

n3ss3s

2010-01-20 06:00:36

Set it higher and the game flows better, but also uses more CPU.

Bonfield

2010-01-20 06:11:56

The higher/lower you raise the fps how will that effect a script when it's running?

Cartmann

2010-01-20 06:24:44

What is the optimal FPS? for running the game flawless, but still be on a rather low cpu?

Sabzi

2010-01-20 06:26:00

From: Bonfield
The higher/lower you raise the fps how will that effect a script when it's running?


Everybody knows what fps means so if we got a low fps we might skip screens which we don't want to skip. I can't think of any example now but that may muck the script up. This is theory by me because I have just heard that scar actually sees what you can see in smart.

@Cartmann: I don't think that more than 1% of the users touched that bar ever. I got it always at default(middle). But depends on the computer so I would say just play with until you find a good state for yourself.

Floor66

2010-01-20 07:54:46

AFAIk the FPS bar doesn't matter to the script, just to you as 'human' who wants to see what's going on

Gu3st...

2010-01-20 11:18:37

From: Floor66
AFAIk the FPS bar doesn't matter to the script, just to you as 'human' who wants to see what's going on
That's what I though too.. SMARTs fps bar has nothing to say

Cartmann

2010-01-20 11:31:40

From: Zyt3x
That's what I though too.. SMARTs fps bar has nothing to say


Someone said that Runescape took pictures of you while your playing? if the FPS was slowed, do you think they would notice? btw, something to counter-argue that:
In Counter-Strike, the only way for the anti-cheat system to get a picture of you playing, is via a downloaded client (i think it's voiplay and custodia) without, they can't see what you are doing

Another thing, if I turned the FPS bar down to the minimal, wouldn't that decrease my CPU usage? seeing as it don't have to work that hard on making all these pictures.

Bobarkinator

2010-01-20 11:45:47

From: Cartmann
Someone said that Runescape took pictures of you while your playing?


It's possible, but nothing in the client says they do.

Cartmann

2010-01-20 11:51:47

From: Bobarkinator
It's possible, but nothing in the client says they do.


how?
as mentioned before they need several (downloaded) clients in CS to capture an image of you playing. (and isn't it illegal without permission too?)

Bobarkinator

2010-01-20 12:12:53

Robot.createScreenCapture(width, height);

Yeah, it's pretty easy to do. I'm not sure if it's illegal or not. If it is, all they need to do is throw something in the ToS to get over that.

Cartmann

2010-01-20 12:20:44

Would that capture multiple screen shots or only one? (or could you do it rapidly in a row?) I'm thinking if they could spot a low fps.

Bobarkinator

2010-01-20 12:23:28

It would do only one, but they could do them in succession. They can't really ban somebody based on a low FPS though…people with bad computers have low FPS…

Gu3st...

2010-01-20 15:14:09

They wouldn't do that. The amount of data created would be huge. An the optional FPS for your project would be at the lowest, Cartmann :)
No worries, it's just like using macros in JaGeX's runescape client, only not as good looking for the human eye

E: It's like tracking mouse movements. It is easily do-able but the amount of data it would create is just too much (for now)..

silentwolf

2010-01-20 16:56:00

120 connections from one IP might look suspicious. Presumably your planning to make $$ out of this… I'm struggling to see the numbers add up especially considering the amount of effort required :p

mormonman

2010-01-20 19:47:14

From: Zyt3x
They wouldn't do that. The amount of data created would be huge. An the optional FPS for your project would be at the lowest, Cartmann :)
No worries, it's just like using macros in JaGeX's runescape client, only not as good looking for the human eye

E: It's like tracking mouse movements. It is easily do-able but the amount of data it would create is just too much (for now)..


AFAIK they do track your mouse. I am pretty sure Method has seen it in the client.

MylesMadness

2010-01-20 20:23:08

From: mormonman
AFAIK they do track your mouse. I am pretty sure Method has seen it in the client.
Can <> does. The amount of data that would be used if they watched the movements would be insane, even if they only did people who were flagged

Bobarkinator

2010-01-21 00:05:24

From: MylesMadness
Can <> does. The amount of data that would be used if they watched the movements would be insane, even if they only did people who were flagged


Code for tracking:
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: [url]http://www.geocities.com/kpdus/jad.html[/url]
// Decompiler options: packimports(3) braces fieldsfirst nonlb

import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;

final class MouseHandler extends MouseInputHandler
implements MouseListener, MouseMotionListener {

static int anInt4855;
static int anInt4856;
static int anInt4857;
static int anInt4858;
private int recordedY;
static int anInt4860;
static int anInt4861;
private Deque recorded;
static int anInt4863;
static int anInt4864;
static int anInt4865;
static int anInt4866;
static int anInt4867;
static int anInt4868;
static int anInt4869;
private int recordedSettings;
static int anInt4871;
static int anInt4872;
static int anInt4873;
static int anInt4874;
static int anInt4875 = 0;
static int anInt4876;
static int anInt4877;
static int anInt4878;
static FileSystem fs21;
static int anInt4880;
private int recordedX;
static int anInt4882;
private int mouseY;
private int mouseX;
private int settings;
private Deque mouseData;
private boolean logMouse;
private Component component;

final void stop() {
removeListeners();
}

private final void log(MouseEvent mouseevent) {
mouseX = mouseevent.getX();
mouseY = mouseevent.getY();
if (logMouse) {
log(-1, mouseevent.getX(), mouseevent.getY());
}
}

static final void method1710(Mobile mobile) {
label0:
{
mobile.aBoolean6608 = false;
if (mobile.anInt6614 == -1) {
break label0;
}
Animation animation = MenuNode.aClass71_3941.getAnimation(mobile.anInt6614);
if (animation == null || animation.anIntArray1796 == null) {
mobile.aBoolean6603 = false;
mobile.anInt6614 = -1;
break label0;
}
mobile.anInt6669++;
if (animation.anIntArray1796.length > mobile.anInt6664 && mobile.anInt6669 > animation.anIntArray1794[mobile.anInt6664]) {
mobile.anInt6664++;
mobile.anInt6625++;
mobile.anInt6669 = 1;
Class1.method82(animation, Class211_Sub2_Sub1.localPlayer == mobile, mobile.plane, mobile.localX, mobile.localY, mobile.anInt6664);
}
if (animation.anIntArray1796.length <= mobile.anInt6664) {
mobile.anInt6664 = 0;
mobile.anInt6669 = 0;
if (mobile.aBoolean6603) {
mobile.anInt6614 = mobile.method1316().method2462((byte) -43);
if (mobile.anInt6614 == -1) {
mobile.aBoolean6603 = false;
break label0;
}
animation = MenuNode.aClass71_3941.getAnimation(mobile.anInt6614);
}
Class1.method82(animation, mobile == Class211_Sub2_Sub1.localPlayer, mobile.plane, mobile.localX, mobile.localY, mobile.anInt6664);
}
mobile.anInt6625 = 1 + mobile.anInt6664;
if (animation.anIntArray1796.length <= mobile.anInt6625) {
mobile.anInt6625 = 0;
}
}
label1:
{
if (mobile.graphic == -1 || mobile.graphicDelay > Class68.loopCycle) {
break label1;
}
Graphic graphic = Class208.graphicLoader.getGraphic(mobile.graphic);
int j = graphic.anInt990;
if (j != -1) {
Animation animation_3 = MenuNode.aClass71_3941.getAnimation(j);
if (graphic.aBoolean985) {
if (animation_3.anInt1804 == 3) {
if (mobile.anInt6694 > 0 && mobile.anInt6659 <= Class68.loopCycle && mobile.anInt6612 < Class68.loopCycle) {
mobile.graphic = -1;
break label1;
}
} else if (animation_3.anInt1804 == 1 && mobile.anInt6694 > 0 && Class68.loopCycle >= mobile.anInt6659 && Class68.loopCycle > mobile.anInt6612) {
mobile.graphicDelay = 1 + Class68.loopCycle;
break label1;
}
}
if (animation_3 != null && animation_3.anIntArray1796 != null) {
if (mobile.anInt6610 < 0) {
mobile.anInt6610 = 0;
Class1.method82(animation_3, mobile == Class211_Sub2_Sub1.localPlayer, mobile.plane, mobile.localX, mobile.localY, 0);
}
mobile.anInt6657++;
if (mobile.anInt6610 < animation_3.anIntArray1796.length && animation_3.anIntArray1794[mobile.anInt6610] < mobile.anInt6657) {
mobile.anInt6657 = 1;
mobile.anInt6610++;
Class1.method82(animation_3, mobile == Class211_Sub2_Sub1.localPlayer, mobile.plane, mobile.localX, mobile.localY, mobile.anInt6610);
}
if (animation_3.anIntArray1796.length <= mobile.anInt6610) {
if (graphic.aBoolean985) {
mobile.anInt6610 -= animation_3.anInt1809;
mobile.anInt6636++;
if (mobile.anInt6636 >= animation_3.anInt1801) {
mobile.graphic = -1;
} else if (mobile.anInt6610 >= 0 && animation_3.anIntArray1796.length > mobile.anInt6610) {
Class1.method82(animation_3, Class211_Sub2_Sub1.localPlayer == mobile, mobile.plane, mobile.localX, mobile.localY, mobile.anInt6610);
} else {
mobile.graphic = -1;
}
} else {
mobile.graphic = -1;
}
}
mobile.anInt6647 = mobile.anInt6610 + 1;
if (mobile.anInt6647 >= animation_3.anIntArray1796.length) {
if (graphic.aBoolean985) {
mobile.anInt6647 -= animation_3.anInt1809;
if (~(1 + mobile.anInt6636) <= ~animation_3.anInt1801) {
mobile.anInt6647 = -1;
} else if (mobile.anInt6647 < 0 || animation_3.anIntArray1796.length <= mobile.anInt6647) {
mobile.anInt6647 = -1;
}
} else {
mobile.anInt6647 = -1;
}
}
} else {
mobile.graphic = -1;
}
} else {
mobile.graphic = -1;
}
}
if (mobile.animation != -1 && mobile.animationDelay <= 1) {
Animation animation_1 = MenuNode.aClass71_3941.getAnimation(mobile.animation);
if (animation_1.anInt1804 != 3) {
if (animation_1.anInt1804 == 1 && mobile.anInt6694 > 0 && mobile.anInt6659 <= Class68.loopCycle && Class68.loopCycle > mobile.anInt6612) {
mobile.animationDelay = 2;
}
} else if (mobile.anInt6694 > 0 && mobile.anInt6659 <= Class68.loopCycle && Class68.loopCycle > mobile.anInt6612) {
mobile.animation = -1;
}
}
if (mobile.animation != -1 && mobile.animationDelay == 0) {
Animation animation_2 = MenuNode.aClass71_3941.getAnimation(mobile.animation);
if (animation_2 != null && animation_2.anIntArray1796 != null) {
mobile.anInt6661++;
if (animation_2.anIntArray1796.length > mobile.anInt6642 && ~animation_2.anIntArray1794[mobile.anInt6642] > ~mobile.anInt6661) {
mobile.anInt6661 = 1;
mobile.anInt6642++;
Class1.method82(animation_2, mobile == Class211_Sub2_Sub1.localPlayer, mobile.plane, mobile.localX, mobile.localY, mobile.anInt6642);
}
if (~mobile.anInt6642 <= ~animation_2.anIntArray1796.length) {
mobile.anInt6630++;
mobile.anInt6642 -= animation_2.anInt1809;
if (mobile.anInt6630 >= animation_2.anInt1801) {
mobile.animation = -1;
} else if (mobile.anInt6642 >= 0 && animation_2.anIntArray1796.length > mobile.anInt6642) {
Class1.method82(animation_2, mobile == Class211_Sub2_Sub1.localPlayer, mobile.plane, mobile.localX, mobile.localY, mobile.anInt6642);
} else {
mobile.animation = -1;
}
}
mobile.anInt6624 = 1 + mobile.anInt6642;
if (animation_2.anIntArray1796.length <= mobile.anInt6624) {
mobile.anInt6624 -= animation_2.anInt1809;
if (~(mobile.anInt6630 + 1) <= ~animation_2.anInt1801) {
mobile.anInt6624 = -1;
} else if (mobile.anInt6624 < 0 || animation_2.anIntArray1796.length <= mobile.anInt6624) {
mobile.anInt6624 = -1;
}
}
mobile.aBoolean6608 = animation_2.aBoolean1810;
} else {
mobile.animation = -1;
}
}
if (mobile.animationDelay > 0) {
mobile.animationDelay--;
}
int i = 0;
for (; ~i > ~mobile.aClass10Array6619.length; i++) {
Class10 class10 = mobile.aClass10Array6619[i];
if (class10 != null) {
if (class10.anInt168 > 0) {
class10.anInt168--;
} else {
Animation animation_4 = MenuNode.aClass71_3941.getAnimation(class10.anInt163);
if (animation_4 != null && animation_4.anIntArray1796 != null) {
class10.anInt164++;
if (~class10.anInt167 > ~animation_4.anIntArray1796.length && animation_4.anIntArray1794[class10.anInt167] < class10.anInt164) {
class10.anInt164 = 1;
class10.anInt167++;
Class1.method82(animation_4, Class211_Sub2_Sub1.localPlayer == mobile, mobile.plane, mobile.localX, mobile.localY, class10.anInt167);
}
if (~class10.anInt167 <= ~animation_4.anIntArray1796.length) {
class10.anInt165++;
class10.anInt167 -= animation_4.anInt1809;
if (class10.anInt165 < animation_4.anInt1801) {
if (class10.anInt167 >= 0 && class10.anInt167 < animation_4.anIntArray1796.length) {
Class1.method82(animation_4, mobile == Class211_Sub2_Sub1.localPlayer, mobile.plane, mobile.localX, mobile.localY, class10.anInt167);
} else {
mobile.aClass10Array6619[i] = null;
}
} else {
mobile.aClass10Array6619[i] = null;
}
}
class10.anInt166 = 1 + class10.anInt167;
if (class10.anInt166 >= animation_4.anIntArray1796.length) {
class10.anInt166 -= animation_4.anInt1809;
if (~animation_4.anInt1801 < ~(1 + class10.anInt165)) {
if (class10.anInt166 < 0 || ~class10.anInt166 <= ~animation_4.anIntArray1796.length) {
class10.anInt166 = -1;
}
} else {
class10.anInt166 = -1;
}
}
} else {
mobile.aClass10Array6619[i] = null;
}
}
}
}

}

static final void method1711(Class76 class76, int i, int j, int k, int l) {
if (i == 1 && k > 0) {
SocketStream.method1461(class76, j, k - 1, l);
return;
}
if (i == 4 && k <= Class42.anInt557) {
SocketStream.method1461(class76, j, k + 1, l);
return;
}
if (i == 8 && l > 0) {
SocketStream.method1461(class76, j, k, l - 1);
return;
}
if (i == 2 && l <= Class138.anInt1677) {
SocketStream.method1461(class76, j, k, l + 1);
return;
}
if (i == 16 && k > 0 && l <= Class138.anInt1677) {
SocketStream.method1461(class76, j, k - 1, l + 1);
return;
}
if (i == 32 && k <= Class42.anInt557 && l <= Class138.anInt1677) {
SocketStream.method1461(class76, j, k + 1, l + 1);
return;
}
if (i == 128 && k > 0 && l > 0) {
SocketStream.method1461(class76, j, k - 1, l - 1);
return;
}
if (i == 64 && k <= Class42.anInt557 && l > 0) {
SocketStream.method1461(class76, j, k + 1, l - 1);
return;
} else {
throw new RuntimeException("Unsupported wall shape " + i + " in world2.setclosestlights_wall");
}
}

public final synchronized void mouseEntered(MouseEvent mouseevent) {
log(mouseevent);
}

public final synchronized void mouseClicked(MouseEvent mouseevent) {
if (mouseevent.isPopupTrigger()) {
mouseevent.consume();
}
}

private final void log(int type, int x, int y) {
MouseData mouseData = new MouseData();
mouseData.mouseX = x;
mouseData.type = type;
mouseData.mouseY = y;
mouseData.time = TimeUtil.getTime();
this.mouseData.insertBack(mouseData);
}

public static void method1713(byte byte0) {
fs21 = null;
if (byte0 != -64) {
method1717(101, -3);
}
}

final int getRecordedY() {
return recordedY;
}

final boolean isButton2Down() {
return (recordedSettings & 2) != 0;
}

final int getRecordedX() {
return recordedX;
}

private final void addListeners(Component component) {
removeListeners();
this.component = component;
this.component.addMouseListener(this);
this.component.addMouseMotionListener(this);
}

public final synchronized void mouseDragged(MouseEvent mouseevent) {
log(mouseevent);
}

public final synchronized void mouseExited(MouseEvent mouseevent) {
mouseY = -1;
mouseX = -1;
}

public final synchronized void mouseMoved(MouseEvent mouseevent) {
log(mouseevent);
}

private final int getType(MouseEvent mouseevent) {
int modifiers = mouseevent.getModifiers();
boolean button1Down = (0x10 & modifiers) != 0;
boolean button2Down = (8 & modifiers) != 0;
boolean button3Down = (4 & modifiers) != 0;
if (button2Down && (button1Down || button3Down)) {
button2Down = false;
}
if (button1Down && button3Down) {
return 4;
}
if (button1Down) {
return 1;
}
if (button2Down) {
return 2;
}
return !button3Down ? 0 : 4;
}

public final synchronized void mouseReleased(MouseEvent mouseevent) {
int i = getType(mouseevent);
if ((settings & i) == 0) {
i = settings;
}
if ((i & 1) != 0) {
log(3, mouseevent.getX(), mouseevent.getY());
}
if ((4 & i) != 0) {
log(5, mouseevent.getX(), mouseevent.getY());
}
if ((2 & i) != 0) {
log(4, mouseevent.getX(), mouseevent.getY());
}
settings &= ~i;
if (mouseevent.isPopupTrigger()) {
mouseevent.consume();
}
}

private final void removeListeners() {
if (component == null) {
return;
}
component.removeMouseListener(this);
component.removeMouseMotionListener(this);
mouseData = null;
component = null;
recordedX = recordedY = recordedSettings = 0;
recorded = null;
mouseX = mouseY = settings = 0;
}

public final synchronized void mousePressed(MouseEvent mouseevent) {
int type = getType(mouseevent);
if (type == 1) {
log(0, mouseevent.getX(), mouseevent.getY());
} else if (type != 4) {
if (type == 2) {
log(1, mouseevent.getX(), mouseevent.getY());
}
} else {
log(2, mouseevent.getX(), mouseevent.getY());
}
settings |= type;
if (mouseevent.isPopupTrigger()) {
mouseevent.consume();
}
}

final boolean isButton3Down() {
return (recordedSettings & 4) != 0;
}

final synchronized void record() {
recordedY = mouseY;
recordedX = mouseX;
recordedSettings = settings;
Deque deque = recorded;
recorded = mouseData;
mouseData = deque;
mouseData.clear();
}

static final void method1717(int i, int j) {
if (i != 5) {
fs21 = null;
}
NodeSub_Sub6 nodesub_sub6 = GraphicLoader.method2301(8, j);
nodesub_sub6.method609(76);
}

final boolean isButton1Down() {
return (recordedSettings & 1) != 0;
}

final MouseInputData getNextInput() {
return (MouseInputData) recorded.popFront();
}

MouseHandler(Component component, boolean flag) {
recorded = new Deque();
mouseData = new Deque();
addListeners(component);
logMouse = flag;
}

}

Code for sending:
if (Node_Sub18_Sub38.mousePressData != null || Node_Sub18_Sub36.lastSendMouseTime < TimeUtil.getTime() - 2000L) {
boolean sentOpcode = false;
int offset = Class164.outgoingStream.offset;
for (MouseInputData mouseInputData = (MouseInputData) GEItem.mouseDataList.getFront(); mouseInputData != null; mouseInputData = (MouseInputData) GEItem.mouseDataList.getNext()) {
if (Class164.outgoingStream.offset - offset >= 240) {
break;
}
mouseInputData.unlink();
int mouseY = mouseInputData.getMouseY();
if (mouseY < 0) {
mouseY = 0;
} else if (mouseY > 65534) {
mouseY = 65534;
}
int mouseX = mouseInputData.getMouseX();
if (mouseX < 0) {
mouseX = 0;
} else if (mouseX > 65534) {
mouseX = 65534;
}
boolean flag1 = false;
if (mouseInputData.getMouseY() == -1 && mouseInputData.getMouseX() == -1) {
mouseX = -1;
flag1 = true;
mouseY = -1;
}
if (Class184.lastSentMouseX != mouseX || mouseY != Class71.lastSentMouseY) {
if (!sentOpcode) {
Class148.anInt1837++;
GroundTile.startPacket(GroundTile.sendMouseCoordsPacket);
Class164.outgoingStream.putByte(0);
offset = Class164.outgoingStream.offset;
sentOpcode = true;
}
int dx = mouseX- Class184.lastSentMouseX;
Class184.lastSentMouseX = mouseX;
int dy = mouseY - Class71.lastSentMouseY;
Class71.lastSentMouseY = mouseY;
int dtime = (int) ((mouseInputData.getTime() - Node_Sub18_Sub36.lastSendMouseTime) / 20L);
if (dtime < 8 && dx >= -32 && dx <= 31 && dy >= -32 && dy <= 31) {
dx += 32;
dy += 32;
Class164.outgoingStream.putShort((dx << 6) + (dtime << 12) + dy);
} else if (dtime < 32 && dx >= -128 && dx <= 127 && dy >= -128 && dy <= 127) {
dy += 128;
dx += 128;
Class164.outgoingStream.putByte(128 + dtime);
Class164.outgoingStream.putShort((dx << 8) + dy);
} else if (dtime >= 32) {
Class164.outgoingStream.putShort(57344 + dtime);
if (flag1) {
Class164.outgoingStream.putInt(0x80000000);
} else {
Class164.outgoingStream.putInt(mouseX | mouseY << 16);
}
} else {
Class164.outgoingStream.putByte(dtime + 192);
if (!flag1) {
Class164.outgoingStream.putInt(mouseY << 16 | mouseX);
} else {
Class164.outgoingStream.putInt(0x80000000);
}
}
Node_Sub18_Sub36.lastSendMouseTime = mouseInputData.getTime();
}
}

if (sentOpcode) {
Class164.outgoingStream.putSizeByte(Class164.outgoingStream.offset - offset);
}
}
if (Node_Sub18_Sub38.mousePressData != null) {
long dtime = (Node_Sub18_Sub38.mousePressData.getTime() - Node_Sub27.lastSentMousePressTIme) / 50L;
if (dtime > 32767L) {
dtime = 32767L;
}
Node_Sub27.lastSentMousePressTIme = Node_Sub18_Sub38.mousePressData.getTime();
int mouseY = Node_Sub18_Sub38.mousePressData.getMouseY();
if (mouseY >= 0) {
if (mouseY > 65535) {
mouseY = 65535;
}
} else {
mouseY = 0;
}
int mouseX = Node_Sub18_Sub38.mousePressData.getMouseX();
if (mouseX < 0) {
mouseX = 0;
} else if (mouseX > 65535) {
mouseX = 65535;
}
int button2Flag = 0;
if (Node_Sub18_Sub38.mousePressData.getType() == 2) {
button2Flag = 1;
}
GroundTile.startPacket(AnimableEntity_Sub6.aOutgoingPacket_5651);
Class234.anInt3318++;
int time = (int) dtime;
Class164.outgoingStream.putShort(button2Flag << 15 | time);
Class164.outgoingStream.putLEInt(mouseX | mouseY << 16);
}

Both from Method's refactored client. Ask him if you want to know more.

FEAR

2010-01-21 02:57:12

Does Runescape lag even when you play in normal client or firefox? If that is the case then delete the jagex cache folder. Its sommewhere in C drive… And see if that helps.

YoHoJo

2010-01-21 03:10:58

From: FEAR
Does Runescape lag even when you play in normal client or firefox? If that is the case then delete the jagex cache folder. Its sommewhere in C drive… And see if that helps.


C:\Windows\.jagex_cache_32
I don't think deleting it has much/anything to do with memory, but there's no harm in doing so.

Gu3st...

2010-01-21 06:28:56

From: YoHoJo
C:\Windows\.jagex_cache_32
I don't think deleting it has much/anything to do with memory, but there's no harm in doing so.
Didn't Fawki test this once?
He autoed on some accounts on one computer and some accounts on the other, deleted the UID on one of the computers and all the players that he'd autoed on on that computer got banned? I've always been afraid to delete it after I heard that story.. Idk if it is true though

FEAR

2010-01-23 02:50:26

Its not about that. I was talking about lag. Once I suddenly started lagging really bad in RS. I searched in google and saw some others also had this sudden lag. One guys advice was delete the jagex cache and see. I did that and It worked fine again…

And my location changes…sometimes its in WINDOWS and sometime in C Drive…

And Zyt3x- I delete that folder almost daily (if I remember) and certainly at least once a week. Nothing happened to my accounts. Is it anywhere in the rules that you can't delete the cache? If not, then they have nothing to ban you for :) I think Fawki's accounts were flagged or it was just coincidence. Many legit players delete it too.

Gu3st...

2010-01-23 05:36:07

From: FEAR
Its not about that. I was talking about lag. Once I suddenly started lagging really bad in RS. I searched in google and saw some others also had this sudden lag. One guys advice was delete the jagex cache and see. I did that and It worked fine again…

And my location changes…sometimes its in WINDOWS and sometime in C Drive…

And Zyt3x- I delete that folder almost daily (if I remember) and certainly at least once a week. Nothing happened to my accounts. Is it anywhere in the rules that you can't delete the cache? If not, then they have nothing to ban you for :) I think Fawki's accounts were flagged or it was just coincidence. Many legit players delete it too.
I see…
If you're running vista then check your documents folder too :)

YoHoJo

2010-01-23 05:58:57

From: Zyt3x
Didn't Fawki test this once?
He autoed on some accounts on one computer and some accounts on the other, deleted the UID on one of the computers and all the players that he'd autoed on on that computer got banned? I've always been afraid to delete it after I heard that story.. Idk if it is true though


Stop scaring people, completely untrue. Jagex can't ban you for deleting files on your computer -.- Basically all that's in that folder is info and junk left from when you use a signed client, so rs remembers your settings/loads faster when you use signed client.

Gu3st...

2010-01-23 07:56:51

From: YoHoJo
Stop scaring people, completely untrue. Jagex can't ban you for deleting files on your computer -.- Basically all that's in that folder is info and junk left from when you use a signed client, so rs remembers your settings/loads faster when you use signed client.
Thats why theres "Idk if it is true though".. I didn't really know if it was true

Cartmann

2010-01-23 08:15:14

From: YoHoJo
Stop scaring people, completely untrue. Jagex can't ban you for deleting files on your computer -.- Basically all that's in that folder is info and junk left from when you use a signed client, so rs remembers your settings/loads faster when you use signed client.


yeah, you explained this in depth in a tread I started some 3 months ago if I'm not entirely wrong :P

wouldn't deleting your cache make the SMART f*ck up btw?

Dynamite

2010-01-23 08:18:46

From: Cartmann
yeah, you explained this in depth in a tread I started some 3 months ago if I'm not entirely wrong :P

wouldn't deleting your cache make the SMART f*ck up btw?


No, it will download it again.
Unless you delete while Smart is running, I am not sure what will happen then.

grats

2010-02-12 14:38:41

From: Floor66
You DO get that lowest CPU usage means that the CPU will be utilized as LITTLE as possible by RS, right? With your specs you should easily be able to run RS on lowest.


Isn't java itself on processes priority list set to the lowest and access denied? so it wouldn't make much of a difference