Problem with starting the GM.
#1

When I try to start my GM, I get the next error:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[22:24:42] filterscripts = ""  (string)
[22:24:42] 
[22:24:42] Server Plugins
[22:24:42] --------------
[22:24:42]  Loading plugin: mysql
[22:24:42]  SA:MP MySQL Plugin v2.1.1 Loaded.
[22:24:42]   Loaded.
[22:24:42]  Loading plugin: sscanf
[22:24:42] 

[22:24:42] [MySQL] Thread running. Threadsafe: Yes.
[22:24:42]  ===============================

[22:24:42]       sscanf plugin loaded.     

[22:24:42]    © 2009 Alex "******" Cole

[22:24:42]    0.3d-R2 500 Players "dnee"

[22:24:42]  ===============================

[22:24:42]   Loaded.
[22:24:42]  Loading plugin: streamer
[22:24:42] 

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

[22:24:42]   Loaded.
[22:24:42]  Loaded 3 plugins.

[22:24:42] 
[22:24:42] Ban list
[22:24:42] --------
[22:24:42]  Loaded: samp.ban
[22:24:42] 
[22:24:42] 
[22:24:42] Filterscripts
[22:24:42] ---------------
[22:24:42]   Loaded 0 filterscripts.

[22:24:42] Script[gamemodes/GM.amx]: Run time error 19: "File or function is not found"
[22:24:42] Number of vehicle models: 0
The base script is Moderntopia.
Reply
#2

Use NativeChecker.dll If You Have Lunix Use nativechecker.so

Here's The Link For It;
https://sampforum.blast.hk/showthread.php?tid=249226
Reply
#3

With NativeChecker, I get the next errors:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[14:31:16] filterscripts = ""  (string)
[14:31:16] 
[14:31:16] Server Plugins
[14:31:16] --------------
[14:31:16]  Loading plugin: mysql
[14:31:16]  SA:MP MySQL Plugin v2.1.1 Loaded.
[14:31:16]   Loaded.
[14:31:16]  Loading plugin: sscanf
[14:31:16] [MySQL] Thread running. Threadsafe: Yes.
[14:31:16] 

[14:31:16]  ===============================

[14:31:16]       sscanf plugin loaded.     

[14:31:16]    © 2009 Alex "******" Cole

[14:31:16]    0.3d-R2 500 Players "dnee"

[14:31:16]  ===============================

[14:31:16]   Loaded.
[14:31:16]  Loading plugin: streamer
[14:31:16] 

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

[14:31:16]   Loaded.
[14:31:16]  Loading plugin: nativechecker
[14:31:17]   Loaded.
[14:31:17]  Loaded 4 plugins.

[14:31:17] 
[14:31:17] Ban list
[14:31:17] --------
[14:31:17]  Loaded: samp.ban
[14:31:17] 
[14:31:17] 
[14:31:17] Filterscripts
[14:31:17] ---------------
[14:31:17]   Loaded 0 filterscripts.

[14:31:17]    Error: Function not registered: 'UpdateMovingObjects'
[14:31:17]    Error: Function not registered: 'StreamObjects'
[14:31:17]    Error: Function not registered: 'samp_mysql_connect'
[14:31:17]    Error: Function not registered: 'samp_mysql_select_db'
[14:31:17]    Error: Function not registered: 'samp_mysql_ping'
[14:31:17]    Error: Function not registered: 'samp_mysql_close'
[14:31:17]    Error: Function not registered: 'samp_mysql_query'
[14:31:17]    Error: Function not registered: 'samp_mysql_real_escape_string'
[14:31:17]    Error: Function not registered: 'samp_mysql_store_result'
[14:31:17]    Error: Function not registered: 'samp_mysql_num_rows'
[14:31:17]    Error: Function not registered: 'samp_mysql_fetch_row'
[14:31:17]    Error: Function not registered: 'CreateStreamedObject'
[14:31:17]    Error: Function not registered: 'samp_mysql_strtok'
[14:31:17]    Error: Function not registered: 'DestroyStreamedObject'
[14:31:17]    Error: Function not registered: 'DestroyObjectsCreatedByMe'
[14:31:17]    Error: Function not registered: 'MoveStreamedObject'
[14:31:17] Script[gamemodes/GM.amx]: Run time error 19: "File or function is not found"
[14:31:17] Number of vehicle models: 0
Reply
#4

