[RLC] Register, Login & Change Password v-0.2

Started by !, Sep 15, 2017, 07:44 AM

Previous topic - Next topic

Mahmoud Tornado

Quote from: [SC]Spartan on Sep 06, 2018, 06:01 PMAN ERROR HAS OCCURED [the index 'VARCHAR' does not exist]
I tried everything but I get this error someone could help me how to fix it? I would appreciate

local name = text.tointeger();

Shadow

Quote from: Xmair on Aug 29, 2018, 06:17 AMWhy do you use a custom encryption method?

It's not a 'custom encryption', nor an 'encryption'.
It's the SHA-256 hashing (one way function) algorithm but implemented in squirrel (still, should use the hashing plugin instead.)
QuotePS:is trash is ur home language??

[SC]Spartan

if (cmd == "cambiarnick")
 {
 if ( Stats[ player.ID ].LoggedIn == true ) return MessagePlayer( "[#E0E0E0]Debes iniciar sesión en el servidor", player );
 else if ( Stats[ player.ID ].Registered == true ) return MessagePlayer( "[#E0E0E0]Debes ser registrado", player );
 else if ( !text ) MessagePlayer("[#E0E0E0]Código: / cambio de nombre <Nuevo nombre>",player);
 else {
 local name = VARCHAR(25);
 QuerySQL( db, "UPDATE Accounts SET Name = '" + name + "' WHERE Name = '" + escapeSQLString(player.Name) + "'");
 MessagePlayer("[#E0E0E0]Su nombre ha sido cambiado con éxito ",player);
}
}

Credit to KrOoB:

i have this error

AN ERROR HAS OCCURED [the index 'VARCHAR' does not exist]
I tried everything.
If there is no solution, could someone help me to do another one to change the nickname if the name is not removed


!

[RLC] Register, Login & Change Password

Update Reason: Used vcmp official hashing, unique id concept has been used and installation is made simple.

Topic Updated: Link


:edit:
Quote from: [SC]Spartan on Sep 07, 2018, 07:05 AMAN ERROR HAS OCCURED [the index 'VARCHAR' does not exist]
I tried everything.
If there is no solution, could someone help me to do another one to change the nickname if the name is not removed
This snippet is not related to this topic if you have any issue in installation or found bug in this topic post here otherwise get dafaq out of this topic and create a support ticket over there Link

Discord: zeus#5155