• Log in or sign up for an account here: https://www.sythe.org/login

Simba Question

Barth

Active Member

Banned
Joined
Nov 6, 2005
Sythe Gold
0
Messages
156
Location
Canada
So I am reading this guide here.
http://villavu.com/forum/showthread.php?t=58935
About variables/constants, and I am wondering what would be my variable for Chin_Xp.

Would it be:
DTM_Chin
Or This:
Chin_String: String;

The line together looks like this: //Chin_XP: Extended;
DTM_Chin, Chin_String: String;
 
heres the line:
//Chin_XP: Extended;
DTM_Chin, Chin_String: String;

Then down here:
Writeln(IntToStr(Round(ChinsCaught * Chin_XP)) + ' xp gained (' + IntToStr(Round((ChinsCaught * Chin_XP) div (RunTime div 1000.0 div 60.0 div 60.0))) + ' xp/hr)');

What do I replace Chin_Xp With?
 
In Simba, // and {} are comments, which means they don't get compiled.
 
St. Patrick's Day 2013
Christmas 2015
Discord Verified
Easter 2013
Halloween 2013
Halloween 2014
Heidy
Lawrence
Then what would be my variable for Chin_Xp from this?
//Chin_XP: Extended;
DTM_Chin, Chin_String: String;
 
Your variable wouldn't be anything, our previous posts explain what needs to be done.

Anything that's "blue" in Simba will not be read. As soon as it's not "blue" it will compile correctly.

You just have to remove a little bit of code and it will work.
 
Your variable wouldn't be anything, our previous posts explain what needs to be done.

Anything that's "blue" in Simba will not be read. As soon as it's not "blue" it will compile correctly.

You just have to remove a little bit of code and it will work.
Remove everything in blue?
 
Umm, no...

Notice how the WriteLn procedure is looking for the Chin_XP variable? yet, the Chin_XP variable is already there, it's just commented out.

And as YoHoJo put it:
In other words.
Anything after // or between {}s the script doesn't look at/read.

Understand what I'm trying to say? ;)
 
I know you guys are spoonfeeding me, but Im trying like im sooooooo frustrated, i've spent over 5 hours on this!

Still not catching on i've tryed to put () around Chins.

Edit: Got it to compile! Will post results :)
 
St. Patrick's Day 2013
Christmas 2015
Discord Verified
Easter 2013
Halloween 2013
Halloween 2014
Heidy
Lawrence
I got it but it gets mine and others traps mixed up.

Good job. Now that you have got it compiling, if you have any questions about how the script itself runs, I'd suggest just asking them in the script thread to get better/faster help.
 
Runescape Gamblingrunescape gambling
Back
Top