Include problems
#1

Hey.
On my second PC, I've installed files for run my server. But when I load this filterscript, I've a lot of error.
It's the same files as my first PC and on my first PC this is working fine. /:
Код:
Console input: loadfs randfs
[08:19:48] [debug] Run time error 19: "File or function is not found"
[08:19:48] [debug]  SSCANF_Init
[08:19:48] [debug]  SSCANF_Join
[08:19:48] [debug]  SSCANF_Leave
[08:19:48] [debug] Run time error 19: "File or function is not found"
[08:19:48] [debug]  SSCANF_Init
[08:19:48] [debug]  SSCANF_Join
[08:19:48] [debug]  SSCANF_Leave
[08:19:48] [debug] Run time error 19: "File or function is not found"
[08:19:48] [debug]  SSCANF_Init
[08:19:48] [debug]  SSCANF_Join
[08:19:48] [debug]  SSCANF_Leave
[08:19:48] [debug] Run time error 19: "File or function is not found"
[08:19:48] [debug]  SSCANF_Init
[08:19:48] [debug]  SSCANF_Join
[08:19:48] [debug]  SSCANF_Leave
[08:19:48] [debug] Run time error 19: "File or function is not found"
[08:19:48] [debug]  SSCANF_Init
[08:19:48] [debug]  SSCANF_Join
[08:19:48] [debug]  SSCANF_Leave
[08:19:48] [debug] Run time error 19: "File or function is not found"
[08:19:48] [debug]  SSCANF_Init
[08:19:48] [debug]  SSCANF_Join
[08:19:48] [debug]  SSCANF_Leave
[08:19:48] [debug] Run time error 19: "File or function is not found"
[08:19:48] [debug]  SSCANF_Init
[08:19:48] [debug]  SSCANF_Join
[08:19:48] [debug]  SSCANF_Leave
[08:19:48] [debug] Run time error 19: "File or function is not found"
[08:19:48] [debug]  SSCANF_Init
[08:19:48] [debug]  SSCANF_Join
[08:19:48] [debug]  SSCANF_Leave
[08:19:48] [debug] Run time error 19: "File or function is not found"
[08:19:48] [debug]  SSCANF_Init
[08:19:48] [debug]  SSCANF_Join
[08:19:48] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49] [debug] Run time error 19: "File or function is not found"
[08:19:49] [debug]  SSCANF_Init
[08:19:49] [debug]  SSCANF_Join
[08:19:49] [debug]  SSCANF_Leave
[08:19:49]  
[08:19:49]  
[08:19:49]  
[08:19:49]  ======================================= 
[08:19:49]  |                                     | 
[08:19:49]  |        YSI version 4.00.0001        | 
[08:19:49]  |        By Alex "******" Cole        | 
[08:19:49]  |                                     | 
[08:19:49]  ======================================= 
[08:19:49]  
[08:19:49] [debug] Run time error 4: "Array index out of bounds"
[08:19:49] [debug] AMX backtrace:
[08:19:49] [debug] #0 00035a18 in public OnPlayerUpdate () at -\Server Files\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\y_hooks/impl.inc:1073
[08:19:49] [debug] #1 00010114 in public SSCANF_OnFilterScriptInit () at -\Server Files\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\..\YSI_Core\y_cell.inc:288
[08:19:49] [debug] #2 native CallLocalFunction () from samp-server.exe
[08:19:49] [debug] #3 000008c4 in public zcmd_OnFilterScriptInit () at -\Server Files\pawno\include\sscanf2.inc:50
[08:19:49] [debug] #4 native CallLocalFunction () from samp-server.exe
[08:19:49] [debug] #5 00000250 in public OnFilterScriptInit () at -\Server Files\pawno\include\zcmd.inc:49
[08:19:50] *** YSI Warning: y_malloc set up via "CallLocalFunction", memory corruption is a remote possibility
[08:19:50] 
--------------------------------------
[08:19:50] Test FS
[08:19:50] *** YSI Warning: y_malloc set up via "CallLocalFunction", memory corruption is a remote possibility
[08:19:50] --------------------------------------

[08:19:50]   Filterscript 'randc.amx' loaded.
Reply
#2

what does your filterscript has includes as? did you add those plugins which some includes require to your server ?

Edit:
Quote:
Originally Posted by Dayrion
Посмотреть сообщение
It's the same files as my first PC and on my first PC this is working fine. /:
maybe plugins folder has missing files
Reply
#3

Basic include
PHP код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#include <foreach> 
I've all of them.
Reply
#4

weird as this server is not running any extensions like netframework and such

