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

I sort of agree with Calgon, perhaps it could be made an optional feature of the gamemode? On the other hand, I really don't see anything bad about showing scripters how it is done.

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;
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!
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: 1 Guest(s)