SA-MP Forums Archive
PostgreSQL plugin problem - 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: PostgreSQL plugin problem (/showthread.php?tid=524182)



PostgreSQL plugin problem - Dusan01 - 05.07.2014

Hi guys, i have problem with PostgreSQL plugin
on linux server my server starts with that plugin but on my windows server it wont start

i have all libraries in root of windows server and when i start server:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z-R2, ©2005-2014 SA-MP Team

[18:08:10] 
[18:08:10] Server Plugins
[18:08:10] --------------
[18:08:10]  Loading plugin: streamer
[18:08:10] 

*** Streamer Plugin v2.7.2 by Incognito loaded ***

[18:08:10]   Loaded.
[18:08:10]  Loading plugin: regex
[18:08:10] 


[18:08:10] ______________________________________


[18:08:10]  Regular Expression Plugin v0.2.0 loaded
[18:08:10] ______________________________________


[18:08:10]  By: Fro © Copyright <TBG> 2009-2011
[18:08:10] ______________________________________


[18:08:10]   Loaded.
[18:08:10]  Loading plugin: sscanf
[18:08:10] 

[18:08:10]  ===============================

[18:08:10]       sscanf plugin loaded.     

[18:08:10]    © 2009 Alex "******" Cole

[18:08:10]    0.3d-R2 500 Players "dnee"

[18:08:10]  ===============================

[18:08:10]   Loaded.
[18:08:10]  Loading plugin: MapAndreas
[18:08:10]   Loaded.
[18:08:10]  Loading plugin: sql
[18:08:10]   Failed.
[18:08:10]  Loaded 4 plugins.

[18:08:10] 
[18:08:10] Filterscripts
[18:08:10] ---------------
[18:08:10]   Loaded 0 filterscripts.

[18:08:10] Script[gamemodes/GGRP.amx]: Run time error 19: "File or function is not found"
[18:08:10] Number of vehicle models: 0



Re: PostgreSQL plugin problem - Stanford - 05.07.2014

Make sure that you've compiled the script with the latest postgresql include, and download the latest plugin and make sure you've listed in server.cfg the right plugin name near plugins.


Re: PostgreSQL plugin problem - Dusan01 - 05.07.2014

Quote:
Originally Posted by Stanford
Посмотреть сообщение
Make sure that you've compiled the script with the latest postgresql include, and download the latest plugin and make sure you've listed in server.cfg the right plugin name near plugins.
all of that is done...


Re: PostgreSQL plugin problem - Dusan01 - 19.07.2014

** BUMP **


Re: PostgreSQL plugin problem - Dusan01 - 21.07.2014

** BUMP **


Re: PostgreSQL plugin problem - Virtual1ty - 21.07.2014

Try copying the .dll again, and make sure the plugin is "statically linked", if not install the required .NET redistributables. Read the documentation first, always!


Re: PostgreSQL plugin problem - Dusan01 - 21.07.2014

Quote:
Originally Posted by Virtual1ty
Посмотреть сообщение
Try copying the .dll again, and make sure the plugin is "statically linked", if not install the required .NET redistributables. Read the documentation first, always!
hmm i tryed copying not working, and i saw this

Код:
Windows: Open the samp-plugin-sql.sln, choose the configuration that fits you best (Release, Release - MySQL or Release - PgSQL) and hit the `Build` button. Binaries will be located in the bin/ folder.
and i copyed this https://github.com/udan11/samp-plugi...plugin-sql.sln in .txt and renamed it to .sln and when i try to open it nothing hapen...


Re: PostgreSQL plugin problem - Virtual1ty - 21.07.2014

That's for developers, you need to have Visual C++ in order to open .sln.
But what I meant is grab an already compiled package with .DLL and go read documentation on which .NET framework is required.


Re: PostgreSQL plugin problem - Dusan01 - 21.07.2014

Quote:
Originally Posted by Virtual1ty
Посмотреть сообщение
That's for developers, you need to have Visual C++ in order to open .sln.
But what I meant is grab an already compiled package with .DLL and go read documentation on which .NET framework is required.
i installed net framework 4.5 but still plugin dosnt work :/

P.S. I cant find that documentation where is NET framework version needed