Sperry wrote:
I found a glitch!
The <Hosting mesh?> block will report true when you are hosting a mesh, but when your not, it says that Error! message thing.
Yes, i had that problem. I made a script which hosted a mesh, it would check to see if hosting mesh = false then hosted the mesh. But it would get the red halo of death and crash.
Offline
nXIII, I think the ...other category for the sensor ___ block will work fine.
Oh man, we had the first thunderstorm here. And man, was it a STORM. We had a TON of hail, and I was up from 4.
Offline
SeptimusHeap wrote:
nXIII, I think the ...other category for the sensor ___ block will work fine.
Oh man, we had the first thunderstorm here. And man, was it a STORM. We had a TON of hail, and I was up from 4.
Awww... are they regular where you are?
Offline
markyparky56 wrote:
SeptimusHeap wrote:
nXIII, I think the ...other category for the sensor ___ block will work fine.
Oh man, we had the first thunderstorm here. And man, was it a STORM. We had a TON of hail, and I was up from 4.Awww... are they regular where you are?
What do you mean?
Offline
SeptimusHeap wrote:
markyparky56 wrote:
SeptimusHeap wrote:
nXIII, I think the ...other category for the sensor ___ block will work fine.
Oh man, we had the first thunderstorm here. And man, was it a STORM. We had a TON of hail, and I was up from 4.Awww... are they regular where you are?
What do you mean?
Thunderstorms. Anyway, this is offtopic!
What are you working on right now?
Offline
A calender that shows date, time, formal date, and, of course, a correct calender of the month.
Offline
SeptimusHeap wrote:
A calender that shows date, time, formal date, and, of course, a correct calender of the month.
Interesting...
Offline
I'm also working on a 'High score server', but I need a '...more' option under sensor ___.
Offline
Hey Sep. Could you help me with my "round () to nearest () )" block please?
I don't know how to get it to modify the value passed in to round.
My instance code so far: It will very acuratelly get halfway piont of the nearest unit needed to round to:
round: t1 ToNearest: t2 t1 <= (t1 * (t2 / t1) - (t2 / 2) ) ifTrue: [^ ]
Last edited by Sperry (2010-04-13 08:08:05)
Offline
Sperry wrote:
Hey Sep. Could you help me with my "round () to nearest () )" block please?
My instance code so far: It will very acuratelly get halfway piont of the nearest unit needed to round to:Code:
round: t1 ToNearest: t2 t1 <= (t1 * (t2 / t1) - (t2 / 2) ) ifTrue: [^ ]
Find me the code for the round blockk
Offline
Wait!!!!!
I got an idea!
Because #rounded: rounds to the nearsest 1, what if we divide the number by what they want it rounded to, then pass it into rounded, then multiply by what they want it rounded to again, and presto!
Do ya think it'll work?
I'll go test my methods!
Offline
Estimate ___ to nearest ___.
blockSpec:
('estimate %n to %nths place' #r #est:ToNearest:)
instance:
est: t1 ToNearest: t2 | t3 t4 t5 | t3 _ t1 * t2. t4 _ t3 rounded. t5 _ t4 / t2. ^ t5
It works!
Offline
You stick in a reporter, like _ / _, and it estimates it!
W00t!
W00t!
W00t!
Offline
SeptimusHeap wrote:
Estimate ___ to nearest ___.
blockSpec:Code:
('estimate %n to %nths place' #r #est:ToNearest:)instance:
Code:
est: t1 ToNearest: t2 | t3 t4 t5 | t3 _ t1 * t2. t4 _ t3 rounded. t5 _ t4 / t2. ^ t5It works!
Ha lol,
Same functionality as my block AND same instance code (apart fro the title)!
You can do that with my block!
sparks your back! Do you like my new block?
Offline
Sperry wrote:
SeptimusHeap wrote:
Estimate ___ to nearest ___.
blockSpec:Code:
('estimate %n to %nths place' #r #est:ToNearest:)instance:
Code:
est: t1 ToNearest: t2 | t3 t4 t5 | t3 _ t1 * t2. t4 _ t3 rounded. t5 _ t4 / t2. ^ t5It works!
Ha lol,
Same functionality as my block AND same instance code [ERROR: fAiL] (apart fro the title)!
You can do that with my block!
sparks your back! Do you like my new block?
It rearranges * and /.
Offline
Sperry wrote:
Morning everyone! How are we getting on?
Oh my gosh!!! nXIII posted. Shame having school when everyone else is off. Oh well. Have fun at school today nXIII!
I still don't know how to get my block to work though. I thought about using some sring ops so I'm currently seeing what I can do with it. I'll get back to you on that one.
I think we're going to run out of block ideas and then we won't be able to release another version of Panther!!! Oh No!![]()
See you later guys
I'm not off.
Offline