X Tutup

Timtrack

Regular
Regular
Joined
May 24, 2014
Messages
323
Reaction score
275
First Language
French
Primarily Uses
RMVXA
Hello, I've been encountering this issue for a while, whenever I code, I sometimes run into runtime errors because some whitespace character is interpreted as something else, I get errors like:
NameError: undefined local variable or method ` ' for #<Scene_TBS_Battle:0xd011f00>.
It sometimes invalidates a method name by not recognizing ` method' or a few times `method '(though I'm less sure about this error).

I'm using Windows 10 and my keyboard is CMS (Canadian Multilingual Standard), I suspect I sometimes press the wrong key and that leads to a dead key that would be invisible in the editor.
Do you know of a way of detecting those dead keys or maybe the issue is something else?
 

Roninator2

Gamer
Regular
Joined
May 22, 2016
Messages
6,162
Reaction score
1,981
First Language
English
Primarily Uses
RMVXA
I can't help you, but I noticed errors when I used google translate on some scripts and when pasted into the editor it sees the whitespace in front as invalid characters. When i delete them and use space bar then it works fine.
So that's similar to what you are doing.
 

Latest Threads

Latest Profile Posts

Twitch stream is live with Resident Evil 9! Feel free to drop by!
1000207302.png
All of the skill/system icons: Done
Pepper hopped up on my bed to snuggle earlier... and now there's grains of kitty litter all over the foot of my bed. Now she's in her own bed fast asleep. Sometimes, I like to wonder what Pepper dreams about... does she dream of chasing her toys? Pouncing on the lizards she sees on her patio? Purring in a sunny window? Receiving pets and scritchies?
Oh no... she's back in my bed.
Really interesting seeing the public be so okay with the placeholder art in Slay the Spire 2. I guess they trust in the potential of the final product, but it would be cool if the general consumer had a better understanding of dev pipelines.
Haven't updated my status in awhile. I'm taking a short break from working on my game because I have a sliiiight burnout,,

Forum statistics

Threads
154,253
Messages
1,407,562
Members
209,652
Latest member
SoapH
Top
X Tutup