Hello!
I want to inform you that with the latest update, login function is broken. It will write V where should be @ in the username place.
login_bug.PNG
Hello!
I want to inform you that with the latest update, login function is broken. It will write V where should be @ in the username place.
login_bug.PNG
https://github.com/KyleHunter/OSR-Re...9d15dc74417e61
Shouldnt have changed anything in the typing functions...
So try it again? and then once more.
Don't really know what that link is about. I tried it running many times on different computer and it's always making the same mistake.
Not to mention that the last update to the actual code of reflection was at least 2 months ago...
What's that about then?
update.PNG
Not a clue. Seems to just be on your end, I tried it and it works for me
JCbXLu9.png
“The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius
Works fine for me.
i doubt this is /really/ what you want though.Simba Code:Procedure TReflectionLogin.EnterDetails(Username, Password: String);
var
Clear: array [0..1] of Boolean;
Timeout: UInt64 := GetTickCount64 + Random(7500, 8000);
begin
Clear[Login_LoginBox_Byte] := CountColor(Login_Text_White, Login_LoginBox.X1,
Login_LoginBox.Y1, Login_LoginBox.X2,
Login_LoginBox.Y2);
Clear[Login_PasswordBox_Byte] := CountColor(Login_Text_White,
Login_PasswordBox.X1,
Login_PasswordBox.Y1,
Login_PasswordBox.X2,
Login_PasswordBox.Y2);
if (Reflect.Login.GetCursor <> Login_LoginBox_Byte) then
Reflect.Login.SetCursor(Login_LoginBox_Byte);
if (Clear[Login_LoginBox_Byte]) then
while (CountColor(Login_Text_White, Login_LoginBox.X1, Login_LoginBox.Y1, Login_LoginBox.X2, Login_LoginBox.Y2) > 5) and (Timeout > GetTickCount64) do
begin
Reflect.Keyboard.Send('{backspace}');
Wait(Random(30, 120));
end;
Reflect.Keyboard.Send(Username);
if (Reflect.Login.GetCursor <> Login_PasswordBox_Byte) then
Reflect.Login.SetCursor(Login_PasswordBox_Byte);
if (Clear[Login_PasswordBox_Byte]) then
while (CountColor(Login_Text_White, Login_PasswordBox.X1,
Login_PasswordBox.Y1, Login_PasswordBox.X2,
Login_PasswordBox.Y2) > 5) and (Timeout > GetTickCount64) do
begin
Reflect.Keyboard.Send('{backspace}');
Wait(Random(30, 120));
end;
Reflect.Keyboard.Send(Password+'{enter}');
Wait(1000+Random(500));
end;
maybe its this?
Simba Code:procedure TReflectionKeyboard.Send(Text: string);
var
Button, TextArray: tStringArray;
ButtonIndex, Presses: Integer;
begin
Text := Self.format(Text);
TextArray := MultiBetween(Text,'{','}');
for ButtonIndex to High(TextArray) do
begin
Button := Explode(' ', TextArray[ButtonIndex]);
if Length(Button) = 1 then
Self.Press(StrToInt(Button[0]))
else
Self.Press(StrToInt(Button[0]), Button[1])
end;
end;
@Obscurity; Any thoughts?
“The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius
I'm guessing it has to do with Simba using keycodes from an english keyboard or something. I had the same problem with sendKeys using " instead of @, I found a temporary fix by switching to an english keyboard layout.
"Once you begin to think, you can't stop."
Life > 0
There are currently 1 users browsing this thread. (0 members and 1 guests)