Feature request: eval-like block
-
@tyller_ Is it possibly that two items are not allowed to be attached to the Head of an avatar character simultaneously, so they just clash and don’t work?
-
@jeffreyrb03-gmail I also need to get all of this avatar stuff figured out before I can even start to implement multiplayer
-
@jeffreyrb03-gmail found it, I checked by copying the block and pasting it into notepad (right click then copy, it copies as text) and when I looked at the field for the body part (the block is
<block xmlns="http://www.w3.org/1999/xhtml" type="d3action_d3_attachtobone" colour="#4CAD95ff" id="G=I2:6{4uCuFh~]/t$g}" x="-149.22222222222223" y="658"><value name="BODYPART"><shadow type="d3action_menu_BODYPARTLIST" colour="#4CAD95ff" id="6wbYqs?LX.e:G;C}ph{$"><field name="BODYPARTLIST">neck</field></shadow></value><value name="PARENTNAME"><shadow type="text" colour="#FFFFFFff" id="rFcqk_%u)R%d*H^j#=O*"><field name="TEXT">player</field></shadow></value><value name="SPRITE"><shadow type="d3action_menu_ALLSPRITES" colour="#4CAD95ff" id="h.#6ycyU-?,K_5[P(v1|"><field name="ALLSPRITES">Your player</field></shadow></value><value name="HEIGHT"><shadow type="text" colour="#FFFFFFff" id="eK(osw5sKBwE7skBGH%}"><field name="TEXT">70</field></shadow><block type="data_variable" colour="#FF8C1Aff" id="9-n@%;O|N~@fIc0T%SYU"><field name="VARIABLE" id="YefJTEi/TZB[O43Serh)" variabletype="">CURRENT: TargetHeight</field></block></value></block>
is labeled as neck with lowercase when I tried switching it to neck, I set the variable to “head” and it worked, you have to use lowercase for the bodypart
-
@tyller_ WHAT?!!! So instead of putting Head I had to put head!!!
-
@tyller_ That is really clever! Thanks bro! I would’ve never thought to inspect the XML that makes up the blocks
-
@tyller_ So when u move around with WASD and jump and stuff, the hat stays on his head?
-
@tyller_ I’ve replaced all the Heads with head
time to see if it works! -
@tyller_ All I need to do is rotate and resize the glasses, and it’s perfect!
Thank you so much -
@info-creaticode Nevermind, you’re right we don’t need the block anymore, I fixed the issue that caused me to want to suggest this
-
@jeffreyrb03-gmail well the block would still be useful, only issue is making the text actually work
-
@tyller_ oh yeah true mb
-
@tyller_ but if the eval block were introduced, wouldn’t that make your CreatiScript project unnessescary? Because the purpose of your project I think is to run CreatiCode blocks from text, which is exactly what I’m suggesting, since someone could just make a question (in sensing) and then run blocks from text (answer), or make it better with widgets
-
@tyller_
Hey Tyler. Off topic, but does your chat room have a reporting system, or do we need to moderate at all times? -
@tyller_ , to add onto my previous comment, that’s sorta like if Scratch introduced a text engine in 4.0, that’d make it so all the hard work people (including me) put into making detailed text engines, like with the 100+ costumes where you just store every single letter in lowercase and capital and numbers and symbols.
You are right, but CreatiCode should probably just not add this block because if too many blocks that make CreatiCode too convienient are added, although making complicated things will be easier, it will take a bit of the fun and creativity and effort away from making simpler things and solving problems. Now I’m not saying they should just not add new things to make it easier and faster to use, but this sorta thing might render all your hard work useless, and will take the fun out of solving hard problems like this one where I had no idea why my code wouldn’t work (lol that was hillarious “head” is case-sensitive).
-
@catty I have a thing where there’s moderation commands, I’m going to add a report system where you can report a user and it has all ppl with moderation perms get a notification pop up on their screen whenever they open the project, currently I just have commands where moderators (I gotta set mods based off whatever username block has their name as) can flag all messages with a keyword in it, then view all flagged messages, and delete either all flagged or a certain one, I am actively working on moderation related stuff with it, but all messages are logged in a database for loading them and for moderation
-
@tyller_ Can you make the source code shared to friends? After you’re done I wanna make some modifications for you to add
-
@tyller_ Also I have an idea for a better notification system, prolly using email blocks (don’t work right now tho) or sending it to an API that will give me a phone notification
-
@jeffreyrb03-gmail
oh god pls no. biiig spam issue. -
@catty it’s not going to do it in the way you think it is, it’s just going to do with messages that it isn’t sure is appropriate, and Its also that it takes forever to load
-
@jeffreyrb03-gmail
yes but guess what, it would have to go to my personal email bc I can’t receive emails on my school account, plus they would be VERY concerned lmao -
@catty yeah that would have me add an email input to my table of special ppl, which would still be secure bc I did only put it on share with friends like Jeff suggested (I didn’t even think share with friends only would work with publish to all)
-
@tyller_
it should work. -
-
@catty your parents u mean? I can understand, but its not like gonna tell u what’s in the message, its just gonna say to check the admin panel
-
@jeffreyrb03-gmail
no. my school. -
@catty oh ok but regardless, email blocks doesn’t work at the moment and the design is still gonna be smart to prevent any problems from happening
-
@jeffreyrb03-gmail
if needed, i can provide my personal email to do so. -
@catty
but then i’ll immedietly purge it -
@catty nah it’s fine, I was just giving ideas
-
@jeffreyrb03-gmail lmao my inventory design sucks
-
@jeffreyrb03-gmail
i cant compete to something as beautiful as that! -
@catty speaking of that design, it’s getting better and is going to have slots and stuff like a real Minecraft inventory
-
Sounds like your project is going along well. Don’t forget to save multiple copies and also download the project as local files, just in case it is deleted or ruined by accident.
-
@info-creaticode Thank you, I should do that.