press flag block:
block specs:
('press flag' #- #pressGreenFlag)
scriptable scratch block morph
pressGreenFlag self broadcast: 'Scratch-StartClicked' withArgument: 0
Last edited by PencilFactory (2012-04-08 14:17:58)
Offline
that
l(ask for file with title [Choose a file] accepting extensions [txt doc]) should be <ask for file with title [Choose a file] accepting extensions [txt doc]>
Last edited by PencilFactory (2012-04-08 14:26:12)
Offline
Sparks, if you make an uploader on the site, I'll help move images there, after scratchr.org gets whitelisted.
Offline
Hey, I was wondering how complicated it would be to get panther blocks for my own MySQL server? (Directly with something like libMySQL, not the html interface way?)
Thanks!
Offline
LiquidMetal wrote:
Hey, I was wondering how complicated it would be to get panther blocks for my own MySQL server? (Directly with something like libMySQL, not the html interface way?)
Thanks!
I'm guessing it would be rather difficult, but I could be wrong.
Offline
jvvg wrote:
LiquidMetal wrote:
Hey, I was wondering how complicated it would be to get panther blocks for my own MySQL server? (Directly with something like libMySQL, not the html interface way?)
Thanks!I'm guessing it would be rather difficult, but I could be wrong.
You give me hope .
Last edited by LiquidMetal (2012-04-09 19:57:13)
Offline
LiquidMetal wrote:
jvvg wrote:
LiquidMetal wrote:
Hey, I was wondering how complicated it would be to get panther blocks for my own MySQL server? (Directly with something like libMySQL, not the html interface way?)
Thanks!I'm guessing it would be rather difficult, but I could be wrong.
You give me hope .
I'm just trying to be realistic...
Offline
jvvg wrote:
LiquidMetal wrote:
jvvg wrote:
I'm guessing it would be rather difficult, but I could be wrong.You give me hope .
I'm just trying to be realistic...
I'm don't want realistic, I want possible, and to know if it will be faster, and If I can get around the error message I keep getting on JD1's server.
http://scratchlive.xtreemhost.com/set.php?user=variable&pass=1 wrote:
Warning: mysql_connect() [function.mysql-connect]: User xth_7668455 already has more than 'max_user_connections' active connections in /home/vol5/xtreemhost.com/xth_7668455/htdocs/set.php on line 13
Could not connect: User xth_7668455 already has more than 'max_user_connections' active connections
Offline
LiquidMetal wrote:
jvvg wrote:
LiquidMetal wrote:
You give me hope .
I'm just trying to be realistic...
I'm don't want realistic, I want possible, and to know if it will be faster, and If I can get around the error message I keep getting on JD1's server.
http://scratchlive.xtreemhost.com/set.php?user=variable&pass=1 wrote:
Warning: mysql_connect() [function.mysql-connect]: User xth_7668455 already has more than 'max_user_connections' active connections in /home/vol5/xtreemhost.com/xth_7668455/htdocs/set.php on line 13
Could not connect: User xth_7668455 already has more than 'max_user_connections' active connections
It would be possible, but perhaps slightly difficult. Just make sure you can have lots of connections!
Offline
sparks wrote:
Sci is right, It would be possible for me to set up an external connection for you to the database giving you read-only permissions for safety. Why do you want it?
I believe he wants to remake those blocks connecting to a new server, since the cloud storage got used too much, and the host didn't allow that many connections.
Offline
Just a small reminder to all librarians that the blocklib account should not be used in the community moderator elections as it belongs to a group (Especially since two librarians are running this time )
Offline
You're never supposed to use two accounts. Or a joint account.
In the elections I mean. xD
Offline
Splodgey wrote:
I have 3 panther blocks...
http://i.imgur.com/VFLZ9.gif
Name:Code:
$number$ out of $number$ as %Type:
Code:
rCode:
Code:
t1/t2*100http://i.imgur.com/Szjrv.gif
This block is already in Panther, but you can't drag reporter blocks in a "$Keys$ slot". Although this could be achieved with <(key pressed) = []>.
Name:Code:
key $String$ pressed?Type:
Code:
bCode:
Code:
self keyPressed: t1http://i.imgur.com/UC9Ib.gif
I discovered this when dragging the (key pressed) block into the above block
Name:Code:
any button pressed?Type:
Code:
bCode:
Code:
self keyPressed: self keyPressed
Managed to fix the imges!
EDIT: But not when quoted...
Last edited by Splodgey (2012-04-10 14:43:28)
Offline
scimonster wrote:
sparks wrote:
Sci is right, It would be possible for me to set up an external connection for you to the database giving you read-only permissions for safety. Why do you want it?
I believe he wants to remake those blocks connecting to a new server, since the cloud storage got used too much, and the host didn't allow that many connections.
I'm planning to host my own database, for my own global variables. I want to connect to it directly with libMySQL or the like.
Really, the specifics don't matter, but:
1) I want the blocks to be as fast as possible. If the blocks go through html, to the database, and back to the html, which returns to the block, It would presumably be slower if the block goes directly to the database, which returns to the block. Right?
2) I want to authenticate securely: as in no "&pass=1 in url, but still using some sort of authentication. Is that possible?
Thanks!
Offline
Side: what is the difference between panther blocks 28 and 52?
Offline
New block! #CREDIT TO MY DAD#
blockspec:
('Make me 3D with X spacing of costume: %n and Y spacing of costume: %n with %n thickness ' #- #X:Y:Thickness:)
X: t1 Y: t2 Thickness: t3 | t4 | t3 timesRepeat: [(t4 _ self ownerThatIsA: ScratchStageMorph) ifNotNil: [t4 stampCostume: self]. self referencePosition: self referencePosition + (t1 @ t2)]
What this block does
The block will make the sprite 3D.
____________________________________________________________________________________
when gf clicked repeat until <(timer) > [10]> go to [Space v] end think [Imagine] for (infinity) secs
Last edited by space928 (2012-04-11 07:47:37)
Offline
Block Request for panther:
bucket fill [color1 v] at x: ( ) y: ( ) of [sprite1 v] bucket fill [color1 v] at x: ( ) y: ( ) of [stage v] bucket fill [color1 v] at x: ( ) y: ( )The 1st and 2nd could be either permanent or temporary.
Last edited by LiquidMetal (2012-04-12 14:32:57)
Offline
Hmm, an interesting idea... It would take the colour of the point you specify and fill in all of that colour surrounding? I don't know if it's possible but it's a good idea. Tomorrow I am free, and I've decided that's a good excuse for me to go ahead and do a proper update for the library!
Offline
sparks wrote:
Hmm, an interesting idea... It would take the colour of the point you specify and fill in all of that colour surrounding? I don't know if it's possible but it's a good idea. Tomorrow I am free, and I've decided that's a good excuse for me to go ahead and do a proper update for the library!
Can't wait
I think you missed 2 of my posts above.
Offline
Oh yes, sorry. The problem with your database idea is that the database isn't mine, it belongs to the Scratch team, and they would probably not be too happy about a direct-read connection
It appears there is no difference at all between the blocks, I shall combine them!
I've just realised that if I won't be able to do an update tomorrow if lightnin hasn't approved the blocks.scratchr.org site for image hosting...
Offline
sparks wrote:
Oh yes, sorry. The problem with your database idea is that the database isn't mine, it belongs to the Scratch team, and they would probably not be too happy about a direct-read connection
It appears there is no difference at all between the blocks, I shall combine them!
I've just realised that if I won't be able to do an update tomorrow if lightnin hasn't approved the blocks.scratchr.org site for image hosting...
It will still work for Antidote users, though, and I'm sure Lightnin will do it eventually.
EDIT: And do we have a plan for the website?
Last edited by Greenatic (2012-04-12 19:26:37)
Offline
Okay, so it's 9:45 am here and I have a day off. I'm skyping with lightnin in about four hours about the CM position, so I'll take that opportunity to remind him to ALLOW images from blocks.scratchr.org. In the meantime I'm going to set up an image uploader page for librarians on the blocks site so we can start porting all images to that host. I've decided to make most of today a block library day to tidy things up etc. I'll be experimenting with the SQL on the site again too, to see if I can get a consistent connection. Any librarians who are free today, I would appreciate some help porting the images!
Offline
sparks wrote:
Okay, so it's 9:45 am here and I have a day off. I'm skyping with lightnin in about four hours about the CM position, so I'll take that opportunity to remind him to ALLOW images from blocks.scratchr.org. In the meantime I'm going to set up an image uploader page for librarians on the blocks site so we can start porting all images to that host. I've decided to make most of today a block library day to tidy things up etc. I'll be experimenting with the SQL on the site again too, to see if I can get a consistent connection. Any librarians who are free today, I would appreciate some help porting the images!
When do you expect the uploader to be up?
And it would probably be best if you can make it upload more than one image at a time...or this is going to be very painful...
Offline