MySQL error undefined symbol
#1

Tried, R41,R39,R5,R6,7, Includes/plugins didnt helped were is the problem?
Код:
 includes\../data/namusistema.pwn(802) : error 017: undefined symbol "cache_get_field_content_int"
 includes\../data/namusistema.pwn(803) : error 017: undefined symbol "cache_get_field_content"
 includes\../data/namusistema.pwn(803) : warning 215: expression has no effect
 includes\../data/namusistema.pwn(803) : error 001: expected token: ";", but found ")"
 includes\../data/namusistema.pwn(803) : error 029: invalid expression, assumed zero
 includes\../data/namusistema.pwn(803) : fatal error 107: too many error messages on one line

Код:
public LoadHouses()
{
	new rows = cache_num_rows();
 	if(rows)
  	{
   		new id, loaded, for_sale, label[256];
		while(loaded < rows)
		{ 
  			id = cache_get_field_content_int(loaded, "ID"); // 802 line
	    	cache_get_field_content(loaded, "HouseName", HouseData[id][Name], .max_len = MAX_HOUSE_NAME);   // 803 line
		    cache_get_field_content(loaded, "HouseOwner", HouseData[id][Owner], .max_len = MAX_PLAYER_NAME);
		    cache_get_field_content(loaded, "HousePassword", HouseData[id][Password], .max_len = MAX_HOUSE_PASSWORD);
		    HouseData[id][houseX] = cache_get_field_content_float(loaded, "HouseX");
		    HouseData[id][houseY] = cache_get_field_content_float(loaded, "HouseY");
		    HouseData[id][houseZ] = cache_get_field_content_float(loaded, "HouseZ");
		    HouseData[id][Price] = cache_get_field_content_int(loaded, "HousePrice");
		    HouseData[id][SalePrice] = cache_get_field_content_int(loaded, "HouseSalePrice");
		    HouseData[id][Interior] = cache_get_field_content_int(loaded, "HouseInterior");
		    HouseData[id][LockMode] = cache_get_field_content_int(loaded, "HouseLock");
		    HouseData[id][SafeMoney] = cache_get_field_content_int(loaded, "HouseMoney");
		    HouseData[id][LastEntered] = cache_get_field_content_int(loaded, "LastEntered");
			format(HouseData[id][Address], MAX_HOUSE_ADDRESS, "%d, %s, %s", id, GetZoneName(HouseData[id][houseX], HouseData[id][houseY], HouseData[id][houseZ]), GetCityName(HouseData[id][houseX], HouseData[id][houseY], HouseData[id][houseZ]));

	        if(strcmp(HouseData[id][Owner], "-")) {
	            if(HouseData[id][SalePrice] > 0) {
	                for_sale = 1;
				    format(label, sizeof(label), "{E67E22}%s's House For Sale (ID: %d)\n{FFFFFF}%s\n{FFFFFF}%s\n{F1C40F}Price: {2ECC71}$%s", HouseData[id][Owner], id, HouseData[id][Name], HouseInteriors[ HouseData[id][Interior] ][IntName], convertNumber(HouseData[id][SalePrice]));
				}else{
				    for_sale = 0;
					format(label, sizeof(label), "{E67E22}%s's House (ID: %d)\n{FFFFFF}%s\n{FFFFFF}%s\n%s\n{FFFFFF}%s", HouseData[id][Owner], id, HouseData[id][Name], HouseInteriors[ HouseData[id][Interior] ][IntName], LockNames[ HouseData[id][LockMode] ], HouseData[id][Address]);
				}
			}else{
			    for_sale = 1;
         		format(label, sizeof(label), "{2ECC71}House For Sale (ID: %d)\n{FFFFFF}%s\n{F1C40F}Price: {2ECC71}$%s", id, HouseInteriors[ HouseData[id][Interior] ][IntName], convertNumber(HouseData[id][Price]));
	        }

			HouseData[id][HousePickup] = CreateDynamicPickup((!for_sale) ? 19522 : 1273, 1, HouseData[id][houseX], HouseData[id][houseY], HouseData[id][houseZ]);
			HouseData[id][HouseIcon] = CreateDynamicMapIcon(HouseData[id][houseX], HouseData[id][houseY], HouseData[id][houseZ], (!for_sale) ? 32 : 31, 0);
			HouseData[id][HouseLabel] = CreateDynamic3DTextLabel(label, 0xFFFFFFFF, HouseData[id][houseX], HouseData[id][houseY], HouseData[id][houseZ]+0.35, 15.0, .testlos = 1);
			Iter_Add(Houses, id);
		    loaded++;
	    }

	    printf(" [House System] Loaded %d houses.", loaded);
	}

	return 1;
}
Reply
#2

That's why copy-paste doesn't work always. I think its R39(try out different releases of R39)
Reply
#3

Quote:
Originally Posted by Debjit
Посмотреть сообщение
That's why copy-paste doesn't work always. I think its R39(try out different releases of R39)
tried all of them
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)