Vln_

Well-Known Member
Game Developer
Dec 28, 2018
1,198
1,464
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.
 

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?
 

Vln_

Well-Known Member
Game Developer
Dec 28, 2018
1,198
1,464
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
 

BobZilla84

Newbie
Jul 18, 2024
93
61
Is there any chance Dominant will get capped to match the other skills at 100?Or is there going to be features that require more than 100?I can’t see there being new features being added that are solely reliant on just the Dominant skill imo.
 
3.60 star(s) 45 Votes