Does anyone know an existing code that opens a bank at the GE please? Thanks.
OpenBankNPC; doesn't seem to be working well
Does anyone know an existing code that opens a bank at the GE please? Thanks.
OpenBankNPC; doesn't seem to be working well
Gotta write it =]
OpenBank doesnt always work well ;]
There are many tpa tutorials that show exactly what you need to know, all listed here
http://villavu.com/forum/showthread.php?t=76632
My scripts: LunarPlanker
---
My Utilities: Cross Platform, Open Source, SPS Path Generator
Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.
The best way to learn is not to use existing code dude ^
If you stick to existing code, you will never write anything that is truly innovative.
My scripts: LunarPlanker
---
My Utilities: Cross Platform, Open Source, SPS Path Generator
Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.
I have a code I wrote myself.....
No you cannot use it
P.S - just make one using TPA's
Simply a GOD beast...
My Tutorials
Stop posting useless posts.
What a waste of time, if you don't want to help you can go somewhere else. I was trying to amend a script that I needed to use asap, I did not want to try so many things just to recreate the wheel.
If you cannot answer the question that is stated in the thread you shouldn't post at all.
By the way: this issue has already been resolved and I don't need anymore input on this issue.
I did answer your question:
That's about the best answer you're going to get.
Take the time to learn and stop waiting for other people to make functions for you. You were already told you had to write it yourself but you persist in looking for existing code.
Since the time you've posted, you could have easily made the function yourself - laziness is a bad habit, get rid of it.
Simply a GOD beast...
My Tutorials
double posting is bad. theres an edit button for a reason.
also as others have said its better to write your own. its not recreating the wheel, its learning.
Why do you speculate on the motives of why people ask things: you have no clue. As my post already stated, this is fixed, and yes, I fixed it myself. It was not a problem of ability, it was an issue of time. You don't need to post anymore and try to accuse me of things you have no clue about. Please go somewhere else with your accusations. I doubt you want to help people you just don't have a better way to spend your time, but to accuse others. To say that I have a habit of laziness is absolutely absurd, you have no clue of who I am as a person. But, there are many others like you who lurk forums online, so I should in fact reprimand myself for being surprised and even wasting time in response.
What is wrong is with you? I call you lazy and you take it to heart as though I just insulted a member of your family - man up and whining about so little things. As for 'people like me who don't want to help people', I really hate to brag but there's a little bear next to my avatar which is labelled SRL Helper, which means I have been acknowledged for helping people around the forums - in fact, I have SO many people who would vouch for me. Also, you state that you already mentioned it was fixed, maybe I would've seen that if you had edited your original post rather double-post - which is a virtue that everyone here finds extremely annoying. And yes, please don't waste your time with another response.
Simply a GOD beast...
My Tutorials
Your attitude is really inappropriate dude. We posted to help you learn, and you are attacking us for it.
My scripts: LunarPlanker
---
My Utilities: Cross Platform, Open Source, SPS Path Generator
Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.
Simba Code:function GeScreen :Boolean;
begin
Result := CountColor(39116, 145, 32, 354, 50) > 320;
end;
function OpenBankGE :Boolean;
var
TPA :TPointArray;
NPC :TPoint;
C, I, Hi :Integer;
begin
If not LoggedIn then Exit;
If GeScreen then
begin
Result := True;
Exit;
end;
TPA := GetMiniMapDots('NPC');
Hi := Length(TPA);
for I := 0 to Hi - 1 do
begin
NPC := MMtoMS(TPA[I]);
If NPC = Point(-1, -1) then Continue;
MMouse(NPC.X, NPC.Y, 1, 1);
If WaitUpTextMulti(['Clerk', 'Ex', 'change', 'rand'], 200) then
begin
ClickMouse2(False);
If WaitOptionMulti(['change G', 'ge Gr'], 600) then
begin
MarkTime(C);
Repeat
Wait(RandomRange(50, 100));
Until (GeScreen) or (PinScreen) or (TimeFromMark(C) > 4500);
if (Players[CurrentPlayer].Pin <> '') then
InPin(Players[CurrentPlayer].Pin);
Result := (GeScreen) or (PinScreen);
If Result then
Break;
end;
end;
end;
end;
I just made it to loop through NPC's no colors needed.
~Home
Simba Code:function OpenBankGE :Boolean;
var
TPA :TPointArray;
NPC :TPoint;
C, I, Hi :Integer;
begin
If not LoggedIn then Exit;
If BankScreen then
begin
Result := True;
Exit;
end;
TPA := GetMiniMapDots('NPC');
Hi := Length(TPA);
for I := 0 to Hi - 1 do
begin
NPC := MMtoMS(TPA[I]);
If NPC = Point(-1, -1) then Continue;
MMouse(NPC.X, NPC.Y, 1, 1);
If WaitUpTextMulti(['Clerk', 'Ex', 'change', 'rand'], 200) then
begin
ClickMouse2(False);
If WaitOptionMulti(['change G', 'ge Gr'], 600) then
begin
MarkTime(C);
Repeat
Wait(RandomRange(50, 100));
Until (BankScreen) or (PinScreen) or (TimeFromMark(C) > 4500);
if (Players[CurrentPlayer].Pin <> '') then
InPin(Players[CurrentPlayer].Pin);
Result := (BankScreen) or (PinScreen);
If Result then
Break;
end;
end;
end;
end;
I just made it to loop through NPC's no colors needed.
~Home
Relys on the accuracy of mmToMS though. Is it accurate enough? o.O
My scripts: LunarPlanker
---
My Utilities: Cross Platform, Open Source, SPS Path Generator
Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.
I am assuming that they use a matrix to convert the coordinates, so ubermath wizzes, could theoretically, fine tune it to perfection.
But with camera rotation static coords is less dependable. for more than just a starting point anyway.
My scripts: LunarPlanker
---
My Utilities: Cross Platform, Open Source, SPS Path Generator
Join the Unoficial SRL Skype Group by clicking here, or visiting this thread.
There are currently 1 users browsing this thread. (0 members and 1 guests)