Really Need a Tut on Teleporting while Equipped
BigRedJapan
2012-06-04 22:01:31
I was wondering if there are any good Tut on teleporting or even using an item when its equipped on the char!
Fascinate
2012-06-04 22:05:12
Someone already asked this and got it answered today or yesterday. Search first please.
CephaXz
2012-06-04 22:06:42
Don't think you will need a tut for something simple like that.
I think you will just need to open the equipment tab, check if the item is equipped or just do the checking on the start of the script, then mouse or mousebox the teleporting equipment with right click, and choose option.
BigRedJapan
2012-06-04 23:25:47
iv tried that but it doesnt work!
Fascinate
2012-06-04 23:27:39
Then you are doing something wrong because that is probably the simplest way to do it. post your script with your attempt here and i'll look at it.
BigRedJapan
2012-06-04 23:32:01
PROCEDURE DaemonTele;
BEGIN
GAMETAB(TAB_EQUIP);
WAIT(475 + RANDOM(265)); // SMALL WAIT FOR LAG ETC
MOUSEBOX(685, 377, 708, 393, 0);
WAITOPTION('Teleport to',150);
WriteLn('Teleport to Daemon');
END;
This googles idea but it doesnt work for me! it clicks way to the right by the chatbox instead of clicking right where the ring is!
CephaXz
2012-06-04 23:33:06
MOUSEBOX(685, 377, 708, 393, mouse_Right);
WAITOPTION('Teleport to', 2000);
Fascinate
2012-06-04 23:33:55
From: Rules of Joe
PROCEDURE DaemonTele;
BEGIN
GAMETAB(TAB_EQUIP);
WAIT(475 + RANDOM(265)); // SMALL WAIT FOR LAG ETC
MOUSEBOX(685, 377, 708, 393, 0);
WAITOPTION('Teleport to',150);
WriteLn('Teleport to Daemon');
END;
This googles idea but it doesnt work for me! it clicks way to the right by the chatbox instead of clicking right where the ring is!
Is this setup for Smart or what?
BigRedJapan
2012-06-04 23:35:19
No i am currently on swiftkit!
Runaway
2012-06-04 23:35:53
It's probably the option. You can use something as simple as 'ele' to achieve what you're trying to do with 'Teleport to'. By making the string so big you're limiting your chance of success.
BigRedJapan
2012-06-04 23:36:58
Thanks im try that!
CephaXz
2012-06-04 23:44:58
From: Rules of Joe
PROCEDURE DaemonTele;
BEGIN
GAMETAB(TAB_EQUIP);
WAIT(475 + RANDOM(265)); // SMALL WAIT FOR LAG ETC
MOUSEBOX(685, 377, 708, 393, 0);
WAITOPTION('Teleport to',150);
WriteLn('Teleport to Daemon');
END;
This googles idea but it doesnt work for me! it clicks way to the right by the chatbox instead of clicking right where the ring is!
Then you have to create a box yourself. You make a box by getting the coords of the top left and the bottom right of the box you want to create. You can get coords by using the color picking tool on simba, or just hover your mouse on the point you want and simba will show the coords at the bottom of simba. But before doing all that, you must target your client with the crosshair first.
BigRedJapan
2012-06-04 23:53:26
That is my Box For the ring!
Its jsut when it right clicks it clicks to the chat box instead of Teleport! So it basically
miss clicking! By A lot!!
Fascinate
2012-06-04 23:56:01
From: Rules of Joe
That is my Box For the ring!
Its jsut when it right clicks it clicks to the chat box instead of Teleport! So it basically
miss clicking! By A lot!!
Are you dragging the crosshairs from Simba onto the swiftkit client? (Which btw has been hacked and a RAT may have been installed. Check the swiftkit forums)
CephaXz
2012-06-04 23:56:51
From: Rules of Joe
That is my Box For the ring!
Its jsut when it right clicks it clicks to the chat box instead of Teleport! So it basically
miss clicking! By A lot!!
I'm confused by your explanation lol.
If your box is right, it won't be clicking else where other than the box specified. Or do you mean it right clicks the ring, but is not choosing the option? :cartman:
And why are you using swiftkit that has infected by RAT recently instead of smart ._.
BigRedJapan
2012-06-05 00:02:10
Yea i figured thats why im scanning my pc!
Do you have skype ill show you what it does!
CephaXz
2012-06-05 00:03:27
I just copied and paste the procedure and tested it out. Works like baws.
Fascinate
2012-06-05 00:04:26
From: Rules of Joe
Yea i figured thats why im scanning my pc!
Do you have skype ill show you what it does!
Scanning your pc will do nothing delete/un-install it and possibly reformat. No I'm not gonna help you over skype for this. Look around.
Runaway
2012-06-05 00:06:52
From: CephaXz
I just copied and paste the procedure and tested it out. Works like baws.
Well, I guess this should be asked: Have you included SetupSRL anywhere?
Kyle Undefined
2012-06-05 00:07:45
There are functions for selecting an equipped item ;) No need to create a mousebox.
Fascinate
2012-06-05 00:08:39
From: Runaway
Well, I guess this should be asked: Have you included SetupSRL anywhere?
Oh God please tell me you have… :duh:
I think he would be getting errors not allowing it to run if he hadn't.
BigRedJapan
2012-06-05 00:11:09
Yes i have SetupSRL in my script! what kind of idiots doesnt have that! Thats the first rule in SRL scripting!
CephaXz
2012-06-05 00:14:04
And after a bit testing, the option choosing functions aren't working lol. Guess you need another method for choosing option there.
Runaway
2012-06-05 00:16:59
Coords and options from my script:
MouseBox(683, 371, 713, 386, mouse_right);
WaitOptionMulti(['ele','port'], 2000);
if that doesn't work there's an issue on your end.
Justin
2012-06-05 00:19:03
From: Rules of Joe
Yes i have SetupSRL in my script! what kind of idiots doesnt have that! Thats the first rule in SRL scripting!
Says the one who is unable to find the working function that checks if the player is wearing a ring and if they are, rightclick on it and click 'teleport'…
Runaway
2012-06-05 00:23:19
I just did some testing, it's your option that isn't working. I'm a little confused as to why it's gotten this far since I posted this solution already… And it's not a missclick by the way. The movement to the side is to move the mouse far enough away from the option box so that it disappears.
BigRedJapan
2012-06-05 00:24:22
Kk it works i just shortened it to 'lepor'

