[HELP] Run-time error 19: "File or function not found"
#1

Hello everyone, I'm new here in the forum, and even more in server editing ...

Last I decided to open a server with some friends for our fun, but I came across this:

[20:15:31] Script [gamemodes / truck.amx]: Run-time error 19: "File or function not found"
[20:15:31] Number of model types of vehicle: 0

A Host was used for a Hosting is Heavy Host, who allows me to help, I will be grateful ...
(NOTE: I'm looking for this on the forum, but I do not find anything that helps me with this.)



Remaining Interface:

----------
Log file loaded: "server_log.txt".
----------

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

[20:15:31]
[20:15:31] Server Plugins
[20:15:31] --------------
[20:15:31] Loading plugin: plugin1.so
[20:15:31]

[20:15:31] ================================

[20:15:31] Plugin sscanf loaded.

[20:15:31] © 2009 Alex "******" Cole

[20:15:31] ================================

[20:15:31] Loaded.
[20:15:31] Loading plugin: plugin2.so
[20:15:31]

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

[20:15:31] Loaded.
[20:15:31] Uploaded 2 plugins.

[20:15:31]
[20:15:31] List of banners
[20:15:31] --------
[20:15:31] Uploaded: samp.ban
[20:15:31]
[20:15:31]
[20:15:31] Script filters
[20:15:31] ---------------
[20:15:31] Loading filterscript 'skinchanger.amx' ...
[20:15:31] Loading filterscript 'Motor.amx' ...
[20:15:31] Loaded 2 filterscripts.
Reply
#2

Your gamemodes folder contain truck.amx/truck.pwn files?
Reply
#3

Script [gamemodes / truck.amx]: Run-time error 19: "File or function not found"
Thier is 2 reasons this happens:


Reason 1: You don't have a amx file named "truck.amx" in your server's gamemode file.

Reason 2: Their are plugins needed to run the gamemode, Either you Have the outdated/wrong version or you dont have them at all.

Could you post the foulder that says server.cfg? or your script truck.pwn, we can definatly figure which of the two is the problem if you post this.
Reply
#4

Your gamemodes folder contain truck.amx/truck.pwn files?

Yes, there is and this on the host ...


Script [gamemodes / truck.amx]: Run-time error 19: "File or function not found"
Thier is 2 reasons this happens:


Reason 1: You don't have a amx file named "truck.amx" in your server's gamemode file.

Reason 2: Their are plugins needed to run the gamemode, Either you Have the outdated/wrong version or you dont have them at all.


Response Reason 1: I have, as well as .pwn

Response Reason 2: The plugins I have, are the ones that came with the GM, this is not a GM created by me, do not mess with Pawno very much, so I decided to only make one issue and change things like which I know how to move ...

Could you post the foulder that says server.cfg? or your script truck.pwn, we can definatly figure which of the two is the problem if you post this.

Server.cfg: http://pastebin.com/CP9yrNxm


The server works via Hamachi normally, but when I play on Host, I've encountered this problem ...

I used CrashDetect to try to find something, and the following appeared:

[debug] Run time error 4: "Array index out of bounds"
[debug] Attempted to read/write array element at index 203 in array of size 203

[debug] AMX backtrace:
[debug] #0 000f7bcc in public Itter_OnGameModeInit <> from truck.amx
[debug] #1 native CallLocalFunction <> from samp-server.exe
[debug] #2 0000e840 in public SSCANF_OnGameModeInit <> from truck.amx
[debug] #3 native CallLocalFunction <> from samp-server.exe
[debug] #4 00001650 in public zcmd_OnGameModeInit <> from truck.amx
[debug] #5 native CallLocalFunction <> from samp-server.exe
[debug] #6 000004f8 in public OnGameModeInit <> from truck.amx

I do not know how to fix this, to tell you the truth, I do not know where I can find it, because I searched the pwn and could not find ...
Reply
#5

1) Your includes are massively out of date.

2) You are missing a plugin, or again one of them is out of date. Upgrade everything and try again.



Thanks for the help, I updated the plugins here and the Server worked =D
Thank you very much!
Reply
#6

Quote:
Originally Posted by SlayerHodge
Посмотреть сообщение
Script [gamemodes / truck.amx]: Run-time error 19: "File or function not found"
Thier is 2 reasons this happens:


Reason 1: You don't have a amx file named "truck.amx" in your server's gamemode file.

Reason 2: Their are plugins needed to run the gamemode, Either you Have the outdated/wrong version or you dont have them at all.

Could you post the foulder that says server.cfg? or your script truck.pwn, we can definatly figure which of the two is the problem if you post this.
Well, if he has no truck.amx in his gamemodes directory, the server won't run and would give different message in log. Reason 2 is correct.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)