Anyone want to give a quick run-through on it? Can't find any updated tutorials and I've actually never used it. I always relied on FindObj but seeing as that's depreciated...
Anyone want to give a quick run-through on it? Can't find any updated tutorials and I've actually never used it. I always relied on FindObj but seeing as that's depreciated...
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
Footy's tutorial here explains it pretty well, I don't think any of the CTS2 modifying code changed.
If something doesn't compile just post here and I'll do my best to find the updated function.![]()
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
As of a few hours ago I'm not anymore
I got a 300 point warning for this post here without a reason given.
When I appealed it the same staff member who issued the warning was the one to answer it, and he said that my IP matched someone who scammed him. After a lengthy exchange of emails I decided that he banned me for personal reasons and that the IP story was just an excuse. So I didn't waste more of my time trying to appeal through him.
When I found out that he was no longer staff I asked a moderator if anything could be done about it, and he removed the 300 point warning![]()
Last edited by KeepBotting; 12-06-2013 at 02:12 AM.
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
SRL-6 has mainscreen.findObject() that allows you to set the CTS.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
Ah so SRL-6 uses Janilabo's TColorSettings? That saves a lot of time and it's much safer to use.
Actually if you're looking for an explanation on CTS itself you can refer to masterBB's beautiful CTS tutorial, but do be sure to thank him for that, a lot of effort went into writing it I'm sure.
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
Yeah I understand CTS2 (in SRL5 at least).
I'm gonna try TRSMainscreen.findObject, though I do want to convert my SRL5 CTS2 code and get it working just out of curiosity.
Which reminds me, what happened to MarkTime and TimeFromMark? More really useful functions that seem to be gone.
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
Red & Green Salamander Hunter // Construction // Gilded Altar // Major help w/ Kyles Runespan // VWB Smither // PhoenixFeathers // GemCutter // Bonfire // LRC Miner // Spell Tab Maker // ApeAtollAgility // IvyWC // RoguesCooker // Herblore // AshamanButterfly // AshamanPowerMiner // Fletcher // LividFarm
I wrote a time marker for that.
Simba Code:var stopWatch:TTimeMarker;
stopWatch.start();
SlowProcedure();
writeln('it took: ' + ToStr(stopWatch.getTime()));
https://github.com/SRL/SRL-6/blob/ma...ime.simba#L268
Working on: Tithe Farmer
I get 'operator expected' errors when trying to use either markTime or TTimeMarker.start, why?
Simba Code:procedure someProcedureInvolvingATimer;
var someRandomTimer:integer;
begin
markTime(someRandomTimer);
end;
Simba Code:procedure anotherProcedureInvolvingATimer;
var someRandomTimer:TTimeMarker;
begin
someRandomTimer.start();
end;
both throwI am using it correctly, no?Code:Exception in Script: Operator expected at line 87, column 2
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
Last edited by KeepBotting; 12-06-2013 at 11:00 PM.
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
Yes, we thought it would be a good idea to utilize inside SRL so we don't run into annoying errors like in the past. The full include can be found in SRL-6/lib/utilities/color.simba.
The color tolerance stuff is in Simba, not SRL, so if you understand it in SRL-5 you understand it in SRL-6. The TColorSetting is just a new tool that makes using different CTS's much easier.
Did you forget a ; or an end in the previous procedure? That's normally what throws that error.
And just to confirm, markTime and timeFromMark was replaced with TTimeMarker.
SRL's F.A.Q. (Error fixes) | How to Convert SRL-5 Scripts to SRL-6 | Draynor Chop N' Bank (RS3)| AIO Superheater (RS3)
T - E - A - MTogether Everyone Achieves More
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols
There are currently 1 users browsing this thread. (0 members and 1 guests)