Updated You're Streamers And samp_mysql inc + plugin. And Then RE-compile script and try again.
Reply
#5

Update all of your plugins (streamer and mysql) and get the newest .inc files
Reply
#6

I updated the mysql plugin and I get the next errors:

Код:
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2630) : error 017: undefined symbol "samp_mysql_connect"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2631) : error 017: undefined symbol "samp_mysql_select_db"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2632) : error 017: undefined symbol "samp_mysql_ping"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2640) : error 017: undefined symbol "samp_mysql_connect"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2641) : error 017: undefined symbol "samp_mysql_select_db"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2642) : error 017: undefined symbol "samp_mysql_ping"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2658) : error 017: undefined symbol "samp_mysql_close"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2664) : error 017: undefined symbol "samp_mysql_ping"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2673) : error 017: undefined symbol "samp_mysql_ping"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2699) : error 017: undefined symbol "samp_mysql_query"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2708) : error 017: undefined symbol "samp_mysql_query"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2714) : error 017: undefined symbol "samp_mysql_query"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2745) : error 017: undefined symbol "samp_mysql_real_escape_string"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2755) : error 017: undefined symbol "samp_mysql_query"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2763) : error 017: undefined symbol "samp_mysql_real_escape_string"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2765) : error 017: undefined symbol "samp_mysql_query"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2766) : error 017: undefined symbol "samp_mysql_store_result"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2767) : error 017: undefined symbol "samp_mysql_num_rows"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2775) : error 017: undefined symbol "samp_mysql_fetch_row"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2787) : error 017: undefined symbol "samp_mysql_query"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2788) : error 017: undefined symbol "samp_mysql_store_result"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2789) : error 017: undefined symbol "samp_mysql_fetch_row"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2803) : error 017: undefined symbol "samp_mysql_query"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2804) : error 017: undefined symbol "samp_mysql_store_result"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2805) : error 017: undefined symbol "samp_mysql_fetch_row"
C:\Program Files (x86)\Rockstar Games\GTASanAndreas\SAMP Server\gamemodes\uusnrp.pwn(2818) : error 017: undefined symbol "samp_mysql_query"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#7

Put This;
PHP код:

#define  samp_mysql_query 0
#define samp_mysql_fetch_row 0
#define samp_mysql_store_result 0
#define samp_mysql_real_escape_string 0
#define samp_mysql_select_db 0
#define samp_mysql_connect 0
#define samp_mysql_ping 0 
And Try Now.
Reply
#8

^^^^ You Just Gotta Define them so that the code knows that it exists
Reply
#9

Okay, I got rid of the streamer errors, but I'm still getting this:

Код:
[15:03:39]    Error: Function not registered: 'samp_mysql_connect'
[15:03:39]    Error: Function not registered: 'samp_mysql_select_db'
[15:03:39]    Error: Function not registered: 'samp_mysql_ping'
[15:03:39]    Error: Function not registered: 'samp_mysql_close'
[15:03:39]    Error: Function not registered: 'samp_mysql_query'
[15:03:39]    Error: Function not registered: 'samp_mysql_real_escape_string'
[15:03:39]    Error: Function not registered: 'samp_mysql_store_result'
[15:03:39]    Error: Function not registered: 'samp_mysql_num_rows'
[15:03:39]    Error: Function not registered: 'samp_mysql_fetch_row'
[15:03:39]    Error: Function not registered: 'samp_mysql_strtok'
Reply
#10

Problem solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)