So i tried to DTM the big bones but when i run the DTM it doesnt work in script!
Does anyone know another Method!
Kyle Undefined
2012-06-05 00:27:29
What DTM method are you using for finding the said DTM?
BigRedJapan
2012-06-05 00:28:54
Procedure FindLantern;
Var
lX, lY, LanternDTM:Integer;
Begin
FindNormalRandoms;
LanternDTM := DTMFromString('mrAAAAHic42BgYHBmYmBwAmIvIPYGYg8gtgJiCyj9HKjmBhDfA+JXQPwRil8C8UMgdopZAiSZ4FhaSoqBmUsKzv/FgB8wEsAwAACuKwwe');
If FindDTM(LanternDtm, lX, lY, MIX1, MIY1, MIX2, MIY2) Then
Begin
writeln('found DTM');
Mouse(lx,ly,3,3,mouse_right);
wait(200+random(200));
ChooseOption('Use');
End else
writeln('did not find DTM');
freeDTM(LanternDTM);
End;
Something like this!
This from my quest script!
CephaXz
2012-06-05 00:29:50
I found that it's not working because the word Teleport, it wouldn't work if you only use string that include "rt". Other than that, it works perfectly.
Kyle Undefined
2012-06-05 00:30:20
Try FindDTMRotated, or something like that.
BigRedJapan
2012-06-05 00:30:53
Yes so i used 'lepor'
Runaway
2012-06-05 00:35:27
From: CephaXz
I found that it's not working because the word Teleport, it wouldn't work if you only use string that include "rt". Other than that, it works perfectly.
I remember reading somewhere that "rt" gets confused for an "n" or something like that, so that was probably the only issue there.
BigRedJapan
2012-06-05 00:37:06
No after i make the dtm! and load it and check it! it works! but as soon as i put it into the script it just writes cant find DTM!
Fascinate
2012-06-05 00:38:26
From: Rules of Joe
No after i make the dtm! and load it and check it! it works! but as soon as i put it into the script it just writes cant find DTM!
Dude chill with the exclamation marks… There are atleast 50 of yours in this thread…
Kyle Undefined
2012-06-05 00:39:07
Just to be sure, the DTM is of an item in your Inventory, correct?
CephaXz
2012-06-05 00:39:33
You finding it on main screen? Or inventory? Your script only finds the dtm inside your inventory. And I don't think its smart to find items on main screen using dtm, colors would be better :p
EDIT: Oh, got ninja-ed
BigRedJapan
2012-06-05 00:47:25
Main Screen! tahts where I am getting the big bone DTM!
CephaXz
2012-06-05 00:50:55
FindDTM(LanternDtm, lX, lY, MIX1, MIY1, MIX2, MIY2)
MI = Main inventory
MS = Main Screen
If you use dtm to find item on main screen, it wouldn't be working after a while, that's from my experience.
Only the first one had tolerance? The other points colors aren't black or fixed…
BigRedJapan
2012-06-05 00:51:32
Procedure BigBone;
Var
lX, lY, BoneDTM:Integer;
Begin
FindNormalRandoms;
BoneDTM := DTMFromString('mrAAAAHic42BgYOAHYmEGCGCE0oJALA3EnEDMBcQCUHXsQCwCxKJAzAJV+/rRA4bbly4y3Lt6heHovr0MLx/cZ3h27w7D/etXGXZu2sggyYAfMBLAMAAAX4EUwA==');
If FindDTM(BoneDtm, lX, lY, MSX1, MSY1, MSX2, MSY2) Then
Begin
writeln('Found DTM');
Mouse(lx,ly,3,3,mouse_right);
wait(200+random(200));
ChooseOption('Take');
End else
writeln('did not find DTM');
freeDTM(BoneDTM);
End;
Kyle Undefined
2012-06-05 01:02:37
This is where FindDTMRotated comes in handy.
BigRedJapan
2012-06-05 01:38:39
Ill Try that function!
Kinda Lost what does eAngle Stand for?
Still Not Working
Procedure BigBone;
Var
lX, lY, BoneDTM:Integer;
Begin
FindNormalRandoms;
BoneDTM := DTMFromString('mrAAAAHic42BgYOAHYmEGCGCE0oJALA3EnEDMBcQCUHXsQCwCxKJAzAJV+/rRA4bbly4y3Lt6heHovr0MLx/cZ3h27w7D/etXGXZu2sggyYAfMBLAMAAAX4EUwA==');
If FindDTMRotated(BoneDTM, lX, lY, MSX1, MSY1, MSX2, MSY2, HIGH) Then
Begin
writeln('Found DTM');
Mouse(lx,ly,3,3,mouse_right);
wait(200+random(200));
ChooseOption('Take');
End else
writeln('did not find DTM');
freeDTM(BoneDTM);
End;
putonajonny
2012-06-07 20:18:09
Why not just find the white colour of the bones then check up text? much more reliable than DTMs
Why do you end every single sentence with an exclamation mark!
Gushers
2012-06-07 21:58:55
You deffiently have to change it from:
WAITOPTION('Teleport to',150);
To:
WaitOption('ele', 150);
Or something that doesn't have that set of letters on that option when you right click, also I would change 150 to 500.
Gushers
2012-06-07 22:05:32
From: Gushers
You deffiently have to change it from:
WAITOPTION('Teleport to',150);
To:
WaitOption('ele', 150);
Or something that doesn't have that set of letters on that option when you right click, also I would change 150 to 500.
I would also do the same thing for every right click option you make by shortening the word. Ex: 'teleport' to 'ele' or 'drop' to 'dro'
BigRedJapan
2012-06-08 02:18:09
From: Shay
Why do you end every single sentence with an exclamation mark!
I love them! and they Love me back!
From: putonajonny
Why not just find the white colour of the bones then check up text? much more reliable than DTMs
I dont know never tried it! need to find a Tut on Uptext!
CephaXz
2012-06-08 03:31:35
Just check out some other people's script. Pretty sure everyone uses uptext in their script. I guess you don't need a tut for everything.
Kyle Undefined
2012-06-08 09:16:46
From: Rules of Joe
I love them! and they Love me back!
I dont know never tried it! need to find a Tut on Uptext!
Why do you need a tutorial on UpText? That's the easiest, and most basic thing with the SRL Library.
BigRedJapan
2012-06-09 03:55:53
From: Kyle Undefined
Why do you need a tutorial on UpText? That's the easiest, and most basic thing with the SRL Library.
This is only my second script witch means i dont know everything! I have only been scripting for about a week with color so it takes some time to getting used to!
Kyle Undefined
2012-06-09 15:03:41
I understand that, but there's not a whole lot that needs to be explained about UpText, so there's really no reason for a tutorial on it.
Everything you need to know is in text.simba.
The Complete Guide To UpText FindingExample 1:
Very basic, will search for whatever string you put between the quotation marks. Try to avoid using capital letters as this can cause problems with finding the UpText.
IsUpText('ones');
Example 2:
Same as the last example however now you can add an integer for how long it will wait, it will keep attempting to find the UpText between the quotation marks until you have found it or reached the time limit mentioned (in ms).
WaitUpText('ones',500);
Example 3:
Same deal as the last one with the waiting although this time you can enter a string array between the square brackets [] so that it can find a number of different UpTexts, this is good for finding different items or alternatively making a couple of different strings for the same item to make it easier for the script to find.
WaitUpTextMulti(['ones','one','nes'],500);
I have used 'Bones' as an example because I assume that's what you are trying to find, but what you put as the string it finds is up to you.
BigRedJapan
2012-06-11 12:50:14
Thank you i need to save this!
Haha, I wrote that in about 5mins without looking at the includes and only using the basic textbox down the bottom of the thread. UpTexts are really basic and don't need their own tutorial but if what I wrote helped you out, good to hear it mate.
BigRedJapan
2012-06-15 20:59:22
Yea i kinda quit scripting because of all the put down! and i couldn't find Tut i needed!