You should slow it down a little… Adding a timer and multiplying by it every frame and setting it to zero again will make the script run at the same speed on any machine…However, I have no idea what to multiply to slow it down…
Warning: mysql_connect(): Host ‘70.85.159.106’ is blocked because of many connection errors. Unblock with ‘mysqladmin flush-hosts’ in /home/savefile/include/db.php on line 5
No Database Selected
OK. Now i too get
Warning: mysql_connect(): Lost connection to MySQL server during query in /home/savefile/include/db.php on line 5
No Database Selected
The water script works with a grid of verticies that directly corrispond to 3 global arrays/matricies. Edit the value of a row/collumn and you change the hieght of the vertex that corrisponds that row/collumn. The 3 arrays are past, now, and future(P,N, and F). There is then an equation that figures the next hieght of the vertices based on thier neightbors and thier past hieght. These values are then stores it in the future array. The arrays are then updated(now values are stored in past and future into now). The vertex grid is then updated to the now array.
The thing I am working on now is how do slow it down…
Any suggestions?