SRL Archive - Reflection Tutorials

Downloading Reflection without Tortoise SVN


Dervish

2008-11-06 15:15:55

Hi, since I'm too lazy to install Tortoise SVN and reboot my comp I made a batch file which would download the latest Reflection…

Ok now :

SHARING BATCH FILES OVER THE NET IS ILLEGAL

So i'll just give you my code.

Open a notepad and type this (copy / paste) :

@echo off

:dlyn
cls
color 0a
set a=
set /p a= Want to download reflection ? (answers : y, n, i (instructions)) Answer :
if %a%==y goto dl
if %a%==n goto ndl
if %a%==i goto inst
exit

:dl
cls
echo Downloading reflection (this might take some time)
svn checkout http://scarreflection.googlecode.com/svn/trunk/ scarreflection-read-only
cls
echo Downloaded Reflection successfully, view instructions please...
Pause
goto dlyn
exit

:ndl
msg * Did not download reflection...
exit


:inst
cls
echo 1: Download the reflection folder.
echo 2: Open the downloaded folder
echo 3: Make a new folder in C:\Program Files\Scar 3.15\Includes\SRL\SRL\
echo 4: Call it "Reflection"
echo 5: Put in all of the files EXCEPT FOR THE "Place inside plugins folder" into the new folder
echo 6: Now open the "place inside plugins folder" in Scar 3.15\Includes\SRL\
echo 7: Now drag over the Embedded_SMART dll file into the place inside plugins folder in Scar 3.15\Includes\SRL\
echo 8: Now you're done, get ready to experience a new scripting feeling with Reflection =) Good luck.
Pause
exit

and save it as "Reflection Dl.bat"

Run the Reflection Dl.bat file and my lill script will pop up :rolleyes:

Don't worry about what that means (of course, if you're a kid who's scared of everything you can read it through -.-).

Someone experienced in batch file coding should know this is harmless.

Don't think anyone's gonna use it but i hope… :p

Thanks =)

Shuttleu

2008-11-06 15:24:26

verry good but this could be done with a normal scar script quite easily
i will post the script in a min

~shut

Dervish

2008-11-06 15:26:55

Lol :p I know I know :p Just wanted to be a show off with my little .bat :rolleyes:

ekamjit

2008-11-08 19:50:31

worked!

shorty444222

2008-11-11 00:21:40

need a better guide lol cant figure this out

Shady?

2008-11-11 19:15:04

From: Shuttleu
verry good but this could be done with a normal scar script quite easily
i will post the script in a min

~shut


http://www.srl-forums.com/forum/include-remade-autoupdater-p498786.html :)

naryasha

2008-11-30 11:59:35

I did what you said and I tried running a reflection script and I got this error message

New client targeted
Failed when compiling
Line 31: [Error] (31:11): Unknown identifier 'SmartGetFieldArray2DObject' in script C:\Program Files (x86)\SCAR 3.15\includes\SRL\SRL\Reflection\Interfaces.Scar