RCON - Give Rank

Issue #559 resolved
NextGenHabbo created an issue

Upon calling the give rank RCON the following happens: [RCON] Handled RCON Message: SetRank [DATA]{"status":0,"message":"offline"} and the database is not updated until the user restarts the client, it spams that the user is offline, even when the user is 100% online, as the give diamonds test regarding rcon worked fine.

So rcon issues:(setrank) Database is not updated instantly, as it is with diamonds and credits, this makes cms integration impossible to handle. Spams user is offline upon SetRank being called. The user is online.

If you can't correct the above issues, could i suggest a Time delay to Disconnectuser feature would be useful. as when the rcon command for setrank is called, we could warn the user they'd be disconnected, give them a time limit, then it would disconnect them and then they would have their updated rank upon reconnecting after the disconnect.

Comments (5)

  1. Wesley repo owner

    Fixed. Setrank will now update the online user AND update the rank in the database regardless if the user is online or not.

  2. Log in to comment