PDA

View Full Version : SRL/SCAR - Dictionary



Camaro'
05-07-2008, 12:42 AM
This is a scar/ srl dictionary and was made using the tutorials on this tutorial island.


PLEASE DO NOT FLAME ME OR TELL ME THERE IS A SCAR/ SRL Manuel I KNOW THAT


-----------------------------------------------------------------------------
The reason why i made this is for the following reasons..

1: I was bored lol.
2: even though this has very little definitions its good because it gives the links to the creators
tutorial.

If i miscredited or you dont want me to add your definitions on here then Tell me and i will get rid of it.
-----
If any one wants there definition to be on here then link to your thread and post the definition on here.
-----

If you have a definition( which alot of you do, ) and no tutorial on it. Post it here..


-----------------------------------------------------------------------------
CloseBank: Closes the bank.
BankScreen: Returns true if finds the bankscreen
Mouse(x,y,1,1,true): Left Clicks with randomness of 1
Mouse(x,y,1,1,false): Right Clicks with randomness of 1
Mmouse(x,y,1,1): Moves the mouse with randomness of 1
Wait(X:integer;): Waits X ms;
FindDTM: Finds the dtm.
FindBMP: Finds the bmp.
-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
[mastaraymond- Unusual things in scar (http://www.villavu.com/forum/showthread.php?t=17362)]

Xor -Xor checks if only 1 side of the statement is true.

Continue- The continue command goes back to the begin of a loop
-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
[ZephyrsFurys-Map Walking (http://www.villavu.com/forum/showthread.php?t=19162)]
RadialWalk: Walks you to place on the minimap.


function RadialWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius: Integer; Xmod, Ymod: Integer): Boolean;


TheColor: Color.
StartRadial: The first angle where the function will start looking from. (Usually from 0 to 360). 0 is north, 90 east, 180 south, 270 west, 360 north again.

EndRadial: Same with StartRadial except this is the angle where it stops searching. It can be greater than or less than the start angle. If it’s larger than then it will search clockwise. If it’s less than it will search anti-clockwise (think about it logically ).(zephyrsFurys)

Radius: The distance in pixels from the minimap centre it will start searching from.

Xmod: The distance on the X axis the mouse will move every time the function tries to click but the flag doesn’t appear. (MouseFindNoFlag). So if it finds the colour and clicks but the flag doesn’t appear (can’t reach it), it will move the mouse Xmod units along the X axis until the flag appears. (negative is left, postive is right).

Ymod: Same with Xmod except along the Y axis. (negative for up, positive for down).
-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
[nielsie95- Adding multiplayer (http://www.villavu.com/forum/showthread.php?t=12858)]

NextPlayer ( True ) - This will switch players and will leave the current player active.

NextPlayer ( False ) - This will switch players and will switch the current player to not active.
-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
[Santa_Clause- Varients and TvarientArrays (http://http://www.villavu.com/forum/showthread.php?t=29098)]

VarType - is a function that returns an integer.

TVarientArray - A TVariantArray is an array of Variants, or more simply put as an array of undefined variables.

Varient- A variant is a variable, whose type you don’t have to declare.
-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
[Cazax(WikiPedia)- Autocoloring with RGB,HSL, and XYZ! (http://www.villavu.com/forum/showthread.php?t=29072)]

RGB -
The RGB color model is an additive color model in which red, green, and blue light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three additive primary colors, red, green, and blue.

HSL -

HSL and HSV are two related representations of points in an RGB color space, which attempt to describe perceptual color relationships more accurately than RGB, while remaining computationally simple. HSL stands for hue, saturation, lightness, while HSV stands for hue, saturation, value.

HSI and HSB are alternative names for these concepts, using intensity and brightness; their definitions are less standardized, but they are typically interpreted as synonymous with HSL.

Both HSL and HSV describe colors as points in a cylinder whose central axis ranges from black at the bottom to white at the top with neutral colors between them, where angle around the axis corresponds to “hue”, distance from the axis corresponds to “saturation”, and distance along the axis corresponds to “lightness”, “value”, or “brightness”.

XYZ -
The human eye has receptors (called cone cells) for short (S), middle (M), and long (L) wavelengths. Thus in principle, three parameters describe a color sensation. The tristimulus values of a color are the amounts of the three primary colors in a three-component additive color model needed to match that test color. The tristimulus values are most often given in the CIE 1931 color space, in which they are denoted X, Y, and Z.

Any specific method for associating tristimulus values with each color is called a color space. CIE XYZ, one of many such spaces, is special because it is based on direct measurements of human visual perception, and serves as the basis from which many other color spaces are defined.
-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
[Timothegreat-Using Almighty TPA's for object finding (http://www.villavu.com/forum/showthread.php?t=28484)]

TPA- Short for t point array.

T2DPointArray - In essence it is an array of TPointArrays.
-----------------------------------------------------------------------------




-----------------------------------------------------------------------------

[I]TPoint - Used to store an x and y coordinate within one variable. Lets say you are using MyTpoint as your tpoint. The "x" coordinate would be MyTpoint.x, and the "y" coordinate would be MyTpoint.y.

TPointArray - Store multiple TPoints within an array. Using the first TPoint would be, say, MyTPointArray[0].x and MyTPointArray[0].y. Don't forget to set the array length!

TBox - Pretty much the same as TPoint, except uses x1,y1,x2, and y2 as arguments. x1,y1 would be the top left corner of the box made, and x2,y2 would be bottom right corner.

TBoxArray - Stores multiple TBoxes in an array.
-----------------------------------------------------------------------------





-----------------------------------------------------------------------------
If you want your tutorial added tell me




Tutorials:

Fail safe: Iron Man (http://www.villavu.com/forum/showthread.php?t=29371)

Auto Coloring: Cazax (http://www.villavu.com/forum/showthread.php?t=29072)

Dtm:Yohojo (http://www.villavu.com/forum/showthread.php?t=564)
DTM:Skilld u (http://www.villavu.com/forum/showthread.php?t=28821)


Walking:ZephyrsFury (http://www.villavu.com/forum/showthread.php?t=19162)

DDtm:Cut em2 it (http://www.villavu.com/forum/showthread.php?t=26968)

Multiplayer:nielsie95 (http://www.villavu.com/forum/showthread.php?t=12858)

TPA:Timothegreat (http://www.villavu.com/forum/showthread.php?t=28484)

Varients:Santa_clause (http://www.villavu.com/forum/showthread.php?t=29098)

SRL Player form:Sumillion (http://www.villavu.com/forum/showthread.php?t=17966)

Iron Man
05-07-2008, 12:46 AM
Theres a LOT more you have to add if you want to complete this.

Go on SCAR and to Cntrl+space, you got a lot to do ;)

Camaro'
05-07-2008, 12:48 AM
Theres a LOT more you have to add if you want to complete this.

Of course.. I posted it so some people could give me definitions. Im working on it now..

Well lots of those dont need to be added and i added a tutorial section

P1nky
05-07-2008, 01:18 AM
Neat this will help alot :p ill help u some later

Daniel
05-07-2008, 07:15 AM
Add my RadialWalking tutorial pl0x?

Camaro'
05-07-2008, 11:05 AM
Gotcha! :P Im gonna work on adding like 10 more tuts and definitions today..