#1

Well, when I try to start my samp-server.exe I get an error.. Here is my log -

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

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

[12:24:44]
[12:24:44] Server Plugins
[12:24:44] --------------
[12:24:44] Loading plugin: audio.dll
[12:24:44]

*** Audio Plugin v0.4 by Incognito loaded ***


[12:24:44] Loaded.
[12:24:44] Loading plugin: sscanf.dll
[12:24:44]

[12:24:44] ===============================

[12:24:44] sscanf plugin loaded.

[12:24:44] © 2009 Alex "******" Cole

[12:24:44] ===============================

[12:24:44] Loaded.
[12:24:44] Loading plugin: streamer.dll
[12:24:44]

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

[12:24:44] Loaded.
[12:24:44] Loading plugin: nativechecker.dll
[12:24:44] Loaded.
[12:24:44] Loading plugin: mysql
[12:24:45] Failed.
[12:24:45] Loaded 4 plugins.

[12:24:45]
[12:24:45] Filterscripts
[12:24:45] ---------------
[12:24:45] Loading filterscript 'anims.amx'...
[12:24:45] Loading filterscript 'buttons.amx'...
[12:24:45] Loading filterscript 'carwash.amx'...
[12:24:45]
-----------------------------------------------
[12:24:45]
[12:24:45] ---=== Car Wash Filterscript ===---
[12:24:45]
[12:24:45] -------------- Copyright -- 2011 --------------

[12:24:45] Loaded 3 filterscripts.

[12:24:45] Error: Function not registered: 'mysql_store_result'
[12:24:45] Error: Function not registered: 'mysql_retrieve_row'
[12:24:45] Error: Function not registered: 'mysql_fetch_field_row'
[12:24:45] Error: Function not registered: 'mysql_free_result'
[12:24:45] Error: Function not registered: 'mysql_num_rows'
[12:24:45] Error: Function not registered: 'mysql_query'
[12:24:45] Error: Function not registered: 'mysql_debug'
[12:24:45] Error: Function not registered: 'mysql_connect'
[12:24:45] Error: Function not registered: 'mysql_ping'
[12:24:45] Error: Function not registered: 'mysql_close'
[12:24:45] Error: Function not registered: 'mysql_real_escape_string'
[12:24:45] Error: Function not registered: 'mysql_fetch_int'
[12:24:45] Script[gamemodes/RCRP.amx]: Run time error 19: "File or function is not found"
[12:24:45] Number of vehicle models: 0
[12:24:46] --- Server Shutting Down.
[12:24:46]

*** Audio Plugin v0.4 by Incognito unloaded ***


[12:24:46]

[12:24:46] ===============================

[12:24:46] sscanf plugin unloaded.

[12:24:46] ===============================

[12:24:46]

*** Streamer Plugin v2.5.2 by Incognito unloaded ***

And here is a picture of another error that I receive -



Please help.. Thanks in advance.
Reply
#2

You need libmysql.dll in your server directory.

http://files.g-stylezzz.com/libmySQL.dll

(NOT in plugins.)
Reply
#3

Oh yeah, you were right. But I still receive errors. When I try to compile my script I get these -

