Log in

View Full Version : Some questions I got lol



Rune Hacker
06-27-2007, 02:42 AM
Well, I have some questions, you don't need to answer all of them, but it would be great if there are any you could answer. Thanks :rolleyes:
Some get a little off-topic near the end, sorry :p

1.) Is it possible to make a bitmap's background transparent if it is put directly onto a form? I know it can be for a debug image (from the fastdrawtest in the tes tscripts folder), but idk about on a form. If so, how?

2.) for the variable pi, does it equal 3.14159265358979 as a variable in scar or is that it rounded be Scar? If that is exactly what Scar thinks it is, i'm goin to add more digits to it to make it more accurate in my script, but maybe that is it rounded by scar, idk.

3.) Is there a way to edit how far an extended number gets rounded?

4.) Does an array like Blah[i] automatically make i +1 everytime it is used because I dont get how it keeps track of numbers.

5.) Is there a way to put stuff that you typed in a TMemo box into the scar window or a way to run what is in the TMemo as a script?

6.) For soemthing like a TRichEdit, is there a way to make all the words "the" bold and everything else normal or no? Like tell it to bold specific wokrds that you type.

7.) Is there a *real* Delphi editor because ive only used scar for this kind of scripting and im wondering how similer it is to the real thing, but idk.

8.) Like iBot, can Scar find all the colors on the screen and remember where they are so it can check them 1 at a time looking for an uptext upposed to it moving to just 1 and either getting it or not. Because iBot gathers points, and it sounds like it can be done for Scar easily, but i could be wrong.

9.) Will a Scar color like 14215660 be just as accurate as finding an RBG?

10.) Why is ClickMouse detectable, because it moves the mouse too fast, clicks too fast, or what because it still click with a randomness and stuff.

11.) In SRL GLobals, why were there only 3 booleans, 4 integers, 3 strings, and 3 extended put in? Why not just put in an arroy so there can be like 999 of each for use? Or if not an arroy, why not just more.

12.) Where did the word "noob" some from? Imagine you didn't know what it meant, youd think to yourself "wow, that sounds like such a stupid word, who made that word up".

13.) Since this new update came out, SRL should incorperate the new key bindings to make switching tabs easier.

14.) Will makign the mousespeed faster increase the chances of ban?

15.) What ever happened to Kaitnieks?

16.) What does Divi meen?

17.) How long has Scar and SRL been around?

18.) When Scar first came out, did it have SRL?

19.) Has Freddy1990 or Kaitnieks ever made a Scar or SRL script? The only one I know of is the script "fishes" which is in the test folder and I bet no one knows about it :p

20.) If I wanted to make a WoW script, how could it check how far down the health bar is, by setting points and check if the color still exists in a spot or what?

Ill think of more later ;)

Esteban
06-27-2007, 02:57 AM
questions that i can answer

2- Pi to the first 50 decimal places is: 3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510

7- If you're talking about Delphi Compliers, visit http://en.wikipedia.org/wiki/Delphi_programming#Compilers

12- Who knows man, my parents used it back in their day, I suggest asking older people who are familiar with the word, see if you can get an answer from them.

14- Well, it depends, if you have it at a high muosespeed, and it doesn't change speeds the entire time the mouse moves, it is detectable. But if you have it change to different speeds while moving, I'm sure you could have it moving at fast speeds in scripts.

15- I don't really know, but it sounds like from what I've heard it was embarrassment or something? You should talk to WT-Fakawi about it to get the truth.

16- its means 2 in Latin.

17- I think SCAR came out in 2003. I'm not sure about SRL.

18- Have you not read the homepage of SRL-Forums =O? Just click "The Community" above the "Forums" tab.

That's all i can answer for you, bub. As for the other questions, you'll just have to wait.

Mjordan
06-27-2007, 02:58 AM
Holy snot thats a lot of questions lol, but good ones.

