SRL Archive - S.M.A.R.T.

Black screen of death ?


illuminatiswag

2012-05-17 20:46:04

Any reason why im getting black screen while running my script after like a hour of use normally

Brandon

2012-05-17 20:51:24

Happens to everyone.. Atm I'm trying to fix someone's.. Keep getting StackTrace error with Smart saying that the Disk is Full when infact the guy has 55GB free space.. Literally.

This fixes the loading speed but not the 1 hr black screen:


Procedure SmartFastLoad(Server: Integer; Members, Signed, Detailed: Boolean);
begin
SmartSetupEx(Server, Members, Signed, Detailed);
SmartSetRefresh(100);
MMouse(1, 1, 1, 1);
end;

begin
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;

SmartFastLoad(Smart_Server, Smart_Members, Smart_Signed, Smart_SuperDetail);

SetupSRL;
DeclarePlayers;
LoginPlayer;
end.

YoHoJo

2012-05-17 21:25:08

Ggzz when will that code be comitted?
Or dies it require new smart version?
I heard Ben say it's not good how we are loading right now/detectable?

Brandon

2012-05-17 21:32:36

From: YoHoJo
Ggzz when will that code be comitted?
Or dies it require new smart version?
I heard Ben say it's not good how we are loading right now/detectable?


Iunno that code I wrote myself. Smart isn't written in Pascal. That code is what I put in all scripts to make smart load faster and automatically.
Yeah I read the post on detectability by Ben and stuff. Iunno If we are actually passing it wrong parameters then it's detectable but hasn't been used so far.. jagex doesn't seem to be detecting it or else all of us would be banned. So I say smart is pretty safe.

The other reason ben isn't going to go java 7 atm is because he has to re-write the Canvas class which is pretty easy I say. That's not the problem though.. The problem is that when he does that, he has to re-write a ton of smart's internals as the canvas just flickers when changed, Smart constantly enables and disables, etc. Tried it myself but I don't know enough to write smart's other functions over. I tried asking him and he explained in a forum post why smart wouldn't work with J7 currently and it's pretty understandable. Until someone other than ben knows better then all we can do is wait until he has time to port it to J7.

The trick to the code above is the MMouse. Moves smart's mouse at the very beginning, set the refresh rate to max and then setupsrl. Setting up srl first lags it for whatever reason. Just add it to any script you run or maybe someone will push it to SRL in the mean while.

I already tried putting that into smart I compiled myself. Doesn't work the same and I cannot figure out why so it's best to just put that in scripts.

illuminatiswag

2012-05-18 11:08:50

From: Brandon
Happens to everyone.. Atm I'm trying to fix someone's.. Keep getting StackTrace error with Smart saying that the Disk is Full when infact the guy has 55GB free space.. Literally.

This fixes the loading speed but not the 1 hr black screen:


Procedure SmartFastLoad(Server: Integer; Members, Signed, Detailed: Boolean);
begin
SmartSetupEx(Server, Members, Signed, Detailed);
SmartSetRefresh(100);
MMouse(1, 1, 1, 1);
end;

begin
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;

SmartFastLoad(Smart_Server, Smart_Members, Smart_Signed, Smart_SuperDetail);

SetupSRL;
DeclarePlayers;
LoginPlayer;
end.


Yea i dont mind having to put that to 100 myself since i dont use Smart Manager 1 more question ggzz im using your WFK right how can i make it to not use smart and just use the reg window i know i got to put // in front of {$DEFINE SMART} but then i get some other things

Abu

2012-05-18 11:32:19

From: illuminatiswag
Yea i dont mind having to put that to 100 myself since i dont use Smart Manager 1 more question ggzz im using your WFK right how can i make it to not use smart and just use the reg window i know i got to put // in front of {$DEFINE SMART} but then i get some other things


Comment out everything related to SMART, use ctrl + f to search Simba for smart functions.

You can also use {These things on either side of this line to remove chunks of code}

Adamcoled

2012-05-18 12:15:27

Thought it was just me. Usually happens after many hours for me though.

illuminatiswag

2012-05-18 15:11:56

ggzz I honestly think its the newer versions of your WFK im using one of the ones before you added newer functions and procdedures and its working fine going on almost 3 hours now before you took out the second pickupitems func.

see second 6 hour run today

[——————————————–]
[ ~WFK~ v2.46 ]
[ ~ By GGzz ]
[——————————————–]
[ Running for: 06h 04m 29s ]
[ Experience: 335955 ]
[ Exp/hour: 55303 ]
[——————————————–]

with 3.3 and 3.4 with you did the major changes thats what was giving me uptext errors low memory errors and blk screens just saying

consider looking into it when you come back from vacation if you release back to public heres third one today


[——————————————–]
[ ~WFK~ v2.46 ]
[ ~ By GGzz ]
[——————————————–]
[ Running for: 06h 43s ]
[ Experience: 348724 ]
[ Exp/hour: 58005 ]

22k chrims btw :p almost 99 hp too started using at 94