File or Function not found
#1

Hey,
I used to have a problem with Volt-host where it wasnt loading geoip but now it is..
Well I got a new problem, It says File or function not found and it is in the gamemode folder
Here is the server_log.txt
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[10:45:42] filterscripts = ""  (string)
[10:45:42] 
[10:45:42] Server Plugins
[10:45:42] --------------
[10:45:42]  Loading plugin: irc.so
[10:45:42] 

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

[10:45:42]   Loaded.
[10:45:42]  Loading plugin: mysql.so
[10:45:42] 

  > MySQL plugin R6 successfully loaded.

[10:45:42]   Loaded.
[10:45:42]  Loading plugin: sscanf.so
[10:45:42] 

[10:45:42]  ===============================

[10:45:42]       sscanf plugin loaded.     

[10:45:42]    © 2009 Alex "******" Cole

[10:45:42]  ===============================

[10:45:42] sscanf error: The current build ONLY supports 0.3d
[10:45:42]   Loaded.
[10:45:42]  Loading plugin: wp.so
[10:45:42]  
[10:45:42]  ==================
[10:45:42]  
[10:45:42]   Whirlpool loaded
[10:45:42]  
[10:45:42]  ==================
[10:45:42]  
[10:45:42]   Loaded.
[10:45:42]  Loading plugin: streamer.so
[10:45:42] 

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

[10:45:42]   Loaded.
[10:45:42]  Loading plugin: geoip.so
[10:45:42] GeoIP_Plugin got loaded.
[10:45:42]   Loaded.
[10:45:42]  Loaded 6 plugins.

[10:45:42] 
[10:45:42] Filter Scripts
[10:45:42] ---------------
[10:45:42]   Loaded 0 filter scripts.

[10:45:42] Script[gamemodes/vx-rp.amx]: Run time error 19: "File or function is not found"
[10:45:42] Number of vehicle models: 0
Reply
#2

check your server.cfg and check if the name is right, make sure you have put capital letters and certain symbols in aswell. like if it was VX_RP-gamemode, it may not work if you enter "vx_rp-gamemode

P.S. Make sure you have the AMX file AND the PWN file.
Reply
#3

Hello, thanks for the reply.

This is the server config:
Code:
echo Executing Server Config...
lanmode 0
rcon_password qwerty
maxplayers 40
port 7780
hostname Default Volt Host server
gamemode0 vx-rp 1
plugins irc.so mysql.so sscanf.so wp.so streamer.so geoip.so
filterscripts
announce 1
query 1
weburl www.volt-host.com
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
bind 174.34.159.19
Yes there is the .amx AND .pwn file in the gamemode.
Reply
#4

I guess you're useing 0.3c still.

Downgrade your sscanf plugin to 0.3c, i guess you're using the 0.3d sscanf plugin:
Code:
[10:45:42] sscanf error: The current build ONLY supports 0.3d
Reply
#5

Hey. the script im using is vx-rp 0.3d version, and I upgraded my volt-host to 0.3d aswell..
That sscanf came with vx-rp 0.3d

EDIT: It also says that sscanf got loaded.
Reply
#6

Quote:
Originally Posted by [MP]Ditch
View Post
Hey. the script im using is vx-rp 0.3d version, and I upgraded my volt-host to 0.3d aswell..
That sscanf came with vx-rp 0.3d
Download the plugin again. and upload it to volt-host (just the sscanf.so) to make sure it is not that plugins fault.

http://dl.dropbox.com/u/21683085/sscanf-0.3d.rar
Reply
#7

Do this:
Code:
main()
{
}
I am not sure about this, butt add it in your script
Reply
#8

EDIT: Didn't post properly
Reply
#9

Hey. Thanks but it still says it:
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[11:06:59] filterscripts = ""  (string)
[11:06:59] 
[11:06:59] Server Plugins
[11:06:59] --------------
[11:06:59]  Loading plugin: irc.so
[11:06:59] 

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

[11:06:59]   Loaded.
[11:06:59]  Loading plugin: mysql.so
[11:06:59] 

  > MySQL plugin R6 successfully loaded.

[11:06:59]   Loaded.
[11:06:59]  Loading plugin: sscanf.so
[11:06:59] 

[11:06:59]  ===============================

[11:06:59]       sscanf plugin loaded.     

[11:06:59]    © 2009 Alex "******" Cole

[11:06:59]  ===============================

[11:06:59] sscanf error: The current build ONLY supports 0.3d
[11:06:59]   Loaded.
[11:06:59]  Loading plugin: wp.so
[11:06:59]  
[11:06:59]  ==================
[11:06:59]  
[11:06:59]   Whirlpool loaded
[11:06:59]  
[11:06:59]  ==================
[11:06:59]  
[11:06:59]   Loaded.
[11:06:59]  Loading plugin: streamer.so
[11:06:59] 

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

[11:06:59]   Loaded.
[11:06:59]  Loading plugin: geoip.so
[11:06:59] GeoIP_Plugin got loaded.
[11:06:59]   Loaded.
[11:06:59]  Loaded 6 plugins.

[11:06:59] 
[11:06:59] Filter Scripts
[11:06:59] ---------------
[11:06:59]   Loaded 0 filter scripts.

[11:06:59] Script[gamemodes/vx-rp.amx]: Run time error 19: "File or function is not found"
[11:06:59] Number of vehicle models: 0
EDIT: @math, I already have that declared
Reply
#10

Quote:
Originally Posted by [MP]Ditch
View Post
Hey,
...
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

blah blah
It's still 0.3c
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)