I am charging 25 "cents" to play tetris
when you have 1000 "cents" it says you do not have enough to play
when will this be fixed and how can we identify what version we have and how to upgrade

Code: Select all
Hey! you dont have enough tokens!
This game requires 2 Tokens.
You currently have 15, come back when u have more.
NuKeCoDeR wrote: Anytime I put the cost (Tokens) above 1 it doesn't let anyone play. Even If they have enough tokens.
Are there any fixes for this?Code: Select all
Hey! you dont have enough tokens! This game requires 2 Tokens. You currently have 15, come back when u have more.
Acecool wrote: Ok Ive found this bug
I am charging 25 "cents" to play tetris
when you have 1000 "cents" it says you do not have enough to play
when will this be fixed and how can we identify what version we have and how to upgrade![]()
melindeth wrote: Kudos to Napoleon for taking time out and chasing down each and every bug! He didn't have to but he visited my website regularly and found the bug and PMed me the fix. (a simple one that I should have looked for but didn't). It's people like him that make phpbb the best forum one can use!
NuKeCoDeR & Iron-Money wrote:Code: Select all
Hey! you dont have enough tokens! This game requires 2 Tokens. You currently have 15, come back when u have more.
NuKeCoDeR wrote: 1. It there anyway I could create a Pause button, or a key?
NuKeCoDeR wrote: 2. Users are getting tokens without even getting a highscore, they just play and get 100's of tokens! I've got one user with over 1,000 tokens???
Napoleon wrote:NuKeCoDeR & Iron-Money wrote:Code: Select all
Hey! you dont have enough tokens! This game requires 2 Tokens. You currently have 15, come back when u have more.
The fix for this is here, and now its also in the first post.
Acecool wrote: Hey should I release the gray borders?
I can make a few dif colors for ppl if they want, napolean maybe then u could release with the modwith a color selector and style selector in the main thing
TStodden wrote: I tested it out on someone's board & I was wondering if it can get the game modified to conform to regulation Tetris playfields which are (W x H):
10 x 20 Standard (like Nintendo / PC)
8 x 16 Compact (like Gameboy / PDA)
Code: Select all
b = new Array();
for (var i=0; i<=25; i++)
{
b[i] = new Array();
for (var j=0; j<16; j++)
{
b[i][j] = 0;
}
}
for (var i=0;i<=25;i++)
{
b[i][0] = 1;
b[i][1] = 1;
b[i][14] = 1;
b[i][15] = 1;
}
for (var j=0;j<=15;j++)
{
b[0][j] = 1;
b[1][j] = 1;
b[23][j] = 1;
b[24][j] = 1;
b[25][j] = 1;
}