Crash after pressing "Login"
#6

Quote:
Originally Posted by Vince
Посмотреть сообщение
Opcode 0248 checks if a model has loaded and in the game's code it is usually repeated inside a loop until the model has loaded. If the model can't be loaded the game will freeze or crash. So I consider it entirely plausible that an invalid model is being loaded somewhere. It may be anything that has a 3D model: ped, car, object, pickup, ...

You also ought to normalize your database. You have well over a 100 columns and especially this:

Is just plain, plain ridiculous! If you need to add a number to a column name then you're doing databases wrong. If you split off all the skills to another table you save about 20 columns. Splitting off all the licenses is another 10. And there's probably still more that could be more efficiently accessed elsewhere. Like the keys and the crimes and whatnot. If something does not apply to EVERY user then it should not be in the users table.

Ideally, once a database has been set up its structure shouldn't change anymore. Want to add another quest? Great, just add another row. Want to add another skill? Great, just add another row. Want to add another type of license? Great, just add another row. But don't alter the database structure - and by extension your code - to add an extra column.
I didn't understand what should i do... :3
PS: My english is not so good.
Reply


Messages In This Thread
Crash after pressing "Login" - by PurePain - 30.06.2016, 14:54
Re: Crash after pressing "Login" - by LopezR - 30.06.2016, 16:22
Re: Crash after pressing "Login" - by PurePain - 30.06.2016, 16:32
Re: Crash after pressing "Login" - by LopezR - 30.06.2016, 16:42
Re: Crash after pressing "Login" - by Vince - 30.06.2016, 17:05
Re: Crash after pressing "Login" - by PurePain - 01.07.2016, 10:42
Respuesta: Crash after pressing "Login" - by wharlos - 01.07.2016, 13:28
Re: Crash after pressing "Login" - by PurePain - 01.07.2016, 17:28

Forum Jump:


Users browsing this thread: 1 Guest(s)