Runtime error - I'm out of ideas so pls help :)
#1

Hello, I have problem! So to begin, I'm trying to start my server..(I have new hoster, server worked just fine on old host) I uploadaded everything on FTP, edited server.cfg and restart it, but gamemode "unknown".. I looked into server log and found this ---> [21:34:46] Script[gamemodes/LG.amx]: Run time error 19: "File or function is not found" Now I know my hoster has linux and I changed plugins to .so, they load, but again runtime error.. I tryed to reupload gamemode, but same stuff again.. But when I start my home server (on windows) it works just fine! So I'm just running out of ideas, maybe you could suggest me something please

Quote:

SA-MP Dedicated Server
----------------------
v0.3a R3, ©2005-2009 SA-MP Team

[21:05:27]
[21:05:27] Server Plugins
[21:05:27] --------------
[21:05:27] Loading plugin: xstreamer.so
[21:05:27] xStreamer plugin loaded
[21:05:27] Loaded.
[21:05:27] Loaded 1 plugins.

[21:05:27]
[21:05:27] Ban list
[21:05:27] --------
[21:05:27] Loaded: samp.ban
[21:05:27]
[21:05:27]
[21:05:27] Filter Scripts
[21:05:27] ---------------
[21:05:27] Loading filter script 'xStreamer.amx'...
[21:05:27] Loading filter script 'Seifanims.amx'...
[21:05:27] Loading filter script 'Sports.amx'...
[21:05:27] Loaded 3 filter scripts.
[21:05:27] Script[gamemodes/LG.amx]: Run time error 19: "File or function is not found"
[21:05:27] Number of vehicle models: 0

Best regards, Rojs
Reply
#2

You need to go over your code again and check for any files it loads or references - make sure they are there in the expected dir.

The error message is already basically telling you what is wrong...
Run time error 19: "File or function is not found"
...you just need to spend more time looking for the issue.

Good luck!

Reply
#3

Quote:
Originally Posted by Matite
You need to go over your code again and check for any files it loads or references - make sure they are there in the expected dir.

The error message is already basically telling you what is wrong...
Run time error 19: "File or function is not found"
...you just need to spend more time looking for the issue.

Good luck!

The most common cause of this is a plugin that hasn't installed correctly (thought I'd simplify).
Reply
#4

add
Код:
main() {
print("This is my gamemode lol");
}
before any callbacks
Reply
#5

Can't you read? I said gamemode works fine on windows lol.. I runned server with that mode for almost 1 year, ofcourse I was making edits constantly.. But I decided the best option is to make a new gamemode with many new features etc..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)