Loading Objects
#1

Hello sa-mp comunity. I need your help with a furniture system. I don't understoode why my furniture system don't load complety the object. I'ill explain with more details the problem. My furniture system is based on MYSQL and all objects are insert and loaded from the database. When the server is online and i use the furniture system works fine, objects are load and is good all, but when i restart the server, objects don't load complety, they are transparently..

Images:
Before the restart: http://imgur.com/5EURq4l
After the restart: http://imgur.com/a/Eppet


Code for Load
Код:
public OnFurnituresLoad(houseid)
{
    new rows, fields;
	new total = 0;
    cache_get_data(rows, fields);
    if(rows)
    {
		while(total < rows)
		{
			FurnitureInfo[houseid][total][fID] = cache_get_row_int(total, 0);
			FurnitureInfo[houseid][total][fModel] = cache_get_row_int(total, 1);
			cache_get_row(total, 2, FurnitureInfo[houseid][total][fName], dbHandle, 128);
			FurnitureInfo[houseid][total][fHouseID] = houseid;
			FurnitureInfo[houseid][total][fInterior] = cache_get_row_int(total, 4);
			FurnitureInfo[houseid][total][fVirtualWorld] = cache_get_row_int(total, 5);
			FurnitureInfo[houseid][total][fMarketPrice] = cache_get_row_int(total, 6);
			FurnitureInfo[houseid][total][fPosX] = cache_get_row_float(total, 7);
			FurnitureInfo[houseid][total][fPosY] = cache_get_row_float(total, 8);
			FurnitureInfo[houseid][total][fPosZ] = cache_get_row_float(total, 9);
			FurnitureInfo[houseid][total][fPosRX] = cache_get_row_float(total, 10);
			FurnitureInfo[houseid][total][fPosRY] = cache_get_row_float(total, 11);
			FurnitureInfo[houseid][total][fPosRZ] = cache_get_row_float(total, 12);
			FurnitureInfo[houseid][total][fMode] = cache_get_row_int(total, 15);
            cache_get_row(total, 16, FurnitureInfo[houseid][total][fTxd], dbHandle, 128);
            cache_get_row(total, 17, FurnitureInfo[houseid][total][fTexture], dbHandle, 128);
			FurnitureInfo[houseid][total][fOn] = 1;
			FurnitureInfo[houseid][total][fObject] = CreateDynamicObject(FurnitureInfo[houseid][total][fModel], FurnitureInfo[houseid][total][fPosX], FurnitureInfo[houseid][total][fPosY], FurnitureInfo[houseid][total][fPosZ], FurnitureInfo[houseid][total][fPosRX], FurnitureInfo[houseid][total][fPosRY], FurnitureInfo[houseid][total][fPosRZ], FurnitureInfo[houseid][total][fVirtualWorld], FurnitureInfo[houseid][total][fInterior], -1, 200.0);
			SetDynamicObjectMaterial(FurnitureInfo[houseid][total][fObject], 0, FurnitureInfo[houseid][total][fMode], FurnitureInfo[houseid][total][fTxd], FurnitureInfo[houseid][total][fTexture], 0);
			if(isHouseDoor(FurnitureInfo[houseid][total][fModel]))
			{
				FurnitureInfo[houseid][total][fLocked] = 1;
				FurnitureInfo[houseid][total][fOpened] = 0;
			}
			total++;
		}
    }
    return 1;
}
When you bought an item
Код:
			if(GetCash(playerid) < GetIntVar(playerid, "FurniturePriceBuying")) return NoCashMSG(playerid);
			GiveCash(playerid, -GetIntVar(playerid, "FurniturePriceBuying"));
			format(msg, sizeof(msg), "You have bought a {00FF00}%s{FFFFFF}, for ${00FF00}%d{FFFFFF}.", GetStringVar(playerid, "FurnitureNameBuying"), GetIntVar(playerid, "FurniturePriceBuying"));
			ServerMSG(playerid, msg);
			ServerMSG(playerid, "You may press {FFFF00}ESC{FFFFFF} if you want to cancel the purchase");
			PutPlayer(playerid, x, y, z+1);
			FurnitureInfo[houseid][i][fObject] = CreateDynamicObject(GetIntVar(playerid, "FurnitureModelBuying"), x, y, z-1, 0.0, 0.0, 0.0, GetWorld(playerid), GetInterior(playerid), -1, 200.0);
			HouseInfo[houseid][hFurnitures] += 1;
			SetIntVar(playerid, "JustBoughtFurniture", 1);
			SetIntVar(playerid, "ChosenFurnitureSlot", i);
			EditDynamicObject(playerid, FurnitureInfo[houseid][i][fObject]);
			UpdateHouseInfo(houseid);
			OnPlayerBuyFurniture(houseid, GetInterior(playerid), GetWorld(playerid), i, GetIntVar(playerid, "FurnitureModelBuying"), GetIntVar(playerid, "FurniturePriceBuying"), GetStringVar(playerid, "FurnitureNameBuying"), x, y, z);
Код:
stock OnPlayerBuyFurniture(houseid, interior, world, furnitureslot, model, price, name[], Float:x, Float:y, Float:z)
{
	format(query, sizeof(query), "INSERT INTO `furnitures` (model, name, houseid, interior, virworld, marketprice, posx, posy, posz) VALUES (%d, '%s', %d, %d, %d, %d, %f, %f, %f)",
	model, name, HouseInfo[houseid][hID], interior, world, price, x, y ,z);
	mysql_function_query(dbHandle, query, true, "OnFurnitureInsert", "iiiiiis[128]fff", houseid, interior, world, furnitureslot, model, price, name, x, y, z);
	return 1;
}
Thank you for help and sorry for my bad english.
Reply
#2