../include/g_mysql.inc(3 : warning 235: public function lacks forward declaration (symbol "OnQueryFinish")
../include/g_mysql.inc(42 : error 025: function heading differs from prototype
../include/g_mysql.inc(520) : error 017: undefined symbol "mysql_fetch_int"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

If someone could help.
Reply
#4

Your gamemode probably requires R6-2 of the MySQL plugin, rather than R7.

I can't find the original download for it, but I have the include, .so and .dll available and I uploaded it in a zip file here: http://www.solidfiles.com/d/0d1f84153e/
Reply
#5

This seemed to worked out but here is what I got -

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

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

[13:07:30]
[13:07:30] Server Plugins
[13:07:30] --------------
[13:07:30] Loading plugin: audio.dll
[13:07:30]

*** Audio Plugin v0.4 by Incognito loaded ***


[13:07:30] Loaded.
[13:07:30] Loading plugin: sscanf.dll
[13:07:30]

[13:07:30] ===============================

[13:07:30] sscanf plugin loaded.

[13:07:30] © 2009 Alex "******" Cole

[13:07:30] ===============================

[13:07:30] Loaded.
[13:07:30] Loading plugin: streamer.dll
[13:07:30]

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

[13:07:30] Loaded.
[13:07:30] Loading plugin: nativechecker.dll
[13:07:30] Loaded.
[13:07:30] Loading plugin: mysql
[13:07:30]

> MySQL plugin R6-2 successfully loaded.

[13:07:30] Loaded.
[13:07:30] Loaded 5 plugins.

[13:07:30]
[13:07:30] Filterscripts
[13:07:30] ---------------
[13:07:30] Loading filterscript 'anims.amx'...
[13:07:30] Loading filterscript 'buttons.amx'...
[13:07:30] Loading filterscript 'carwash.amx'...
[13:07:30]
-----------------------------------------------
[13:07:30]
[13:07:30] ---=== Car Wash Filterscript ===---
[13:07:30]
[13:07:30] -------------- Copyright -- 2011 --------------

[13:07:30] Loaded 3 filterscripts.

[13:07:30] Error: Function not registered: 'mysql_store_result'
[13:07:30] Error: Function not registered: 'mysql_retrieve_row'
[13:07:30] Error: Function not registered: 'mysql_fetch_field_row'
[13:07:30] Error: Function not registered: 'mysql_free_result'
[13:07:30] Error: Function not registered: 'mysql_num_rows'
[13:07:30] Error: Function not registered: 'mysql_query'
[13:07:30] Error: Function not registered: 'mysql_debug'
[13:07:30] Error: Function not registered: 'mysql_connect'
[13:07:30] Error: Function not registered: 'mysql_ping'
[13:07:30] Error: Function not registered: 'mysql_close'
[13:07:30] Error: Function not registered: 'mysql_real_escape_string'
[13:07:30] Error: Function not registered: 'mysql_fetch_int'
[13:07:30]
[13:07:30] =======================================
[13:07:30] | |
[13:07:30] | YSI version 1.03.0011 |
[13:07:30] | By Alex "******" Cole |
[13:07:30] | |
[13:07:30] | Checking the latest YSI version.. |
[13:07:30] | |
[13:07:30] =======================================
[13:07:30]
[13:07:30] *** Audio Plugin: Started TCP server on port 6666
[13:07:30] onfoot_rate = 40 (int, read-only)
[13:07:30] incar_rate = 40 (int, read-only)
[13:07:30] weapon_rate = 40 (int, read-only)
[13:07:30] *** Audio_SetPack: Error opening "audiopacks/default_pack/test.wav" for CRC check
[13:07:30] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.mp3" for CRC check
[13:07:30] *** Audio_SetPack: Error opening "audiopacks/default_pack/track.ogg" for CRC check
[13:07:30] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.wma" for CRC check
[13:07:30] *** Audio_SetPack: Audio pack set to "default_pack" (transferable)
[13:07:31] [MySQL] (All Pipelines) Connecting to MySQL Database Server localhost...
[13:07:31] [MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host localhost - DB: ngrp - User: ngrp
[13:07:31] [MySQL] Note: Make sure that you have provided the correct connection credentials.
[13:07:31] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[13:07:51] [script] 3DTEXTDRAW LIMIT: 1024 (Static, non-streamed) | 3DTEXTDRAW COUNT: 1783
[13:07:51] [script] PICKUP LIMIT: 2048 (Static, non-streamed) | PICKUP COUNT: 1718
[13:07:51] [script] OBJECT LIMIT: 400 (Static, non-streamed) | OBJECT COUNT: 6791
[13:07:51]
[13:07:51] -------------------------------------------
[13:07:51] Loading...
[13:07:51] Welcome to Next Generation Roleplay
[13:07:51] -------------------------------------------
[13:07:51]
[13:07:51] Number of vehicle models: 86
[13:07:51] --- Server Shutting Down.
[13:07:51]

*** Audio Plugin v0.4 by Incognito unloaded ***


[13:07:51]

[13:07:51] ===============================

[13:07:51] sscanf plugin unloaded.

[13:07:51] ===============================

[13:07:51]

*** Streamer Plugin v2.5.2 by Incognito unloaded ***

[13:07:51]

> MySQL plugin unloaded.
Reply
#6

I'm not going to help you use a leaked script.
Reply
#7

It's a friend's script and he asked if I could repaired it.
Reply
#8

Nobody here will help you. Go away.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)