Autologin with MYSQL
#1

So , I have a question, I hope that somebody will answer.

I need autologin.
I have MYSQL Database, so i need that it somehow saves it into database and then gets it and if it's true then it will autologin.

Im quite beginner on MYSQL so please help !
Reply
#2

BUMP YEA
Reply
#3

It doesn't have anything to do with your database. It matters about your code. Post your code.
Reply
#4

I dont have any code.
I need that it saves IP to database and then loads it from database and if it's true with that IP what he joined and that what is on database then it will autologin.
Reply
#5

Quote:
Originally Posted by Tekto
Посмотреть сообщение
I dont have any code.
I need that it saves IP to database and then loads it from database and if it's true with that IP what he joined and that what is on database then it will autologin.
Good luck trying to do that without any code! If you do not have any MySQL code in your script, then you'll first have to create that. Then you can ask about the auto-login via a matching IP address.
Reply
#6

Mh, i have mysql system..

And it saves IP to mysql database, but how i put it on connect
Reply
#7

Query the player to the database when the player connects, simple.
Reply
#8

Can u give me the code ?
Reply
#9

https://sampforum.blast.hk/showthread.php?tid=159785

Not trying to advertise but that's what you need.
Reply
#10

Sorry, but i have MYSQL system already.
I need just that it saves IP to query.
Please how to do that ?.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)