Run time error 19: "File or function is not found" generally happens to occur when you dont have the missing plugin thats generally in your "serverdirectory\plugins" folder and in server.cfg as "plugins sscanf" sscanf2 requires the sscanf.dll include
Reply
#5

My server is running correctly with those include lol (only on this pc):
PHP код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#include <foreach>
#include <easyDialog>
#include <a_mysql>  
#include <easyDB> 
EDIT:
Код:
echo Executing Server Config...
maxplayers 11
port 7777
hostname » Test GM
gamemode0 newGM
filterscripts
password
announce 0
chatlogging 0
weburl
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 5
logtimeformat [%H:%M:%S]
language NA
plugins crashdetect.dll mysql.dll streamer.dll sscanf.dll
rcon_password change
Reply
#6

You sure you have microsoft visual and net framework?? Maybe problem i there idk xD
Reply
#7

Код:
echo Executing Server Config...
maxplayers 11
port 7777
hostname » Test GM
gamemode0 newGM
filterscripts
password
announce 0
chatlogging 0
weburl
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 5
logtimeformat [%H:%M:%S]
language NA
plugins crashdetect.dll mysql.dll streamer.dll sscanf.dll
rcon_password change
you should never add .dll extension to end

only on linux server there are .so(so is like dll for linux) extensions

change that line to
Код:
plugins crashdetect mysql streamer sscanf
and it should do the trick
Reply
#8

Still have 2 errors:
Код:
Console input: loadfs reloadfs
[09:11:12] [debug] Run time error 19: "File or function is not found"
[09:11:12] [debug]  SSCANF_Init
[09:11:12] [debug]  SSCANF_Join
[09:11:12] [debug]  SSCANF_Leave
[09:11:12] [debug] Run time error 19: "File or function is not found"
[09:11:12] [debug]  SSCANF_Init
[09:11:12] [debug]  SSCANF_Join
[09:11:12] [debug]  SSCANF_Leave
[09:11:12]  
[09:11:12]  
[09:11:12]  
[09:11:12]  ======================================= 
[09:11:12]  |                                     | 
[09:11:12]  |        YSI version 4.00.0001        | 
[09:11:12]  |        By Alex "******" Cole        | 
[09:11:12]  |                                     | 
[09:11:12]  ======================================= 
[09:11:12]  
[09:11:12] 
--------------------------------------
[09:11:13] Test FS
[09:11:13] --------------------------------------

[09:11:13]   Filterscript 'randfs.amx' loaded.
Reply
#9

Maybe that plugin is outdated
i am assuming that you downloaded new samp server rar from sa-mp.com which forced you to reconfigure server?
for sscanf plugin: Github Link

you can get latest dll from there also you can try to update other dll plugins you have might help
Reply
#10

Alright, you broke everything. xD
Код:
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[09:26:35] filterscripts = ""  (string)
[09:26:35] password = ""  (string)
[09:26:35] weburl = "www.sa-mp.com"  (string)
[09:26:35] 
[09:26:35] Server Plugins
[09:26:35] --------------
[09:26:35]  Loading plugin: mysql.dll
[09:26:35]   Failed.
[09:26:35]  Loading plugin: streamer.dll
[09:26:35]   Failed.
[09:26:35]  Loading plugin: sscanf.dll
[09:26:35]   Failed.
[09:26:35]  Loading plugin: crashdetect.dll
[09:26:35]   CrashDetect v4.15.1 is OK.
[09:26:35]   Loaded.
[09:26:35]  Loaded 1 plugins.

[09:26:35] 
[09:26:35] Ban list
[09:26:35] --------
[09:26:35]  Loaded: samp.ban
[09:26:35] 
[09:26:36] 
[09:26:36] Filterscripts
[09:26:36] ---------------
[09:26:36]   Loaded 0 filterscripts.

[09:26:37] [debug] Run time error 19: "File or function is not found"
[09:26:37] [debug]  SSCANF_Init
[09:26:37] [debug]  SSCANF_Join
[09:26:37] [debug]  SSCANF_Leave
[09:26:37] [debug]  sscanf
[09:26:37] [debug] Run time error 19: "File or function is not found"
[09:26:37] [debug]  SSCANF_Init
[09:26:37] [debug]  SSCANF_Join
[09:26:37] [debug]  SSCANF_Leave
[09:26:37] [debug]  sscanf
[09:26:37] Script[gamemodes/newGM.amx]: Run time error 19: "File or function is not found"
[09:26:37] Number of vehicle models: 0
Reply
#11

