I’m having trouble with my first update to my COGdemo WIP. CoGDemos
The error I’m getting is: It is working just fine in CSIDE. But when I made my first monthly update to COGdemo, adding in my new files and uploading the modified ones, I get:
choicescript_stats line 1: Non-existent variable ‘energy’
Energy is created at in my Startup file. And it is the first variable looked at in the choicescript_stats.txt.
So whenever I load the game, and click on Show Stats, it breaks. It ALSO broke in the same way for me when I went from the first to the second chapter - but my friend did not have that problem. ???
Anything non-obvious here? I also tried deleting those two files and uploading them from scratch. No dice.
If you already have opened the link to the game before, most probably the browser holds a copy of the files locally, so when you update new files on the site, sometimes the browser doesn’t update the files of the playtest and then you get problems.
Most times you can solve those issues with a hard refresh (usually control + F5, it depends on the browser I guess, I don’t know them all) You can also check the scenes to see if what you’re looking at is the last ones you uploaded.
Go to the uploaded files and check they are okay and that the server has the ones that you meant to upload. If the command is there and the image is uploaded, then it should work.
Otherwise, I don’t know. I’ve had a few problems with that site also, but my problem was with achievements, and usually it fixes by doing the hard refresh.
@Loudbeat Ah! I see now I can download to view - that is what I missed, but now I can debug. Thank you!
So consistently the image is fine before I upload it but once I upload it, then view it, it has Zero bytes. Any thoughts on what might be messing up the upload?
Not a limit, but if something goes too slow or there is some disturbance in between it can triggrt a timed out or something. I don’t know, I’m just guessing, but many things can happen. About naming I don’t know, that’s server dependent, but maybe some symbols or weird thing might cause problems (though I doubt it is that).
Try changing the browser or converting the image or open it and save it with another program, those things can make weird sh#t with files.
I believe there’s some limitations on how big the total size of files in the game can be for published games (because the download can’t get too big), but don’t quote me on that.