@question #18, No SCAR was out for a LONG time before SRL ever came out.

@question #19, yes they both have. I remember a feather buyer from Freddy and I can't remember what all RS scripts Kait made(if any), but he made the Castle2 script that is really good.

I know the answers to a few more, but really late and I gotta go to bed. If they aren't answered in the morning, I'll try and answer them. ;)

SKy Scripter
06-27-2007, 03:02 AM
2.) for the variable pi, does it equal 3.14159265358979 or is that rounded? If it is rounded, i'm goin to add more digits to it to make it more accurate in my script, but idk.


lol

program new;
begin
Writeln(FloatToStr(Pi));
end.


Does an array like Blah[i] automatically make i +1 everytime it is used because I dont get how it keeps track of numbers.

no you must say

hello[0] := 'Hey!';
hello[GetarrayLength(Hello)-1] := 'He He';



Is there a way to put stuff that you typed in a TMemo box into the scar window or a way to run what is in the TMemo as a script?
Not Really inless you put it in Writeln...



For soemthing like a TRichEdit, is there a way to make all the words "the" bold and everything else normal or no? Like tell it to bold specific wokrds that you type.
im still trying too figur it out.. but yes there is a way... :)


Like iBot, can Scar find all the colors and check them 1 at a time looking for an uptext upposed to it moving to just 1 and either getting it or not. Because iBot gathers points, and it sounds like it can be done for Scar easily, but i could be wrong.

Yes..
FindColorsToleranc(P, Color, x1, y1, x2, y2, tol);
for i := 0 to getarraylength(p)-1 do
mmouse(P[i].x, P[i].y, 0, 0);
if isuptext('Mine') then
Result := True;
This Can be done much better though...


Will a Scar color like 14215660 be just as accurate as finding an RBG?
there both diffrently use
R := 1- 255;
G := 1- 255;
B := 1- 255;
but if you do use RGB it probly would be more accurate like
if (R > 20 ) and (R < 30) and (G > 100) and(G < 120)then
Writeln('Found The Guard!');


In SRL GLobals, why were there only 3 booleans, 4 integers, 3 strings, and 3 extended put in? Why not just put in an arroy so there can be like 999 of each for use? Or if not an arroy, why not just more.
porbly because most scripts use those variables and people dont want to
setthearraylength so many times...


Will makign the mousespeed faster increase the chances of ban?

no lol, maybe 5-25 is what i do...


What ever happened to Kaitnieks?

i imagine a leet programmer has a better job! :)


What does Divi meen?
somthing with like 2 people making it at once...


When Scar first came out, did it have SRL?

no lol, srl was much latter...


Has Freddy1990 or Kaitnieks ever made a Scae or SRL script? The only one I know of is the script "fishes" which is in the test folder and I bet no one knows about it
yeah freddy1990 has made a few...

wow. lots of questions...

Boreas
06-27-2007, 03:15 AM
2: you only need to make pi as long as you want your answer to be. If you are rounding to the nearest pixel (cuz you can't move less than a pixel) is an example. The bigger the circle and the smaller the units, the more digits you need, for example you need 50 digits for the circumference of the universe measured in widths of a proton.

3: I think someone posted a function for it. One way is to multiply by a multiple of 10, round(), and then divide by same number. For example, 3.141592653589793 to 5 digits:
multiply by 10^5
314159.265....
round to whole number
314159
divide by 10^4
3.14159

4: Not sure what you mean, but if you do :array [0..3] of it will do 0,1,2,3

7: SCAR is closer to pascal, and yea there a normal pascal compilers too

8: Yes. FindColors returns TPAs

9: 14215660 is 236R 233G 216B. They are just different ways of expressing it. Other ways are XYZ, LAB, HSL. I heard jagex uses HSL.

10. program New;
var t:integer;
begin
t:=getsystemtime;
ClickMouse(10,10,true);
writeln(inttostr(getsystemtime-t));
end.