runtime error ._.
#1

I'm getting this code all the time when starting up the local server
P/S: i'm only using Whirlpool plugin..
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[21:48:00] filterscripts = ""  (string)
[21:48:00] 
[21:48:00] Server Plugins
[21:48:00] --------------
[21:48:00]  Loading plugin: Whirlpool
[21:48:00]  
[21:48:00]  ==================
[21:48:00]  
[21:48:00]   Whirlpool loaded
[21:48:00]  
[21:48:00]  ==================
[21:48:00]  
[21:48:00]   Loaded.
[21:48:00]  Loaded 1 plugins.

[21:48:00] 
[21:48:00] Filterscripts
[21:48:00] ---------------
[21:48:00]   Loaded 0 filterscripts.

[21:48:00] Script[gamemodes/za.amx]: Run time error 19: "File or function is not found"
[21:48:00] Number of vehicle models: 0
Reply
#2

Could you please use crashdetect plugin and re-send us your log file? It is hard to determine what's wrong with your script at the moment. Don't forget to add crashdetect at the beginning of plugins.

edit: here you go:
https://github.com/Zeex/samp-plugin-crashdetect

edit2: Also, use nativechecker to double-check what's wrong with your script;

https://sampforum.blast.hk/showthread.php?tid=249226
Reply
#3

Quote:
Originally Posted by Rufio
Посмотреть сообщение
Could you please use crashdetect plugin and re-send us your log file? It is hard to determine what's wrong with your script at the moment. Don't forget to add crashdetect at the beginning of plugins.

edit: here you go:
https://github.com/Zeex/samp-plugin-crashdetect

edit2: Also, use nativechecker to double-check what's wrong with your script;

https://sampforum.blast.hk/showthread.php?tid=249226
Well i downloaded the whole file but i cant find the crashdetect.dll....
Wich folder is it?
Reply
#4

Crashdetect isn't mandatory at the moment, could you run nativechecker for me instead, what do you mean by which folder by the way?
Reply
#5

Quote:
Originally Posted by Rufio
Посмотреть сообщение
Crashdetect isn't mandatory at the moment, could you run nativechecker for me instead, what do you mean by which folder by the way?
In that download there are many folders wanted to check wich one anyway i will use that nativechecker then
Reply
#6

Nativechecker is most likely what you are looking for, run nativechecker and re-send your log files and I'll try to help.
Reply
#7

Quote:
Originally Posted by Rufio
Посмотреть сообщение
Nativechecker is most likely what you are looking for, run nativechecker and re-send your log files and I'll try to help.
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[22:18:03] filterscripts = ""  (string)
[22:18:03] 
[22:18:03] Server Plugins
[22:18:03] --------------
[22:18:03]  Loading plugin: nativechecker
[22:18:03]   Loaded.
[22:18:03]  Loading plugin: Whirlpool
[22:18:03]  
[22:18:03]  ==================
[22:18:03]  
[22:18:03]   Whirlpool loaded
[22:18:03]  
[22:18:03]  ==================
[22:18:03]  
[22:18:03]   Loaded.
[22:18:03]  Loaded 2 plugins.

[22:18:03] 
[22:18:03] Filterscripts
[22:18:03] ---------------
[22:18:03]   Loaded 0 filterscripts.

[22:18:03]    Error: Function not registered: 'WP_Hash'
[22:18:03]    Error: Function not registered: 'sscanf'
[22:18:03] Script[gamemodes/zm.amx]: Run time error 19: "File or function is not found"
[22:18:03] Number of vehicle models: 0
Function not registered *-* idk what to do
Reply
#8

That means your whirlpool and sscanf is outdated, all you have to do is;
Update your sscanf and whirlpool plugins+includes, then re-compile your script, add sscanf and whirlpool plugins to your server config and it should work. Here are some links to help you out;

https://sampforum.blast.hk/showthread.php?tid=570927 - sscanf
https://sampforum.blast.hk/showthread.php?tid=570945
Reply
#9

Quote:
Originally Posted by Rufio
Посмотреть сообщение
That means your whirlpool and sscanf is outdated, all you have to do is;
Update your sscanf and whirlpool plugins+includes, then re-compile your script, add sscanf and whirlpool plugins to your server config and it should work. Here are some links to help you out;

https://sampforum.blast.hk/showthread.php?tid=570927 - sscanf
https://sampforum.blast.hk/showthread.php?tid=570945
Код:
[22:27:08] filterscripts = ""  (string)
[22:27:08] 
[22:27:08] Server Plugins
[22:27:08] --------------
[22:27:08]  Loading plugin: nativechecker
[22:27:08]   Loaded.
[22:27:08]  Loading plugin: Whirlpool
[22:27:08]  
[22:27:08]  ==================
[22:27:08]  
[22:27:08]   Whirlpool loaded
[22:27:08]  
[22:27:08]  ==================
[22:27:08]  
[22:27:08]   Loaded.
[22:27:08]  Loading plugin: sscanf
[22:27:08] 

[22:27:08]  ===============================

[22:27:08]       sscanf plugin loaded.     

[22:27:08]          Version:  2.8.1        

[22:27:08]    © 2012 Alex "******" Cole  

[22:27:08]  ===============================

[22:27:08]   Loaded.
[22:27:08]  Loaded 3 plugins.

[22:27:08] 
[22:27:08] Filterscripts
[22:27:08] ---------------
[22:27:08]   Loaded 0 filterscripts.

[22:27:08] Script[gamemodes/za.amx]: Run time error 17: "Invalid/unsupported P-code file format"
[22:27:08] Failed to load 'gamemodes/zma.amx' script.
[22:27:08] Number of vehicle models: 0
[/code] now this one wtf *-*
Reply
#10

Try re-compiling your script, your AMX might be corrupted, if it doesn't work try updating every include you use.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)