SRL Archive - Archive

shadowcon - SRL Member Application


shadowcon

2010-03-24 18:12:17

How Long have You Played Runescape?
3 Year(s)


Are you affilated in anyway with Jagex LTD?
No

Were you Referred to SRL?



What is your general programming knowledge?
JASS, a little C++, a little VBasic, almost as much java, in the process of learning SCAR :D


Are you a member of any other communities?
http://forums.dota-allstars.com/ - Mamma Mu
mostly active in Technical Support and a little in Mechanics


Tell us about yourself…
From: shadowcon
Okay, I'm 15 years old and I live in Sweden at the moment. My dad's from northern Finland and my mom's from Sweden, When I was little, we moved A LOT, I think I had lived at like 12 places when I was 12. First half a year in France, then 3 years in Tunisia and since then different places in Sweden. I go in 8th grade in the international english school in bromma ( http://engelska.se/ ).
I've played runescape for 3 years, 2 years about 4 years ago and recently I started again. Between that World of Warcraft, lots and lots of Warcraft III (where I learned JASS) and maybe even more DotA. I also play Civilization 4 occasionally with 1 of my cousins, it also happens that I play CS, Left 4 Dead and Call of Duty etc but mostly pretty rarely. As you might guess, I love computer games (a) and I used to run orienteering (you know running in the forest searching for "controls"). I also used to play the trumpet, but I quit because I found it boring, now I only play the electric bass.
Hope that was enough, if you guys want anything more, just pm me! :)



Please show us one (or multiple) of your scripts.
//************************************
//This is a script that I made in JASS a while ago,
//when the ability is cast, the closest units to the
//casting point is moved into the center and dealt
//damage.
//
//Unfortunately, I'm unable to produce a nice SCAR
// script because I'm not that good at it yet.
//************************************
//TESH.scrollpos=29
//TESH.alwaysfold=0
globals
group g
endglobals

function Trig_Crush_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'A069' ) ) then
return false
endif
return true
endfunction

function PushEmBack takes unit u, location targetLoc returns nothing
local real ufacing
local real distance
local location newLoc
loop
set distance = DistanceBetweenPoints(GetUnitLoc(u), GetSpellTargetLoc())
exitwhen (distance<25.00)
set ufacing = GetUnitFacing(u)
if (ufacing>180.00) then
set ufacing = ufacing-180.00
else
set ufacing = ufacing+180.00
endif
set newLoc = PolarProjectionBJ(GetUnitLoc(u), 30.00, ufacing)
call SetUnitPositionLoc(u, newLoc)
call AddSpecialEffectTargetUnitBJ( "origin", u, "Abilities\\Spells\\Human\\FlakCannons\\FlakTarget.mdl" )
call SetUnitPathing(u, false)
call SetUnitFacing(u, AngleBetweenPoints(GetSpellTargetLoc(), GetUnitLoc(u)))
call UnitDamageTargetBJ( GetTriggerUnit(), u, 20.00, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_ENHANCED )
call TriggerSleepAction(0.01)
endloop
call SetUnitPathing(u, true)
set u = null
call RemoveLocation(newLoc)
call RemoveLocation(targetLoc)
set newLoc = null
set targetLoc = null
endfunction

function Trig_Crush_Actions takes nothing returns nothing
local real spTaX = GetLocationX(GetSpellTargetLoc())
local real spTaY = GetLocationY(GetSpellTargetLoc())
local unit u
local location targetLoc
call AddSpecialEffect("Abilities\\Spells\\Human\\Thunderclap\\ThunderClapCaster.mdl", spTaX, spTaY )
set g = GetUnitsInRangeOfLocAll(200.00, GetSpellTargetLoc())
set u = FirstOfGroup(g)
loop
exitwhen u == null
call PushEmBack(u, targetLoc)
call GroupRemoveUnit(g, u)
set u = FirstOfGroup(g)
endloop
call DestroyGroup(g)
set g = null
set u = null
call RemoveLocation(targetLoc)
set targetLoc = null
endfunction

//===========================================================================
function InitTrig_Crush takes nothing returns nothing
set gg_trg_Crush = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Crush, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Crush, Condition( function Trig_Crush_Conditions ) )
call TriggerAddAction( gg_trg_Crush, function Trig_Crush_Actions )
endfunction

YoHoJo

2010-03-24 18:14:47

Sorry sir, but you need a script that uses SRL and autos on runescape.
Apparently you already have some scripting knowledge, which is great, you should be able to pick up SCAR/SRL scripting easily.

Here is a pre-compiled list of helpful links!:

Here's a bunch of links to help you out!

Basic Beginner Scripting Tutorials:
http://www.villavu.com/forum/showthread.php?t=23133
http://www.villavu.com/forum/showthread.php?t=49089
http://www.villavu.com/forum/showthread.php?t=4625

And Here's the Entire Beginners Scripting Tutorial Section:
http://www.villavu.com/forum/forumdisplay.php?f=95

Guides on 'raising your rank' which go along with scripting better/attitude/ect:
http://www.villavu.com/forum/showthread.php?t=3562
http://www.villavu.com/forum/showthread.php?t=50475
http://www.villavu.com/forum/showthread.php?t=40470

How to setup/install SRL and SCAR
http://www.villavu.com/forum/showthread.php?t=47714

Read though them thoroughly, take your time, have patience, and ask all of the questions you need here, we will be very glad to help you at the Scripting Help forum!!
http://www.villavu.com/forum/forumdisplay.php?f=70

shadowcon

2010-03-24 18:16:42

Okay, thanks!

YoHoJo

2010-03-24 18:20:37

No problem, and good luck.
Make sure to make good use of the SRL Help forum! Everyone here is so nice and knowledgeable and helpful!