[Volt-Host] CWRP wont work
#1

I did it.

Here is my config:

Code:
echo Executing Server Config...
lanmode 0
rcon_password **********
maxplayers 50
port 7781
hostname ..::[London Roleplay || 24/7]::..
gamemode0 cwrp 1
filterscripts
announce 1
query 1
weburl www.volt-host.com
plugins mysql.so streamer.so
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
bind 91.204.210.27
here is the error:

Code:
[15:03:27] Script[gamemodes/cwrp.amx]: Run time error 19: "File or function is not found"
It is compiled and the cwrp.amx is there.
Reply
#2

Post the whole server_log not only the error part.
Reply
#3

Code:
[15:14:05] Number of vehicle models: 0
[15:14:05] Script[gamemodes/cwrp.amx]: Run time error 19: "File or function is not found"

[15:14:05]   Loaded 0 filterscripts.
[15:14:05] ---------------
[15:14:05] Filterscripts
[15:14:05] 
[15:14:05] MySQL: Query thread running. Thread safe: No.

[15:14:05]  Loaded 2 plugins.
[15:14:05]   Loaded.

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

[15:14:05] 
[15:14:05]  Loading plugin: streamer.so
[15:14:05]   Loaded.
[15:14:05]  SA:MP MySQL Plugin 1.2.1 Loaded.
[15:14:05]  Loading plugin: mysql.so
[15:14:05] --------------
[15:14:05] Server Plugins
[15:14:05] 
[15:14:05] filterscripts = ""  (string)

v0.3d-R2, ©2005-2011 SA-MP Team
----------------------
SA-MP Dedicated Server
Reply
#4

Probably a plugin is missing or your mysql plugin is outdated, i insist you to update this plugin to Blue G's MySql R6-2 plugin.
Reply
#5

Already have done just now
Reply
#6

So your still having runtime error 19 ?
Reply
#7

yes, But it says
Code:
[15:20:49] Number of vehicle models: 0
[15:20:49] Script[gamemodes/cwrp.amx]: Run time error 19: "File or function is not found"

[15:20:49]   Loaded 0 filterscripts.
[15:20:49] ---------------
[15:20:49] Filterscripts
[15:20:49] 

[15:20:49]  Loaded 3 plugins.
[15:20:49]   Loaded.

[15:20:49]  ===============================

[15:20:49]    0.3d-R2 500 Players "dnee"

[15:20:49]    © 2009 Alex "Y_Less" Cole

[15:20:49]       sscanf plugin loaded.     

[15:20:49]  ===============================

[15:20:49] 
[15:20:49]  Loading plugin: sscanf.so
[15:20:49]   Loaded.

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

[15:20:49] 
[15:20:49]  Loading plugin: streamer.so
[15:20:49]   Loaded.

  > MySQL plugin R4-2 successfully loaded.
Reply
#8

Use native checker plugin to check, which exact function or plugin is missing and update your mysql plugin to R6-2 from R4-2
Reply
#9

Link to the R6-2?
Reply
#10

Browse plugin development section.
Reply
#11

Got it.

How do I install it?
Reply
#12

Doesnt matter:

I now geT:

Code:
[15:39:15] Number of vehicle models: 0
[15:39:15] Script[gamemodes/cwrp.amx]: Run time error 19: "File or function is not found"

[15:39:15]   Loaded 0 filterscripts.
[15:39:15] ---------------
[15:39:15] Filterscripts
[15:39:15] 

[15:39:15]  Loaded 2 plugins.
[15:39:15]   Loaded.

[15:39:15]  ===============================

[15:39:15]    0.3d-R2 500 Players "dnee"

[15:39:15]    © 2009 Alex "Y_Less" Cole

[15:39:15]       sscanf plugin loaded.     

[15:39:15]  ===============================

[15:39:15] 
[15:39:15]  Loading plugin: sscanf.so
[15:39:15]   Loaded.

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

[15:39:15] 
[15:39:15]  Loading plugin: streamer.so
[15:39:15]   Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by plugins/mysql.so))
[15:39:15]  Loading plugin: mysql.so
[15:39:15] --------------
[15:39:15] Server Plugins
[15:39:15] 
[15:39:15] filterscripts = ""  (string)

v0.3d-R2, ©2005-2011 SA-MP Team
----------------------
SA-MP Dedicated Server
Reply
#13

Just like all other plugins you installed and compile your script with the new include file you got with the plugin.
Reply
#14

Quote:
Originally Posted by sanplayer
View Post
Doesnt matter:

I now geT:

Code:
[15:39:15] Number of vehicle models: 0
[15:39:15] Script[gamemodes/cwrp.amx]: Run time error 19: "File or function is not found"

[15:39:15]   Loaded 0 filterscripts.
[15:39:15] ---------------
[15:39:15] Filterscripts
[15:39:15] 

[15:39:15]  Loaded 2 plugins.
[15:39:15]   Loaded.

[15:39:15]  ===============================

[15:39:15]    0.3d-R2 500 Players "dnee"

[15:39:15]    © 2009 Alex "Y_Less" Cole

[15:39:15]       sscanf plugin loaded.     

[15:39:15]  ===============================

[15:39:15] 
[15:39:15]  Loading plugin: sscanf.so
[15:39:15]   Loaded.

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

[15:39:15] 
[15:39:15]  Loading plugin: streamer.so
[15:39:15]   Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by plugins/mysql.so))
[15:39:15]  Loading plugin: mysql.so
[15:39:15] --------------
[15:39:15] Server Plugins
[15:39:15] 
[15:39:15] filterscripts = ""  (string)

v0.3d-R2, ©2005-2011 SA-MP Team
----------------------
SA-MP Dedicated Server
What does this mean?
Reply
#15

libstdc++ hasnt been installed on your server...contact volt-host support to do that for you.
Reply
#16

ok also I got nativechecker and got some instresting errors.

Code:
[15:46:46] Number of vehicle models: 0
[15:46:46] Script[gamemodes/cwrp.amx]: Run time error 19: "File or function is not found"
[15:46:46]    Error: Function not registered: 'samp_mysql_strtok'
[15:46:46]    Error: Function not registered: 'samp_mysql_free_result'
[15:46:46]    Error: Function not registered: 'samp_mysql_fetch_row'
[15:46:46]    Error: Function not registered: 'samp_mysql_num_rows'
[15:46:46]    Error: Function not registered: 'samp_mysql_store_result'
[15:46:46]    Error: Function not registered: 'samp_mysql_real_escape_string'
[15:46:46]    Error: Function not registered: 'samp_mysql_query'
[15:46:46]    Error: Function not registered: 'samp_mysql_close'
[15:46:46]    Error: Function not registered: 'samp_mysql_ping'
[15:46:46]    Error: Function not registered: 'samp_mysql_select_db'
[15:46:46]    Error: Function not registered: 'samp_mysql_connect'

[15:46:46]   Loaded 0 filterscripts.
[15:46:46] ---------------
[15:46:46] Filterscripts
[15:46:46] 

[15:46:46]  Loaded 3 plugins.
[15:46:46]   Loaded.
[15:46:46]  Loading plugin: nativechecker.so
[15:46:46]   Loaded.
Reply
#17

Told you the problem's with your mysql plugin.
Reply
#18

I got the R6-2 one.
Reply
#19

Yeah but it wont load untill libstdc++ is successfully installed on your server.
Reply
#20

ok asked volt-host
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)