Quarterbreed
Well-Known Member
ERROR 1366 (HY00) at line 1 : Incorrect decimal valuse: ' ' for colume ' ' at row -1
what do i need to fix in my DB for this to stop happening
what do i need to fix in my DB for this to stop happening
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
ERROR 1366 (HY00) at line 1 : Incorrect decimal valuse: ' ' for colume ' ' at row -1
what do i need to fix in my DB for this to stop happening
Cause it just sucks to join my servee to find my tents gone and vehicles one that i worked on to repair
they dont go missing until this error happens, sucks theres no perm fix..I'm not sure how you mean this error and your missing tents and vehicle are related. This error doesn't delete items from your object_data file. If your objects are disappearing, that's another issue altogether.
BEGIN
DECLARE iSpawnNumVeh SMALLINT(3) DEFAULT 20;
CALL pCleanup();
CALL pFixMaxNum;
SELECT SUM(MaxNum) FROM object_classes INTO @iMaxNumTotal;
IF (iSpawnNumVeh > @iMaxNumTotal) THEN
SET iSpawnNumVeh = @iMaxNumTotal;
END IF;
WHILE (fGetVehCount() < iSpawnNumVeh) DO
CALL pSpawn();
END WHILE;
END
I had this problem many times. The problem will disappear by overwriting pMain function in Navicat. Just copy the original syntax of pMain function
, paste it into the SQL Server database, and save.Code:BEGIN DECLARE iSpawnNumVeh SMALLINT(3) DEFAULT 20; CALL pCleanup(); CALL pFixMaxNum; SELECT SUM(MaxNum) FROM object_classes INTO @iMaxNumTotal; IF (iSpawnNumVeh > @iMaxNumTotal) THEN SET iSpawnNumVeh = @iMaxNumTotal; END IF; WHILE (fGetVehCount() < iSpawnNumVeh) DO CALL pSpawn(); END WHILE; END
Sorry for my bad English
im trying this now.. ill let ya know how it goespMain cleans up destroyed vehicles and other things and spawns new vehicles etc.
Try this:
Open Navicat and go into the database.
In the left hand column right click object_data and click Design Table
On the inventory line change the length column from 999 to 2048
Save and exit
See if that helps.
so if i remove the skoda and replaced itwith a diff vehicle i shouldnt get this errorI have found that this is usually caused by the % sign after a vehicle class. This for instance is used for the Skoda to indicate that it should spawn the Skoda in a random color. Everytime I have run into this problem, I delete the line for Skoda% from the table and replace it with a specific line for each Skoda color.