silverroses1

New Member
Sep 25, 2020
8
0
You got that error because you pressed "Enter". Don't press "Enter", click "Active cheats" instead.
For detailed info see #5,098

Active cheats, ey? Should be "Activate cheats" but I guess the Dev doesn't care about spelling...
thank you been stressing over this as i am not good with code so thought i was messing up badly
 

Astercholik

Member
May 23, 2021
210
140
could you please port your file as it hard to find the code of the cheats?
keeps getting this error
Exactly as the colleague below wrote, this error pops up because you click ENTER instead of CLICKING THE BUTTON - I also get this error when I press ENTER.
1731317732952.png
click button
1731317788957.png
You got that error because you pressed "Enter". Don't press "Enter", click "Active cheats" instead.
For detailed info see #5,098

Active cheats, ey? Should be "Activate cheats" but I guess the Dev doesn't care about spelling...
 

Vln_

Well-Known Member
Game Developer
Dec 28, 2018
1,185
1,441
Vln_ You have some mistakes in your code. (You really should know this)
  1. A macro cannot have the HTML attribute "placeholder"
  2. A macro cannot have the HTML attribute "style"
Code as is:
HTML:
<<textbox  "_testcode" "" placeholder="Cheat code here"  style="background: rgb(85 85 129 / 25%);font-size: large;font-weight: 600;">>
but should be:
HTML:
<<textbox  "_testcode" "Cheat code here">>
Hence the reason people get an error when clicking the "Enter" key after entering a code because the macro takes the placeholder as the third argument. The "Enter" key should only work when a third argument is used.
e.g.
HTML:
<<textbox  "_testcode" "Cheat code here" "Passage-name">>
Arguments:
  • receiverName: The name of the variable to modify, which must be quoted—e.g., "$foo". Object and array property references are also supported—e.g., "$foo.bar", "$foo['bar']", & "$foo[0]". In this case "_testcode"
  • defaultValue: The default value of the text box. In this case "Cheat code here"
  • passage: (optional) The name of the passage to go to if the return/enter key is pressed. May be called either with the passage name or with a link markup.
If you'd like to add a placeholder and/or inline styling to the <<textbox>> macro you may want to use the <<attr>> and/or <<style>> macro, , however, the inline style is redundant since the <<textbox>> is already styled with CSS.
e.g.
HTML:
<<attr "placeholder" "Cheat code here">><<textbox  "_testcode" "">> <</attr>>
I did post this before but you either didn't notice or you simply don't care?
We are not getting any error when we enter the cheat codes? Also, I'm fully aware that textbox doesn't take those arguments, seems like a mistake from one of our team member. I'll make sure it gets removed in next update. Asked him to remove the "cheat code here" as the text because people would not understand that they need to remove it before entering the cheat code. And would just paste the cheat code after.

Also, when I don't notice your post or do not answer it, it's not that I don't care, we just get so many messages from different sources that sometimes I miss some of them. Will add a card to get it fixed on trello. We are always thankful to people who report problem and try to fix the issues in the game when we notice them.
 
  • Like
Reactions: GamerDaddy

Hitorigoto

New Member
Mar 5, 2024
8
21
Can we activate cheat code from the web?
You can activate the cheats in the web version via console when using a computer.

Phones, tablets etc. would need some special configuration to activate the browser console (you can easily find a how to guide Googeling it), but it's to cumbersome in my personal opinion.
 

angelsanddemons01

New Member
Aug 16, 2021
1
0
I had completed v150. I downloaded v151 and v152 updates, but when I open the game in both of them, the visuals do not appear. I am playing the game from the opera browser. How do I solve it?
 

Hitorigoto

New Member
Mar 5, 2024
8
21
Asked him to remove the "cheat code here" as the text because people would not understand that they need to remove it before entering the cheat code. And would just paste the cheat code after.
That's why I suggested you'd use Hituro's <<attr>> macro
e.g.
HTML:
<<attr "placeholder" "Cheat code here">><<textbox  "_testcode" "">> <</attr>>
That way you can add a placeholder that informs but is not a hindrance just like in an HTML input element :)
animation.gif
 

Vln_

Well-Known Member
Game Developer
Dec 28, 2018
1,185
1,441
That's why I suggested you'd use Hituro's <<attr>> macro
e.g.
HTML:
<<attr "placeholder" "Cheat code here">><<textbox  "_testcode" "">> <</attr>>
That way you can add a placeholder that informs but is not a hindrance just like in an HTML input element :)
View attachment 4223578
I added it on trello
chrome_jY5jvaDb08.png
 
3.60 star(s) 44 Votes