25.10.2013, 13:17
Код:
D:\LS-RP\gamemodes\LS-RP.pwn(23900 -- 24018) : fatal error 102: table overflow: "staging buffer"
Код:
SaveBusiness() { new szFileStr[1024], File: fHandle = fopen("business.cfg", io_write); for(new iIndex; iIndex < MAX_BUSINESS; iIndex++) { format(szFileStr, sizeof(szFileStr), "%d|%s|%s|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%f|%f|%f\r\n", BusinessInfo[iIndex][bOwned], BusinessInfo[iIndex][bOwner], BusinessInfo[iIndex][bMessage], BusinessInfo[iIndex][bExteriorX], BusinessInfo[iIndex][bExteriorY], BusinessInfo[iIndex][bExteriorZ], BusinessInfo[iIndex][bExteriorR], BusinessInfo[iIndex][bExteriorA], BusinessInfo[iIndex][bInteriorX], BusinessInfo[iIndex][bInteriorY], BusinessInfo[iIndex][bInteriorZ], BusinessInfo[iIndex][bInteriorR], BusinessInfo[iIndex][bInteriorA], BusinessInfo[iIndex][bLock], BusinessInfo[iIndex][bType], BusinessInfo[iIndex][bValue], BusinessInfo[iIndex][bSafeMoney], BusinessInfo[iIndex][bPot], BusinessInfo[iIndex][bCrack], BusinessInfo[iIndex][bMaterials], BusinessInfo[iIndex][bPickupID], BusinessInfo[iIndex][bCustomInterior], BusinessInfo[iIndex][bCustomExterior], BusinessInfo[iIndex][bInt], BusinessInfo[iIndex][bProductPrice1], BusinessInfo[iIndex][bProductPrice2], BusinessInfo[iIndex][bProductPrice3], BusinessInfo[iIndex][bProductPrice4], BusinessInfo[iIndex][bProductPrice5], BusinessInfo[iIndex][bProductPrice6], BusinessInfo[iIndex][bProductPrice7], BusinessInfo[iIndex][bProductPrice8], BusinessInfo[iIndex][bProductPrice9], BusinessInfo[iIndex][bProductPrice10], BusinessInfo[iIndex][bProductPrice11], BusinessInfo[iIndex][bProductPrice12], BusinessInfo[iIndex][bProductPrice13], BusinessInfo[iIndex][bProductPrice14], BusinessInfo[iIndex][bProductPrice15], BusinessInfo[iIndex][bProductPrice16], BusinessInfo[iIndex][bProductPrice17], BusinessInfo[iIndex][bProductPrice18], BusinessInfo[iIndex][bProductPrice19], BusinessInfo[iIndex][bProductPrice20], BusinessInfo[iIndex][bProductPrice21], BusinessInfo[iIndex][bProductPrice22], BusinessInfo[iIndex][bProductPrice23], BusinessInfo[iIndex][bProductPrice24], BusinessInfo[iIndex][bProductPrice25], BusinessInfo[iIndex][bProductPrice26], BusinessInfo[iIndex][bProductPrice27], BusinessInfo[iIndex][bProductPrice28], BusinessInfo[iIndex][bProductPrice29], BusinessInfo[iIndex][bProductPrice30], BusinessInfo[iIndex][bProductPrice31], BusinessInfo[iIndex][bProductPrice32], BusinessInfo[iIndex][bProductPrice33], BusinessInfo[iIndex][bProductPrice34], BusinessInfo[iIndex][bProductPrice35], BusinessInfo[iIndex][bProductPrice36], BusinessInfo[iIndex][bProductPrice37], BusinessInfo[iIndex][bProductPrice38], BusinessInfo[iIndex][bProductPrice39], BusinessInfo[iIndex][bProductPrice40], BusinessInfo[iIndex][bProductPrice41], BusinessInfo[iIndex][bProductPrice42], BusinessInfo[iIndex][bProductPrice43], BusinessInfo[iIndex][bProductPrice44], BusinessInfo[iIndex][bProductPrice45], BusinessInfo[iIndex][bProductPrice46], BusinessInfo[iIndex][bProductPrice47], BusinessInfo[iIndex][bProductPrice48], BusinessInfo[iIndex][bProductPrice49], BusinessInfo[iIndex][bProductPrice50], BusinessInfo[iIndex][bProducts1], BusinessInfo[iIndex][bProducts2], BusinessInfo[iIndex][bProducts3], BusinessInfo[iIndex][bProducts4], BusinessInfo[iIndex][bProducts5], BusinessInfo[iIndex][bProducts6], BusinessInfo[iIndex][bProducts7], BusinessInfo[iIndex][bProducts8], BusinessInfo[iIndex][bProducts9], BusinessInfo[iIndex][bProducts10], BusinessInfo[iIndex][bProducts11], BusinessInfo[iIndex][bProducts12], BusinessInfo[iIndex][bProducts13], BusinessInfo[iIndex][bProducts14], BusinessInfo[iIndex][bProducts15], BusinessInfo[iIndex][bProducts16], BusinessInfo[iIndex][bProducts17], BusinessInfo[iIndex][bProducts18], BusinessInfo[iIndex][bProducts19], BusinessInfo[iIndex][bProducts20], BusinessInfo[iIndex][bProducts21], BusinessInfo[iIndex][bProducts22], BusinessInfo[iIndex][bProducts23], BusinessInfo[iIndex][bProducts24], BusinessInfo[iIndex][bProducts25], BusinessInfo[iIndex][bProducts26], BusinessInfo[iIndex][bProducts27], BusinessInfo[iIndex][bProducts28], BusinessInfo[iIndex][bProducts29], BusinessInfo[iIndex][bProducts30], BusinessInfo[iIndex][bProducts31], BusinessInfo[iIndex][bProducts32], BusinessInfo[iIndex][bProducts33], BusinessInfo[iIndex][bProducts34], BusinessInfo[iIndex][bProducts35], BusinessInfo[iIndex][bProducts36], BusinessInfo[iIndex][bProducts37], BusinessInfo[iIndex][bProducts38], BusinessInfo[iIndex][bProducts39], BusinessInfo[iIndex][bProducts40], BusinessInfo[iIndex][bProducts41], BusinessInfo[iIndex][bProducts42], BusinessInfo[iIndex][bProducts43], BusinessInfo[iIndex][bProducts44], BusinessInfo[iIndex][bProducts45], BusinessInfo[iIndex][bProducts46], BusinessInfo[iIndex][bProducts47], BusinessInfo[iIndex][bProducts48], BusinessInfo[iIndex][bProducts49], BusinessInfo[iIndex][bProducts50], BusinessInfo[iIndex][pExteriorX], BusinessInfo[iIndex][pExteriorY], BusinessInfo[iIndex][pExteriorZ] ); fwrite(fHandle, szFileStr); } return fclose(fHandle); }