#1

I am going from hosting from my PC to Official host, but when I try to host my script I get this error. And I got the AMX file located in the gamemodes folder.

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[22:56:46] filterscripts = "" (string)
[22:56:46] gamemodetext = "Unknown" (string)
[22:56:46]
[22:56:46] Server Plugins
[22:56:46] --------------
[22:56:46] Loading plugin: sscanf.so
[22:56:46]

[22:56:46] ===============================

[22:56:46] sscanf plugin loaded.

[22:56:46] Version: 2.8.1

[22:56:46] © 2012 Alex "******" Cole

[22:56:46] ===============================

[22:56:46] Loaded.
[22:56:46] Loading plugin: streamer.so
[22:56:46]

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

[22:56:46] Loaded.
[22:56:46] Loading plugin: mysql.so
[22:56:46] SA:MP MySQL Plugin v2.1.1 Loaded.
[22:56:46] Loaded.
[22:56:46] [MySQL] Thread running. Threadsafe: Yes.
[22:56:46] Loaded 3 plugins.

[22:56:46]
[22:56:46] Filterscripts
[22:56:46] ---------------
[22:56:46] Loaded 0 filterscripts.

[22:56:46] Script[gamemodes/truerp.amx]: Run time error 19: "File or function is not found"
[22:56:46] Number of vehicle models: 0
Reply
#2

run nativechecker
Reply
#3

I get this then

[23:20:34] Error: Function not registered: 'mysql_debug'
[23:20:34] Error: Function not registered: 'mysql_function_query'
[23:20:34] Error: Function not registered: 'cache_get_data'
[23:20:34] Error: Function not registered: 'cache_get_row'
[23:20:34] Error: Function not registered: 'cache_get_row_int'
[23:20:34] Error: Function not registered: 'cache_get_row_float'
[23:20:34] Error: Function not registered: 'cache_get_field_content'
Reply
#4

Okay, is mysql located on the plugins line in server.cfg?
Reply
#5

This is my plugin line

sscanf.so streamer.so mysql.so nativechecker.so
Reply
#6

- Do you got mysql on plugins and includes folders?
- If yes try to update MySQL plugin/include.
Reply
#7

Quote:

[22:56:46] SA:MP MySQL Plugin v2.1.1 Loaded.
[22:56:46] Loaded.
[22:56:46] [MySQL] Thread running. Threadsafe: Yes.

Make sure you're using the correct mysql plugin. Most likely you're using the wrong one.
Reply
#8

Please make sure that your using correct plugin
Reply
#9

Assuming your local host is windows, and obviously the host is linux. You probably downloaded the wrong plugin for it. Make sure to get the newest, R38 I think it is.
Reply
#10

Hmm, after I used the plugin you told me to R38-2 I am getting this error, I've never seen it before(first time I am making a mysql based gamemode).

C:\Users\Admin\Desktop\GM - Copy\gamemodes\GM.pwn(10295) : error 017: undefined symbol "mysql_insert_id"

The line are
Код:
public OnPlayerCreateAccount(playerid)
{
	PlayerInfo[playerid][pDatabaseID] = mysql_insert_id();
	SetIntVar(playerid, "RegisterPart", 2);
	Dialog_Show(playerid, Secret, DIALOG_STYLE_INPUT, ""EMBED_YELLOW"TEXT TEXT Registration"EMBED_WHITE"", ""EMBED_WHITE"Text lines bla bla bla\n("EMBED_BLUE"Bla bla bla "EMBED_WHITE")", "Continue", "Quit");
	return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)