Someone, please? UP
Reply
#3

pawn Код:
//line before this:
SetDynamicObjectMaterial(FurnitureInfo[houseid][total][fObject], 0, FurnitureInfo[houseid][total][fMode], FurnitureInfo[houseid][total][fTxd], FurnitureInfo[houseid][total][fTexture], 0);
//add this
printf("Object: %d, mode %d, Txd %d, texture %d", FurnitureInfo[houseid][total][fObject], FurnitureInfo[houseid][total][fMode], FurnitureInfo[houseid][total][fTxd], FurnitureInfo[houseid][total][fTexture]);
Then run the server and look at server_log, you'll have all your texture data, maybe you'll see something interesting there.

My wild guess is this:
pawn Код:
FurnitureInfo[houseid][total][fPosRZ] = cache_get_row_float(total, 12);
FurnitureInfo[houseid][total][fMode] = cache_get_row_int(total, 15);
You suddenly jump from 12 to 15 - what about 13 and 14? Check your mysql_log, you might have there a warning about selecting nonexistent field, that would confirm my suspicions.
Reply
#4

Nvm.
Reply
#5

Server_log
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[12:35:00] filterscripts = ""  (string)
[12:35:00] 
[12:35:00] Server Plugins
[12:35:00] --------------
[12:35:00]  Loading plugin: mysql
[12:35:00] plugin.mysql: R20 successfully loaded.
[12:35:00]   Loaded.
[12:35:00]  Loading plugin: streamer
[12:35:00] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[12:35:00]   Loaded.
[12:35:00]  Loading plugin: sscanf
[12:35:00] 

[12:35:00]  ===============================

[12:35:00]       sscanf plugin loaded.     

[12:35:00]    © 2009 Alex "******" Cole

[12:35:00]    0.3d-R2 500 Players "dnee"

[12:35:00]  ===============================

[12:35:00]   Loaded.
[12:35:00]  Loading plugin: audio
[12:35:01] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[12:35:01]   Loaded.
[12:35:01]  Loading plugin: Whirlpool
[12:35:01]   Failed.
[12:35:01]  Loading plugin: itd
[12:35:01] 
* iTD Plugin loaded. (Support for textdraw editor mouse/keyboard)

[12:35:01]   Loaded.
[12:35:01]  Loaded 5 plugins.

[12:35:01] 
[12:35:01] Ban list
[12:35:01] --------
[12:35:01]  Loaded: samp.ban
[12:35:01] 
[12:35:01] 
[12:35:01] Filterscripts
[12:35:01] ---------------
[12:35:01]   Loaded 0 filterscripts.

[12:35:01] OnGameo
[12:35:01]  
[12:35:01]  
[12:35:01]  
[12:35:01]  ======================================= 
[12:35:01]  |                                     | 
[12:35:01]  |        YSI version 3.09.0684        | 
[12:35:01]  |        By Alex "******" Cole        | 
[12:35:01]  |                                     | 
[12:35:01]  ======================================= 
[12:35:01]  
[12:35:01] Conectat la 93.119.26.250. Username: zp_hid12210
[12:35:01] 
----------------------------------
[12:35:01]  INO:RP Gamemode Revision v1.0.0
[12:35:01] ----------------------------------

[12:35:01] Number of vehicle models: 0
[12:35:01] Loaded 18 labels from MySQL.
[12:35:01] Loaded 13 doors from MySQL.
[12:35:01] Loaded 14 faction doors from MySQL.
[12:35:01] Loaded 6 dynamic gates from MySQL.
[12:35:01] Loaded 21 ATM's from MySQL.
[12:35:01] Loaded 41 admin teleports from MySQL.
[12:35:01] Loaded 304 dynamic objects from MySQL.
[12:35:01] Loaded 1 dynamic infos from MySQL.
[12:35:01] Loaded 16 dynamic gas stations from MySQL.
[12:35:01] Loaded 1 dynamic banks from MySQL.
[12:35:01] Loaded 103 dynamic vehicles from MySQL.
[12:35:01] Loaded 599 dynamic houses from MySQL.
[12:35:01] Loaded 4 dynamic complexs from MySQL.
[12:35:01] Loaded 44 dynamic apartments from MySQL.
[12:35:01] Loaded 29 dynamic businesses from MySQL.
[12:35:01] Loaded 7 dynamic food stands from MySQL.
[12:35:01] Loaded 7 dynamic park meters from MySQL.
[12:35:01] Loaded 0 APB's from MySQL.
[12:35:01] Loaded 6 dynamic factions from MySQL.
[12:35:01] Loaded 5 dynamic jobs from MySQL.
[12:35:01] Loaded 3 player radios from MySQL.
[12:35:01] Loaded 28 dynamic movable doors from MySQL.
[12:35:01] Loaded 5 dynamic CCTV's from MySQL.
[12:35:01] Loaded 1 dynamic dealerships from MySQL.
[12:35:01] Loaded 0 plants from MySQL.
[12:35:01] Loaded 8 actors from MySQL.
[12:35:01] Object: 5774, mode 0, Txd 78, texture 78
Mysql_log
Код:
[12:35:01] [INFO] Now logging: errors
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
[12:35:01] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.
EDIT: There is the structure : http://prntscr.com/cgbtq7
Reply
#6

T/C You have right. The problem was there
FurnitureInfo[houseid][total][fMode]
SetDynamicObjectMaterial(FurnitureInfo[houseid][total][fObject], 0, FurnitureInfo[houseid][total][fMode], FurnitureInfo[houseid][total][fTxd], FurnitureInfo[houseid][total][fTexture], 0);

Thank you for help. +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)