Posts: 249
Threads: 61
Joined: Aug 2012
Reputation:
0
Right, so I've got this small error, script compiles fine, so on. But when I try to run it, I get this error.
[16:16:29] Script[gamemodes/Envision.amx]: Run time error 19: "File or function is not found"
Now, I've got the main() function, I've got all the newest files. All the files I need is in the #include where they should be. So I've got no idea what's wrong here. Was hoping one of you would know.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Either you forgot to load necessary plugin(s) or 1/many plugin(s) failed to load.
Load nativechecker plugin (****** it) and add it last in the plugins line (in server.cfg).
Run the server again and the whole server log.
Posts: 249
Threads: 61
Joined: Aug 2012
Reputation:
0
Now it gives me this
[16:28:22] Error: Function not registered: 'mysql_fetch_row'
[16:28:22] Error: Function not registered: 'mysql_init'
as well as
[16:28:22] Script[gamemodes/Envision.amx]: Run time error 19: "File or function is not found"
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
You had to post the whole server log so there'll be no lack of information. I'll assume you loaded the mysql plugin by BlueG when the script uses the plugin by StrickenKid.
Posts: 249
Threads: 61
Joined: Aug 2012
Reputation:
0
Uhhhh, do you have the plugin by StrickenKid? The website to get it is down, but one of my other scripts uses the stricken plugin, and that's what i dropped into the folder as well.
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team
[16:30:09]
[16:30:09] Server Plugins
[16:30:09] --------------
[16:30:09] Loading plugin: mysql.dll
[16:30:09]
> MySQL plugin R5 successfully loaded.
[16:30:09] Loaded.
[16:30:09] Loading plugin: sscanf.dll
[16:30:09]
[16:30:09] ===============================
[16:30:09] sscanf plugin loaded.
[16:30:09] © 2009 Alex "******" Cole
[16:30:09] 0.3d-R2 500 Players "dnee"
[16:30:09] ===============================
[16:30:09] Loaded.
[16:30:09] Loading plugin: streamer.dll
[16:30:09]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[16:30:09] Loaded.
[16:30:09] Loaded 3 plugins.
[16:30:09]
[16:30:09] Filterscripts
[16:30:09] ---------------
[16:30:09] Loading filterscript 'gl_actions.amx'...
[16:30:09] Loading filterscript 'gl_realtime.amx'...
[16:30:09] Loading filterscript 'gl_property.amx'...
[16:30:09]
-----------------------------------
[16:30:09] Grand Larceny Property Filterscript
[16:30:09] -----------------------------------
[16:30:09] Loading filterscript 'gl_mapicon.amx'...
[16:30:09] Loading filterscript 'ls_mall.amx'...
[16:30:09] Loading filterscript 'ls_elevator.amx'...
[16:30:09] Loading filterscript 'attachments.amx'...
[16:30:09] Loading filterscript 'skinchanger.amx'...
[16:30:09]
--Admin Player Skin Changer Loaded
[16:30:09] Loading filterscript 'vspawner.amx'...
[16:30:09]
--Admin Vehicle Spawner Loaded
[16:30:09] Loaded 9 filterscripts.
[16:30:09] Reading File: blank
[16:30:09] Reading File: properties/houses.txt
[16:30:09] Reading File: properties/businesses.txt
[16:30:09] Reading File: properties/banks.txt
[16:30:09] Reading File: properties/police.txt
[16:30:09] Script[gamemodes/Envision.amx]: Run time error 19: "File or function is not found"
[16:30:09] Number of vehicle models: 0
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
You haven't loaded the mysql plugin by StrickenKid so any script that used that plugin shouldn't have worked in the first place so they use the plugin by BlueG.
Believe me, it's worth to use R39 (threaded queries) by BlueG and any help you want with it, other members and I can help you with - you've got nothing to loose.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Like any other plugin, add the name of it in the plugins line in server.cfg and add the plugin file in the plugins folder. And by the way all the other plugins are older versions so it'd be recommended to update to their latest versions.
I also posted an example script for register/login system using the plugin by BlueG in case you want to check it out. You can see what functions do what and how they're used in the wiki page (I also posted that link above). Give 2-3 days to read them well and try to make a simple register/login system with what you learned (okay, if you get any look at the example script doesn't matter, just don't overdo it!).