06.11.2014, 20:39
The Below code is wrong, so your loading the numbers wrong.
hID <- INT
intX <- Float
intY <- Float
intZ <- Float
exitX <- Float
exitY <- Float
exitZ <- Float
hOwner <- String
hWorld <- INT
hPrice <- INT
hIntID <- INT
hLocked <- INT
=
Код:
sscanf(Str, "p<|>is[128]s[24]ffffffiiii", hID, intX, intY, intZ, exitX, exitY, exitZ, hOwner, hWorld, hPrice, hIntID, hLocked);
intX <- Float
intY <- Float
intZ <- Float
exitX <- Float
exitY <- Float
exitZ <- Float
hOwner <- String
hWorld <- INT
hPrice <- INT
hIntID <- INT
hLocked <- INT
=
Код:
sscanf(Str, "p<|>iffffffs[24]iiii", hID, intX, intY, intZ, exitX, exitY, exitZ, hOwner, hWorld, hPrice, hIntID, hLocked);