SA-MP Forums Archive
A bug which i cant find! - 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: A bug which i cant find! (/showthread.php?tid=643749)



A bug which i cant find! - AlexMSK - 26.10.2017

Hello,
I dont know whats wrong but everytime i register in my server then when i relog i have to register again, there's no error at mysql everything running fine, is there any way how can i find it? I tried with crashdetect but still there's nothing


Re: A bug which i cant find! - Danisoni - 26.10.2017

Did you save your account when you register ?


Re: A bug which i cant find! - AzaMx - 26.10.2017

Shows us your code


Re: A bug which i cant find! - AlexMSK - 26.10.2017

It saves the account, when i relog it request me to login then it show me register stuffs everytime, what code do you want to know?


Re: A bug which i cant find! - maksicnm - 26.10.2017

We need code, you add something like file exist on player connect? if(fexist... is for Y_INI i think..


Re: A bug which i cant find! - AlexMSK - 26.10.2017

Quote:
Originally Posted by maksicnm
Посмотреть сообщение
We need code, you add something like file exist on player connect? if(fexist... is for Y_INI i think..
It's mysql'ed, it has nothing to do with OnPlayerConnect


Re: A bug which i cant find! - Escobabe - 26.10.2017

Quote:
Originally Posted by AlexMSK
Посмотреть сообщение
It's mysql'ed, it has nothing to do with OnPlayerConnect
It has to do with OnPlayerConnect. You must have done something wrong with the code or something.


Re: A bug which i cant find! - Xeon™ - 26.10.2017

Quote:
Originally Posted by Escobabe
Посмотреть сообщение
It has to do with OnPlayerConnect. You must have done something wrong with the code or something.
Actually, its a query error/not saving stats ondisconnect

Show us the query that you push to the db onplayer register


Re: A bug which i cant find! - AlexMSK - 26.10.2017

I found the issue lmao, deleted the script and smashed my pc


Re: A bug which i cant find! - Zeth - 27.10.2017

Quote:
Originally Posted by AlexMSK
Посмотреть сообщение
I found the issue lmao, deleted the script and smashed my pc
Best solution ever!