11
yyvonne
Re: Milliseconds in flashgames
  • 2009/1/13 6:22

  • yyvonne

  • Just popping in

  • Posts: 38

  • Since: 2008/4/4 2


Doesn't work. Same error.

"Invalid default value for 'res_x'"

12
ghia
Re: res_x error at install flashgames
  • 2009/1/13 9:57

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try with:
res_x int(11NOT NULL default 0,
res_y int(11NOT NULL default 0,
or even no default clause at all:
res_x int(11NOT NULL,
res_y int(11NOT NULL,


For the milisecond issue, the point is: Is the flash game itself returning such division? So, what is in the score?

13
yyvonne
Re: Milliseconds in flashgames
  • 2009/1/13 10:32

  • yyvonne

  • Just popping in

  • Posts: 38

  • Since: 2008/4/4 2


I don't think the problem is in the mysql.sql file. I tried to install again by removing the 2 lines:

res_x int(11) NOT NULL default 0,
res_y int(11) NOT NULL default 0,

Still prompt me with the same error.

"Invalid default value for 'res_x'"

14
ghia
Re: res_x error at install flashgames
  • 2009/1/13 10:38

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You are sure to have modified the right file (the one on your server used for the install) and/or to have covered all occurences of res_x?

15
yyvonne
Re: Milliseconds in flashgames
  • 2009/1/13 10:47

  • yyvonne

  • Just popping in

  • Posts: 38

  • Since: 2008/4/4 2


Yes, there's only one mysql.sql file, and it is at flashgames/sql/mysql.sql

16
Alex_Grey
Re: Milliseconds in flashgames
  • 2009/1/13 22:05

  • Alex_Grey

  • Just popping in

  • Posts: 43

  • Since: 2007/6/16


i do not believe strtotime supports milliseconds.

Quote:

trabis wrote:
What is the value of $score in the beginning?

i would also like to know.
“There is nothing impossible to him who will try.” ~Alex The Great~
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

17
ghia
Re: res_x error at install flashgames
  • 2009/1/14 7:53

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
Yes, there's only one mysql.sql file, and it is at flashgames/sql/mysql.sql
Shouldn't it be /modules/flashgames/sql/mysql.sql?

If you deleted the two definitions, how can it give an error during install on this non-existing field? My only conclusion is you are editing at the wrong place.

18
ghia
Re: Milliseconds in flashgames
  • 2009/1/14 7:58

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
i do not believe strtotime supports milliseconds.
No, it doesn't.
Quote:
Quote:
trabis wrote:
What is the value of $score in the beginning?

i would also like to know.
If you have the module, try it out!
If you have the Flash source code of the game, you can see it.

19
yyvonne
Re: Milliseconds in flashgames
  • 2009/1/14 9:35

  • yyvonne

  • Just popping in

  • Posts: 38

  • Since: 2008/4/4 2


I have successfully installed the module!

But are all the games need to pay? No free games?

20
ghia
Re: Milliseconds in flashgames
  • 2009/1/14 10:07

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Maybe PacMan, or some of these?

Login

Who's Online

365 user(s) are online (257 user(s) are browsing Support Forums)


Members: 0


Guests: 365


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits