SA-MP Forums Archive
Errors when starting up server - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors when starting up server (/showthread.php?tid=551575)



Errors when starting up server - FunnyBear - 19.12.2014

Hey,

I have recently gotten a new VPS running Windows and I'm trying to install my server on it. I have moved my server folder onto the VPS, and when I startup the folder (samp-server.exe), I get these errors:

Code:
[13:55:07]    Error: Function not registered: 'CreateDynamicRectangle'
[13:55:07]    Error: Function not registered: 'CreateDynamicObject'
[13:55:07]    Error: Function not registered: 'CreateDynamicMapIcon'
[13:55:07]    Error: Function not registered: 'CreateDynamicCP'
[13:55:07]    Error: Function not registered: 'mysql_debug'
[13:55:07]    Error: Function not registered: 'mysql_connect'
[13:55:07]    Error: Function not registered: 'mysql_query'
[13:55:07]    Error: Function not registered: 'mysql_close'
[13:55:07]    Error: Function not registered: 'mysql_store_result'
[13:55:07]    Error: Function not registered: 'mysql_fetch_row_format'
[13:55:07]    Error: Function not registered: 'mysql_fetch_field_row'
[13:55:07]    Error: Function not registered: 'mysql_free_result'
[13:55:07]    Error: Function not registered: 'mysql_num_rows'
[13:55:07]    Error: Function not registered: 'mysql_real_escape_string'
[13:55:07]    Error: Function not registered: 'MoveDynamicObject'
[13:55:07] Script[gamemodes/MySQL.amx]: Run time error 19: "File or function is not found"
[13:55:07] Number of vehicle models: 0
And when I go ingame, nothing is on the server.
How am I able to fix this?

Thanks,

FunnyBear


Re: Errors when starting up server - FunnyBear - 20.12.2014

Any Help?


Re: Errors when starting up server - JeaSon - 20.12.2014

mysql plugin is wrong and update streamer/

if you do not have streamer then get that plugin


Re: Errors when starting up server - FunnyBear - 20.12.2014

Quote:
Originally Posted by Namer
View Post
mysql plugin is wrong and update streamer/

if you do not have streamer then get that plugin
All the files are the same. The server works when I run it on localhost, but on a VPS it doesn't seem to work


Re: Errors when starting up server - LivingLikeYouDo - 20.12.2014

The plugins are not loading up. There is an error when loading up your plugins mysql.dll and streamer.dll
Some fixes can be:
- Confirm that you are using a windows platform, if you aren't, make sure the plugins are in .so format.
- Make sure there is no error in the server log about loading the plugins, if there is, make sure your plugins are up-to-date and compiled with the latest script.
- Another fix can be try to add .dll after the plugin name at server.cfg, I don't bet this would work, but it sometimes helps.

Thank you.