Random spawn
#10
@Lain, your code will probably not work properly. GetUniqueID() returns an ID that is only guaranteed to be unique in the current Cuberite session, there's no guarantee that the player will receive the same ID when they log out and in again (most likely they will not get the same ID). Your DB should store the player's UUID (cPlayer:GetUUID()) instead.
Reply
Thanks given by:


Messages In This Thread
Random spawn - by Boo - 04-16-2015, 06:12 PM
RE: Random spawn - by xoft - 04-16-2015, 06:35 PM
RE: Random spawn - by Boo - 04-16-2015, 07:06 PM
RE: Random spawn - by Boo - 04-19-2015, 07:41 PM
RE: Random spawn - by Schwertspize - 11-30-2015, 11:43 PM
RE: Random spawn - by NiLSPACE - 12-01-2015, 12:15 AM
RE: Random spawn - by LogicParrot - 12-01-2015, 02:13 AM
RE: Random spawn - by the1robert - 03-30-2018, 03:50 PM
RE: Random spawn - by Lain - 08-04-2019, 06:55 AM
RE: Random spawn - by xoft - 08-04-2019, 07:04 AM
RE: Random spawn - by Lain - 08-04-2019, 07:16 AM



Users browsing this thread: 1 Guest(s)