Discuss Scratch

JockeySporta24
Scratcher
12 posts

Encode and Decode issues

https://scratch.mit.edu/projects/785937689/ in this project, im trying to make a Encode and decode thing where if you press request battle in menu, it will send it to the person online. I encode the separate stuff like the level, if the thing is competitive, and if you wanna preview the team the opponent has all join together, with spaces of course.then, it encodes the stuff, sets the cloud var to encoded, and it decodes the cloud var and adds it to a list. and if it detects your user, yeah, you get the request. the problem is, Everytime it encodes, the first 2 variables are set to 0, if anyone can check and seewhat the heck is going on, please lmk.

Powered by DjangoBB