This is a simple easy tut for people who use Gold Tree Emulator that has friend appearing online when they aren't online.
In NavCat go to design mode in users table, if you check last online and check its not null. If it gives you an error saying database truncated at row 1, then change the row in design mode where last_online row change the row "time" to "varchar" then length 50 and decimal to 0 then check not null. After these steps are done restart the emulator and it should be fixed 100% Just helping out to those people who are struggling to find the answer as its not posted anywhere where answer is 100% succeeded. No need to refresh database or anything else, just that simple part.
In NavCat go to design mode in users table, if you check last online and check its not null. If it gives you an error saying database truncated at row 1, then change the row in design mode where last_online row change the row "time" to "varchar" then length 50 and decimal to 0 then check not null. After these steps are done restart the emulator and it should be fixed 100% Just helping out to those people who are struggling to find the answer as its not posted anywhere where answer is 100% succeeded. No need to refresh database or anything else, just that simple part.