Run Time Error 19...
#1

Hi there. I just installed a new gamemode script on my server. But I keep getting some errors, so I wondered if any of you could help me out.

The errors:


[13:24:03] Script[gamemodes/ESRP.amx]: Run time error 19: "File or function is not found"
[13:24:03] Error: Function not registered: 'Audio_Play'
[13:24:03] Error: Function not registered: 'Audio_Stop'
[13:24:03] Error: Function not registered: 'Audio_SetPack'
[13:24:03] Error: Function not registered: 'Audio_TransferPack'
[13:24:03] Error: Function not registered: 'Audio_DestroyTCPServer'
[13:24:03] Error: Function not registered: 'Audio_RemovePlayer'
[13:24:03] Error: Function not registered: 'Audio_AddPlayer'
[13:24:03] Error: Function not registered: 'Audio_CreateTCPServer'


All plugins has been installed correctly.
Reply
#2

Did you add the #include audio.inc?
Also, are they updated?
Give a try with this plugin: nativechecker
Reply
#3

Yep, I did. If the version 0.5 is the newest, then yes
Reply
#4

Quote:
Originally Posted by irinel1996
Посмотреть сообщение
Did you add the #include audio.inc?
Also, are they updated?
Give a try with this plugin: nativechecker
I did use the nativechecker, and i posted the error aswell:

[12:40:45] Error: Function not registered: 'Audio_Play'
[12:40:45] Error: Function not registered: 'Audio_Stop'
[12:40:45] Error: Function not registered: 'Audio_SetPack'
[12:40:45] Error: Function not registered: 'Audio_TransferPack'
[12:40:45] Error: Function not registered: 'Audio_DestroyTCPServer'
[12:40:45] Error: Function not registered: 'Audio_RemovePlayer'
[12:40:45] Error: Function not registered: 'Audio_AddPlayer'
[12:40:45] Error: Function not registered: 'Audio_CreateTCPServer'

Reply
#5

Try PlayAudioStreamForPlayer it's faster and easy, remove that ...
Reply
#6

Quote:
Originally Posted by xSkullx
Посмотреть сообщение
Try PlayAudioStreamForPlayer it's faster and easy, remove that ...
I have no idea how to script etc, I just wan't to get this server up and running, also, I don't really care about a audio plugin/script whatever, but I have no idea how I should remove the script in my gamemode etc. I tried removing it, but then I received errors when I compiled it.
Reply
#7

Anyone found a solution yet?
Reply
#8

It seems like your gamemode was executed with a old version of audio plugin and you are using the new version of audio plugin.
Did you re-compile the gamemode after adding new plugins and includes?
Make sure you have .dll for windows and .so for linux Plugin in the Plugins Folder Found in your Server's Root Directory.
Reply
#9

Quote:
Originally Posted by RanSEE
Посмотреть сообщение
It seems like your gamemode was executed with a old version of audio plugin and you are using the new version of audio plugin.
Did you re-compile the gamemode after adding new plugins and includes?
Make sure you have .dll for windows and .so for linux Plugin in the Plugins Folder Found in your Server's Root Directory.
Nope, same error.

[11:18:25] Number of vehicle models: 0
[11:18:25] Script[gamemodes/ESRP.amx]: Run time error 19: "File or function is not found"
[11:18:25] Error: Function not registered: 'Audio_Play'
[11:18:25] Error: Function not registered: 'Audio_Stop'
[11:18:25] Error: Function not registered: 'Audio_SetPack'
[11:18:25] Error: Function not registered: 'Audio_TransferPack'
[11:18:25] Error: Function not registered: 'Audio_DestroyTCPServer'
[11:18:25] Error: Function not registered: 'Audio_RemovePlayer'
[11:18:25] Error: Function not registered: 'Audio_AddPlayer'
[11:18:25] Error: Function not registered: 'Audio_CreateTCPServer'
Reply
#10

Well, now the server is loading in the console, but it shutdowns the server;

[11:27:33] *** Audio_SetPack: Expecting 3 parameter(s), but found 2
[11:27:33] *** Audio Plugin: Error binding endpoint for acceptor: Address already in use
[11:27:33] OnGameModeInit start
[11:27:33] *** Audio Plugin: Error binding endpoint for acceptor: Address already in use

[11:28:29]
[11:28:29] ====================
[11:28:29]
[11:28:29] Whirlpool unloaded
[11:28:29]
[11:28:29] ====================
[11:28:29]

[11:28:29] ===============================

[11:28:29] sscanf plugin unloaded.

[11:28:29] ===============================

[11:28:29]

*** Audio Plugin v0.5 by Incognito unloaded ***

[11:28:29]

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

[11:28:29]
[11:28:29] --- Server Shutting Down.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)