For some reason, the pixels keep changing up on me, and nothing i can find will help me open a door. The door is literally right in my face when it stops and i can't do jack about it.
I appreciate any help
For some reason, the pixels keep changing up on me, and nothing i can find will help me open a door. The door is literally right in my face when it stops and i can't do jack about it.
I appreciate any help
What door are you trying to open?
i assumed all doors were the same, but I like the looks of the door to get into the crafting guild
What are you currently using to find it?
I was hoping this would work:
Simba Code:Function DoorFinder(var x, y: Integer): Boolean;
Var
CTS, I: Integer;
DoorTPA: TPointArray;
ATPA: Array of TPointArray;
ToMine:TPointarray;
Begin
If(Not(LoggedIn))Then Exit;
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(4);
SetColorSpeed2Modifiers(0.00, 0.00);
FindColorsSpiralTolerance(MSCX, MSCY, DoorTPA, 601664, MSX1, MSY1, MSX2, MSY2, 0);
ATPA := TPAToATPAEx(DoorTPA, 3, 3);
For I := 0 To High(ATPA) Do
Begin
MiddleTPAEx(ATPA[i], x, y);
MMouse(x, y, 2, 2);
If(IsUpTextMultiCustom(['pen','oor'])) Then
Begin
GetMousePos(x, y);
Result := True;
Break;
End;
End;
End;
Do you have a function that defines DoorTPA? If so, can you post it as well.
Edit - Also, I have never used a ColorToleranceSpeed of 4. I was under the impression you used 1 or 2. I could be mistaken though!
- My Scripts (Beginning to Update to SRL 6) -
Oh my
Simba Code:ColorToleranceSpeed(4);
SetColorSpeed2Modifiers(0.00, 0.00);
There is no such thing as CTS 4, and hue/sat mods can only be used in 2(& 3?). Default is:
Simba Code:ColorToleranceSpeed(1);
SetColorSpeed2Modifiers(0.1, 0.1);
and to use 2, you should use the AutoColorAid (ACA) tool that is built into Simba to find the right colors and hue/sat mods to use. I'm fairly certain there is a tutorial on it in the scripting tutorials forum.
I just tried it, but the colors change so damn fast. This whole thing has frustrated me so much, the door would change colors (not visibly to me of course) at least 8 times without me even logging out. Does this happen to everybody else?
Is there an easy way to get past this door?
Simba Code:Function DoorFinder(var x, y: Integer): Boolean;
Var
CTS, I: Integer;
DoorTPA: TPointArray;
ATPA: Array of TPointArray;
Begin
If(Not(LoggedIn))Then Exit;
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 1.14);
FindColorsSpiralTolerance(MSCX, MSCY, DoorTPA, 1394785, MSX1, MSY1, MSX2, MSY2, 11);
ATPA := TPAToATPAEx(DoorTPA, 15, 15);
For I := 0 To High(ATPA) Do
Begin
MiddleTPAEx(ATPA[i], x, y);
MMouse(x, y, 2, 2);
If(IsUpTextMultiCustom(['Guild','Open'])) Then
Begin
Writeln('Found Door');
GetMousePos(x, y);
Result := True;
Break;
End;
End;
End;
Should find the door for you. I used it awhile ago so it might not work. Have to make your own clicking function and stuff like...
Simba Code:If DoorFinder(x, y) Then
//blah blah blah click click
Finished B.S. Program in Radiology!!
Projects: A big one! Total secret! hehe
I can maybe assist over teamview if you have that. Or skype, which you'll find in my profile. I had a problem with the cook's guild door awhile back, and now I understand how to do it more effectively.
if 14578's doesn't work, it should do but you can use mine...Straight from ACA (with a bit of editing), it's been tested on different worlds so it shouldn't fail with the color
Simba Code:function FindDoor(var fx, fy: Integer): Boolean;
var
arP: TPointArray;
ararP: T2DPointArray;
i, arL: Integer;
P: TPoint;
begin
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.10, 1.06);
if not(FindColorsTolerance(arP, 870762, MSX1, MSY1, MSX2, MSY2, 11)) then
begin
ColorToleranceSpeed(1);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;
SortTPAFrom(arP, Point(MSCX, MSCY));
ararP := SplitTPAEx(arP, 50, 50);
for i := 0 to High(ararP) do
begin
P := MiddleTPA(ararP[i]);
MMouse(P.x, P.y, 5, 5);
Wait(100 + Random(100));
if (IsUpText('pen G')) then
begin;
Result := True;
Break;
end;
end;
ColorToleranceSpeed(1);
SetColorSpeed2Modifiers(0.2, 0.2);
if (i = arL + 1) then
Exit;
GetMousePos(fx, fy);
end;
I just tried all of them, neither work for opening this door.
The way I set the map walking, the door is in the EXACT same position according to the player every time. So is there any way I can just have it click on that position?
I used ClickMouse and for some reason it didn't work
erm, have you set up your smart right? my function should defo work, its been tested like 5-6 times on 3-4 different worlds from different angles..i think you should come on teamviewer..also im sure iv said DONT use click mouse...
if your not testing on smart remember to drag the crosshair onto the rs window
Uh, also make sure you're not using 0 tolerance like in post #5. You won't have any success with mainscreen objects if you aren't using tolerance![]()
if your in front of the door, you could MMouse to the coords and check for uptext.
i always got taught not to use clickmouse, but clickmouse2 is fine, im just saying because Mouse() uses Clickmouse2, but it also uses MMouse which adds human like movement.
Ah okay. I wanted to make sure I wasn't doing something risky.
Finished B.S. Program in Radiology!!
Projects: A big one! Total secret! hehe
pur3b100d, i will try yours again, do I need to make any changes?
And how to I set up smart properly, this is my first script
sorry bro, but i find this title funny. for the first time i read it, i thought that you meant, "how to open a door" in real life, and i was WTF, does this guy seriously don't know how open a door :P after i clicked at the title, i realized that you meant, in simba. :P. enough about that, and hope you got what you needed :P
There are currently 1 users browsing this thread. (0 members and 1 guests)