Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] Run time error 19: "File or function is not found"

 
  • 0 Vote(s) - 0 Average
Pawn Run time error 19: "File or function is not found"
Boxi
Offline

Burgershot Member
Posts: 48
Threads: 23
Joined: Jan 2021
Reputation: 0
Location: Angel Pine
#1
2021-03-07, 02:17 AM (This post was last modified: 2021-03-07, 02:21 AM by Boxi.)
Hello, it's me again :P Well, many of you will already know this famous error:

Code:
[21:42:01] [debug] Run time error 19: "File or function is not found"
[21:42:01] [debug]  WP_Hash
[21:42:01] [debug] Run time error 19: "File or function is not found"
[21:42:01] [debug]  WP_Hash
[21:42:01] Script[gamemodes/roleplay.amx]: Run time error 19: "File or function is not found"

The fact is that I did everything to solve it, such as updating all the plugins and libraries until the code was compiled again. But nothing solves it :c any ideas? Thank you!

Here is a list of the libraries that I am using:

Code:
#include <crashdetect>
#include <a_mysql>
#include <foreach>
#include <easyDialog>
#include <eSelection>
#include <sscanf2>
#include <streamer>
#include <zcmd>

Postscript: Gm compiles without any problem
xbruno1000x
Offline

Burgershot Member
Posts: 32
Threads: 2
Joined: Mar 2020
Reputation: 1
Location: Brasil
#2
2021-03-07, 04:29 AM
You left a plugin missing
portalsamp.com
Radical
Offline

Burgershot Member
Posts: 148
Threads: 21
Joined: Dec 2020
Reputation: 16
#3
2021-03-07, 06:01 AM
You need to load the whirlpool plugin.
https://github.com/Southclaws/samp-whirlpool/releases
destiezk
Offline

Burgershot Member
Posts: 41
Threads: 1
Joined: Feb 2021
Reputation: 3
Location: Hungary
#4
2021-03-07, 11:12 AM
You can put this into your gamemode somewhere:
Code:
native WP_Hash(buffer[], len, const str[]); //This is a Whirlpool function, we will need that to store the passwords.
This should be enough, I don't include Whirlpool in my gamemode just the plugin, and works fine.
Kwarde
Offline

Burgershot Member
Posts: 99
Threads: 2
Joined: Sep 2020
Reputation: 8
Location: The Netherlands
#5
2021-03-07, 12:11 PM (This post was last modified: 2021-03-07, 12:11 PM by Kwarde.)
(2021-03-07, 11:12 AM)destiezk Wrote: You can put this into your gamemode somewhere:
Code:
native WP_Hash(buffer[], len, const str[]); //This is a Whirlpool function, we will need that to store the passwords.
This should be enough, I don't include Whirlpool in my gamemode just the plugin, and works fine.
That's already in his script. That's why he's getting the runtime errors.
Native functions are pretty much ignored by the compiler. They do get loaded into the memory (prefix, natives section) and the server looks for those functions/modules. When they're then not found, it results in RTE 19.
If he didn't have this native function defined (yet used by the script) the script wouldn't compile.

(Not so) long story short: Make sure the plugin is loaded (as was mentioned before)
Boxi
Offline

Burgershot Member
Posts: 48
Threads: 23
Joined: Jan 2021
Reputation: 0
Location: Angel Pine
#6
2021-03-07, 01:10 PM
Thank you all very much for your answers, it served me with the Whirlpool plugin
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode