SA-MP Forums Archive
Server problem - 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: Server problem (/showthread.php?tid=394556)



Server problem - Deminitous - 22.11.2012

Hi there. Can anyone please help me with the following problem:

I have a script that compiles without ANY problem. BUT when i try to run it locally with samp-server.exe, it gives me this error in the server_log.

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

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

[01:36:52] filterscripts = ""  (string)
[01:36:52] 
[01:36:52] Server Plugins
[01:36:52] --------------
[01:36:52]  Loading plugin: sscanf

                       ....

[01:36:52] *** Streamer Plugin: Obsolete or invalid native "Streamer_RegisterInterface" found (script needs to be recompiled with the latest include file)
[01:36:52] *** Streamer Plugin: Obsolete or invalid native "Streamer_AddPlayer" found (script needs to be recompiled with the latest include file)
[01:36:52] *** Streamer Plugin: Obsolete or invalid native "Streamer_RemovePlayer" found (script needs to be recompiled with the latest include file)
[01:36:52] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyPickup" found (script needs to be recompiled with the latest include file)
[01:36:52] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script needs to be recompiled with the latest include file)
[01:36:52] *** Streamer Plugin: Include file version (unknown version) does not match plugin version (0x26105) (script needs to be recompiled with the latest include file)

[01:36:52]    Error: Function not registered: 'mysql_query'

[01:36:52] Script[gamemodes/sfcnr.amx]: Run time error 19: "File or function is not found"
[01:36:52] Number of vehicle models: 0
I have a_mysql.inc and mysql.dll
I also have the streamer.dll and updated my .inc files but still gives me this errors.

It says compile with newest .inc files, but i downloaded the server pack 5min ago, aswell as the other .inc files necessary for the server.


Please help


Re: Server problem - AndreT - 22.11.2012

What you should do is grab the r79 files from the samp-streamer-plugin svn repository (first download in http://code.******.com/p/samp-stream...downloads/list) and then place the .inc file in your /pawno/include and the .dll/.so file in your /plugins folder.

Then report back and lets see if the MySQL error still persists. Also provide logs of which plugins are actually loaded when the server starts up (your current log shows no sign of plugins).


Re: Server problem - Deminitous - 23.11.2012

I did add that streamer to the Includes and Plugins but it gave errors when compiling script.

Here is the full log:
Код:
----------
Loaded log file: "server_log.txt".
----------

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

[08:34:12] filterscripts = ""  (string)
[08:34:12] 
[08:34:12] Server Plugins
[08:34:12] --------------
[08:34:12]  Loading plugin: sscanf
[08:34:12] 

[08:34:12]  ===============================

[08:34:12]       sscanf plugin loaded.     

[08:34:12]    © 2009 Alex "******" Cole

[08:34:12]    0.3d-R2 500 Players "dnee"

[08:34:12]  ===============================

[08:34:12]   Loaded.
[08:34:12]  Loading plugin: streamer
[08:34:12] 

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

[08:34:12]   Loaded.
[08:34:12]  Loading plugin: irc
[08:34:12] 

*** IRC Plugin v1.3.6 by Incognito loaded ***


[08:34:12]   Loaded.
[08:34:12]  Loading plugin: mysql
[08:34:12] 

  > MySQL plugin R7 successfully loaded.

[08:34:12]   Loaded.
[08:34:12]  Loading plugin: nativechecker
[08:34:12]   Loaded.
[08:34:12]  Loaded 5 plugins.

[08:34:12] 
[08:34:12] Ban list
[08:34:12] --------
[08:34:12]  Loaded: samp.ban
[08:34:12] 
[08:34:12] 
[08:34:12] Filterscripts
[08:34:12] ---------------
[08:34:12]   Loaded 0 filterscripts.

[08:34:12] *** Streamer Plugin: Obsolete or invalid native "Streamer_RegisterInterface" found (script needs to be recompiled with the latest include file)
[08:34:12] *** Streamer Plugin: Obsolete or invalid native "Streamer_AddPlayer" found (script needs to be recompiled with the latest include file)
[08:34:12] *** Streamer Plugin: Obsolete or invalid native "Streamer_RemovePlayer" found (script needs to be recompiled with the latest include file)
[08:34:12] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyPickup" found (script needs to be recompiled with the latest include file)
[08:34:12] *** Streamer Plugin: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script needs to be recompiled with the latest include file)
[08:34:12] *** Streamer Plugin: Include file version (unknown version) does not match plugin version (0x26105) (script needs to be recompiled with the latest include file)
[08:34:12]    Error: Function not registered: 'mysql_query'
[08:34:12] Script[gamemodes/sfcnr.amx]: Run time error 19: "File or function is not found"
[08:34:12] Number of vehicle models: 0
When i compile script it gives me these errors with the r79 streamer:

Код:
C:\Users\King_Cobra\Desktop\Server\pawno\include\streamer.inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\King_Cobra\Desktop\Server\pawno\include\streamer.inc(375) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\King_Cobra\Desktop\Server\pawno\include\streamer.inc(397) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\King_Cobra\Desktop\Server\pawno\include\streamer.inc(399) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
I went to the streamers page and saw that these errors are mainly caused by using old .inc files but I updated ALL of them.