MSQL database
#1

im not familliar with this MySQL and stuff recently i tired it out i have no compiling issues but the problem is when i get in game its not asking me to register or login
Reply
#2

Code?
Reply
#3

Quote:
Originally Posted by BrianFaria
Посмотреть сообщение
Code?
https://sampforum.blast.hk/showthread.php?tid=627520

i used this one
Reply
#4

Does it show in your console you've established a connection to the database?

I see in the tutorial its supposed to print it into the console whether it connected or not.
Reply
#5

Quote:
Originally Posted by FreAkeD
Посмотреть сообщение
Does it show in your console you've established a connection to the database?

I see in the tutorial its supposed to print it into the console whether it connected or not.
i forgot to create a database where it could save them maybe thats why im still learning how mysql works
Reply
#6

Do that. Then when OnGameModeInit gets called, it should create the tables itself, as shown in the tutorial on OnGameModeInit.
Reply
#7

Quote:
Originally Posted by FreAkeD
Посмотреть сообщение
Do that. Then when OnGameModeInit gets called, it should create the tables itself, as shown in the tutorial on OnGameModeInit.
do you knw where i can find a video on this ?
Reply
#8

You could probably just go onto ******* and search 'mysql tutorial.'

Here's some tutorials which can help you get familiar with how MYSQL works and what you can do with it:

https://www.w3schools.com/sql/ (Where I learnt most of it)
https://dev.mysql.com/doc/ (The main documentation for MYSQL)
http://www.w3resource.com/mysql/mysql-tutorials.php
http://www.mysqltutorial.org/
https://www.tutorialspoint.com/mysql/
Reply
#9

Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[16:26:46] filterscripts = ""  (string)
[16:26:46] 
[16:26:46] Server Plugins
[16:26:46] --------------
[16:26:46]  Loading plugin: streamer
[16:26:47] 

*** Streamer Plugin v2.9.1 by Incognito loaded ***

[16:26:47]   Loaded.
[16:26:47]  Loading plugin: sscanf
[16:26:47] 

[16:26:47]  ===============================

[16:26:47]       sscanf plugin loaded.     

[16:26:47]    © 2009 Alex "******" Cole

[16:26:47]    0.3d-R2 500 Players "dnee"

[16:26:47]  ===============================

[16:26:47]   Loaded.
[16:26:47]  Loaded 2 plugins.

[16:26:47] 
[16:26:47] Filterscripts
[16:26:47] ---------------
[16:26:47]   Loaded 0 filterscripts.

[16:26:47] 
----------------------------------
[16:26:47]  XXXXXXXXXXXXXXX Gamemode by your Xtra
[16:26:47] ----------------------------------

[16:26:47] Number of vehicle models: 0

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[05:47:21] 
[05:47:21] Server Plugins
[05:47:21] --------------
[05:47:21]  Loading plugin: streamer
[05:47:22]   Failed.
[05:47:22]  Loading plugin: sscanf
[05:47:22] 

[05:47:22]  ===============================

[05:47:22]       sscanf plugin loaded.     

[05:47:22]    © 2009 Alex "******" Cole

[05:47:22]    0.3d-R2 500 Players "dnee"

[05:47:22]  ===============================

[05:47:22]   Loaded.
[05:47:22]  Loaded 1 plugins.

[05:47:22] 
[05:47:22] Filterscripts
[05:47:22] ---------------
[05:47:22]   Loading filterscript 'LoginRegister.amx'...
[05:47:22]   Loaded 1 filterscripts.

[05:47:22] 
----------------------------------
[05:47:22]  XXXXXXXXXXXXX Gamemode by your Xtra
[05:47:22] ----------------------------------

[05:47:22] Number of vehicle models: 0

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[17:48:07] 
[17:48:07] Server Plugins
[17:48:07] --------------
[17:48:07]  Loading plugin: streamer
[17:48:07] 

*** Streamer Plugin v2.9.1 by Incognito loaded ***

[17:48:07]   Loaded.
[17:48:07]  Loading plugin: sscanf
[17:48:07] 

[17:48:07]  ===============================

[17:48:07]       sscanf plugin loaded.     

[17:48:07]    © 2009 Alex "******" Cole

[17:48:07]    0.3d-R2 500 Players "dnee"

[17:48:07]  ===============================

[17:48:07]   Loaded.
[17:48:07]  Loaded 2 plugins.

[17:48:07] 
[17:48:07] Filterscripts
[17:48:07] ---------------
[17:48:07]   Loading filterscript 'LoginRegister.amx'...
[17:48:08]   Loaded 1 filterscripts.

[17:48:08] 
----------------------------------
[17:48:08]  XXXXXXXXXXXXX Gamemode by your Xtra
[17:48:08] ----------------------------------

[17:48:08] Number of vehicle models: 0
[17:48:40] [connection] 127.0.0.1:63995 requests connection cookie.
[17:48:41] [connection] incoming connection: 127.0.0.1:63995 id: 0
[17:48:41] [join] Mario_ has joined the server (0:127.0.0.1)
[17:49:00] RCON (In-Game): Player #0 (Mario_) failed login.
[17:49:06] RCON (In-Game): Player #0 (Mario_) has logged in.
[17:49:16] RCON (In-Game): Player [Mario_] sent command: loginfs RegisterLogin
[17:49:28] RCON (In-Game): Player [Mario_] sent command: loginfs LoginRegister
[17:49:41] RCON (In-Game): Player [Mario_] sent command: loadfs LoginRegister
[17:49:41]   Filterscript 'LoginRegister.amx' load failed.
[17:49:46] RCON (In-Game): Player [Mario_] sent command: loadfs LoginRegister
[17:49:46]   Filterscript 'LoginRegister.amx' load failed.
[17:49:50] [part] Mario_ has left the server (0:1)
while compiling im not receiving any errors thought while trying to load the fs i receive error's
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)