SA-MP Forums Archive
Login Problem and Database? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Login Problem and Database? (/showthread.php?tid=424509)



Login Problem and Database? - Tuntun - 22.03.2013

Hello
When i go to my server with any name then it said " i'm already registered".
Look: i don't have my server original Database for my server. And some people told to me it is Database Problem.
So if This is Database Problem then anybody can database for me?


Re: Login Problem and Database? - Misiur - 22.03.2013

This is the funniest question syntax I've ever seen! Sorry, I can't database for you. There might be problem with your query to check if user exists.


Re: Login Problem and Database? - Tuntun - 23.03.2013

Then what is my problem do you think? why i can not use any User? and Note: i don't use any other register filescript.

Look this:



Re: Login Problem and Database? - Misiur - 23.03.2013

I can't tell how your code works by looking at a screen of a dialog (also - why still using 0.3e?). I need to see the code which causes the dialog to show up - there should be a sql query which checks if user is registered - it might be poorly written, and always telling script that the user is connected.


Re: Login Problem and Database? - SilverKiller - 23.03.2013

Show us your OnPlayerConnect.


Re: Login Problem and Database? - Tuntun - 23.03.2013

Do you have skype? And i don't use 0.3e Actually i forget to Edit the name..


Re: Login Problem and Database? - Tuntun - 23.03.2013

Quote:
Originally Posted by SilverKiller
Посмотреть сообщение
Show us your OnPlayerConnect.
Sorry for x2 post i didn't saw you'r reply when i was Typing.
so here it is:

for(new g=0;g<MAX_PLAYERS;g++)
{
if(IsPlayerConnected(g))
OnPlayerConnect(g);
}
for(new i = 0; i < 611; ++i)
{
MapSystem[IsPlane][i] = MapSystem[IsHelios][i] = false;
}


Re: Login Problem and Database? - SilverKiller - 23.03.2013

Quote:
Originally Posted by Tuntun
Посмотреть сообщение
Sorry for x2 post i didn't saw you'r reply when i was Typing.
so here it is:

for(new g=0;g<MAX_PLAYERS;g++)
{
if(IsPlayerConnected(g))
OnPlayerConnect(g);
}
for(new i = 0; i < 611; ++i)
{
MapSystem[IsPlane][i] = MapSystem[IsHelios][i] = false;
}
Show your full OnPlayerConnect ._.


Re: Login Problem and Database? - Tuntun - 24.03.2013

But it is so big..


Re: Login Problem and Database? - doreto - 24.03.2013

god dammit man if you need help you need to show as your code (place it in pastebin) , how did you expect to help you wichout even know what is wrong wich your code ?