Код:
[09:26:35]  Loading plugin: mysql.dll
[09:26:35]   Failed.
[09:26:35]  Loading plugin: streamer.dll
[09:26:35]   Failed.
[09:26:35]  Loading plugin: sscanf.dll
[09:26:35]   Failed.
Remove that .dll from name in server.cfg. Make syre they are latest version of plugin and same version of include. Recompile your script too..
Reply
#12

Remove '.dll' change nothing.
I've latest version of each plugin because I've redownloaded them. I compiled the GM & FS and now plugins aren't loading.
On my other computer, everything is fine.
Reply
#13

you still have plugin problems and as much as we know only crash detect runs and your other fs still doesnt run can you get your old plugins? then check your filterscript again if it has other includes because there is no way your filterscript still fails after having a running sscanf plugin if they are only includes
Reply
#14

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Remove '.dll' change nothing.
I've latest version of each plugin because I've redownloaded them. I compiled the GM & FS and now plugins aren't loading.
On my other computer, everything is fine.
can you just copy paste from other computer ? see if tat works with that ?
Reply
#15

I did it, plugins still not loading except crashdetect..
Reply
#16

http://forum.sa-mp.com/showpost.php?...51&postcount=3
Reply
#17

Still not working.
Reply
#18

Install: http://www.softpedia.com/get/System/...nstaller.shtml
Reply
#19

No'p.
Код:
[18:22:33] [debug] Run time error 19: "File or function is not found"
[18:22:33] [debug]  DestroyDynamicObject
[18:22:33] [debug]  EditDynamicObject
[18:22:33] [debug]  SetDynamicObjectMaterialText
[18:22:33] [debug]  CreateDynamicObject
[18:22:33]   Loaded 1 filterscripts.

[18:22:35] [debug] Run time error 19: "File or function is not found"
[18:22:35] [debug]  cache_get_row_count
[18:22:35] [debug]  mysql_init_options
[18:22:35] [debug]  mysql_set_option
[18:22:35] [debug]  mysql_connect
[18:22:35] [debug]  mysql_errno
[18:22:35] [debug]  mysql_log
[18:22:35] [debug]  mysql_query
[18:22:35] [debug]  mysql_tquery
[18:22:35] [debug]  cache_get_value_name_int
[18:22:35] [debug]  cache_get_value_name_float
[18:22:35] [debug]  cache_get_value_name
[18:22:35] [debug]  mysql_close
[18:22:35] [debug]  mysql_format
[18:22:35] [debug]  mysql_pquery
[18:22:35] [debug]  cache_insert_id
[18:22:35] [debug] Run time error 19: "File or function is not found"
[18:22:35] [debug]  DestroyDynamicObject
[18:22:35] [debug]  EditDynamicObject
[18:22:35] [debug]  SetDynamicObjectMaterialText
[18:22:35] [debug]  CreateDynamicObject
[18:22:35] [debug] Run time error 19: "File or function is not found"
[18:22:35] [debug]  cache_get_row_count
[18:22:35] [debug]  mysql_init_options
[18:22:35] [debug]  mysql_set_option
[18:22:35] [debug]  mysql_connect
[18:22:35] [debug]  mysql_errno
[18:22:35] [debug]  mysql_log
[18:22:35] [debug]  mysql_query
[18:22:35] [debug]  mysql_tquery
[18:22:35] [debug]  cache_get_value_name_int
[18:22:35] [debug]  cache_get_value_name_float
[18:22:35] [debug]  cache_get_value_name
[18:22:35] [debug]  mysql_close
[18:22:35] [debug]  mysql_format
[18:22:35] [debug]  mysql_pquery
[18:22:35] [debug]  cache_insert_id
[18:22:35] Script[gamemodes/newGM.amx]: Run time error 19: "File or function is not found"
[18:22:35] Number of vehicle models: 0
[18:22:43] --- Server Shutting Down.
[18:22:43] [debug] Run time error 19: "File or function is not found"
[18:22:43] [debug]  cache_get_row_count
[18:22:43] [debug]  mysql_init_options
[18:22:43] [debug]  mysql_set_option
[18:22:43] [debug]  mysql_connect
[18:22:43] [debug]  mysql_errno
[18:22:43] [debug]  mysql_log
[18:22:43] [debug]  mysql_query
[18:22:43] [debug]  mysql_tquery
[18:22:43] [debug]  cache_get_value_name_int
[18:22:43] [debug]  cache_get_value_name_float
Reply
#20

Looks like it did do its job since the SSCANF errors are gone. For the other ones, you probably have the incorrect include/plugin versions.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)