[GameMode] Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords]
#25

Quote:
Originally Posted by AndreT
Посмотреть сообщение
Also, I see something like this:
pawn Код:
// Definition
new g_Logged[MAX_PLAYERS char];

// Changing it
g_Logged[playerid] = 0;
Question is: does that really work? I think I remember that the last time I accessed a "char"-array using square brackets, the results were not as expected... For the sake of understanding though, shouldn't it be
pawn Код:
g_Logged{playerid} = 0;
I honestly had no clue, thanks for clearing that up for me.
Quote:
Originally Posted by AndreT
Посмотреть сообщение
Also you probably assumed it is my best intention to complain things like this:
pawn Код:
`interior` int(11) NOT NULL, \
// ...
`skin` int(11) NOT NULL, \
As far as I know, valid interior IDs are 0 to 19 and valid skin IDs are 0 to 299. Your field type however would allow much lengthier values and even though you don't populate the fields with larger values, a larger amount of space will be used to store the values. Refer to this.

A suitable field type for `interior` would even be TINYINT(2) and for `skin`, SMALLINT(3) will do perfectly. Some space hopefully saved!
This is also skipped my mind. Perhaps I should have been sure on a couple of more things before releasing this. Anyways, thanks for your critique. Main post has been updated with links to the scripts with the aforementioned changes.
Reply


Messages In This Thread
Basic MySQL R8 Account Script [cache functions, easydialog, Whirlpool, salted passwords] - by ReneG - 06.11.2012, 05:34
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by XtremeR - 06.11.2012, 05:59
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by RajatPawar - 06.11.2012, 06:00
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Davevid - 06.11.2012, 06:22
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Team_PRO - 06.11.2012, 07:56
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by iOmar - 06.11.2012, 08:22
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by sgtjones12 - 06.11.2012, 09:56
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by AliceCullen - 06.11.2012, 11:23
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by marmigs - 06.11.2012, 12:40
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by TheArcher - 06.11.2012, 19:36
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Calgon - 06.11.2012, 19:47
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Roddan - 06.11.2012, 19:53
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by CoDeZ - 06.11.2012, 20:06
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Ironboy - 06.11.2012, 21:42
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by ReneG - 06.11.2012, 22:04
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Calgon - 06.11.2012, 22:10
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by ReneG - 06.11.2012, 22:16
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Mikkel - 06.11.2012, 22:21
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Emmet_ - 06.11.2012, 22:42
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by AliceCullen - 07.11.2012, 03:17
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by [HK]Ryder[AN] - 07.11.2012, 03:21
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Calgon - 07.11.2012, 05:50
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Calgon - 07.11.2012, 13:11
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by AndreT - 09.11.2012, 18:11
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by ReneG - 09.11.2012, 22:55
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Lion Creighton - 10.11.2012, 01:06
Respuesta: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by motocros_elche - 10.11.2012, 10:17
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by ViruZz - 10.11.2012, 14:53
Respuesta: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by [DOG]irinel1996 - 10.11.2012, 18:16
Re: Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords] - by Fernado Samuel - 13.11.2012, 22:53

Forum Jump:


Users browsing this thread: 3 Guest(s)