SRL Archive - OSR Help

I broke the uptext


NKN

2013-06-16 19:21:04

Program default;
{$Define Smart8}
{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/SmartGraphics.Simba}


Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
With Players[0] Do
Beg//Don't mind this, I left my password in it, and just deleted it.
End;


Begin
SMART_FixSpeed := true;
SRL_SixHourFix := true;
SetupSRL;
DeclarePlayers;
LoginPlayer;
mmouse(250,250,5,5);
writeln(rs_getuptext);

End.


The mouse is over: Walk Here, and the uptext that responds is: ^atU Ua(a


What did I do. D:


Graphic settings are set correctly, idk what I did


Brandon

2013-06-16 19:23:44

From: NKN

The mouse is over: Walk Here, and the uptext that responds is: ^atU Ua(a

What did I do. D:

Graphic settings are set correctly, idk what I did



Going to need more details than that.. Where are you standing? Screenshot would be nice.. Of course, blur our your name and w/e else..

NKN

2013-06-16 19:24:50

From: Brandon
Going to need more details than that.. Where are you standing? Screenshot would be nice.. Of course, blur our your name and w/e else..


Doesn't matter where I am, always happens though.

Brandon

2013-06-16 19:27:05

EOC uptext works fine for me :l

Just tested it. Same script as yours.

Kevin

2013-06-16 19:48:09

Knowing nothing besides the little bit of what you've said, I'll assume it's simply the background colors by the uptext you're reading are interfering with it?

bob_dole

2013-06-16 20:20:54

Diagnosis: Unknown
Treatment: Re-installation of SRL and other libraries.

Nebula

2013-06-16 20:23:10

Yeah either the background colors are similar to the UpText, or somehow the cts isn't 1. Try calling SetColortoleranceSpeed(1) before the uptext function.

E: or maybe you have to call one of those functions that changes everything by 50 pixels? I'm not sure but maybe that's causing the text reading function to read in the wrong spots.

Ian

2013-06-16 20:25:29

On Skype he said he fixed it by reinstalling.

tealc

2013-06-16 20:27:37

I had something similar, a while ago, I tried reading text from public chat box and it gave similar randomish characters.