20.09.2012, 12:27
Last week I come across a very large and troublesome problem.
![](http://s2.ipicture.ru/uploads/20120920/LSpDr3rV.png)
As seen in the screenshot, the game is something insane. This happens at a connection and after death. Background flashes with very frequent intervals: it is white, then yellow, then black.
P.S. The world boundaries are not.
If commenting out this code, all works correctly.
Sorry for my bed English.
![](http://s2.ipicture.ru/uploads/20120920/LSpDr3rV.png)
As seen in the screenshot, the game is something insane. This happens at a connection and after death. Background flashes with very frequent intervals: it is white, then yellow, then black.
P.S. The world boundaries are not.
Код:
enum THING_INFO { T_TITLE[ 64 ], T_TYPE, Float:T_WEIGHT, T_PRICE_MONEY, T_PRICE_AMMO, T_DESCRIP[ 256 ], T_MAXIMUM }; <..> new result[ 192 ], itmp; if( database_get_data( "things_data", "*", "" ) ) { new stmp[ 256 ]; while( mysql_fetch_row_format( result, "|" ) ) { mysql_get_field( "id", stmp ); itmp = strval( stmp ); mysql_get_field( "title", stmp ); thingData[ itmp ][ T_TITLE ] = stmp; mysql_get_field( "type", stmp ); thingData[ itmp ][ T_TYPE ] = strval( stmp ); mysql_get_field( "weight", stmp ); thingData[ itmp ][ T_WEIGHT ] = floatstr( stmp ); mysql_get_field( "price_of_money", stmp ); thingData[ itmp ][ T_PRICE_MONEY ] = strval( stmp ); mysql_get_field( "price_of_ammo", stmp ); thingData[ itmp ][ T_PRICE_AMMO ] = strval( stmp ); mysql_get_field( "descrip", stmp ); thingData[ itmp ][ T_DESCRIP ] = stmp; count++; } }
Sorry for my bed English.
![Smiley](images/smilies/smile.png)