SA-MP Forums Archive
Issue with MySQL script - 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: Issue with MySQL script (/showthread.php?tid=616194)



Issue with MySQL script - Tasous - 01.09.2016

Hello guys, not sure if this is the right section to ask for help but yolo


I got problem in mysql script, when I run it on windows i get unknown gamemode,
http://pastebin.com/71qV2Tu1
server log :
http://pastebin.com/RFH9TNad

Please help me by replying or even better add me on skype: nora.sabek

Thanks in advance. <3


Re: Issue with MySQL script - Shinja - 01.09.2016

But the gamemode is loaded or not?


Re: Issue with MySQL script - Sew_Sumi - 02.09.2016

Код:
gamemode0 tt
should be

Код:
gamemode0 tt 1
Also delete your server_log.txt, start the server, then post up that clean one.

You have so much in that log file that it shows you've been having terrible problems, caused by simple crap.


Re: Issue with MySQL script - Tasous - 02.09.2016

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Код:
gamemode0 tt
should be

Код:
gamemode0 tt 1
Also delete your server_log.txt, start the server, then post up that clean one.

You have so much in that log file that it shows you've been having terrible problems, caused by simple crap.
It's tt 1 now , but same problem , see the new logs

http://pastebin.com/NKH9aEGb


Re: Issue with MySQL script - Sew_Sumi - 02.09.2016

I'm pretty sure you'll find your problem lies in your code... What's the compiler output when you compile?


Re: Issue with MySQL script - Tasous - 02.09.2016

i get 3 warning , see it : http://pastebin.com/LprCjpuc Well ,when i connect i cant see the register/login dialog so the problem from mysql


Re: Issue with MySQL script - Shinja - 02.09.2016

stock this functions to remove the warnings


Re: Issue with MySQL script - Tasous - 02.09.2016

The problem is not from the gamemode , it's from MySQL "Connection problem".


Re: Issue with MySQL script - Shinja - 02.09.2016

Show mysql_log?
But still, you'd better fix the warnings bud


Re: Issue with MySQL script - Sew_Sumi - 02.09.2016

Quote:
Originally Posted by Shinja
Посмотреть сообщение
stock this functions to remove the warnings
Yea, don't stock them to simply remove the error... The errors in the compiler won't stop anything, but making them stock is simply avoiding the report of the error.

If he even put them in an unused command, that'd stop them in a better way.


What Shinja said about the mysql errors in the log is a point though.