Well, I'm actually getting to be quite an advanced programmer. I have my own website and am semi-fluent in Lua, I'm good with HTML, and still learning CSS but getting better. So this problem is really challenging: when I've made an integer out of randomly chosen children of a list. I set this value into a variable. I then use the join block inside an ask block, and it returns with nil, instead of my integer/variable.
Offline
Use single stepping. It will run the scripts slowly, and flash the block in process now.
Do I know you from somewhere? maybe from ROBLOX?
Offline
Blamsox wrote:
Well, I'm actually getting to be quite an advanced programmer. I have my own website and am semi-fluent in Lua, I'm good with HTML, and still learning CSS but getting better. So this problem is really challenging: when I've made an integer out of randomly chosen children of a list. I set this value into a variable. I then use the join block inside an ask block, and it returns with nil, instead of my integer/variable.
Do you have a link to the project? It would help if we could see for ourselves
Offline
Paddle2See wrote:
Blamsox wrote:
Well, I'm actually getting to be quite an advanced programmer. I have my own website and am semi-fluent in Lua, I'm good with HTML, and still learning CSS but getting better. So this problem is really challenging: when I've made an integer out of randomly chosen children of a list. I set this value into a variable. I then use the join block inside an ask block, and it returns with nil, instead of my integer/variable.
Do you have a link to the project? It would help if we could see for ourselves
![]()
right could we see it for download?? thanks
Offline
Yeah, sure, I'll upload it when I'm back on my computer.
Yes, I did play ROBLOX, I used to have a very popular game, I believe it has a good 500, 000 plays. I stopped playing because of the immaturity of 99% of players, who were mostly gullable-full of themselves 7 year olds.
To let you guys know, my game is an English based version of the classic gameshow, "Deal or no deal". The error occurs when the banker offers a chosen amount of four remaining prizes left are added together, it is then used in an "ask" and a "join" block, but appears as nil.
Last edited by Blamsox (2010-02-19 19:00:10)
Offline
Blamsox wrote:
To let you guys know, my game is an English based version of the classic gameshow, "Deal or no deal". The error occurs when the banker offers a chosen amount of four remaining prizes left are added together, it is then used in an "ask" and a "join" block, but appears as nil.
Huh?
Offline
Blamsox wrote:
I made a game, and have checked my scripts and code - I've covered everything, yet this still fails. Where should I post a help request?
Often what happens is that there was a mistake in the script all along - so here's what you do: First, post in All About Scratch asking people if the script is wrong. Upload your project and give a link to it in the topic post, so people can see the project and check. Then, if several people have decided that the script is correct and Scratch itself is the problem, you can report it in Troubleshooting. Be sure to give a link to the project in your report, though!
Offline
The project is here: http://scratch.mit.edu/projects/Blamsox/900124
NOTE: The bankers offer value appears as nil when used in an ask block, I believe the script that runs the banker AI is in the stage.
Last edited by Blamsox (2010-02-22 17:51:02)
Offline
http://scratch.mit.edu/projects/bhz/900182
both glitches fixed
Last edited by bhz (2010-02-22 18:18:13)
Offline
Blamsox wrote:
Thanks! I'm back on my iPod again so I'll check everything tomorrow afternoon. Can i ask what the second glitch was, and what was wrong with the code?
When there were 15 boxes left, it waws still picking a random item between 1 and 30. The second glitch was that after you picked a box, it would say "You picked ."
Offline