PDA

View Full Version : Weird bug, anyone know how to fix it


LiamM
02/01/2012, 02:38 PM
Hey guys well I have a dynamic org system but i've noticed after a server restart the dynamic CP seems to have moved a little bit to the left, and it keeps moving and moving after a restart... Any idea?

silvan
02/01/2012, 03:05 PM
erm you mean a web-based CP ? can you write more details, because its not so clear.or you mean something In-game?

LiamM
02/01/2012, 03:26 PM
I mean ingame, CP being checkpoint. On restarting the server the checkpoints move slightly to the left... its weird.

silvan
02/01/2012, 03:28 PM
check that the cordinates are being provided accordingly well. Maybe you're getting the checkpoint cordinates from a database? that could make database especially SQL make sure it got Float as format of the field. otherwise its gonna mix your cordinates a bit. If its pawno i dunno i never had this problem :/ maybe if you post the code its more helpful for ya....

LiamM
02/01/2012, 03:43 PM
I think you've fixed it bro! The mysql field was set as VarChar for some reason... Can't remember doing that, but cheers bro! Don't know if its fixed but i'm sure it probably will be. Rep + :)

LiamM
02/01/2012, 04:00 PM
Note: Didn't fix it nothing wrong in pawn. Guess i'll have to deal with it, thanks for helping anyway

silvan
03/01/2012, 07:37 PM
np :) maybe it wasn't it but once i had the same problem and it gave me the same errors.


EDIT: btw, i forgot to tell you make sure to set it as FLOAT and 4 decimal places and 4 places before the decimal i forgot exactly how to do it thou xD althou i had to do it too when it was giving me errors.